how can I boot u-boot from 0x40000 in flash instead of 0x0000
My board need keep the first 0x40000 flash for special purpose. Is it easy to modify the u-boot to load itself from 0x40000 instead from the 0x0000? Any help is appreciated.
Ray
Signature · 2 lines
--------------------------------------------------------------- Everything that has a beginning has an end.
Quoted 3 lines · In message <[email protected]> you wrote:
My board need keep the first
0x40000flash for special purpose. Is it easy to modify the u-boot to load itself from0x40000instead from the0x0000? Any help is appreciated.
It's not U-Boot code what determines the boot address, but your processor. So your real question is if you can teach your CPU to start from a different reset vector. But sorry, we cannot answer this here.
Best regards,
Wolfgang Denk
Signature · 3 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Thought for the day: What if there were no hypothetical situations?
Quoted 5 lines · Ray Zhao
My board need keep the first
0x40000flash for special purpose. Is it easy to modify the u-boot to load itself from0x40000instead from the0x0000? Any help is appreciated.Ray
If your hardware supports it, probably. Otherwise no. Perhaps you could tell us what your hardware is?
gvb