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

2013-12-02 Thread Rommel G Custodio
Dear tvpatel12, tvpatel12 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

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

2013-12-02 Thread FengHua
> 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

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

2013-12-01 Thread tvpatel12
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-tp168739.html Sent from the U-Boot mailing