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.

IP-Config: Failed to open eth0 IP-Config: No network devices available.

Hi All,

I am facing IP-Config: Failed to open eth0 IP-Config: No network devices available issue in my ARM TI board, so that i could not access ethernet port,

so please do the needful,

PFA of my kernel log,

DM35x initialization passed!
TI UBL Version: 1.50
Booting Catalog Boot Loader
BootMode = NAND
Starting NAND Copy...
Valid magicnum, 0xA1ACED66, found in block 0x00000019.
   DONE
Jumping to entry point at 0x81080000.


U-Boot 1.3.4 (Aug  8 2012 - 11:15:51)

I2C:   ready
DRAM:  128 MB
NAND:  NAND device: Manufacturer ID: 0x2c, Chip ID: 0xdc (Micron NAND 512MiB 3,3V 8-bit)
Bad block table not found for chip 0
Bad block table not found for chip 0
Bad block table written to 0x1ffe0000, version 0x01
Bad block table written to 0x1ffc0000, version 0x01
No NAND device found!!!
512 MiB
In:    serial
Out:   serial
Err:   serial
ARM Clock :- 216MHz
DDR Clock :- 171MHz
Hit any key to stop autoboot:  0

Loading from NAND 512MiB 3,3V 8-bit, offset 0x400000
   Image Name:   Linux-2.6.32-rc2-davinci1hht_v3.
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1997152 Bytes =  1.9 MB
   Load Address: 80008000
   Entry Point:  80008000
