Linux on Auerswald Commander Basic 2 » History » Revision 4
Revision 3 (laforge, 01/08/2020 12:07 PM) → Revision 4/10 (laforge, 01/08/2020 12:09 PM)
{{>toc}}
h1. Linux on Auerswald COMmander Basic2
This page is an attempt to document bits and pieces about the embedded Linux OS that runs on the [[Auerswald COMmander Basic2]] PBX.
More speificially, it's an ARM/Linux based system running on a "Digi International NS9360":http://ftp1.digi.com/support/documentation/91001326_D.pdf ARM926 SoC built from PTXdist-0.7.5
h2. Source Code
* the PTXdist 0.7.5 source code can be found at https://public.pengutronix.de/software/ptxdist/v0.7/
* Auerswald has released _GPL tarballs_ at http://data-1.auerswald.de/license/gpl/COMfortel_VoIP_250_DECT1040_COMfortel2500/2015/GPL_COMfortel_VoIP_250_DECT1040_VoIP_2500_150415.iso
h2. Serial Console
The ARM SoC has a serial console (ttyS2) at 3.3V. It is running at 19200 bps and is exposed on test pads near the NS9630 on the PBX mainboard.
h3. Pinout
FIXME
h3. u-boot bootlog
<pre>
YABOL 1.3 (11:21:24Jan 17 2007)
hardware version: 01
checking for image mode...on... no
loading binary from NAND
binary loaded, starting...
U-Boot 1.1.2 (Aug 7 2006 - 08:23:30) FS.1-gds3.1
U-Boot code: 00F80000 -> 00F9D148 BSS: -> 00FA83DC
IRQ Stack: 00f5fb7c
FIQ Stack: 00f5eb7c
SDRAM-Size: 2000000 hex
RAM Configuration:
Bank #0: 00000000 32 MB
NAND: 64 MB
Init NAND-FLASH ....
Using default environment
In: serial
Out: serial
Err: serial
Board revision 1 found
serial: 2448900276AU0123103800820H
ethaddr: 00:09:52:00:d1:7f
ccode: 0
reserve:
Checking for factory reset... no
Looking for boot partition...
reading marker block: ********
Checking Partition 1... OK
Hit any key to stop autoboot: 0
Partition changed to 1
### JFFS2 loading 'boot/bas2boot.1.img' to 0x10000
Scanning JFFS2 FS: ......... done.
### JFFS2 load complete: 456 bytes loaded to 0x10000
## Executing script at 00010000
### JFFS2 loading 'boot/fpga_r1.bin' to 0x10000
### JFFS2 load complete: 75895 bytes loaded to 0x10000
FPGA Version @0x40088000: 11 .
### JFFS2 loading 'boot/uImage' to 0x10000
### JFFS2 load complete: 952212 bytes loaded to 0x10000
## Booting image at 00010000 ...
Image Name: Linux-2.6.11-fs.1-gds9.4
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 952148 Bytes = 929.8 kB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK
</pre>
h3. kernel bootlog
<pre>
Starting kernel ...
Uncompressing Linux............................................................... done, booting the kernel.
Linux version 2.6.11-fs.1-gds9.4 (build@build) (gcc version 3.4.2) #375 Fri Mar 5 09:55:24 CET 2010
CPU: ARM926EJ-Sid(wb) [41069264] revision 4 (ARMv5TEJ)
CPU0: D VIVT write-back cache
CPU0: I cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
CPU0: D cache: 4096 bytes, associativity 4, 32 byte lines, 32 sets
Machine: A9M9360
Memory policy: ECC disabled, Data cache writeback
NS9360 Rev. 0, running at 154 MHz
Built 1 zonelists
Kernel command line: console=ttyS2,19200 user_debug=255 root=mtdblock/1 ro rootfstype=jffs2 ethaddr=00:09:52:00:d1:7f ccode=0 serial=2448900276AU0123103800820H
PID hash table entries: 256 (order: 8, 4096 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 32MB = 32MB total
Memory: 30352KB available (1602K code, 332K data, 80K init)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
i2c_ns: I2C ns9750 driver $Revision: 1.5 $ initializing
NetWinder Floating Point Emulator V0.97 (double precision)
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
JFFS2 version 2.2. (NAND) (SAFENAND) (SUMMARY) (C) 2001-2006 Red Hat, Inc.
NS9750 Watchdog initialized
Serial: NS9750 driver $Revision: 1.6 $
ttyS0 at MMIO 0xf9200000 (irq = 34) is a NS9xx0
ttyS1 at MMIO 0xf9200040 (irq = 36) is a NS9xx0
ttyS2 at MMIO 0xf9300000 (irq = 38) is a NS9xx0
ttyS3 at MMIO 0xf9300040 (irq = 40) is a NS9xx0
Serial: JTAG driver $Revision: 1.1 $
ttyJ0 at MMIO 0x0 (irq = 0) is a JTAGCOMM
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
loop: loaded (max 8 devices)
Ethernet: NS9xx0 driver $Revision: 1.13.cbr $
NAND Flash memory mapped to virtual c2880000
NAND device: Manufacturer ID: 0x98, Chip ID: 0x76 (Toshiba NAND 64MiB 3,3V 8-bit)
Scanning device for bad blocks
Using static partition definition
Creating 5 MTD partitions on "basic.2":
0x00000000-0x00038000 : "U-BOOT"
0x00040000-0x01020000 : "System_1"
0x01020000-0x02000000 : "System_2"
0x02000000-0x04000000 : "Daten"
0x00038000-0x00040000 : "Service"
NS9360 udc driver
ns9360-udc ns9360-udc0: gadget driver initializing
i2c /dev entries driver
24c64: EEPROM driver $Revision: 1.1 $ initializing
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
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)
NET: Registered protocol family 1
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Mounted root (jffs2 filesystem) readonly.
Mounted devfs on /dev
Freeing init memory: 80K
PTXdist-0.7.5 (2005-11-23T10:35:05+0100)
mounting /proc and /sys... done.
mounting filesystems... mount: WARNING: loop device is read-only
done.
preparing /data ...done.
basic system configuration... done.
starting the system logger... done.
starting network... [HWaddr: 00:09:52:00:d1:7f]
Using /lib/modules/2.6.11-fs.1-gds9.4/kernel/net/packet/af_packet.ko
Using /lib/modules/2.6.11-fs.1-gds9.4/kernel/net/ipv4/netfilter/ip_conntrack.ko
Using /lib/modules/2.6.11-fs.1-gds9.4/kernel/net/ipv4/netfilter/ip_tables.ko
Using /lib/modules/2.6.11-fs.1-gds9.4/kernel/net/ipv4/netfilter/iptable_filter.ko
Using /lib/modules/2.6.11-fs.1-gds9.4/kernel/net/ipv4/netfilter/iptable_nat.ko
Using /lib/modules/2.6.11-fs.1-gds9.4/kernel/net/ipv4/netfilter/ipt_MASQUERADE.ko
Using /lib/modules/2.6.11-fs.1-gds9.4/kernel/net/ipv4/netfilter/ipt_REDIRECT.ko
killall: vd: no process killed
killall: vmd: no process killed
done.
starting USB network port ...
Using /lib/modules/2.6.11-fs.1-gds9.4/kernel/drivers/usb/gadget/g_ether.ko
killall: udhcpd: no process killed
udhcpd (v0.9.9-pre) started
done.
starting ppp... Using /lib/modules/2.6.11-fs.1-gds9.4/kernel/drivers/net/slhc.ko
Using /lib/modules/2.6.11-fs.1-gds9.4/kernel/drivers/net/ppp_generic.ko
Using /lib/modules/2.6.11-fs.1-gds9.4/kernel/drivers/net/ppp_synctty.ko
Using /lib/modules/2.6.11-fs.1-gds9.4/kernel/drivers/char/n_hdlc.ko
done.
mounting nfs filesystems... done.
reading the hardware clock...
Using /opt/auerswald/modules/auerrtc.ko
hwclock: Could not read time from RTC: Input/output error
date is invalid, setting default date
Tue May 1 00:00:00 CEST 2001
hwclock: Could not set the RTC time: Input/output error
starting network services... done.
Using /opt/auerswald/modules/auerlog.ko
Using /opt/auerswald/modules/hwtimer.ko
Using /opt/auerswald/modules/auertim.ko
Using /opt/auerswald/modules/auergb.ko
Using /opt/auerswald/modules/auermod.ko
Using /opt/auerswald/modules/isdnhdlc.ko
Using /opt/auerswald/modules/auerdsp.ko
Using /opt/auerswald/modules/auersicofi4.ko
Using /opt/auerswald/modules/auertdm.ko
Using /opt/auerswald/modules/auerab_all.ko
Using /opt/auerswald/modules/auers0basic.ko
Using /opt/auerswald/modules/auer4s0.ko
Using /opt/auerswald/modules/auer8up0.ko
Using /opt/auerswald/modules/auers2m.ko
Using /opt/auerswald/modules/auertsm_all.ko
Using /opt/auerswald/modules/auertoene.ko
Using /opt/auerswald/modules/auer_sscp.ko
Using /opt/auerswald/modules/auers0_hfc8s4s.ko
Using /opt/auerswald/modules/auer_voip.ko
</pre>