Shane Kaiser

U-Boot Environmental Variables

Discussion created by Shane Kaiser on Jun 27, 2012
Latest reply on Jun 27, 2012 by Yuri Muhin

Hello Everyone,

I have a question regarding a U-Boot environment variable:


mmc read ${loadaddr} 0x800 0x1800; bootm

What exactly is the mmc command doing here? How does one come up with loadaddr=70800000?

From what I understand U-Boot will read data from the sd card at 2048*512=1MB (starting location of uImage on the sd card) and keep reading for 6144*512=3MB (the size of the kernel) and take this data and copy it to address 0x70800000 in memory? So U-Boot is installing the kernel at the memory address 0x70800000?