[U-Boot] running u-boot from SDRAM

Roman Mashak romez777 at gmail.com
Sat Sep 6 03:20:46 CEST 2008


Hello Wolfgang,

2008/9/4 Wolfgang Denk <wd at denx.de>:
> I guess you are aware that SRDAM cannot just be used, instead it must
> initialized correctly before you can access it. Your master  is  also
> performing this initialization procedure, then?

Yes, it is.

>> Therefore I'm wondering -- will U-Boot be fine with such a boot mode,
>> usually systems start from flash (NOR or NAND), but here it's in RAM.
>> I believe it should be OK, but just want to make sure.
>
> It doesn't hurt when the device  where  U-Boot  is  booting  from  is
> writable.  You  have to take care not to try t<F12>o re-initialize the RAM
> in U-Boot, though.

This is my understanding that I have to define these optioins:
CONFIG_SKIP_LOWLEVEL_INIT and CONFIG_SKIP_RELOCATE_UBOOT in order to
avoid re-initialization of RAM and copying U-Boot image in to RAM.

-- 
Roman Mashak


More information about the U-Boot mailing list