Skip to contentSkip to conversation

how can I boot u-boot from 0x40000 in flash instead of 0x0000

U-Boot-Users Ray Zhao 3 participants 3 messages Jul 14, 2005

lore
Share & tools
lore

Ray Zhao

author
#0 lore raw

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.
#1 lore raw
Quoted 3 lines · In message <[email protected]> you wrote:

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.

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?
#2 lore raw
In reply to Ray Zhao
Quoted 5 lines · Ray Zhao

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

If your hardware supports it, probably. Otherwise no. Perhaps you could tell us what your hardware is?

gvb