[Avila] Linux 2.6.19 first tracks :)

Loft Loft at nc.rr.com
Wed Nov 29 23:01:45 EST 2006


FYI,

Now that 2.6.19 is out, I've been running the release candidate series 
for many weeks.  Here's a 2.6.19 kernel running on a USB enabled GW-2348-4.

It boots Debian on a microdrive, uses the GPL NPE drivers, mad-wifi from 
a couple days ago, the RTC, EEPROM, and temp sensor are all running.

Send me an e-mail if you are interested in 2.6.19 board support package.

Enjoy,

Tom Billman
Giant Shoulder, Inc.
http://www.giantshoulderinc.com

-------  Boot log follows -------------------

+
Trying NPE-B...success. Using NPE-B with PHY 0.
Ethernet eth0: MAC address 00:d0:12:02:23:71
IP: 192.168.1.81/255.255.255.0, Gateway: 0.0.0.0
Default server: 192.168.1.10

RedBoot(tm) bootstrap and debug environment [ROM]
Gateworks certified release, version 2.02 - built 02:54:47, Dec  8 2005

Platform: Gateworks Avila GW234X (IXP42X 533MHz) BE
Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
Copyright (C) 2004, 2005 Gateworks Corporation

RAM: 0x00000000-0x08000000, [0x000298b0-0x07fc1000] available
FLASH: 0x50000000 - 0x51000000, 128 blocks of 0x00020000 bytes each.
== Executing boot script in 0.100 seconds - enter ^C to abort
RedBoot> load -r -v -b 0x600000 loft-81
Using default protocol (TFTP)
/
Raw file loaded 0x00600000-0x00742e67, assumed entry at 0x00600000
RedBoot> exec
Using base address 0x00600000 and length 0x00142e68
Uncompressing 
Linux....................................................................................... 
done, booting the
 kernel.
