I finally got a change to play around with the DSM-G600 again, and mapped out the serial console. The following diagram assumes the case open with the power to the left, and the status LEDs to the right. Serial console is 9600 8N1. Processor is a MPC8245 V1.2 PPC. 32M RAM, 4M FLASH. See posts in the general board for dmesg output, etc. The serial console is the white connector between the CPU and the battery which has a pinout parallel to the front LEDs. Platform has raylink minipci and an ATA133 controller, as well as GigE and 2x USB2.0.
Console Pinout
(Towards CPU)
[1]+3.3v
[2]RxD
[3]TxD
[4]Ground
(Towards Battery)
The U-Boot console itself is interactive, but the underlying OS is non interactive. See previous discussion about putting "fun_plug" in the default smb share, for getting semi interactive IO.
Boot process:
*
U-Boot 0.2.0 (May 11 2005 - 18:56:16)
CPU: MPC8245 V1.2 at 170.503 MHz:
Board: Sandpoint 8245
DRAM: 32 MB
FLASH: FUJI_DL323BE
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot: 2 1 0
## Booting image at fff10000 ...
Image Name: Linux-2.4.21-pre4
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 853146 Bytes = 833.2 kB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
## Loading RAMDisk Image at ffc20000 ...
Image Name: default
Image Type: PowerPC Linux RAMDisk Image (gzip compressed)
Data Size: 3006547 Bytes = 2.9 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Loading Ramdisk to 01c51000, end 01f2f053 ... OK
Total memory 33554432 MB.
Memory BAT mapping: BAT2=32Mb, BAT3=0Mb, residual: 0Mb
Total memory is 33554432.
CPU = 82xx
Linux version 2.4.21-pre4 (ffna@swtest2) (gcc version 2.95.4 20010319 (prerelease)) #480 ¥| 8¤ë 25 17:39:08 CST 2005
OpenPIC_Addr in mpc10x_bridge_init function is fc040000
Motorola SPS Sandpoint Test Platform
Port by MontaVista Software, Inc. (source@mvista.com)
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/ram console=ttyS0,9600
OpenPIC Version 1.2 (1 CPUs and 123 IRQ sources) at fc040000
Calibrating delay loop... 133.12 BogoMIPS
Memory: 27312k available (1560k kernel code, 508k data, 60k init, 0k highmem)
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
POSIX conformance testing by UNIFIX
PCI: Probing PCI hardware
PCI fixup irq: (PCI device 1814:0201) got 0
PCI fixup irq: (PCI device 1033:0035) got 1
PCI fixup irq: (PCI device 1033:0035) got -1
PCI fixup irq: (PCI device 1033:00e0) got 2
PCI fixup irq: (PCI device 13f0:1023) got 3
PCI fixup irq: (PCI device 1191:0008) got 4
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Journalled Block Device driver loaded
NTFS driver v1.1.22 [Flags: R/W]
udf: registering filesystem
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SERIAL_PCI enabled
ttyS00 at 0xfc004500 (IOMEM)(irq = 121) is a ST16650
ttyS01 at 0xfc004600 (IOMEM)(irq = 122) is a ST16650
RAMDISK driver initialized: 16 RAM disks of 6144K size 1024 blocksize
loop: loaded (max 8 devices)
ipg : v0.36 10/31/01 Written by Craig Rich, www.sundanceti.com
IC PLUS IP1000 1000/100/10 based NIC found.
Ethernet device registered as: eth0
IPG module loaded.
SCSI subsystem driver Revision: 1.00
atp86x_detect:
ACARD ATP-865 PCI ATA133 2-Channels Host Adapter: 0 IO:FEBFFEF8, IRQ:4.
ID: 0 Maxtor 53073H4 UDMA5 (100)
scsi0 : ACARD ATP86X PCI ATA133 Adapter Driver Ver: 0.78 Date: 2004/01/15
Vendor: Maxtor 5 Model: 3073H4 Rev:
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 60030431 512-byte hdwr sectors (15368 MB)
Partition check:
sda1 sda2
USI AMD/FUJITSU flash: probing 8-bit flash bus
Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Creating 5 MTD partitions on "USI Intel flash":
0x00000000-0x00010000 : "Linux mtd1"
0x00010000-0x00020000 : "Linux mtd2"
0x00020000-0x00300000 : "Linux Ramdisk"
0x00300000-0x00310000 : "U-BOOT BOOT LOADER"
0x00310000-0x00400000 : "Linux Kernel"
usb.c: registered new driver hub
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 2048)
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 2936k freed
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 60k init
init started: BusyBox v1.0EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
0-pre1 (2005.04.26-03:13+0000) multi-call binary
init started: BusyBox v1.00-pre1 (2005.04.26-03:13+0000) multi-call binary
Starting pid 12, console /dev/ttyS0: '/etc/rc.sh'
Check MTD block device ...
MTDC: Mount MTD1 done.
MTDC: Mount MTD2 done.
MTDC: No need to copy file.
** mount mtd2
** umount mtd2
** copy mtd1 files
cp: /sys/mtd1/firmwareupdate: No such file or directory
** soft-link modules
** set loopback interface
Using /sys/crfs/bonding.c:v2.4.20-20021210 (December 10, 2002)
brbr0 registered withid MII link monitoring set to 100 msge, in fault-tolerance (active-backup) mode.
/bbr0 registered withonout ARP monitoring
ding.o
device = /dev/mtdblock3
ibr0: released all slaves
nterface = eth0
MAC = 00:13:46:D9:A4:A8
mac = 00:13:46:d9:a4:a8
Link speed = undefined!
Link speed = undefined!
br0: enslaving eth0 as a backup interface with a down link.
** execute rc.init.sh
SIOCADDRT: Network is unreachable
Setting hostname .... DSM-G600
Starting DHCP client ....
info, client (v0.9.9-pre) started
get IP = [NONE SET]
no cable
debug, Sending discover...
kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
kill -l [exitstatus]
UPnP AV 1.1 UPnP AV 1.1 Can't get br0 IP. Can't get br0 IP. Link speed = 10Mbps.
eth0: 10Mbps operational mode enabled.
setting half duplex, no TX flow control, no RX flow control.
br0: link status definitely up for interface eth0.
and making interface eth0 the active one.
debug, Sending discover...
debug, Sending select for 192.168.2.171...
info, Lease of 192.168.2.171 obtained, lease time 3600
deleting routers
SIOCDELRT: No such process
adding dns 192.168.2.20
adding dns 192.168.2.1
get IP = 192.168.2.171
bonding driver
br0: releasing active interface eth0 but could not find any backup interface.
br0: now running without any active interface !
mac = 00:13:46:d9:a4:a8
Link speed = undefined!
Link speed = undefined!
br0: enslaving eth0 as a backup interface with a down link.
br0: releasing backup interface eth0.
br0: now running without any active interface !
mac = 00:13:46:d9:a4:a8
Link speed = undefined!
kill: Usage: kill [-s sigspec |br0: enslaving eth0 as a backup interface with a down link.
Adding Swap: 530104k swap-space (priority -1)
-signum | -sigspec] [pid | job]... or
kill -l [exitstatus]
UPnP AV 1.1 Can't get br0:0 IP. UPnP AV 1.1 Can't get br0:0 IP. The number of cylinders for this disk is set to 3736.
This is larger than 1024, and may cause problems with:
1) software that runs at boot time (e.g., LILO)
2) booting and partitioning software form other OSs
(e.g., DOS FDISK, OS/2 FDISK)
partitions = 4 sys_ind = 0x82
exit status 0
success
Setting up swapspace version 1, size = 542830592 bytes
check button version v1.27 2005.08.25
swapon
find: /etc/202: No such file or directory
find: /tmp/202: No such file or directory
grep: /proc/scsi/usb-storage-0/0: No such file or directory
grep: /proc/scsi/usb-storage-0/0: No such file or directory
grep: /proc/scsi/usb-storage-0/0: No such file or directory
grep: /proc/scsi/usb-storage-0/0: No such file or directory
grep: /proc/scsi/usb-storage-0/0: No such file or directory
Link speed = 10Mbps.
eth0: 10Mbps operational mode enabled.
setting half duplex, no TX flow control, no RX flow control.
br0: link status definitely up for interface eth0.
and making interface eth0 the active one.
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,2), internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
Build Shared Name Table version v1.04
Set Daylight :/usr/sbin/daylight f &
buf2=HDD_a
br0 HWaddr 00:13:46:D9:A4:A8
get last 2 items from MAC = A4 A8
IP Now = 169.254.164.168
target = 169.254.164.168
ARPING to 169.254.164.168 from 0.0.0.0 via br0
Sent 2 probes (2 broadcast(s))
Received 0 reply
ARPING return value = 0
ifconfig: set interface br0:0 to 169.254.164.168
get IP = 192.168.2.171
get IP = 169.254.164.168
Set Timezone=-8
1.Set Date & time ...(command: rdate -s 158.121.95.4 &)
Card Reader buttons = 1
buf2=HDD_a
$Shutting down SMB services:
$Shutting down NMB services:
$Starting SMB services:
$Starting NMB services:
sftp v1.07_2005.04.15
General Samba
exit sftp
UPNPAV_SF: lock resource.
UPNPAV_SF: unlock resource.
2.Set Date & time ...(command: rdate -s 216.200.93.8 &)
1.00(1.13.0825.2005)
2005/08/25
** ehci_hcd 00:0e.2: PCI device 1033:00e0
inehci_hcd 00:0e.2: irq 2, pci mem c306af00
seusb.c: new USB bus registered, assigned bus number 1
rtehci_hcd 00:0e.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
USB Host Controller modules
Using /hub.c: USB hub found
lihub.c: 5 ports detected
b/modules/ehci-hcd.o
Jan 29 13:26:43 crond[473]: crond 2.3.2 dillon, started, log level 8
usb-ohci.c: USB OHCI at membase 0xc3073000, IRQ 1
Ususb-ohci.c: usb-00:0e.0, PCI device 1033:0035
ing /lib/modules/ususb.c: new USB bus registered, assigned bus number 2
b-ohci.o
hub.c: USB hub found
hub.c: 3 ports detected
usb-ohci.c: USB OHCI at membase 0xc3075000, IRQ -1
usb-ohci.c: usb-00:0e.1, PCI device 1033:0035
usb.c: new USB bus registered, assigned bus number 3
request_irq irq >= NR_IRQS fail
usb-ohci.c: request interrupt -1 failed
usb.c: USB bus 3 deregistered
Trying to vfree() nonexistent vm area (c3075000)
Using /lib/modules/usb-Initializing USB Mass Storage driver...
stmy_host_number = 1
orusb.c: registered new driver usb-storage
agUSB Mass Storage support registered.
e.hub.c: new USB device 00:0e.2-3, assigned address 2
o
mfg_search
scsi1 : SCSI emulation for USB Mass Storage devices
Vendor: Pretec Model: 512MB Gini Rev: 1.10
Type: Direct-Access ANSI SCSI revision: 02
kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
kill -l [exitstatus]
ehco: No such file or directory
UPnP AV 1.1 UPnP AV 1.Attached scsi removable disk sdb at scsi1, channel 0, id 0, lun 0
1 ** load wireless driver
Using /sys/crfs/wireless/rt2500.o
SCSI device sdb: 975744 512-byte hdwr sectors (250 MB)
ra0: at 0xbfffe000, VA 0xc30ab000, IRQ 0.
sdb1
ra0: RT2500_open() irq 0. MAC = 00:13:46:d9:a4:a8
pAdapter->PortCfg.StaWithEtherBridge.Enable = FALSE
bond_enslave(): MII and ETHTOOL support not available for interface ra0, and arp_interval/arp_ip_target module parameters not specified, thus bonding will not detect link failures! see bonding.txt for details.
br0: enslaving ra0 as a backup interface with an up link.
Starting pid 546, console /dev/ttyS0: '/bin/sh'
BusyBox v1.00-pre1 (2005.04.26-03:13+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
br0: releasing active interface eth0 and making interface eth0 the active one.
br0: releasing backup interface ra0.
br0: now running without any active interface !
br0: released all slaves
NET4: Ethernet Bridge 008 for NET4.0
device eth0 entered promiscuous mode
mac = 00:13:46:d9:a4:a8
Link speed = undefined!
Link speed = undefined!
br0: port 1(eth0) entering listening state
MSDOS FS: IO charset cp850
FAT: bogus logical sector size 20487
VFS: Can't find a valid FAT filesystem on dev 08:10.
FAT: freeing iocharset=cp850
device ra0 entered promiscuous mode
MSDOS FS: IO charset cp850
FAT: bogus logical sector size 20487
VFS: Can't find a valid FAT filesystem on dev 08:10.
FAT: freeing iocharset=cp850
MSDOS FS: IO charset cp850
FAT: bogus logical sector size 20487
VFS: Can't find a valid FAT filesystem on dev 08:10.
FAT: freeing iocharset=cp850
Current Tx Antenna = Antenna B
Current Rx Antenna = Antenna B
br0: port 2(ra0) entering listening state
VFS: Can't find ext3 filesystem on dev sd(8,16).
VFS: Can't find ext2 filesystem on dev sd(8,16).
Link speed = 10Mbps.
eth0: 10Mbps operational mode enabled.
setting half duplex, no TX flow control, no RX flow control.
br0: port 1(eth0) entering learning state
MSDOS FS: IO charset cp850
FAT: bogus logical sector size 0
br0: port 2(ra0) entering learning state
br0: port 1(eth0) entering forwarding state
br0: topology change detected, sending tcn bpdu
br0: port 2(ra0) entering forwarding state
br0: topology change detected
VFS: Can't find a valid FAT filesystem on dev 08:11.
FAT: freeing iocharset=cp850
EXT2-fs: Unrecognized mount option umask
ext3: No journal on filesystem on sd(8,17)
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
Some of the post output is due to having a 512M ext3 formatted thumb drive on there. (playing around with trying to get chroot to work within the existing config)
(Last edited by whm3 on 30 Jan 2006, 00:01)