Running OpenWRT on Soekris 5501-70

Last week my Soekris 5501-70 arrived. First of all, thanks Wim for shipping it to me! It will most probably supersede my old Soekris 4801-50.

First some facts:

POST: 012345689bcefghips1234ajklnopqr,,,tvwxy

comBIOS ver. 1.33  20070103  Copyright (C) 2000-2007 Soekris Engineering.

net5501

0512 Mbyte Memory                        CPU Geode LX 500 Mhz

Pri Mas  LEXAR ATA FLASH                 LBA Xlt 994-64-63  2004 Mbyte

Slot   Vend Dev  ClassRev Cmd  Stat CL LT HT  Base1    Base2   Int
-------------------------------------------------------------------
0:01:2 1022 2082 10100000 0006 0220 08 00 00 A0000000 00000000 10
0:06:0 1106 3053 02000096 0117 0210 08 40 00 0000E101 A0004000 11
0:07:0 1106 3053 02000096 0117 0210 08 40 00 0000E201 A0004100 05
0:08:0 1106 3053 02000096 0117 0210 08 40 00 0000E301 A0004200 09
0:09:0 1106 3053 02000096 0117 0210 08 40 00 0000E401 A0004300 12
0:20:0 1022 2090 06010003 0009 02A0 08 40 80 00006001 00006101
0:20:2 1022 209A 01018001 0005 02A0 08 00 00 00000000 00000000
0:21:0 1022 2094 0C031002 0006 0230 08 00 80 A0005000 00000000 15
0:21:1 1022 2095 0C032002 0006 0230 08 00 00 A0006000 00000000 15
Preparing for OpenWRT
I decided to run OpenWRT again on this box, as i did with my last box. That was very painless, so lets try it with the new one! I downloaded the latest version of OpenWRT backfire (in my case 10.03.1-RC3) from the OpenWRT website. I used the openwrt-x86-generic-combined-ext2.img.gz image, as it gives the possibility to me to mount and adjust the image very easily from my Laptop machine. The image needs some adjustments though.

  1. wget http://downloads.openwrt.org/backfire/10.03.1-rc3/x86/openwrt-x86-generic-combined-ext2.img.gz
  2. gunzip openwrt-x86-generic-combined-ext2.img.gz
  3. dd if=openwrt-x86-generic-combined-ext2.img of=/dev/sdb
    with /dev/sdb being a CF-Card.
  4. First thing to change: My Soekris came with 19200,8N1 as default setting for serial, but OpenWRT uses 38400,8N1, so this needs to be changed on the first . Mount the first partition of the CF-Card and adjust /boot/grub/menu.lst
  5. While we are editing the menu.lst, the Soekris has no graphics card, so i adjusted the terminal setting in line 2 to "terminal --dumb --timeout=2 serial" and I removed all console=tty0 from the kernel options.
Booting OpenWRT on Soekris 5501-70


Linux version 2.6.32.16 (openwrt@ampere) (gcc version 4.1.2) #1 Fri Aug 27 00:07:58 PDT 2010
KERNEL supported cpus:
  Intel GenuineIntel
  AMD AuthenticAMD
  NSC Geode by NSC
  Cyrix CyrixInstead
  Centaur CentaurHauls
  Transmeta GenuineTMx86
  Transmeta TransmetaCPU
  UMC UMC UMC UMC
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 0000000020000000 (usable)
 BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
DMI not present or invalid.
last_pfn = 0x20000 max_arch_pfn = 0x100000
init_memory_mapping: 0000000000000000-0000000020000000
ACPI Error: A valid RSDP was not found (20090903/tbxfroot-219)
512MB LOWMEM available.
  mapped low ram: 0 - 20000000
  low ram: 0 - 20000000
  node 0 low ram: 00000000 - 20000000
  node 0 bootmap 00001000 - 00005000
(5 early reservations) ==> bootmem [0000000000 - 0020000000]
  #0 [0000000000 - 0000001000]   BIOS data page ==> [0000000000 - 0000001000]
  #1 [0001000000 - 000134b360]    TEXT DATA BSS ==> [0001000000 - 000134b360]
  #2 [000009fc00 - 0000100000]    BIOS reserved ==> [000009fc00 - 0000100000]
  #3 [000134c000 - 0001352000]              BRK ==> [000134c000 - 0001352000]
  #4 [0000001000 - 0000005000]          BOOTMAP ==> [0000001000 - 0000005000]
