[U-Boot] Why u-boot relocate from flash to RAM

Hi,
I can't understand that why u-boot code relocate itself form flash to RAM? why it doesn't execute from flash? Can anybody explain. Plz
Tejas
-- View this message in context: http://u-boot.10912.n7.nabble.com/Why-u-boot-relocate-from-flash-to-RAM-tp16... Sent from the U-Boot mailing list archive at Nabble.com.

Hi,
I can't understand that why u-boot code relocate itself form flash to RAM? why it doesn't execute from flash? Can anybody explain. Plz
First, flash is slow. Second, there are many data structures or variables which should be writable. So, we should copy u-boot to RAM and relocate it.

Dear tvpatel12,
tvpatel12 <tvpatel12 <at> gmail.com> writes:
Hi,
I can't understand that why u-boot code relocate itself form flash to RAM? why it doesn't execute from flash? Can anybody explain. Plz
Read the very first paragraph of http://www.denx.de/wiki/DULG/DebuggingUBoot
Tejas
All the best, Rommel
participants (3)
-
FengHua
-
Rommel G Custodio
-
tvpatel12