Boot adresses

Started by jamelkessler, January 21, 2022, 02:31:05 PM

Previous topic - Next topic

jamelkessler

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