[U-Boot-Users] Running u-boot from Flash itself

Wolfgang Denk wd at denx.de
Mon Nov 13 20:41:25 CET 2006


In message <f1ed94ed0611131034l507e63c1j68ef0b4fe57109c7 at mail.gmail.com> you wrote:
>
> SRAM and I'm able to relocate u-boot to L2 SRAM and run it. Is there
> any way to run u-boot from flash itself, (i.e) relocating only the R/W
> sections? I tried to relocate the u-boot from the end of

Why would you want to do this?

>   Is there any other modifications do I need to run from flash? First
> of all is this possible?

It is possible, but it makes no sense to me. Remember that with  most
flash  chips it is impossible to erase or porogram the flash and read
normal data from it at the same time. So you would  either  lose  all
flash  programming  features  (including savceenv etc.), or you would
have to create flash code that get's relocated to RAM for execution -
it's much easier to relocate everything.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"I like your game but we have to change the rules."




More information about the U-Boot mailing list