[U-Boot] mlo and u-boot

Lukasz Majewski lukma at denx.de
Thu Feb 23 09:41:48 UTC 2017


On Wed, 22 Feb 2017 23:53:32 +0530
Ryan <ryanphilips19 at googlemail.com> 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.

In u-boot, there is the concept of "environment variables", which are
stored in a separate non-persistent memory (like eMMC, NAND,) or file
system.

For example BBB uses eMMC to store envs.

It is possible to read envs in MLO and u-boot.

> 
> thanks,
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot


Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de


More information about the U-Boot mailing list