
In message f1ed94ed0611131034l507e63c1j68ef0b4fe57109c7@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