i'm working on imx6ull board and have some problem on ethernet phy. The second phy do not work at the first power on. And now i find that i can not enter uboot command line at the first power on. i have already check about the setting about autoboot and set delay to 10s.
The first phy can work well in uboot but the second can not even if it can work well in kernel. When i use 'dhcp' command it will run out time. I check about phy reg and it's all right.And it can change 100baseT to 10baseT when i draw cable out.
I'm a beginner about uboot and linux kernel. i'm not sure which step is wrong while initial phy. And if i reload fec.ko driver in linux, the two phys will work well. But i'm using Ubuntu core, when i reload fec.ko , it will report
[ 175.260999] fec_init 20b4000.ethernet (unnamed net_device) (uninitialized): Invalid MAC address: 00:00:00:00:00:00
[ 175.554252] kobject_add_internal failed for 2188000.ethernet-2 with -EEXIST, don't try to register things with the same name in the same directory.
[ 175.567868] libphy: mii_bus 2188000.ethernet-2 failed to register
So i want to do a full initialization twice while initial in uboot or in kernel. But i do not know how to do it...
Can anyone give me some suggestion about that？ Thanks!