i recently tried to boot an minimal image
and i crashed the autoboot
now iam facing problems with the ethernet port and cannot bring up the ethernet port and its showing the following error on all my ports
probe of ffe5f2000.ethernet failed with error -22
Hello varun k jayan,
If you didn't configure MAC addresses for FMAN Ethernet ports correctly in u-boot environment, you will encounter this problem. Please configure u-boot environment as the following.
eth10addr=00:e0:0c:00:7a:0a
eth11addr=00:e0:0c:00:7a:0b
eth12addr=00:e0:0c:00:7a:0c
eth13addr=00:e0:0c:00:7a:0d
eth14addr=00:e0:0c:00:7a:0e
eth15addr=00:e0:0c:00:7a:0f
eth1addr=00:e0:0c:00:7a:01
eth2addr=00:e0:0c:00:7a:02
eth3addr=00:e0:0c:00:7a:03
eth4addr=00:e0:0c:00:7a:04
eth5addr=00:e0:0c:00:7a:05
eth6addr=00:e0:0c:00:7a:06
eth7addr=00:e0:0c:00:7a:07
eth8addr=00:e0:0c:00:7a:08
eth9addr=00:e0:0c:00:7a:09
ethaddr=00:e0:0c:00:7a:00
If this doesn't help, please provide u-boot and Kernel booting log, and also provide u-boot environment with "pri" command.
Have a great day,
Yiping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
how to configure U-boot environment for ethernet address
i tried to load my image using the tftp boot but after setenv bootargs ram/sd/ rw 115200 command my autoboot doesnt work
it is showing
=> at s7=45 s0=0 L1 v1 x4 & c1 E1 Q0
=>syntax error
please help
Hello varun k jayan,
First please run "pri" command under u-boot prompt to show your u-boot environment, and check whether the some MAC address configurations are missed.
Please configure MAC address with the following commands.
=>setenv ethaddr 00:e0:0c:00:38:00
=>setenv eth1addr 00:e0:0c:00:38:01
Configure the Ethernet port which you are using, for example FM1@DTSEC1
=>setenv ethact FM1@DTSEC1
You could configure ramboot as the following
=>setenv ramboot 'setenv bootargs root=/dev/ram rw console=ttyS0,115200;tftp 2000000 <ramdiskfile>;tftp 1000000 <uImage>;tftp c00000 <dtsfile>;bootm 1000000 2000000 c00000'
=>run c00000
I suggest you start with Linux SDK user manual provided in the SOURCE ISO first.
Have a great day,
Yiping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------