Linux On Webbox

Beschreibung

Das Projekt hatte zum Ziel, das urspruengliche WindowsCE der Webbox durch ein Linux-System zu ersetzen. Die Portierung auf die Hardware war schon recht weit fortgeschritten. Eckdaten:

Es waren insgesamt nur wenige Tage noetig. Das Projekt wurde noch 2006 beendet.

Beim Booten zeigte sie folgendes auf der Konsole an:


U-Boot 1.1.4 (Jun  3 2006 - 16:55:12) SMA Webbox

U-Boot code: A3F80000 -> A3F9DD74  BSS: -> A3FA2E78
RAM Configuration:
Bank #0: a0000000 64 MB
Flash: 32 MB
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0
Using MAC Address 00:40:AD:1E:04:3C
TFTP from server xxx.xxx.xxx.xxx; our IP address is yyy.yyy.yyy.yyy
Filename 'uImage'.
Load address: 0xa0200000
Loading: #################################################################
         #################################################################
         #################################################################
         ##########
done
Bytes transferred = 1045448 (ff3c8 hex)
## Booting image at a0200000 ...
   Image Name:   Linux-2.6.17-rc6-webbox
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1045384 Bytes = 1020.9 kB
   Load Address: a0008000
   Entry Point:  a0008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux...................................................................... done, booting the kernel.
Linux version 2.6.17-rc6-webbox (heiko@AthlonXP) (gcc version 4.0.2) #1 Tue Jun 6 22:10:58 CEST 2006
CPU: XScale-PXA255 [69052d06] revision 6 (ARMv5TE)
Machine: SMA Technologie AG, Webbox Data Logger
Memory policy: ECC disabled, Data cache writeback
Memory clock: 99.53MHz (*27)
Run Mode clock: 199.07MHz (*2)
Turbo Mode clock: 199.07MHz (*1.0, inactive)
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
Kernel command line: console=ttyS1,115200 mtdparts=phys_mapped_flash:128k(uboot)ro,128k(env)
    ,1536k(kernel),-(jffs2) root=/dev/nfs ip=dhcp nfsroot=yyy.yyy.yyy.yyy:/home/heiko/MyProjects
    /webbox/neu/work/ptxdist-webbox/root,v3,tcp
PID hash table entries: 512 (order: 9, 2048 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: 62720KB available (1716K code, 387K data, 88K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
arch/arm/mach-pxa/webbox.c: webbox_init
SCSI subsystem initialized
NET: Registered protocol family 2
IP route cache hash table entries: 512 (order: -1, 2048 bytes)
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 2048 bind 1024)
TCP reno registered
NetWinder Floating Point Emulator V0.97 (double precision)
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
pxa2xx-uart.0: ttyS0 at MMIO 0x40100000 (irq = 15) is a FFUART
pxa2xx-uart.1: ttyS1 at MMIO 0x40200000 (irq = 14) is a BTUART
pxa2xx-uart.2: ttyS2 at MMIO 0x40700000 (irq = 13) is a STUART
pxa2xx-uart.3: ttyS3 at MMIO 0x41600000 (irq = 0) is a HWUART
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre 
eth0: SMC91C11xFD (rev 1) at c4851300 IRQ 2 [nowait]
eth0: Ethernet addr: 00:40:ad:1e:04:3c
physmap flash device: 2000000 at 0
phys_mapped_flash: 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
4 cmdlinepart partitions found on MTD device phys_mapped_flash
Creating 4 MTD partitions on "phys_mapped_flash":
0x00000000-0x00020000 : "uboot"
0x00020000-0x00040000 : "env"
0x00040000-0x001c0000 : "kernel"
0x001c0000-0x02000000 : "jffs2"
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
eth0: link down
Sending DHCP requests .<6>eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
., OK
IP-Config: Got DHCP answer from 0.0.0.0, my address is 192.168.18.100
IP-Config: Complete:
      device=eth0, addr=yyy.yyy.yyy.yyy, mask=255.255.255.0, gw=xxx.xxx.xxx.xxx,
     host=192.168.18.100, domain=, nis-domain=(none),
     bootserver=0.0.0.0, rootserver=xxx.xxx.xxx.xxx, rootpath=
Looking up port of RPC 100003/3 on xxx.xxx.xxx.xxx
Looking up port of RPC 100005/3 on xxx.xxx.xxx.xxx
VFS: Mounted root (nfs filesystem).
Freeing init memory: 88K
mounting filesystems...done.
creating Network-Device lo...done.
running rc.d services...
mounting... ramfs at /dev
creating initial udev device nodes:
making extra nodes
udev startup is finished
loading modules
    i2c-pxa
I2C: i2c-0: PXA I2C adapter
    rtc-pcf8563
insmod: cannot insert `/lib/modules/2.6.17-rc6-webbox/kernel/drivers/i2c/i2c-core.ko': File exists (-1): File exists
pcf8563 0-0051: chip found, driver version 0.4.2
pcf8563 0-0051: rtc intf: sysfs
pcf8563 0-0051: rtc intf: proc
pcf8563 0-0051: rtc intf: dev (254:0)
pcf8563 0-0051: rtc core: registered pcf8563 as rtc0
    pxamci
    mmc_block

PTXdist-0.10.3 (2006-06-06T23:02:00+0200)

              _     _
__      _____| |__ | |__   _____  __
\ \ /\ / / _ \ '_ \| '_ \ / _ \ \/ /
 \ V  V /  __/ |_) | |_) | (_) >  <
  \_/\_/ \___|_.__/|_.__/ \___/_/\_\



Starting utelnetd...
telnetd: starting
  port: 23; interface: any; login program: /bin/login
PURE-FTPD: No /etc/pure-ftpd.defaults found.
/usr/sbin/pure-ftpd
PURE-FTPD: Starting pure-ftpd: /usr/sbin/pure-ftpd
PURE-FTPD: no upload script defined, skipping
Done

webbox login: