Project

General

Profile

Linux on Auerswald Commander Basic 2 » History » Version 4

laforge, 01/08/2020 12:09 PM

1 1 laforge
{{>toc}}
2
3
h1. Linux on Auerswald COMmander Basic2
4
5 2 laforge
This page is an attempt to document bits and pieces about the embedded Linux OS that runs on the [[Auerswald COMmander Basic2]] PBX. 
6
7
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 
8 1 laforge
9 3 laforge
h2. Source Code
10
11
* the PTXdist 0.7.5 source code can be found at https://public.pengutronix.de/software/ptxdist/v0.7/
12
* 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
13
14 1 laforge
h2. Serial Console
15
16 4 laforge
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.
17 3 laforge
18 1 laforge
h3. Pinout
19 3 laforge
20
FIXME
21 1 laforge
22
h3. u-boot bootlog
23
24
<pre>
25
YABOL 1.3 (11:21:24Jan 17 2007)
26
hardware version: 01
27
checking for image mode...on... no
28
loading binary from NAND
29
binary loaded, starting...
30
31
32
U-Boot 1.1.2 (Aug  7 2006 - 08:23:30) FS.1-gds3.1
33
34
U-Boot code: 00F80000 -> 00F9D148  BSS: -> 00FA83DC
35
IRQ Stack: 00f5fb7c
36
FIQ Stack: 00f5eb7c
37
SDRAM-Size: 2000000 hex
38
RAM Configuration:
39
Bank #0: 00000000 32 MB
40
NAND:  64 MB
41
Init NAND-FLASH ....
42
Using default environment
43
44
In:    serial
45
Out:   serial
46
Err:   serial
47
48
Board revision 1 found
49
serial: 2448900276AU0123103800820H      
50
ethaddr: 00:09:52:00:d1:7f
51
ccode: 0
52
reserve:                                 
53
Checking for factory reset... no
54
Looking for boot partition...
55
reading marker block: ********
56
Checking Partition 1... OK
57
Hit any key to stop autoboot:  0 
58
Partition changed to 1
59
### JFFS2 loading 'boot/bas2boot.1.img' to 0x10000
60
Scanning JFFS2 FS: ......... done.
61
### JFFS2 load complete: 456 bytes loaded to 0x10000
62
## Executing script at 00010000
63
### JFFS2 loading 'boot/fpga_r1.bin' to 0x10000
64
### JFFS2 load complete: 75895 bytes loaded to 0x10000
65
66
FPGA Version @0x40088000: 11    .
67
### JFFS2 loading 'boot/uImage' to 0x10000
68
### JFFS2 load complete: 952212 bytes loaded to 0x10000
69
## Booting image at 00010000 ...
70
   Image Name:   Linux-2.6.11-fs.1-gds9.4
71
   Image Type:   ARM Linux Kernel Image (uncompressed)
72
   Data Size:    952148 Bytes = 929.8 kB
73
   Load Address: 00008000
74
   Entry Point:  00008000
75
   Verifying Checksum ... OK