Linux version 2.6.19 (gs at gw-lap) (gcc version 3.4.4) #1 PREEMPT Wed Nov 
29 22:07:38 EST 2006
CPU: XScale-IXP42x Family [690541c1] revision 1 (ARMv5TE), cr=0000397f
Machine: Giant Shoulder Inc Loft board
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: 32512
Kernel command line:  noirqdebug console=ttyS0,115200n8 root=/dev/sda1 
rtc-ds1672.probe=0,0x68 mem=128M at 0x0
IRQ lockup detection disabled
PID hash table entries: 512 (order: 9, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 127104KB available (2228K code, 431K data, 92K 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 disabled
dmabounce: registered device 0000:00:02.0 on pci bus
dmabounce: registered device 0000:00:05.0 on pci bus
dmabounce: registered device 0000:00:05.1 on pci bus
dmabounce: registered device 0000:00:05.2 on pci bus
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: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 4096 bind 2048)
TCP reno registered
NetWinder Floating Point Emulator V0.97 (double precision)
squashfs: version 3.2-alpha (2006/11/06) Phillip Lougher
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler deadline registered (default)
HDLC line discipline: version $Revision: 4.8 $, maxframe=4096
N_HDLC line discipline registered.
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
RAMDISK driver initialized: 4 RAM disks of 10240K size 1024 blocksize
IXP4XX Q Manager 0.2.0 initialized.
IXP4XX NPE driver Version 0.2.0 initialized
ixp4xx_mac driver 0.2.1: eth0 on NPE-B with PHY[0] initialized
ixp4xx_mac driver 0.2.1: eth1 on NPE-C with PHY[1] initialized
pata_ixp4xx_cf pata_ixp4xx_cf.0: version 0.1.1
ata1: PATA max PIO4 cmd 0xC8860003 ctl 0xC8862005 bmdma 0x0 irq 29
scsi0 : pata_ixp4xx_cf
ata1.00: CFA, max UDMA/33, 3999744 sectors: LBA
ata1.00: ata1: dev 0 multi count 0
scsi 0:0:0:0: Direct-Access     ATA      HMS360402D5CF00  DNBO PQ: 0 ANSI: 5
SCSI device sda: 3999744 512-byte hdwr sectors (2048 MB)
sda: Write Protect is off
SCSI device sda: drive cache: write through
SCSI device sda: 3999744 512-byte hdwr sectors (2048 MB)
sda: Write Protect is off
SCSI device sda: drive cache: write through
 sda: sda1 sda2
sd 0:0:0:0: Attached scsi removable disk sda
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
RedBoot directory 0x50fe0000(0x1f000) swapped
7 RedBoot partitions found on MTD device IXP4XX-Flash.0
Creating 7 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
npe: firmware loaded to NPE-B, func: 01, rev: 2.0, status: 82400000, 
crc: 9fcf
npe: found at 0x4617c, IXP425/NPE-C func: 01, rev: 2.0, size: 12848, id: 
02010200
npe: firmware loaded to NPE-C, func: 01, rev: 2.0, status: 80800000, 
crc: 610b
0x00080000-0x00200000 : "zimage-be"
0x00200000-0x00600000 : "openwrt"
0x00600000-0x00a00000 : "openwrt-jffs"
0x00a00000-0x00c00000 : "gps-be"
0x00fe0000-0x00fff000 : "FIS directory"
mtd: partition "FIS directory" doesn't end on an erase block -- force 
read-only
0x00fff000-0x01000000 : "RedBoot config"
mtd: partition "RedBoot config" doesn't start on an erase block boundary 
-- force read-only
PCI: enabling device 0000:00:05.2 (0140 -> 0142)
ehci_hcd 0000:00:05.2: EHCI Host Controller
ehci_hcd 0000:00:05.2: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:05.2: irq 28, io mem 0x48012000
ehci_hcd 0000:00:05.2: USB 2.0 started, EHCI 0.95, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
PCI: enabling device 0000:00:05.0 (0140 -> 0142)
ohci_hcd 0000:00:05.0: OHCI Host Controller
ohci_hcd 0000:00:05.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:05.0: irq 28, io mem 0x48010000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
PCI: enabling device 0000:00:05.1 (0140 -> 0142)
ohci_hcd 0000:00:05.1: OHCI Host Controller
ohci_hcd 0000:00:05.1: new USB bus registered, assigned bus number 3
ohci_hcd 0000:00:05.1: irq 28, io mem 0x48011000
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 1 port detected
USB Universal Host Controller Interface driver v3.0
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
i2c /dev entries driver
 : oscillator started; SET TIME!
ds1672 0-0068: chip found, driver version 0.3
ds1672 0-0068: rtc intf: sysfs
ds1672 0-0068: rtc intf: proc
ds1672 0-0068: rtc intf: dev (254:0)
ds1672 0-0068: rtc core: registered ds1672 as rtc0
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
ds1672 0-0068: setting the system clock to 2006-11-30 03:46:08 (1164858368)
Time: OSTS clocksource has been installed.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem).
Freeing init memory: 92K
INIT: version 2.86 booting
Setting parameters of disc: (none).
Activating swap.
Checking root file system...
fsck 1.37 (21-Mar-2005)
/dev/shm/root: clean, 19213/210912 files, 113259/421352 blocks
EXT3 FS on sda1, internal journal
System time was Thu Nov 30 03:46:19 UTC 2006.
Setting the System Clock using the Hardware Clock as reference...
System Clock set. System local time is now Thu Nov 30 03:46:21 UTC 2006.
Cleaning up ifupdown...done.
Calculating module dependencies... done.
Loading modules...
    ath_pci
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, 
RF5413, REGOPS_FUNC)
wlan: 0.8.4.2 (svn r1823)
ath_rate_sample: 1.2 (svn r1823)
ath_pci: 0.9.4.5 (svn r1823)
PCI: enabling device 0000:00:02.0 (0140 -> 0142)
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 5.9 phy 4.3 radio 3.6
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
    ad7418
ad7418 0-0028: chip found, driver version 0.2
All modules loaded.
Checking all file systems...
fsck 1.37 (21-Mar-2005)
Setting kernel variables ...
net.ipv4.conf.all.rp_filter = 1
net.ipv4.conf.all.log_martians = 1
net.ipv4.conf.all.send_redirects = 0
net.ipv4.conf.all.accept_source_route = 0
net.ipv4.conf.all.accept_redirects = 0
error: 'net.ipv4.tcp_syncookies' is an unknown key
net.ipv4.icmp_echo_ignore_broadcasts = 1
net.ipv4.ip_forward = 1
... done.
Mounting local filesystems...
tmpfs on /tmp type tmpfs (rw,noatime)
Cleaning /tmp /var/run /var/lock.
Setting sensors limits: done.
Running 0dns-down to make sure resolv.conf is ok...done.
Setting up networking...done.
Setting up IP spoofing protection: rp_filter.
Configuring network interfaces...Internet Software Consortium DHCP 
Client 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.

Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html

wifi0: unknown hardware address type 801
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
Duplex mode eth0 =1
wifi0: unknown hardware address type 801
Listening on LPF/eth0/00:d0:12:02:23:71
Sending on   LPF/eth0/00:d0:12:02:23:71
Sending on   Socket/fallback/fallback-net
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
ip length 328 disagrees with bytes received 332.
accepting packet with data after udp payload.
DHCPOFFER from 192.168.1.254
DHCPREQUEST on eth0 to 255.255.255.255 port 67
ip length 328 disagrees with bytes received 332.
accepting packet with data after udp payload.
DHCPACK from 192.168.1.254
bound to 192.168.1.81 -- renewal in 21600 seconds.
eth1: link down
done.

Setting the System Clock using the Hardware Clock as reference...
System Clock set. Local time: Thu Nov 30 03:46:35 UTC 2006

Running ntpdate to synchronize clock.
Initializing random number generator...done.
Recovering nvi editor sessions... done.
INIT: Entering runlevel: 2
Starting system log daemon: syslogd.
Starting kernel log daemon: klogd.
Starting DNS forwarder and DHCP server: dnsmasq.
Starting MTA: exim4.
Starting internet superserver: inetd.
Starting OpenBSD Secure Shell server: sshd.
Setting sysfs variables...done.
Starting web server: thttpd.
Starting deferred execution scheduler: atd.
Starting periodic command scheduler: cron.

Debian GNU/Linux 3.1 Avila ttyS0
built by Giant Shoulder, Inc.  http://www.giantshoulderinc.com Avila ttyS0

Avila login: root
Password:
Linux Avila 2.6.19 #1 PREEMPT Wed Nov 29 22:07:38 EST 2006 armv5tel 
GNU/Linux

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Avila:~# ping www.yahoo.com
PING www.yahoo-ht2.akadns.net (209.73.186.238) 56(84) bytes of data.
64 bytes from f1.www.vip.re3.yahoo.com (209.73.186.238): icmp_seq=1 
ttl=50 time=31.2 ms
64 bytes from f1.www.vip.re3.yahoo.com (209.73.186.238): icmp_seq=2 
ttl=50 time=32.0 ms

--- www.yahoo-ht2.akadns.net ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 31.295/31.673/32.051/0.378 ms
Avila:~# lsmod
Module                  Size  Used by
ad7418                  9164  0
hwmon                   3476  1 ad7418
wlan_scan_sta          13984  0
ath_pci               101760  0
ath_rate_sample        15456  1 ath_pci
wlan                  203580  4 wlan_scan_sta,ath_pci,ath_rate_sample
ath_hal               214040  3 ath_pci,ath_rate_sample
Avila:~# uname -a
Linux Avila 2.6.19 #1 PREEMPT Wed Nov 29 22:07:38 EST 2006 armv5tel 
GNU/Linux
Avila:~#
Avila:~# ls /sys/bus/i2c/devices/
0-0028  0-0050  0-0051  0-0052  0-0053  0-0068
Avila:~# ls /sys/bus/i2c/devices/0-0028
bus     hwmon:hwmon0  in2  in4   subsystem    temp1_max       uevent
driver  in1           in3  name  temp1_input  temp1_max_hyst
Avila:~# . setup-wifi
++ wlanconfig ath0 destroy
++ wlanconfig ath0 create wlandev wifi0 wlanmode ap
ath0
++ iwconfig ath0 essid foo
++ iwconfig ath0 channel 36
++ iwconfig ath0 txpower auto
Warning: Driver for device ath0 has been compiled with version 21
of Wireless Extension, while this program supports up to version 17.
Some things may be broken...

++ iwconfig ath0 rate 54M
++ /sbin/ifconfig ath0 192.168.2.254 up
++ set +x
Avila:~# ifconfig
ath0      Link encap:Ethernet  HWaddr 00:0B:6B:36:D1:D5
          inet addr:192.168.2.254  Bcast:192.168.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  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)

eth0      Link encap:Ethernet  HWaddr 00:D0:12:02:23:71
          inet addr:192.168.1.81  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:23 errors:0 dropped:0 overruns:0 frame:0
          TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2823 (2.7 KiB)  TX bytes:2242 (2.1 KiB)

eth1      Link encap:Ethernet  HWaddr 00:D0:12:12:23:71
          inet addr:192.168.3.254  Bcast:192.168.3.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  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:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

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)

wifi0     Link encap:UNSPEC  HWaddr 
00-0B-6B-36-D1-D5-00-00-00-00-00-00-00-00-00-00
          UP BROADCAST RUNNING MULTICAST  MTU:1500  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:199
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:27 Memory:c8880000-c8890000

Avila:~#





More information about the Avila mailing list