Boot adresses

Started by fob69, November 30, 2017, 12:48:31 PM

Previous topic - Next topic

fob69

Hi,

I am installing tiny core sd card on A20 Lime, starting from the official Debian sd image.
I need to set up a zImage and Ucore(initrd) adress in boot environment.
What are memory adress i have to copy those two files at boot ?

i got this in the sunxi documentation :

setenv bootm_boot_mode sec
setenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p2 rootwait panic=10
load mmc 0:1 0x43000000 script.bin || load mmc 0:1 0x43000000 boot/script.bin
load mmc 0:1 0x42000000 uImage || load mmc 0:1 0x42000000 boot/uImage
bootm 0x42000000

Is zImage to copy the same adress than given uImage in the sample ?
How can i get the adress target for uCore ?

thank you

Bernard