* [U-Boot] mlo and u-boot
@ 2017-02-22 18:23 Ryan
2017-02-23 9:41 ` Lukasz Majewski
2017-02-23 19:04 ` Andrew F. Davis
0 siblings, 2 replies; 3+ messages in thread
From: Ryan @ 2017-02-22 18:23 UTC (permalink / raw)
To: u-boot
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.
thanks,
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] mlo and u-boot
2017-02-22 18:23 [U-Boot] mlo and u-boot Ryan
@ 2017-02-23 9:41 ` Lukasz Majewski
2017-02-23 19:04 ` Andrew F. Davis
1 sibling, 0 replies; 3+ messages in thread
From: Lukasz Majewski @ 2017-02-23 9:41 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] mlo and u-boot
2017-02-22 18:23 [U-Boot] mlo and u-boot Ryan
2017-02-23 9:41 ` Lukasz Majewski
@ 2017-02-23 19:04 ` Andrew F. Davis
1 sibling, 0 replies; 3+ messages in thread
From: Andrew F. Davis @ 2017-02-23 19:04 UTC (permalink / raw)
To: u-boot
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 at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-02-23 19:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-22 18:23 [U-Boot] mlo and u-boot Ryan
2017-02-23 9:41 ` Lukasz Majewski
2017-02-23 19:04 ` Andrew F. Davis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox