[Avila] OpenWRT on GW2345

Mark Kelly mark.kelly at cadre5.com
Tue Oct 30 14:15:37 EDT 2007


 

Hi guys,

 

I'm trying to get OpenWRT up and running on the GW2345, has any had any
success with it?   I can get the zimage and rootfs created and booted,
but I can't seem to get the onboard ethernet to work correctly.

 

Here's my flashing and boot log:

 

RedBoot> fis init -f

About to initialize [format] FLASH image system - continue (y/n)? y

*** Initialize FLASH Image System

... Erase from 0x50080000-0x50fe0000:
........................................................................
...................................................

... Unlock from 0x50fe0000-0x51000000: .

... Erase from 0x50fe0000-0x51000000: .

... Program from 0x03fe0000-0x04000000 at 0x50fe0000: .

... Lock from 0x50fe0000-0x51000000: .

RedBoot> load -r -b %{FREEMEMLO} [3~      [3~[3~[3~vila-2.6-zImage

Using default protocol (TFTP)

__udp_sendto: Can't find address of server

Can't load '<Not a string: 0x251F6>': some sort of network error

RedBoot> ?5\

** Error: Illegal command: "<Not a string: 0x251E0>"

** Error: Illegal command: "5\"

RedBoot> 

** Error: Illegal command: "<Not a string: 0x251E0>"

RedBoot> load -r -b %{FREEMEMLO} openwrt-avila-2.6-zImage

Using default protocol (TFTP)

Raw file loaded 0x00029c00-0x0010f81f, assumed entry at 0x00029c00

RedBoot> fis create kernel

... Erase from 0x50080000-0x50180000: ........

... Program from 0x00029c00-0x0010f820 at 0x50080000: ........

... Unlock from 0x50fe0000-0x51000000: .

... Erase from 0x50fe0000-0x51000000: .

... Program from 0x03fe0000-0x04000000 at 0x50fe0000: .

... Lock from 0x50fe0000-0x51000000: .

RedBoot> load -r -b %{FREEMEMLO} openwrt-ixp4xx-2.6-squashfs.img

Using default protocol (TFTP)

Raw file loaded 0x00029c00-0x00269bff, assumed entry at 0x00029c00

RedBoot> fis create -l 0xe00000 rootfs

... Erase from 0x50180000-0x50f80000:
........................................................................
........................................

... Program from 0x00029c00-0x00269c00 at 0x50180000: ..................

... Unlock from 0x50fe0000-0x51000000: .

... Erase from 0x50fe0000-0x51000000: .

... Program from 0x03fe0000-0x04000000 at 0x50fe0000: .

... Lock from 0x50fe0000-0x51000000: .

RedBoot> fis free

  0x50F80000 .. 0x50FE0000

RedBoot> fconfig

Run script at boot: true

Boot script: 

.. fis load kernel

.. exec

Enter script, terminate with empty line

>> fis load kernel

>> exec

>> 

Boot script timeout (100ms resolution): 25

Use BOOTP for network configuration: false

Gateway IP address: 

Local IP address: 192.168.3.2

Local IP address mask: 255.255.255.0

Default server IP address: 192.168.3.1

Console baud rate: 115200

GDB connection port: 9000

Force console for special debug messages: false

Network debug at boot time: false

Default network device: npe_eth0

Update RedBoot non-volatile configuration - continue (y/n)? y

... Unlock from 0x50fe0000-0x51000000: .

... Erase from 0x50fe0000-0x51000000: .

... Program from 0x03fe0000-0x04000000 at 0x50fe0000: .

... Lock from 0x50fe0000-0x51000000: .

RedBoot> fis load kernel

RedBoot> exec

 

 

Using base address 0x00029c00 and length 0x000e5c20

Uncompressing
Linux................................................................
done, booting the kernel.

Linux version 2.6.21.6 (mkelly at VDev) (gcc version 4.1.2) #2 Tue Oct 30
10:59:02 EDT 2007

CPU: XScale-IXP42x Family [690541c1] revision 1 (ARMv5TE), cr=000039ff

Machine: Gateworks Avila Network Platform

Memory policy: ECC disabled, Data cache writeback

CPU0: D VIVT undefined 5 cache

CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets

CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets

Built 1 zonelists.  Total pages: 16256

Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2
noinitrd console=ttyS0,115200 init=/etc/preinit

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: 64MB = 64MB total

Memory: 62848KB available (1772K code, 173K data, 76K init)

Mount-cache hash table entries: 512

CPU: Testing write buffer coherency: ok

NET: Registered protocol family 16

IXP4xx: Using 16MiB expansion bus window size

PCI: IXP4xx is host

PCI: IXP4xx Using direct access for memory space

PCI: bus0: Fast back to back transfers enabled

dmabounce: registered device 0000:00:01.0 on pci bus

dmabounce: registered device 0000:00:02.0 on pci bus

dmabounce: registered device 0000:00:03.0 on pci bus

Time: OSTS clocksource has been installed.

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

NetWinder Floating Point Emulator V0.97 (double precision)

squashfs: version 3.0 (2006/03/15) Phillip Lougher

Registering mini_fo version $Id$

JFFS2 version 2.2. (NAND) (SUMMARY)  (C) 2001-2006 Red Hat, Inc.

io scheduler noop registered

io scheduler deadline registered (default)

IXP4xx Watchdog Timer: heartbeat 60 sec

Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing
disabled

serial8250.0: ttyS0 at MMIO 0xc8000000 (irq = 15) is a XScale

serial8250.0: ttyS1 at MMIO 0xc8001000 (irq = 13) is a XScale

IXP4XX Q Manager 0.2.1 initialized.

IXP4XX NPE driver Version 0.3.0 initialized

ixp4xx_crypto 0.0.1 registered successfully

IXP4XX-Flash.0: Found 1 x16 devices at 0x0 in 16-bit bank

 Intel/Sharp Extended Query Table at 0x0031

Using buffer write method

cfi_cmdset_0001: Erase suspend on write enabled

Searching for RedBoot partition table in IXP4XX-Flash.0 at offset
0xfe0000

6 RedBoot partitions found on MTD device IXP4XX-Flash.0

Creating 6 MTD partitions on "IXP4XX-Flash.0":

0x00000000-0x00080000 : "RedBoot"

npe: searching for firmware...

npe: found at 0x12104, unknown/NPE-A func: 03, rev: 5.8, size:
1074729484, id: 5003c508

npe: found at 0x3fd1c, IXP465/NPE-A func: 81, rev: 2.0, size: 12848, id:
10810200

npe: found at 0x42f4c, IXP425/NPE-B func: 01, rev: 2.0, size: 12848, id:
01010200

Image loaded to NPE-B Func:1, Rel: 2:0, Status: 80800000

npe: found at 0x4617c, IXP425/NPE-C func: 01, rev: 2.0, size: 12848, id:
02010200

Image loaded to NPE-C Func:1, Rel: 2:0, Status: 80800000

0x00080000-0x00180000 : "kernel"

0x00180000-0x00f80000 : "rootfs"

mtd: partition "rootfs" set to be root filesystem

mtd: partition "rootfs_data" created automatically, ofs=3A0000,
len=BE0000 

0x003a0000-0x00f80000 : "rootfs_data"

0x00f80000-0x00fe0000 : "unallocated"

0x00fe0000-0x00fff000 : "FIS directory"

0x00fff000-0x01000000 : "RedBoot config"

i2c /dev entries driver

nf_conntrack version 0.5.0 (512 buckets, 4096 max)

ip_tables: (C) 2000-2006 Netfilter Core Team

TCP westwood registered

NET: Registered protocol family 1

NET: Registered protocol family 17

802.1Q VLAN Support v1.8 Ben Greear <greearb at candelatech.com>

All bugs added by David S. Miller <davem at redhat.com>

XScale DSP coprocessor detected.

ixp4xx_mac driver 0.3.1: eth0 on NPE-B with PHY[0] initialized

ixp4xx_mac driver 0.3.1: eth1 on NPE-C with PHY[1] initialized

drivers/rtc/hctosys.c: unable to open rtc device (rtc0)

VFS: Mounted root (squashfs filesystem) readonly.

Freeing init memory: 76K

Warning: unable to open an initial console.

- preinit -

jffs2 not ready yet; using ramdisk

mini_fo: using base directory: /

mini_fo: using storage directory: /tmp/root

- init -

 

Please press Enter to activate this console. eth0: PHY[0] unresponsive

eth0: link down

SCSI subsystem initialized

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

PPP generic driver version 2.4.2

wlan: 0.8.4.2 (svn r2756)

ath_hal: module license 'Proprietary' taints kernel.

ath_hal: 0.9.30.13 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112,
RF2413, RF5413, RF2133, REGOPS_FUNC)

ath_rate_minstrel: Minstrel automatic rate control algorithm 1.2 (svn
r2756)

ath_rate_minstrel: look around rate set to 10%

ath_rate_minstrel: EWMA rolloff level set to 75%

ath_rate_minstrel: max segment size in the mrr set to 6000 us

wlan: mac acl policy registered

ath_pci: 0.9.4.5 (svn r2756)

PCI: enabling device 0000:00:02.0 (0340 -> 0342)

ath_pci: switching rfkill capability off

ath_pci: switching per-packet transmit power control off

wifi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps

wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps

wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
24Mbps 36Mbps 48Mbps 54Mbps

wifi0: turboA rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps
54Mbps

wifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps

wifi0: H/W encryption support: WEP AES AES_CCM TKIP

wifi0: mac 10.5 phy 6.1 radio 6.3

wifi0: Use hw queue 1 for WME_AC_BE traffic

wifi0: Use hw queue 0 for WME_AC_BK traffic

wifi0: Use hw queue 2 for WME_AC_VI traffic

wifi0: Use hw queue 3 for WME_AC_VO traffic

wifi0: Use hw queue 8 for CAB traffic

wifi0: Use hw queue 9 for beacons

wifi0: Atheros 5212: mem=0x48000000, irq=27

PCI: enabling device 0000:00:03.0 (0340 -> 0342)

ath_pci: switching rfkill capability off

ath_pci: switching per-packet transmit power control off

wifi1: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps

wifi1: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps

wifi1: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
24Mbps 36Mbps 48Mbps 54Mbps

wifi1: turboA rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps
54Mbps

wifi1: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps

wifi1: H/W encryption support: WEP AES AES_CCM TKIP

wifi1: mac 10.5 phy 6.1 radio 6.3

wifi1: Use hw queue 1 for WME_AC_BE traffic

wifi1: Use hw queue 0 for WME_AC_BK traffic

wifi1: Use hw queue 2 for WME_AC_VI traffic

wifi1: Use hw queue 3 for WME_AC_VO traffic

wifi1: Use hw queue 8 for CAB traffic

wifi1: Use hw queue 9 for beacons

wifi1: Atheros 5212: mem=0x48010000, irq=26

USB Universal Host Controller Interface driver v3.0

usbcore: registered new interface driver usbserial

drivers/usb/serial/usb-serial.c: USB Serial support registered for
generic

usbcore: registered new interface driver usbserial_generic

drivers/usb/serial/usb-serial.c: USB Serial Driver core

Initializing USB Mass Storage driver...

usbcore: registered new interface driver usb-storage

USB Mass Storage support registered.

drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI
USB Serial Device

usbcore: registered new interface driver ftdi_sio

drivers/usb/serial/ftdi_sio.c: v1.4.3:USB FTDI Serial Converters Driver

drivers/usb/serial/usb-serial.c: USB Serial support registered for
pl2303

usbcore: registered new interface driver pl2303

drivers/usb/serial/pl2303.c: Prolific PL2303 USB to serial adaptor
driver

jffs2_scan_eraseblock(): End of filesystem marker found at 0x0

jffs2_build_filesystem(): unlocking the mtd device... done.

jffs2_build_filesystem(): erasing all blocks after the end marker...
done.

mini_fo: using base directory: /

mini_fo: using storage directory: /jffs

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gateworks.com/pipermail/avila/attachments/20071030/1a7b0c70/attachment.htm 


More information about the Avila mailing list