On 02/22/2017 12:23 PM, Ryan wrote: > Hello, > > I am using AM43XX based board. The bootloader is divided into spl > u-boot (MLO) and u-boot.bin > > I wanted to check what variables are shared between them. How does MLO > a seperate binary > share the boot mode and mmcdev to u-boot so that it can use the > appropriate mmcdev to find the > kernel. >
These are passed using a shared SRAM space, grep for SRAM_SCRATCH_SPACE_ADDR, and you can follow the rabbit hole from there. Andrew > thanks, > _______________________________________________ > U-Boot mailing list > U-Boot@lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot > _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot