2009-08-28 03:25:03     Ethernet 9215 - Customisation in BF532

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

2009-08-28 03:25:03     Ethernet 9215 - Customisation in BF532

John Peter (INDIA)

Message: 79343   

 

Hai,

 

I am customising my board BF532 for the Ethernet chip 9215. After loading the uImage I am gettinh the error as follows. can you please clarify this? I am using 2009R1 dist

 

root:/> ifconfig

lo        Link encap:Local Loopback

         inet addr:127.0.0.1  Mask:255.0.0.0

         UP LOOPBACK RUNNING  MTU:16436  Metric:1

         RX packets:0 errors:0 dropped:0 overruns:0 frame:0

         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

         collisions:0 txqueuelen:0

         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 

root:/> ifconfig eth0 172.16.15.49

ifconfig: SIOCSIFADDR: No such device

 

root:/> ifconfig eth0

ifconfig: eth0: error fetching interface information: Device not found

 

By

Peter

QuoteReplyEditDelete

 

 

2009-08-28 03:32:10     Re: Ethernet 9215 - Customisation in BF532

Mike Frysinger (UNITED STATES)

Message: 79344   

 

you need to post the actual kernel log.  hoping the device was enabled all by itself and userspace will be able to find it is always a dead end.

QuoteReplyEditDelete

 

 

2009-08-28 04:18:51     Re: Ethernet 9215 - Customisation in BF532

John Peter (INDIA)

Message: 79345   

 

## Booting image at 01000000 ...

  Image Name:   Linux-2.6.28.10-ADI-2009R1

  Created:      2009-08-28   6:29:02 UTC

  Image Type:   Blackfin Linux Kernel Image (gzip compressed)

  Data Size:    3442188 Bytes =  3.3 MB

  Load Address: 00001000

  Entry Point:  001a718c

  Verifying Checksum ... OK

  Uncompressing Kernel Image ... OK

Starting Kernel at = 1a718c

Linux version 2.6.28.10-ADI-2009R1 (chinna@HMS-DENON) (gcc version 4.1.2 (ADI svn)) #296 Fri Aug 28 11:58:53 IST 2009

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

fixedcode = 0x00000400-0x00000490

text      = 0x00001000-0x00120390

rodata    = 0x00120390-0x00178ec0

bss       = 0x00179000-0x001898c8

data      = 0x001898e0-0x0019c000

   stack   = 0x0019a000-0x0019c000

init      = 0x0019c000-0x0065b000

available = 0x0065b000-0x03eff000

DMA Zone  = 0x03f00000-0x04000000

Hardware Trace Active and Enabled

Boot Mode: 2

Reset caused by Software reset

Blackfin support (C) 2004-2009 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

Data Cache Enabled for CPU0 (write-back)

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

Kernel command line: console=ttyBF0,57600

Configuring Blackfin Priority Driven Interrupts

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

console [ttyBF0] enabled

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

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

Memory available: 57432k/65536k RAM, (4860k init code, 1148k kernel code, 496k d

ata, 1024k dma, 572k reserved)

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 (21 KB free)

net_namespace: 484 bytes

NET: Registered protocol family 16

Blackfin DMA Controller

ezkit_init(): registering device resources

SCSI subsystem initialized

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

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

NET: Registered protocol family 1

msgmni has been set to 112

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler cfq registered

Serial: Blackfin serial driver

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

brd: module loaded

Driver 'sd' needs updating - please use bus_type methods

 

 

It is in function isp1760_pdev_probe

 

It is in function isp1760_register

isp1760-hcd isp1760-hcd.0: NXP ISP1760 USB Host Controller

isp1760-hcd isp1760-hcd.0: new USB bus registered, assigned bus number 1

 

Its in function isp1760_hc_setup

 

Its in function isp1760_init_regs

isp1760-hcd isp1760-hcd.0: bus width: 16, oc: digital

isp1760-hcd isp1760-hcd.0: irq 38, io mem 0x20140000

isp1760-hcd isp1760-hcd.0: USB ISP 1761 HW rev. 1 started

usb usb1: configuration #1 chosen from 1 choice

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 1 port detected

usb usb1: New USB device found, idVendor=1d6b, idProduct=0002

usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1

usb usb1: Product: NXP ISP1760 USB Host Controller

usb usb1: Manufacturer: Linux 2.6.28.10-ADI-2009R1 isp1760-hcd

usb usb1: SerialNumber: isp1760-hcd.0

 

 

Its after platform_driver_register 0

Initializing USB Mass Storage driver...

usbcore: registered new interface driver usb-storage

USB Mass Storage support registered.

usbcore: registered new interface driver libusual

bfin-wdt: initialized: timeout=20 sec (nowayout=0)

TCP cubic registered

NET: Registered protocol family 15

Freeing unused kernel memory: 4860k freed

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

port 1 high speed********

usb 1-1: new high speed USB device using isp1760-hcd and address 2

port 1 high speed********

usb 1-1: configuration #1 chosen from 1 choice

hub 1-1:1.0: USB hub found

hub 1-1:1.0: 3 ports detected

usb 1-1: New USB device found, idVendor=0471, idProduct=3526

usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0

usb 1-1: Product: ISP1520

usb 1-1: Manufacturer: Philips Semiconductors

usb 1-1.1: new high speed USB device using isp1760-hcd and address 3

usb 1-1.1: configuration #1 chosen from 1 choice

scsi0 : SCSI emulation for USB Mass Storage devices

usb 1-1.1: New USB device found, idVendor=054c, idProduct=0243

usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3

usb 1-1.1: Product: Storage Media

usb 1-1.1: Manufacturer: Sony