Zone PFN ranges:
  DMA      0x00000000 -> 0x00001000
  Normal   0x00001000 -> 0x00020000
Movable zone start PFN for each node
early_node_map[2] active PFN ranges
    0: 0x00000000 -> 0x0000009f
    0: 0x00000100 -> 0x00020000
Using APIC driver default
No local APIC present or hardware disabled
APIC: disable apic facility
Allocating PCI resources starting at 20000000 (gap: 20000000:dff00000)
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129951
Kernel command line: root=/dev/sda2 rootfstype=ext2 rootwait console=tty0 console=ttyS0,19200n8 noinitrd reboot=bios
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Initializing CPU#0
Memory: 515704k/524288k available (2197k kernel code, 7912k reserved, 754k data, 296k init, 0k highmem)
virtual kernel memory layout:
    fixmap  : 0xfffa3000 - 0xfffff000   ( 368 kB)
    vmalloc : 0xe0800000 - 0xfffa1000   ( 503 MB)
    lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
      .init : 0xc12e2000 - 0xc132c000   ( 296 kB)
      .data : 0xc12256d9 - 0xc12e1fa0   ( 754 kB)
      .text : 0xc1000000 - 0xc12256d9   (2197 kB)
Checking if this processor honours the WP bit even in supervisor mode...Ok.
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:288
Console: colour dummy device 80x25
console [tty0] enabled
console [ttyS0] enabled
Fast TSC calibration using PIT
Detected 499.890 MHz processor.
Calibrating delay loop (skipped), value calculated using timer frequency.. 999.78 BogoMIPS (lpj=4998900)
Mount-cache hash table entries: 512
CPU: L1 I Cache: 64K (32 bytes/line), D cache 64K (32 bytes/line)
CPU: L2 Cache: 128K (32 bytes/line)
CPU: Geode(TM) Integrated Processor by AMD PCS stepping 02
Checking 'hlt' instruction... OK.
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.01 entry at 0xfac61, last bus=0
PCI: Using configuration type 1 for base access
bio: create slab  at 0
ACPI: Interpreter disabled.  
SCSI subsystem initialized   
PCI: Probing PCI hardware
pci 0000:00:06.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:00:06.0: PME# disabled
pci 0000:00:07.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:00:07.0: PME# disabled
pci 0000:00:08.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:00:08.0: PME# disabled
pci 0000:00:09.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:00:09.0: PME# disabled
pci 0000:00:14.0: BAR 1: address space collision on of device [0x6100-0x61ff]
pci 0000:00:14.0: BAR 1: can't allocate resource
pci 0000:00:14.0: BAR 2: address space collision on of device [0x6200-0x63ff]
pci 0000:00:14.0: BAR 2: can't allocate resource
Switching to clocksource tsc 
pnp: PnP ACPI: disabled
pci 0000:00:14.0: BAR 2: error updating (0x001001 != 0x006201)
pci 0000:00:14.0: BAR 1: error updating (0x001401 != 0x006101)
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
NET: Registered protocol family 1
platform rtc_cmos: registered platform RTC device (no PNP device found)
scx200: NatSemi SCx200 Driver
microcode: no support for this CPU vendor
------------[ cut here ]------------
WARNING: at arch/x86/mm/ioremap.c:148 0xc1019878()
Modules linked in:
Pid: 1, comm: swapper Not tainted 2.6.32.16 #1
Call Trace:
 [] ? 0xc1019878   
 [] ? 0xc10222af   
 [] ? 0xc1019878   
 [] ? 0xc10222f3   
 [] ? 0xc1019878   
 [] ? 0xc102839a   
 [] ? 0xc12f35e0   
 [] ? 0xc1019ba4   
 [] ? 0xc12f35ff   
 [] ? 0xc12f35ff   
 [] ? 0xc12f35aa   
 [] ? 0xc1001062   
 [] ? 0xc12e253a   
 [] ? 0xc12e24a0   
 [] ? 0xc1003327   
---[ end trace a7919e7f17c0a725 ]---
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
msgmni has been set to 1007  
io scheduler noop registered 
io scheduler deadline registered (default)
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Clocksource tsc unstable (delta = 120016420 ns)
Switching to clocksource pit 
Real Time Clock Driver v1.12b
Non-volatile memory driver v1.3
AMD Geode RNG detected
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
scsi0 : pata_amd
scsi1 : pata_amd
ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0xe000 irq 14
ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xe008 irq 15
PNP: No PS/2 controller found. Probing ports directly.
ata1.00: CFA: LEXAR ATA FLASH, 20051220, max MWDMA4
ata1.00: 4008816 sectors, multi 0: LBA
ata1.00: configured for MWDMA2
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
cpuidle: using governor ladder
ata1.00: configured for MWDMA2
ata1: EH complete
scsi 0:0:0:0: Direct-Access     ATA      LEXAR ATA FLASH  2005 PQ: 0 ANSI: 5
TCP westwood registered
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear 
All bugs added by David S. Miller 
Using IPI Shortcut mode
sd 0:0:0:0: [sda] 4008816 512-byte logical blocks: (2.05 GB/1.91 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1 sda2
sd 0:0:0:0: [sda] Attached SCSI removable disk
VFS: Mounted root (ext2 filesystem) readonly on device 8:2.
Freeing unused kernel memory: 296k freed
Please be patient, while OpenWrt loads ...
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
- init -

Please press Enter to activate this console. natsemi dp8381x driver, version 2.1, Sept 11, 2006
  originally by Donald Becker 
  2.4.x kernel port by Jeff Garzik, Tjeerd Mulder
PPP generic driver version 2.4.2
ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 24
nf_conntrack version 0.5.0 (8066 buckets, 32264 max)
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
8139too Fast Ethernet driver 0.9.28
e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI
e100: Copyright(c) 1999-2006 Intel Corporation
Intel(R) PRO/1000 Network Driver - version 7.3.21-k5-NAPI
Copyright (c) 1999-2006 Intel Corporation.
ne2k-pci.c:v1.03 9/22/2003 D. Becker/P. Gortmaker
pcnet32.c:v1.35 21.Apr.2008 tsbogend@alpha.franken.de
sis900.c: v1.08.10 Apr. 2 2006
via-rhine.c:v1.10-LK1.4.3 2007-03-06 Written by Donald Becker
eth0: VIA Rhine III (Management Adapter) at 0xa0004000, 00:00:24:cd:2d:b0, IRQ 11.
eth0: MII PHY found at address 1, status 0x7849 advertising 05e1 Link 0000.
eth1: VIA Rhine III (Management Adapter) at 0xa0004100, 00:00:24:cd:2d:b1, IRQ 5.
eth1: MII PHY found at address 1, status 0x7849 advertising 05e1 Link 0000.
eth2: VIA Rhine III (Management Adapter) at 0xa0004200, 00:00:24:cd:2d:b2, IRQ 9.
eth2: MII PHY found at address 1, status 0x7849 advertising 05e1 Link 0000.
eth3: VIA Rhine III (Management Adapter) at 0xa0004300, 00:00:24:cd:2d:b3, IRQ 12.
eth3: MII PHY found at address 1, status 0x7849 advertising 05e1 Link 0000.
eth0: link down
device eth0 entered promiscuous mode



BusyBox v1.15.3 (2010-07-13 08:39:16 PDT) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 Backfire (10.03.1-rc3, r22796) --------------------
  * 1/3 shot Kahlua    In a shot glass, layer Kahlua
  * 1/3 shot Bailey's  on the bottom, then Bailey's,
  * 1/3 shot Vodka     then Vodka.
 ---------------------------------------------------
root@OpenWrt:/#

Nice, it looks I don't need tune anything for the Soekris. Again, i needed to change my network settings, as i don't want to run all interfaces as a bridge, but that i already explained in my 4801 post.

No TrackBacks

TrackBack URL: http://blog.zobel.ftbfs.de/cgi-bin/tb.cgi/79

Leave a comment

March 2014

Sun Mon Tue Wed Thu Fri Sat
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31