LS1021ATSN :uboot can't find 'setenv'

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LS1021ATSN :uboot can't find 'setenv'

767件の閲覧回数
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 返答(返信)

702件の閲覧回数
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 件の賞賛

702件の閲覧回数
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 件の賞賛

702件の閲覧回数
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 件の賞賛