How communicate between uboot and linux?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How communicate between uboot and linux?

3,224 次查看
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

标记 (2)
0 项奖励
回复
6 回复数

3,076 次查看
ufedor
NXP Employee
NXP Employee

You wrote:

So we need to select which partition will be booted

Which exactly functionality is in question?

0 项奖励
回复

3,076 次查看
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 项奖励
回复

3,076 次查看
ufedor
NXP Employee
NXP Employee

There is no another dedicated method.

0 项奖励
回复

3,076 次查看
jaewoo_lee
Contributor I

Thank you for the prompt reply.

0 项奖励
回复

3,076 次查看
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 项奖励
回复

3,076 次查看
jaewoo_lee
Contributor I

Thank you for the prompt reply.

0 项奖励
回复