
Hi Wolfgang,
i confirm that before the patch/solution applied (i just posted it), i also tried "bootm FLASH_ADDR". Same result, loading fail, since timer2 interrupt is not stopped and the interrupt happen just after the linux head.S execution.
As i said, probably this issue was not visible in other coldfire models since mcf5307 run at 90mhz only.
I have copied the "arch_preboot_os()" solution from other boards, that was doing the same thing, disabling async interrupts before loading the os.
Regards, angelo
On 03/08/2011 15:07, Wolfgang Denk wrote:
Dear angelo,
In message4E390235.2090107@gmail.com you wrote:
i am reporting the following issue, maybe related to something wrong in my new mcf5307 support addition (still under testing), or maybe not:
- U-Boot run correctly, timer2 is enabled as a system timestamp counter.
- I load a uClinux bianry from flash to SDRAM with "cp.l FLASH_ADDR
SDRAM_ADDR SIZE/4 3. i launch the binary with "go SDRAM_ADDR"
You must not start Linux with a "go" command. Please use "bootm" for this purpose (and then you also don;t have to copy the kernal manually).
Best regards,
Wolfgang Denk