[U-Boot] mini2440 u boot executing from NAND
dashy1981
nagladhana at gmail.com
Thu Jul 10 08:54:13 CEST 2014
I am working with mini2440 s3c2440+128MB NAND + 64MB DRAM.
I have a question regarding Uboot bootstrapping from NAND.
I have flashed the uboot.bin to NAND with below procedure:
1. Bootup from NOR
2. select option v
3. download the uboot.bin to NAND
After this switch the device to boot from Nand using the boot switch.
Everything goes fine and Uboot boots fine.
Question is that by above steps am I flashing uboot to address 0 in NAND ?
Looking at the s3c2440 datasheet I know ther it provides 4KB steppingstone
area to boot from nand. I assume that initial 4KB will be copied to SRAM and
code executes from there.
But uboot.bin is going to be more than 4 KB... in this case how would
complete image be loaded to SRAM ?
Additionally TEXT_BASE is set to TEXT_BASE = 0x33F80000
In that case all the symbols and references will be shifted by this address.
Now how will we be ever able to execute from address 0 ?
cheers
--
View this message in context: http://u-boot.10912.n7.nabble.com/mini2440-u-boot-executing-from-NAND-tp183925.html
Sent from the U-Boot mailing list archive at Nabble.com.
More information about the U-Boot
mailing list