LS1021ATSN :uboot can't find 'setenv'

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

LS1021ATSN :uboot can't find 'setenv'

1,109 次查看
yunqw_41
Contributor I

When I set MAC addresses on the LS1021ATSN-PA board in U-Boot according to  Open Industrial Linux User Guide:

This is the command

\0x1b7\0x1b[r\0x1b[999;999H\0x1b[6nroot@ls1021atsn:~# setenv ethaddr 00:04:9f:ef:00:00

And the reply is:

-sh: setenv: not found

Why can't this command be found? What should I do?

0 项奖励
回复
3 回复数

1,044 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Hello qiwen yun,

It seems that you are in Linux Kernel not under u-boot.

Would you please provide your whole console log ?

Thanks,

Yiping

0 项奖励
回复

1,044 次查看
yunqw_41
Contributor I

Dear Yiping:

I insert the SDcard ,and in the cutecom ,I saw the following picture,.

Then I write 'setenv' command .Is this not under u-boot? How could I enter u-boot?

2019-12-03 21-59-55屏幕截图.png Thanks

qiwen yun

0 项奖励
回复

1,044 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Hello qiwen yun,

After power on the target board, please click "enter" to enter u-boot prompt, then type the following commands.

=>setenv ethaddr 00:04:9f:ef:00:0

=>saveenv

Thanks,

Yiping

0 项奖励
回复