[U-Boot] mcf5307, timer 2 issue loading linux
angelo
angelo70 at gmail.com
Wed Aug 3 15:29:50 CEST 2011
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 message<4E390235.2090107 at 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:
>>
>>
>> 1. U-Boot run correctly, timer2 is enabled as a system timestamp counter.
>> 2. 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
>
>
--
.:.:.SYSAM.:.:.
di Angelo Dureghello
via San Nazario 149
34151, Trieste, Italy
++39 340 7631990
www.sysam.it <http://www.sysam.it>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logo.png
Type: image/png
Size: 3033 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20110803/187428aa/attachment.png
More information about the U-Boot
mailing list