This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Davinci-PSP-03.22: network related issue on boot

Other Parts Discussed in Thread: AM1808

Hi all,

I’m working on a davinci custom board (AM1808).
I’m using Texas Instruments Davinci-PSP-SDK-03.22.00.06 that is based on linux-3.3.0.
Currently I’m facing with a problem with the kernel boot.
My boot options are

If I run the boot command with the Ethernet cable disconnected, the boot process has this strange behavior




davinci_mdio davinci_mdio.0: resetting idled controller
net eth0: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=davinci_mdio-0:00, id=7c0f1)
(HERE IS A LONG WAITING PERIOD BEFORE CONTINUING….)
IP-Config: Complete:
device=eth0, addr=192.168.0.149, mask=255.255.255.0, gw=255.255.255.255,
host=192.168.0.149, domain=, nis-domain=(none),
bootserver=192.168.0.142, rootserver=192.168.0.142, rootpath=




Instead, if I run the boot command with Ethernet cable connected, the boot process is quite normal




davinci_mdio davinci_mdio.0: resetting idled controller
net eth0: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=davinci_mdio-0:00, id=7c0f1)
PHY: davinci_mdio-0:00 - Link is Up - 100/Full
IP-Config: Complete:
device=eth0, addr=192.168.0.149, mask=255.255.255.0, gw=255.255.255.255,
host=192.168.0.149, domain=, nis-domain=(none),
bootserver=192.168.0.142, rootserver=192.168.0.142, rootpath=



I guess the problem could be related to davinci_emac.c, that is the reason I’m writing to you

Please can you help?

Best Regards
Gabriele


P.S.: I’m using the following boot options:

noinitrd rw ubi.mtd=5,2048 root=ubi0:rootfs rootfstype=ubifs chk_data_crc rootwait=1 console=ttyS2,115200n8 ip=192.168.0.149:192.168.0.142::255.255.255.0::eth0:off panic=1 mtdparts=davinci_nand.1:128k(u-boot_env),128k(ubl),256k(spare),512k(u-boot),4m(kernel),235m(rootfs),16m(archive),235m(rootfs_a),-(rest) mem=128M 5 mac_addr=00:08:ee:07:39:de