I set the DIP in SPI Boot mode, and plugged the Ethernet cable into ENET0 port. The other end of the cable was plugged into our LAN where a DHCP server is running.
When I boot the board, it is not getting IP address. Below is a snippet of the boot information that I got from the USB-COM connection:
****************************************************************************************************
.........
[ 2.111760] Netfilter messages via NETLINK v0.30.
[ 2.116486] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[ 2.122984] ctnetlink v0.93: registering with nfnetlink.
[ 2.128535] IPv4 over IPv4 tunneling driver
[ 2.133092] gre: GRE over IPv4 demultiplexor driver
[ 2.137982] ip_gre: GRE over IPv4 tunneling driver
[ 2.143249] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 2.148655] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
[ 2.155059] arp_tables: (C) 2002 David S. Miller
[ 2.159715] TCP: cubic registered
[ 2.163041] Initializing XFRM netlink socket
[ 2.167812] NET: Registered protocol family 10
[ 2.172857] NET: Registered protocol family 17
[ 2.177323] NET: Registered protocol family 15
[ 2.181817] Bridge firewalling registered
[ 2.185845] Ebtables v2.0 registered
[ 2.189483] 8021q: 802.1Q VLAN Support v1.8
[ 2.195386] sctp: Hash tables configured (established 65536 bind 65536)
[ 2.202121] NET: Registered protocol family 40
[ 2.206696] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[ 2.214398] Registering SWP/SWPB emulation handler
[ 2.220057] UBI: attaching mtd2 to ubi0
[ 2.630526] UBI: scanning is finished
[ 2.639422] UBI warning: print_rsvd_warning: cannot reserve enough PEBs for bad PEB handling, reserved 10, need 78
[ 2.650621] UBI: attached mtd2 (name "ubifs", size 126 MiB) to ubi0
[ 2.656915] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 2.663727] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 2.670447] UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 2.677348] UBI: good PEBs: 1010, bad PEBs: 2, corrupted PEBs: 0
[ 2.683374] UBI: user volume: 2, internal volumes: 1, max. volumes count: 128
[ 2.690529] UBI: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 1104540016
[ 2.699605] UBI: available PEBs: 0, total reserved PEBs: 1010, PEBs reserved for bad PEB handling: 10
[ 2.708862] UBI: background thread "ubi_bgt0d" started, PID 1209
[ 2.715457] UBIFS: parse sync
[ 2.718938] UBIFS: background thread "ubifs_bgt0_1" started, PID 1211
[ 2.744099] UBIFS: recovery needed
[ 2.818451] UBIFS: recovery completed
[ 2.822178] UBIFS: mounted UBI device 0, volume 1, name "rootfs"(null)
[ 2.828734] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 2.837903] UBIFS: FS size: 107421696 bytes (102 MiB, 846 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
[ 2.847764] UBIFS: reserved for root: 0 bytes (0 KiB)
[ 2.852832] UBIFS: media format: w4/r0 (latest is w4/r0), UUID BF74FC55-267F-4148-A304-BE8682E5BF0C, small LPT model
[ 2.863851] VFS: Mounted root (ubifs filesystem) on device 0:11.
[ 2.869999] Freeing init memory: 260K
INIT: version 2.88 booting
Starting udev
Starting Bootlog daemon: bootlogd.
Configuring network interfaces... [ 3.974706] keystone-netcp 2090000.netcp: initializing cpsw version 1.3 (1) SGMII identification value 0x4ed1
[ 3.984863] keystone-netcp 2090000.netcp: Created a cpsw ale engine
[ 3.991151] keystone-netcp 2090000.netcp: initialized cpsw ale revision 1.3
[ 4.001050] pps pps0: new PPS source ptp0
[ 4.005126] cpts rftclk rate(583680000 HZ),mult(1839607018),shift(30)
[ 4.047334] keystone-netcp 2090000.netcp: Using Packet Accelerator Firmware version 0x01030008
[ 4.055985] keystone-netcp 2090000.netcp: pa_clk_rate(163840000 HZ),mult(25000),shift(12)
[ 4.068422] net eth0: netcp device eth0 opened
[ 4.074563] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 4.080413] 8021q: adding VLAN 0 to HW filter on device eth0
[ 4.086094] net eth0: adding rx vlan id: 0
[ 4.092578] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
udhcpc (v1.20.2) started
Sending discover...
Sending discover...
Sending discover...
No lease, failing
[ 13.757942] keystone-netcp 2090000.netcp: initializing cpsw version 1.3 (1) SGMII identification value 0x4ed1
[ 13.773902] net eth1: netcp device eth1 opened
[ 13.778976] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 13.784831] 8021q: adding VLAN 0 to HW filter on device eth1
[ 13.790507] net eth1: adding rx vlan id: 0
udhcpc (v1.20.2) started
[ 13.862431] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
Sending discover...
Sending discover...
Sending discover...
No lease, failing
done.
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
Fri Aug 16 23:11:00 UTC 2013
INIT: Entering runlevel: 5
Starting system message bus: dbus.
Starting Dropbear SSH server: dropbear.
Starting mpmsrv daemon.
Starting telnet daemon.
#>>>>> LCD 12
IP Address:
Starting tiipclad daemon.
Starting syslog-ng:.
Starting thttpd.
Starting Lighttpd Web Server: lighttpd.
2013-08-16 23:11:00: (log.c.166) server started
* starting FTP Server: vsftpd... done.
***************************************************************
***************************************************************
In fact, if I disconnect the Ethernet cable, I got the exact information as above. Why is that? Any suggestions?
Thanks & Happy Holidays !