public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Lukasz Majewski <lukma@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] mlo and u-boot
Date: Thu, 23 Feb 2017 10:41:48 +0100	[thread overview]
Message-ID: <20170223104148.04f2f119@jawa> (raw)
In-Reply-To: <CANMsd00wD2nTqcXVZzd7TAN9E9G1F2-ZOqSXvq52G=r2_Dw+sw@mail.gmail.com>

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

  reply	other threads:[~2017-02-23  9:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-22 18:23 [U-Boot] mlo and u-boot Ryan
2017-02-23  9:41 ` Lukasz Majewski [this message]
2017-02-23 19:04 ` Andrew F. Davis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170223104148.04f2f119@jawa \
    --to=lukma@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox