2010-07-07 21:34:44     IP08 uClinux2008.mk can not work

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

2010-07-07 21:34:44     IP08 uClinux2008.mk can not work

nike tian (CHINA)

Message: 91015   

 

For I am using CPU Frequency Scaling,I compiled uClinux2008.mk,when done,download the file uImage_r3beta.ip08

 

to my BF533 board(IP04/IP08),but network and fxo cards init fail!here is the debug messgae:

 

ip08>set  autostart

ip08>tftp 0x1000000 uImage_r3beta.ip08

dm9000 i/o: 0x20100000, id: 0x90000a46

MAC: 02:80:ad:20:31:b8

operating at 10M half duplex mode

Using DM9000#0 device

TFTP from server 192.168.18.95; our IP address is 192.168.18.253

Filename 'uImage_r3beta-back.ip08'.

Load address: 0x1000000

Loading: #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         ################################

done

Bytes transferred = 2490368 (260000 hex)

ip08>bootm 0x1000000

## Booting image at 01000000 ...

   Image Name:   uClinux Kernel and ext2

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    2484784 Bytes =  2.4 MB

   Load Address: 00001000

   Entry Point:  001a0000

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 1a0000

Linux version 2.6.22.18-ADI-2008R1-svn (root@localhost.localdomain) (gcc version 4.1.2 (ADI svn)) #3 Thu Jul 1 18:29:42 CST 2010

Hardware Trace Active and Enabled

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

Compiled for ADSP-BF533 Rev 0.5

Warning: Compiled for Rev 5, but running on Rev 6

Blackfin Linux support by   blackfin.uclinux.org/

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

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  text      = 0x00001000-0x00135dd0

  rodata    = 0x00136000-0x0018acf4

  data      = 0x0018b000-0x001a0000

    stack   = 0x0018c000-0x0018e000

  init      = 0x001a0000-0x001b5000

  bss       = 0x001b5000-0x001c499c

  available = 0x001c499c-0x03b00000

  rootfs    = 0x03b00000-0x03f00000

  DMA Zone  = 0x03f00000-0x04000000

Instruction Cache Enabled

Data Cache Enabled (write-back)

Built 1 zonelists.  Total pages: 14986

Kernel command line: ethaddr=00:11:22:33:11:22 root=/dev/mtdblock2 rw

Configuring Blackfin Priority Driven Interrupts

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

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

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

Memory available: 58028k/65536k RAM, (84k init code, 1235k kernel code, 487k data, 1024k dma, 584k reserved)

Blackfin Scratchpad data SRAM: 4 KB

Blackfin Data A SRAM: 16 KB (16 KB free)

Blackfin Data B SRAM: 16 KB (16 KB free)

Blackfin Instruction SRAM: 64 KB (55 KB free)

Security Framework v1.0.0 initialized

Mount-cache hash table entries: 512

NET: Registered protocol family 16

Blackfin GPIO Controller

Blackfin DMA Controller

stamp_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

yaffs Jul  1 2010 17:36:30 Installing.

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

RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize

dm9000 Ethernet Driver

uclinux[mtd]: RAM probe address=0x3b00000 size=0x400000

Creating 1 MTD partitions on "RAM":

0x00000000-0x00400000 : "ROMfs"

Generic platform RAM MTD, (c) 2004 Simtec Electronics

NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron NAND 256MiB 3,3V 8-bit)

Scanning device for bad blocks

Bad eraseblock 755 at 0x05e60000

Bad eraseblock 1236 at 0x09a80000

Creating 2 MTD partitions on "NAND 256MiB 3,3V 8-bit":

0x00000000-0x00800000 : "linux kernel"

0x00800000-0x10000000 : "file system"

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

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 1

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting the system clock to 1986-10-27 04:25:00 (530771100)

yaffs: dev is 32505858 name is "mtdblock2"

yaffs: Attempting MTD mount on 31.2, "mtdblock2"

yaffs: auto selecting yaffs2

block 692 is bad

block 1173 is bad

VFS: Mounted root (yaffs filesystem).

Freeing unused kernel memory: 84k freed

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

+[ ! -f /etc/sysconfig/network ]

+GATEWAY=192.168.18.3

+HOSTNAME=eepbx

+NETWORKING=yes

+[ yes != yes ]

+DEVICE=

+IPADDR=

+NETMASK=

+ONBOOT=

+[ -f /etc/sysconfig/network-scripts/ifcfg-eth0 ]

+BOOTPROTO=static

+DEVICE=eth0

+IPADDR=192.168.18.252

+NETMASK=255.255.255.0

+ONBOOT=yes

+[ yes = yes ]

+[ static = static ]

+/bin/ifconfig eth0 192.168.18.252 netmask 255.255.255.0

SIOCSIFADDR: No such device

eth0: unknown interface: No such device

SIOCSIFNETMASK: No such device

+DEVICE=

+IPADDR=

+NETMASK=

+ONBOOT=

+[ -f /etc/sysconfig/network-scripts/ifcfg-eth1 ]

+BOOTPROTO=static

+DEVICE=eth1

+IPADDR=192.168.18.252

+NETMASK=255.255.255.0

+ONBOOT=yes

+[ yes = yes ]

+[ static = static ]

+/bin/ifconfig eth1 192.168.18.252 netmask 255.255.255.0

SIOCSIFADDR: No such device

eth1: unknown interface: No such device

SIOCSIFNETMASK: No such device

eth0: error fetching interface information: Device not found

+[  !=  ]

+/bin/ifconfig eth0 169.254.21.1

SIOCSIFADDR: No such device

eth0: unknown interface: No such device

+[ 192.168.18.3 !=  ]

+route add default gw 192.168.18.3

SIOCADDRT: Network is unreachable

+ONBOOT=

+USER=

+DEVICE=

+[ ! -f /etc/sysconfig/network-scripts/ifcfg-ppp0 ]

+DEVICE=eth1

+ONBOOT=no

+USER=epbx

+[ no != yes ]

+exit 0

Looking for host pool.ntp.org and service ntp

Error : Name or service not known

27 Oct 04:25:03 ntpdate[77]: can't find host pool.ntp.org

 

27 Oct 04:25:03 ntpdate[77]: no servers can be used, exiting

Mon Oct 27 04:25:03 UTC 1986

modprobe: cannot parse modules.dep

Notice: Configuration file is /etc/zaptel.conf

line 0: Unable to open master device '/dev/zap/ctl'

 

1 error(s) detected

 

 

Welcome to:

       ____ _  _

      /  __| ||_|             _  _

_   _| |  | | _ ____  _   _ \ \/ /

| | | | |  | || |  _ \| | | | \  /

| |_| | |__| || | | | | |_| | /  \

|  ___\____|_||_|_| |_|\____|/_/\_\

|_| IP04/IP08 Open Hardware IP-PBX

 

Blackfin Asterisk Build System (BAPS) Edition

 

For further information see:

    www.rowetel.com/ucasterisk/ip04.html

    www.rowetel.com/ucasterisk/baps.html

 

Thanks to the BAPS, Astfin, BlackfinOne, and Asterisk communities;

Analog Devices and Atcom.

 

 

BusyBox v1.4.1 (2010-06-18 18:22:14 CST) Built-in shell (msh)

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

 

root:~>

root:~>

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

QuoteReplyEditDelete

 

 

2010-07-07 21:42:38     Re: IP08 uClinux2008.mk can not work

Mike Frysinger (UNITED STATES)

Message: 91017   

 

we dont maintain the source tree you're using.  please post your question to the asterisk forums instead:

  blackfin.uclinux.org/gf/project/asterisk/forum/

QuoteReplyEditDelete

 

 

2010-07-07 21:56:26     Re: IP08 uClinux2008.mk can not work

nike tian (CHINA)

Message: 91019   

 

Thank you Mike!

 

I has posted my question to asterisk forums,but no body answed me!

QuoteReplyEditDelete

 

 

2010-07-07 22:05:03     Re: IP08 uClinux2008.mk can not work

Mike Frysinger (UNITED STATES)

Message: 91020   

 

you're asking us about code we havent written and dont maintain, so ...

Attachments

    Outcomes