LS1021ATSN :uboot can't find 'setenv'

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

LS1021ATSN :uboot can't find 'setenv'

732 Views
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 Kudos
3 Replies

667 Views
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 Kudos

667 Views
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 Kudos

667 Views
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 Kudos