How communicate between uboot and linux?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How communicate between uboot and linux?

1,526 Views
jaewoo_lee
Contributor I

Hello,

We are using LX2160ARDB/LSDK19.06 for development of network device.

We need multiple booting partition. So we need to select which partition will be booted next reboot from the linux.

How can we do it? Using flash memory is the only way  or does the LX2160A has special feature on it? (like Intercommunication between uboot and linux kernel)

BR

Jaewoo

Tags (2)
0 Kudos
6 Replies

1,378 Views
ufedor
NXP Employee
NXP Employee

You wrote:

So we need to select which partition will be booted

Which exactly functionality is in question?

0 Kudos

1,378 Views
jaewoo_lee
Contributor I

I just wondered if the LX2160A has a special functionality that supports configuration booting partition from Linux.

If not, I will use fw_setenv/fw_printenv as Jörg's advice. 

Thanks

0 Kudos

1,378 Views
ufedor
NXP Employee
NXP Employee

There is no another dedicated method.

0 Kudos

1,378 Views
jaewoo_lee
Contributor I

Thank you for the prompt reply.

0 Kudos

1,378 Views
jhering_ruegen
Contributor II

Hallo,

we use the u-boot tools:

fw_printenv and fw_setenv

HowCanIAccessUBootEnvironmentVariablesInLinux < DULG < DENX 

U-boot environment variables in linux - eLinux.org 

regards Jörg

0 Kudos

1,378 Views
jaewoo_lee
Contributor I

Thank you for the prompt reply.

0 Kudos