From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lukasz Majewski Date: Thu, 23 Feb 2017 10:41:48 +0100 Subject: [U-Boot] mlo and u-boot In-Reply-To: References: Message-ID: <20170223104148.04f2f119@jawa> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, 22 Feb 2017 23:53:32 +0530 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. 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