[U-Boot] How to start U-Boot for i.MX31 NAND out of RedBoot (out of RAM)
Magnus Lilja
lilja.magnus at gmail.com
Thu Jul 9 19:07:50 CEST 2009
Hi
Could you please do reply-all and keep all addresses when replying to
a mail? I don't read all mail from the list so it's easy to miss a
followup.
2009/7/9 Ulrich Gerster <gersteru at dhbw-loerrach.de>:
> Hello
>
>>>>> Magnus Lilja <lilja.magnus at gmail.com> 08.07.09 17.42 Uhr >>>
>> Hi
>>
>> You should define CONFIG_SKIP_LOWLEVEL_INIT since redboot has already
>> setup the SDRAM. If you load U-boot to the address it's set up to
>> execute from you should also define CONFIG_SKIP_RELOCATE_UBOOT.
>
>> It's been a long while since I used redboot to start u-boot (on the
>> i.MX31 PDK) so I don't remember the correct redboot command but make
>> sure the MMU is off when jumping to U-Boot.
>
>> Regards, Magnus
>
> I made the defines you mentioned above and build the image with make mx31guf_config (it's quite similar to the PDK board). Then I loaded the resulting u-boot.bin to 0x81000000 and tried to "run 0x81000000". The "run" command is with caches and MMU tured off.
> I get absolutely no output on the console and I have to reset the board.
> What could be the problem? How can I debug this?
Did you define CONFIG_SKIP_RELOCATE_UBOOT? If so, that may be the
problem (although I'm not 100% sure) if TEXT_BASE is not 0x81000000
(in your board config.mk). For most i.MX31 boards TEXT_BASE is
0x87f00000.
/Magnus
More information about the U-Boot
mailing list