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?
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
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?
Thanks
qiwen yun
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