76
OK
77
</pre>
78
79
h3. kernel bootlog
80
81
<pre>
82
Starting kernel ...
83
84
Uncompressing Linux............................................................... done, booting the kernel.
85
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
86
CPU: ARM926EJ-Sid(wb) [41069264] revision 4 (ARMv5TEJ)
87
CPU0: D VIVT write-back cache
88
CPU0: I cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
89
CPU0: D cache: 4096 bytes, associativity 4, 32 byte lines, 32 sets
90
Machine: A9M9360
91
Memory policy: ECC disabled, Data cache writeback
92
NS9360 Rev. 0, running at 154 MHz
93
Built 1 zonelists
94
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
95
PID hash table entries: 256 (order: 8, 4096 bytes)
96
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
97
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
98
Memory: 32MB = 32MB total
99
Memory: 30352KB available (1602K code, 332K data, 80K init)
100
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
101
CPU: Testing write buffer coherency: ok
102
NET: Registered protocol family 16
103
i2c_ns: I2C ns9750 driver $Revision: 1.5 $ initializing
104
NetWinder Floating Point Emulator V0.97 (double precision)
105
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
106
devfs: boot_options: 0x1
107
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
108
JFFS2 version 2.2. (NAND) (SAFENAND) (SUMMARY) (C) 2001-2006 Red Hat, Inc.
109
NS9750 Watchdog initialized
110
Serial: NS9750 driver $Revision: 1.6 $
111
ttyS0 at MMIO 0xf9200000 (irq = 34) is a NS9xx0
112
ttyS1 at MMIO 0xf9200040 (irq = 36) is a NS9xx0
113
ttyS2 at MMIO 0xf9300000 (irq = 38) is a NS9xx0
114
ttyS3 at MMIO 0xf9300040 (irq = 40) is a NS9xx0
115
Serial: JTAG driver $Revision: 1.1 $
116
ttyJ0 at MMIO 0x0 (irq = 0) is a JTAGCOMM
117
io scheduler noop registered
118
io scheduler anticipatory registered
119
io scheduler deadline registered
120
io scheduler cfq registered
121
loop: loaded (max 8 devices)
122
Ethernet: NS9xx0 driver $Revision: 1.13.cbr $
123
NAND Flash memory mapped to virtual c2880000
124
NAND device: Manufacturer ID: 0x98, Chip ID: 0x76 (Toshiba NAND 64MiB 3,3V 8-bit)
125
Scanning device for bad blocks
126
Using static partition definition
127
Creating 5 MTD partitions on "basic.2":
128
0x00000000-0x00038000 : "U-BOOT"
129
0x00040000-0x01020000 : "System_1"
130
0x01020000-0x02000000 : "System_2"
131
0x02000000-0x04000000 : "Daten"
132
0x00038000-0x00040000 : "Service"
133
NS9360 udc driver
134
ns9360-udc ns9360-udc0: gadget driver initializing
135
i2c /dev entries driver
136
24c64: EEPROM driver $Revision: 1.1 $ initializing
137
NET: Registered protocol family 2
138
IP: routing cache hash table of 512 buckets, 4Kbytes
139
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
140
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
141
TCP: Hash tables configured (established 2048 bind 2048)
142
NET: Registered protocol family 1
143
Root-NFS: No NFS server available, giving up.
144
VFS: Unable to mount root fs via NFS, trying floppy.
145
VFS: Mounted root (jffs2 filesystem) readonly.
146
Mounted devfs on /dev
147
Freeing init memory: 80K
148
149
PTXdist-0.7.5 (2005-11-23T10:35:05+0100)
150
151
mounting /proc and /sys... done.
152
mounting filesystems... mount: WARNING: loop device is read-only
153
done.
154
preparing /data ...done.
155
basic system configuration... done.
156
starting the system logger... done.
157
starting network... [HWaddr: 00:09:52:00:d1:7f]
158
Using /lib/modules/2.6.11-fs.1-gds9.4/kernel/net/packet/af_packet.ko
159
Using /lib/modules/2.6.11-fs.1-gds9.4/kernel/net/ipv4/netfilter/ip_conntrack.ko
160
Using /lib/modules/2.6.11-fs.1-gds9.4/kernel/net/ipv4/netfilter/ip_tables.ko
161
Using /lib/modules/2.6.11-fs.1-gds9.4/kernel/net/ipv4/netfilter/iptable_filter.ko
162
Using /lib/modules/2.6.11-fs.1-gds9.4/kernel/net/ipv4/netfilter/iptable_nat.ko
163
Using /lib/modules/2.6.11-fs.1-gds9.4/kernel/net/ipv4/netfilter/ipt_MASQUERADE.ko
164
Using /lib/modules/2.6.11-fs.1-gds9.4/kernel/net/ipv4/netfilter/ipt_REDIRECT.ko
165
killall: vd: no process killed
166
killall: vmd: no process killed
167
done.
168
starting USB network port ... 
169
Using /lib/modules/2.6.11-fs.1-gds9.4/kernel/drivers/usb/gadget/g_ether.ko
170
killall: udhcpd: no process killed
171
udhcpd (v0.9.9-pre) started
172
done.
173
starting ppp... Using /lib/modules/2.6.11-fs.1-gds9.4/kernel/drivers/net/slhc.ko
174
Using /lib/modules/2.6.11-fs.1-gds9.4/kernel/drivers/net/ppp_generic.ko
175
Using /lib/modules/2.6.11-fs.1-gds9.4/kernel/drivers/net/ppp_synctty.ko
176
Using /lib/modules/2.6.11-fs.1-gds9.4/kernel/drivers/char/n_hdlc.ko
177
done.
178
mounting nfs filesystems... done.
179
reading the hardware clock... 
180
Using /opt/auerswald/modules/auerrtc.ko
181
hwclock: Could not read time from RTC: Input/output error
182
date is invalid, setting default date
183
Tue May  1 00:00:00 CEST 2001
184
hwclock: Could not set the RTC time: Input/output error
185
starting network services... done.
186
Using /opt/auerswald/modules/auerlog.ko
187
Using /opt/auerswald/modules/hwtimer.ko
188
Using /opt/auerswald/modules/auertim.ko
189
Using /opt/auerswald/modules/auergb.ko
190
Using /opt/auerswald/modules/auermod.ko
191
Using /opt/auerswald/modules/isdnhdlc.ko
192
Using /opt/auerswald/modules/auerdsp.ko
193
Using /opt/auerswald/modules/auersicofi4.ko
194
Using /opt/auerswald/modules/auertdm.ko
195
Using /opt/auerswald/modules/auerab_all.ko
196
Using /opt/auerswald/modules/auers0basic.ko
197
Using /opt/auerswald/modules/auer4s0.ko
198
Using /opt/auerswald/modules/auer8up0.ko
199
Using /opt/auerswald/modules/auers2m.ko
200
Using /opt/auerswald/modules/auertsm_all.ko
201
Using /opt/auerswald/modules/auertoene.ko
202
Using /opt/auerswald/modules/auer_sscp.ko
203
Using /opt/auerswald/modules/auers0_hfc8s4s.ko
204
Using /opt/auerswald/modules/auer_voip.ko
205
</pre>
Add picture from clipboard (Maximum size: 48.8 MB)