usb 1-1.1: SerialNumber: 2A08042313670

                          _____________________________________

       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.13.4 (2009-08-28 10:45:59 IST) built-in shell (msh)

Enter 'help' for a list of built-in commands.

 

root:/>

root:/> ifconfig

lo        Link encap:Local Loopback

        inet addr:127.0.0.1  Mask:255.0.0.0

        UP LOOPBACK RUNNING  MTU:16436  Metric:1

        RX packets:0 errors:0 dropped:0 overruns:0 frame:0

        TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

        collisions:0 txqueuelen:0

        RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 

root:/> ifconfig eth0 172.16.15.49

ifconfig: SIOCSIFADDR: No such device

 

root:/> ifconfig eth0

ifconfig: eth0: error fetching interface information: Device not found

 

QuoteReplyEditDelete

 

 

2009-08-28 05:18:08     Re: Ethernet 9215 - Customisation in BF532

John Peter (INDIA)

Message: 79351   

 

Hai,

 

Please see this kernel log. It shows "smc91x: not found (-19)."

 

## Booting image at 01000000 ...

  Image Name:   Linux-2.6.28.10-ADI-2009R1

  Created:      2009-08-28   8:53:40 UTC

  Image Type:   Blackfin Linux Kernel Image (gzip compressed)

  Data Size:    3648242 Bytes =  3.5 MB

  Load Address: 00001000

  Entry Point:  001ed194

  Verifying Checksum ... OK

  Uncompressing Kernel Image ... OK

Starting Kernel at = 1ed194

Linux version 2.6.28.10-ADI-2009R1 (chinna@HMS-DENON) (gcc version 4.1.2 (ADI sv

n)) #302 Fri Aug 28 14:23:26 IST 2009

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

fixedcode = 0x00000400-0x00000490

text      = 0x00001000-0x0014f1f0

rodata    = 0x0014f1f0-0x001bc184

bss       = 0x001bd000-0x001cf71c

data      = 0x001cf720-0x001e2000

   stack   = 0x001e0000-0x001e2000

init      = 0x001e2000-0x006b8000

available = 0x006b8000-0x03eff000

DMA Zone  = 0x03f00000-0x04000000

Hardware Trace Active and Enabled

Boot Mode: 2

Reset caused by Software reset

Blackfin support (C) 2004-2009 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

Data Cache Enabled for CPU0 (write-back)

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

Kernel command line: console=ttyBF0,57600

Configuring Blackfin Priority Driven Interrupts

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

console [ttyBF0] enabled

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

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

Memory available: 57060k/65536k RAM, (4952k init code, 1336k kernel code, 588k d

ata, 1024k dma, 572k reserved)

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 (21 KB free)

net_namespace: 484 bytes

NET: Registered protocol family 16

Blackfin DMA Controller

ezkit_init(): registering device resources

SCSI subsystem initialized

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

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

NET: Registered protocol family 1

msgmni has been set to 111

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler cfq registered

Serial: Blackfin serial driver

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

brd: module loaded

smc91x: not found (-19).

Driver 'sd' needs updating - please use bus_type methods

It is in function isp1760_register

isp1760-hcd isp1760-hcd.0: NXP ISP1760 USB Host Controller

isp1760-hcd isp1760-hcd.0: new USB bus registered, assigned bus number 1

Its in function isp1760_init_regs

isp1760-hcd isp1760-hcd.0: bus width: 16, oc: digital

isp1760-hcd isp1760-hcd.0: irq 38, io mem 0x20140000

isp1760-hcd isp1760-hcd.0: USB ISP 1761 HW rev. 1 started

usb usb1: configuration #1 chosen from 1 choice

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 1 port detected

usb usb1: New USB device found, idVendor=1d6b, idProduct=0002

usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1

usb usb1: Product: NXP ISP1760 USB Host Controller

usb usb1: Manufacturer: Linux 2.6.28.10-ADI-2009R1 isp1760-hcd

usb usb1: SerialNumber: isp1760-hcd.0

Initializing USB Mass Storage driver...

usbcore: registered new interface driver usb-storage

USB Mass Storage support registered.

usbcore: registered new interface driver libusual

bfin-wdt: initialized: timeout=20 sec (nowayout=0)

TCP cubic registered

NET: Registered protocol family 15

Freeing unused kernel memory: 4952k freed

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

port 1 high speed********

usb 1-1: new high speed USB device using isp1760-hcd and address 2

port 1 high speed********

usb 1-1: configuration #1 chosen from 1 choice

hub 1-1:1.0: USB hub found

hub 1-1:1.0: 3 ports detected

usb 1-1: New USB device found, idVendor=0471, idProduct=3526

usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0

usb 1-1: Product: ISP1520

usb 1-1: Manufacturer: Philips Semiconductors

 

BusyBox v1.13.4 (2009-08-28 10:45:59 IST) built-in shell (msh)

Enter 'help' for a list of built-in commands.

 

root:/> ifconfig

lo        Link encap:Local Loopback

         inet addr:127.0.0.1  Mask:255.0.0.0

         UP LOOPBACK RUNNING  MTU:16436  Metric:1

         RX packets:0 errors:0 dropped:0 overruns:0 frame:0

         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

         collisions:0 txqueuelen:0

         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 

root:/> ifconfig eth0 up

ifconfig: SIOCGIFFLAGS: No such device

root:/> ifconfig eth0 172.16.15.49

ifconfig: SIOCSIFADDR: No such device

root:/>

 

QuoteReplyEditDelete

 

 

2009-08-28 06:08:26     Re: Ethernet 9215 - Customisation in BF532

Mike Frysinger (UNITED STATES)

Message: 79353   

 

so you have the source code and the error, read it to find out why/where the error is coming

Attachments

    Outcomes