## Booting kernel from Legacy Image at 80700000 ...
   Image Name:   Linux-2.6.32-rc2-davinci1hht_v3.
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1997152 Bytes =  1.9 MB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux......................................................................................
................................................ done, booting the kernel.
Linux version 2.6.32-rc2-davinci1hht_v3.0 (root@titus-hht) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-2
03) ) #5 PREEMPT Mon Aug 20 10:40:13 IST 2012
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: DaVinci DM355 EVM
Memory policy: ECC disabled, Data cache writeback
DaVinci dm355 variant 0x0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 29464
Kernel command line: console=ttyS0,115200n8 noinitrd rw ip=10.10.30.56 root=/dev/mtdblock3 rw rootfstype=
yaffs2 mem=116M video=davincifb:vid0=off:vid1=off:osd0=320x240x16,2025K davinci_enc_mngr.ch0_output=LCD d
avinci_enc_mngr.ch0_mode=320x240
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 116MB = 116MB total
Memory: 113180KB available (3796K code, 308K data, 196K init, 0K highmem)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:245
Console: colour dummy device 80x30
Calibrating delay loop... 107.31 BogoMIPS (lpj=536576)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
DaVinci: 104 gpio irqs
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
DM355 IPIPE intialized in Single Shot mode
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
vpss vpss: dm355_vpss vpss probed
vpss vpss: dm355_vpss vpss probe success
ch0 default output "LCD", mode "320x240"
LogicPD encoder initialized
Switching to clocksource timer0_1
musb_hdrc: version 6.0, cppi-dma, host, debug=0
musb_hdrc: USB Host mode controller at fec64000 using DMA, IRQ 12
musb_hdrc musb_hdrc: MUSB HDRC host driver
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
msgmni has been set to 221
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered (default)
davincifb davincifb.0: check_fb_var: calling convert_fb_var_to_osd, var->bits_per_pixel: 16
davincifb davincifb.0: convert_fb_var_to_osd: bits per pixel: 16
davincifb davincifb.0: davincifb_set_par: calling convert_fb_info_to_osd bpp: 16
davincifb davincifb.0: convert_fb_info_to_osd: var->bits_per_pixel: 16
davincifb davincifb.0: convert_fb_var_to_osd: bits per pixel: 16
davincifb davincifb.0: davincifb_set_par: calling convert_fb_info_to_osd bpp: 16
davincifb davincifb.0: convert_fb_info_to_osd: var->bits_per_pixel: 16
davincifb davincifb.0: convert_fb_var_to_osd: bits per pixel: 16
Console: switching to colour frame buffer device 40x15
davincifb davincifb.0: dm_osd0_fb: 320x240x16@0,0 with framebuffer size 2025KB
davincifb davincifb.0: check_fb_var: calling convert_fb_var_to_osd, var->bits_per_pixel: 4
davincifb davincifb.0: convert_fb_var_to_osd: bits per pixel: 4
davincifb davincifb.0: davincifb_set_par: calling convert_fb_info_to_osd bpp: 4
davincifb davincifb.0: convert_fb_info_to_osd: var->bits_per_pixel: 4
davincifb davincifb.0: convert_fb_var_to_osd: bits per pixel: 4
davincifb davincifb.0: dm_osd1_fb: 320x240x4@0,0 with framebuffer size 300KB
imp serializer initialized
davinci_previewer initialized
davinci_resizer initialized
Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
console [ttyS0] enabled
serial8250.0: ttyS1 at MMIO 0x1c20400 (irq = 41) is a 16550A
serial8250.0: ttyS2 at MMIO 0x1e06000 (irq = 14) is a 16550A
brd: module loaded
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xdc (Micron NAND 512MiB 3,3V 8-bit)
usb 1-1: new high speed USB device using musb_hdrc and address 2
Creating 5 MTD partitions on "davinci_nand.0":
0x000000000000-0x0000003c0000 : "bootloader"
0x0000003c0000-0x000000400000 : "params"
0x000000400000-0x000000800000 : "kernel"
0x000000800000-0x000020000000 : "filesystem1"
0x000020000000-0x000020400000 : "filesystem2"
mtd: partition "filesystem2" is out of reach -- disabled
davinci_nand davinci_nand.0: controller rev. 2.3
spi_davinci spi_davinci.0: DaVinci SPI driver in EDMA mode
Using RX channel = 17 , TX channel = 16 and event queue = 1
spi_davinci spi_davinci.0: Controller at 0xfec66000
PINMUX0 = 7f55
PINMUX0 = 7b55
enable_tft_completed.
Inserting SPI module
PINMUX0 = 7b55
PINMUX0 = 7baa
SPI2 SPI2FMT0 value =173320
tft_open exit
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
usb 1-1: configuration #1 chosen from 1 choice
hub 1-1:1.0: USB hub found
PPP MPPE Compression module registered
NET: Registered protocol family 24
dm9000 Ethernet Driver, V1.31
hub 1-1:1.0: 4 ports detected
dm9000 dm9000: eth%d: Invalid ethernet MAC address. Please set using ifconfig
eth0: dm9000a at c7880000,c7884002 IRQ 65 MAC: 00:00:00:00:00:00 (chip)
console [netcon0] enabled
netconsole: network logging started
usbcore: registered new interface driver cdc_acm
cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbserial
usbserial: USB Serial Driver core
USB Serial support registered for pl2303
usbcore: registered new interface driver pl2303
pl2303: Prolific PL2303 USB to serial adaptor driver
OMAP Keypad Driver
omap_kp_probe
input: omap-keypad as /devices/platform/omap-keypad.0/input/input0
register omap-keypad input device
gpio_request_irq 70 status 0
rtc-isl1208 1-006f: chip found, driver version 0.3
rtc-isl1208 1-006f: rtc core: registered rtc-isl1208 as rtc0
i2c /dev entries driver
Linux video capture interface: v2.00
watchdog watchdog: heartbeat 60 sec
davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode
davinci_mmc davinci_mmc.1: Using DMA, 4-bit mode
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.21.
XXXXX: init001:
XXXXX 086
XXXXX 093
XXXXX 079
XXXXX 051
XXXXX 065
XXXXX 058
XXXXX 072
XXXXX: probe 106 ret: 0
No device for DAI tlv320aic3x
No device for DAI davinci-i2s
XXXXX: probe 101:
asoc: tlv320aic3x <-> davinci-i2s mapping ok
Failed to add route HPLOUT->Headphone Jack
XXXXX: probe 105 ret: 0
ALSA device list:
  #0: DaVinci EVM (tlv320aic3x)
SPCR1=0x0
RCR1=0x0
XCR1=0x0
SRGR1=0x20000001
PCR1=0x0
DXR1=0x0
SPCR1=0x2000000
XCR1=0x140
PCR1=0xA00
SRGR1=0x101F0F07
SPCR1=0x2F30000
Resetting DAC....done
 Configuring Audio DAC
SPI0 SPIFMT0 value =173320
SPI0 dv_open exit
before spi open
after init disp
TCP cubic registered
NET: Registered protocol family 17
rtc-isl1208 1-006f: setting system clock to 2010-01-20 01:02:44 UTC (1263949364)
mmc0: new high speed SD card at address 0002
mmcblk0: mmc0:0002 00000 1.86 GiB
 mmcblk0: p1 p2
IP-Config: Failed to open eth0
IP-Config: No network devices available.

  • Hi all,

    In dvsdk3.10 2.6.32 kernel , we cant get mac id (ethernet) through boot arguments that codes are not available in this 2.6.32 kernel,

    but dvsdk2.10 2.6.18 having support to parsing the codes (mac id) from  boot arguments into kernel

    so myself backported that code into 2.6.32 and its working fi9,

    Regards,

    S.Titus.