2011-04-30 05:45:45     [ADSP-BF532] SIOCSIFADDR: No such device?

Document created by Aaronwu Employee on Aug 26, 2013
Version 1Show Document
  • View in full screen mode

2011-04-30 05:45:45     [ADSP-BF532] SIOCSIFADDR: No such device?

Gilles Ganault (FRANCE)

Message: 100321   

 

Hello

 

Without necessarily really knowing what I'm doing, I successfully compiled uClinux-dist 2010 for the ADSP-BD532-based BlackfinOne board.

 

However, after booting up, although dmesg mentions "dm9000 Ethernet Driver, V1.31", there's no eth0 interface, and when I type "ifconfig eth0 192.168.0.9", uClinux says: "ifconfig: SIOCSIFADDR: No such device".

 

FWIW, here's the output of "dmesg":

 

==========================

 

ip04>bootm 0x1000000

## Booting image at 01000000 ...

   Image Name:   Linux Kernel and ext2

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    3893095 Bytes =  3.7 MB

   Load Address: 00001000

   Entry Point:  001f3c68

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 1f3c68

Linux version 2.6.34.7-ADI-2010R1 (root@ubuntu) (gcc version 4.3.5 (ADI-2010R1-RC4) ) #11 Sat Apr 30 11:02:50 CEST 2011

register early platform devices

Found mtd parition at 0x0020a000, (len=0x800000), moving to 0x03700000

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x0015e658

  rodata    = 0x0015e658-0x001c8bac

  bss       = 0x001c9000-0x001da954

  data      = 0x001da960-0x001f0000

    stack   = 0x001ee000-0x001f0000

  init      = 0x001f0000-0x0020a000

  available = 0x0020a000-0x03700000

  rootfs    = 0x03700000-0x03f00000

  DMA Zone  = 0x03f00000-0x04000000

Hardware Trace Active and Enabled

Boot Mode: 6

Blackfin support (C) 2004-2010 Analog Devices, Inc.

Compiled for ADSP-BF532 Rev 0.5

Blackfin Linux support by   blackfin.uclinux.org/

Processor Speed: 400 MHz core clock and 133 MHz System Clock

NOMPU: setting up cplb tables

Instruction Cache Enabled for CPU0

  External memory: cacheable in instruction cache

Data Cache Enabled for CPU0

  External memory: cacheable (write-back) in data cache

Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 13970

Kernel command line: ethaddr=00:09:45:56:72:9b console=ttyBF0,115200 root=/dev/mtdblock0 rw

PID hash table entries: 256 (order: -2, 1024 bytes)

Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)

Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)

Memory available: 53664k/65536k RAM, (104k init code, 1397k kernel code, 583k data, 1024k dma, 572k reserved)

Hierarchical RCU implementation.

RCU-based detection of stalled CPUs is enabled.

NR_IRQS:81

Configuring Blackfin Priority Driven Interrupts

console [ttyBF0] enabled

Calibrating delay loop... 796.67 BogoMIPS (lpj=1593344)

Security Framework initialized

Mount-cache hash table entries: 512

Blackfin Scratchpad data SRAM: 4 KB

Blackfin L1 Instruction SRAM: 32 KB (20 KB free)

NET: Registered protocol family 16

Blackfin DMA Controller

stamp_init(): registering device resources

bio: create slab <bio-0> at 0

SCSI subsystem initialized

bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_base@ffc00500, dma channel@5

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

Switching to clocksource bfin_cs_cycles

NET: Registered protocol family 2

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

TCP established hash table entries: 2048 (order: 2, 16384 bytes)

TCP bind hash table entries: 2048 (order: 1, 8192 bytes)

TCP: Hash tables configured (established 2048 bind 2048)

TCP reno registered

UDP hash table entries: 256 (order: 0, 4096 bytes)

UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)

NET: Registered protocol family 1

msgmni has been set to 104

Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)

io scheduler noop registered

io scheduler cfq registered (default)

bfin_sport: registered sport0

bfin_sport: registered sport1

bfin-uart: Blackfin serial driver

bfin-uart.0: ttyBF0 at MMIO 0xffc00400 (irq = 21) is a BFIN-UART

brd: module loaded

uclinux[mtd]: RAM probe address=0x3700000 size=0x800000

Creating 1 MTD partitions on "RAM":

0x000000000000-0x000000800000 : "ROMfs"

Generic platform RAM MTD, (c) 2004 Simtec Electronics

bfin-async-flash: probing 16-bit flash bus

dm9000 Ethernet Driver, V1.31

usbmon: debugfs is not available

driver isp1362-hcd, 2005-04-04

Initializing USB Mass Storage driver...

usbcore: registered new interface driver usb-storage

USB Mass Storage support registered.

rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0

ip_tables: (C) 2000-2006 Netfilter Core Team

TCP cubic registered

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting system clock to 1999-05-24 05:32:32 UTC (927523952)

dma_alloc_init: dma_page @ 0x020a6000 - 256 pages at 0x03f00000

VFS: Mounted root (ext2 filesystem) on device 31:0.

Freeing unused kernel memory: 104k freed

                           _____________________________________

        a8888b.           / Welcome to the uClinux distribution \

       d888888b.         /       _     _                         \

       8P"YP"Y88        /       | |   |_|            __  __ (TM)  |

       8|o||o|88  _____/        | |    _ ____  _   _ \ \/ /       |

       8'    .88       \        | |   | |  _ \| | | | \  /        |

       8`._.' Y8.       \       | |__ | | | | | |_| | /  \        |

      d/      `8b.       \      \____||_|_| |_|\____|/_/\_\       |

     dP   .    Y8b.       \   For embedded processors including   |

    d8:'  "  `::88b        \    the Analog Devices Blackfin      /

   d8"         'Y88b        \___________________________________/

  :8P    '      :888

   8a.   :     _a88P         For further information, check out:

._/"Yaa_:   .| 88P|            -   blackfin.uclinux.org/

\    YP"    `| 8P  `.          -   docs.blackfin.uclinux.org/

/     \.___.d|    .'           -   www.uclinux.org/

`--..__)8888P`._.'  jgs/a:f    -   www.analog.com/blackfin

 

 

Have a lot of fun...

 

BusyBox v1.16.2 (2011-04-30 11:10:01 CEST) hush - the humble shell

 

==========================

 

Does someone have an idea where I could look to solve this error?

 

Thanks for any hint.

QuoteReplyEditDelete

 

 

2011-05-01 00:04:04     Re: [ADSP-BF532] SIOCSIFADDR: No such device?

Mike Frysinger (UNITED STATES)

Message: 100325   

 

make sure your platform resources are declaring dm9000 info

 

  docs.blackfin.uclinux.org/doku.php?id=uclinux-dist:dev-management#no_such_device

QuoteReplyEditDelete

Attachments

    Outcomes