NetworkSpace: Serial Port Access

From NAS-Central Lacie Wiki
Revision as of 16:09, 11 December 2010 by Mijzelf (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Assuming that the pinning described in this thead could fit on the pins of the Networkspace PCB, I measured the voltage on the pins. I measured 5 volts on the pin near the screw hole, and ground on the next. So I assume the pinning

1 VCC (+5V)
3 JTAG TMS : input to board
4 JTAG TCK : input to board
5 JTAG TDO : output from board
6 JTAG TDI : input to board
7 Serial RxD : input to board
8 Serial TxD : output from board

is correct, counting from the screw hole. With my 3.3 volts TTL serial-to-USB converter connect to GND, RxD and TxD, I got this bootlog:


Bootstrap 02.09
         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_ 
| | | |___|  _ \ / _ \ / _ \| __| 
| |_| |___| |_) | (_) | (_) | |_ 
 \___/    |____/ \___/ \___/ \__|  ** LOADER **

U-Boot 1.1.4 (Feb  8 2008 - 09:08:25) Lacie version: 2.4.2-TINY

U-Boot code: 00200000 -> 0023EE00  BSS: -> 0024D2D0

Soc: 88F6082 A1 (DDR1)
CPU running @ 333Mhz 
SysClock = 166Mhz , TClock = 133Mhz 

DRAM CS[0] base 0x00000000   size   8MB 
DRAM CS[1] base 0x00800000   size   8MB 
DRAM Total size  16MB  16bit width
Memory test pattern: 0x55555555, 0xAAAAAAAA,  Pass
[256kB@f8100000] Flash: 256 kB
Addresses 4M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (4M - 3M): Done

CPU : ARM926 (Rev 0)

USB 0: host mode
PCI 0: PCI Express Root Complex Interface
Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  3 ��� 2 ��� 1 ��� 0 
Waiting for LUMP (2)
no lump receive; continuing

Reset IDE: 
Marvell Serial ATA Adapter
Integrated Sata device found
  Device 0: OK
Model: Hitachi HDT725050VLA360                  Firm: V56OA7EA Ser#:       VFK401R42KE56K
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)

Loading from IDE device 0, partition 10: Name: hda10
  Type: U-Boot
   Image Name:   Linux-
   Created:      2008-04-09  13:29:19 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1239640 Bytes =  1.2 MB
   Load Address: 00008000
   Entry Point:  00008000
## Booting image at 00400000 ...
   Image Name:   Linux-
   Created:      2008-04-09  13:29:19 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1239640 Bytes =  1.2 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK

Starting kernel ...

Uncompressing Linux..................................................................................... done, booting the kernel.

Linux version (iminea@grp-horus) (gcc version 3.4.4 (release) (CodeSourcery ARM 2005q3-2)) #49 Wed Apr 9 15:29:15 CEST 2008

CPU: ARM926EJ-Sid(wb) [41069260] revision 0 (ARMv5TEJ)

CPU0: D VIVT write-back cache

CPU0: I cache: 16384 bytes, associativity 1, 32 byte lines, 512 sets

CPU0: D cache: 16384 bytes, associativity 1, 32 byte lines, 512 sets

Machine: Feroceon

Using UBoot passing parameters structure

Memory policy: ECC disabled, Data cache writeback

Built 1 zonelists

Kernel command line: console=ttyS0,115200 root=/dev/sda7 ro boardType=mv88F6082 productType=Aston reset=0

mvBoardGpioIntMaskGet:Board intsGppMask 0

PID hash table entries: 128 (order: 7, 2048 bytes)

Console: colour dummy device 80x30

Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)

Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)

Memory: 8MB 8MB 0MB 0MB = 16MB total

Memory: 13480KB available (2233K code, 360K data, 84K init)

Mount-cache hash table entries: 512

CPU: Testing write buffer coherency: ok

NET: Registered protocol family 16

mvBoardMppGet mppGroupNum 0 mppGroup 4096

mvBoardMppGet mppGroupNum 1 mppGroup 17

Sys Clk = 166666667, Tclk = 133333333

CPU Interface


SDRAM_CS0 ....base 00000000, size   8MB 

SDRAM_CS1 ....base 00800000, size   8MB 

PEX0_MEM ....base e0000000, size 128MB 

PEX0_IO ....base f2000000, size   1MB 

INTER_REGS ....base f1000000, size   1MB 

NFLASH_CS ....base f9000000, size   2MB 

MFLASH_CS ....base f8000000, size 256KB 

SPI_CS ....base fa000000, size   8MB 

BOOT_ROM_CS ....base fc000000, size   1MB 

DEV_BOOTCS ....base fc000000, size   1MB 

CRYPT_ENG ....base f0000000, size  64KB 

  Marvell Development Board (LSP Version 2.2.2_NAS_GDP)-- RD-88F6082-NAS-PH  Soc: MV88F6082 Rev 1

 Detected Tclk 133333333 and SysClk 166666667 

Marvell USB EHCI Host controller #0: c030cb00

PCI: bus0: Fast back to back transfers enabled

SCSI subsystem initialized

usbcore: registered new driver usbfs

usbcore: registered new driver hub

Fast Floating Point Emulator V0.9 (c) Peter Teichmann.

inotify device minor=63

Registering unionfs 1.1.5

Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled

ttyS0 at MMIO 0x0 (irq = 3) is a 16550A

io scheduler noop registered

Marvell Ethernet Driver 'mv_ethernet':

  o Uncached descriptors in DRAM

  o DRAM SW cache-coherency

  o TCP segmentation offload enabled

  o Checksum offload enabled

  o Rx desc: 64

  o Tx desc: 128

  o Loading network interface   o ethPortNumber 2 'egiga0' mvBoardPhyAddrGet: 8 

mvBoardSpeedGet: 3 

  o ethPortNumber 2 'egiga1' mvBoardPhyAddrGet: 104 

mvBoardSpeedGet: 5 

ipddp.c:v0.01 8/28/97 Bradford W. Johnson <>

ipddp0: Appletalk-IP Encap. mode by Bradford W. Johnson <>

Intergrated Sata device found

scsi0 : Marvell SCSI to SATA adapter

  Vendor: Hitachi   Model: HDT725050VLA360   Rev: V56O

  Type:   Direct-Access                      ANSI SCSI revision: 03

Attached scsi disk sda at scsi0, channel 0, <5>SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)

SCSI device sda: drive cache: write back

SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)

SCSI device sda: drive cache: write back

 sda: sda1 < sda5 sda6 sda7 sda8 sda9 sda10 > sda2

Attached scsi disk sda at scsi0, channel 0, id 0, lun 0

Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0,  type 0

ehci_platform ehci_platform.70059: EHCI Host Controller

ehci_platform ehci_platform.70059: new USB bus registered, assigned bus number 1

ehci_platform ehci_platform.70059: irq 17, io mem 0x00000000

ehci_platform ehci_platform.70059: park 0

ehci_platform ehci_platform.70059: USB 0.0 initialized, EHCI 1.00, driver 10 Dec 2004

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 1 port detected

USB Universal Host Controller Interface driver v2.2

Initializing USB Mass Storage driver...

usbcore: registered new driver usb-storage

USB Mass Storage support registered.

usbcore: registered new driver usbhid

drivers/usb/input/hid-core.c: v2.01:USB HID core driver

mice: PS/2 mouse device common for all mice


aston_power 1.0 initialised

i2c /dev entries driver

i2c-twsi - probe 

i2c-twsi - get parent 

i2c-twsi - set adapter 


rs5c372 detect  

rs5c372 attach client  

NET: Registered protocol family 2

IP: routing cache hash table of 512 buckets, 4Kbytes

TCP established hash table entries: 1024 (order: 1, 8192 bytes)

TCP bind hash table entries: 1024 (order: 0, 4096 bytes)

TCP: Hash tables configured (established 1024 bind 1024)

NET: Registered protocol family 1

NET: Registered protocol family 17

NET: Registered protocol family 5

Loading I2C based RTC driver device interface.

Found TWSI adapter with id: 0

Found I2C RTC rs5c372 @ 0x32

kjournald starting.  Commit interval 5 seconds

EXT3-fs: mounted filesystem with ordered data mode.

VFS: Mounted root (ext3 filesystem) readonly.

Freeing init memory: 84K

#### Running File System Check on Snapshot Partition (/dev/sda9) ###
e2fsck 1.37 (21-Mar-2005)
/dev/sda9: recovering journal
/dev/sda9: clean, 258/84480 files, 6905/168674 blocks
#### Starting PatchManager using /dev/sda8 and /dev/sda9  ####
kjournald starting.  Commit interval 5 seconds

EXT3-fs: mounted filesystem with ordered data mode.

kjournald starting.  Commit interval 5 seconds

EXT3 FS on sda9, internal journal

EXT3-fs: mounted filesystem with ordered data mode.

Creating base union /var/base from /var/original
Loading snapshots from /snapshots/snaps
Mounting kernel-based file systems: /procnodev	sysfs
�[A�[70G[�[1;32m OK �[0;39m]
Starting clock sync
�[A�[70G[�[1;32m OK �[0;39m]
Starting system log daemon...
�[A�[70G[�[1;32m OK �[0;39m]
Starting kernel log daemon...
�[A�[70G[�[1;32m OK �[0;39m]
Loading modules: xfs reiserfs fuse
�[A�[70G[�[1;32m OK �[0;39m]
Activating all swap files/partitions...
�[A�[70G[�[1;32m OK �[0;39m]
Starting UserData service
Cleanning configuration
�[A�[70G[�[1;32m OK �[0;39m]
Bringing up the loopback interface...
�[A�[70G[�[1;32m OK �[0;39m]
Setting hostname to NetworkSpace...
�[A�[70G[�[1;32m OK �[0;39m]
Bringing up the egiga0 interface (udhcpc)...
udhcpc (v0.9.9-pre) started
No lease, forking to background.
�[A�[70G[�[1;32m OK �[0;39m]
Starting HTTPD...
�[A�[70G[�[1;32m OK �[0;39m]
Starting Network Interface Plugging Daemon: egiga0.
Starting ipconfd ...
�[A�[70G[�[1;32m OK �[0;39m]
Starting udevd...
�[A�[70G[�[1;32m OK �[0;39m]
Starting nmbd...
�[A�[70G[�[1;32m OK �[0;39m]
Starting smbd...
�[A�[70G[�[1;32m OK �[0;39m]
Start advertising shares...
�[A�[70G[�[1;32m OK �[0;39m]
Starting AppleTalk services...
Starting atalkd:
�[A�[70G[�[1;32m OK �[0;39m]
Registering NetworkSpace:Workstation:
�[A�[70G[�[1;32m OK �[0;39m]
Registering NetworkSpace:netatalk:
�[A�[70G[�[1;32m OK �[0;39m]
Starting papd:
�[A�[70G[�[1;32m OK �[0;39m]

Starting afpd:
�[A�[70G[�[1;32m OK �[0;39m]

Starting DAAP server 
�[A�[70G[�[1;32m OK �[0;39m]
Twonky server seems already be running under PID 927
(PID file /var/run/ already exists). Checking for process...
Looks like the daemon crashed: the PID does not match the daemon.
Removing flag file...
Starting /usr/local/TwonkyVision/twonkymedia ... 
TwonkyMedia Version 4.4.6
Time synchronization from network
Updating PatchManager Log

LaCix Linux release 1.0 

Kernel on an armv5tejl / ttyS0

NetworkSpace login: 

The box didn't respond to my keystrokes. I suppose I'll need a 5V TTL serial convertor.

BTW, shutting down gave this:

Shutting down DAAP server...
�[A�[70G[�[1;32m OK �[0;39m]
Shutting down AppleTalk services...
Stopping papd:
�[A�[70G[�[1;32m OK �[0;39m]

Unregistering NetworkSpace:Workstation:
�[A�[70G[�[1;32m OK �[0;39m]
Unregistering NetworkSpace:netatalk:
�[A�[70G[�[1;32m OK �[0;39m]
Stopping atalk:
�[A�[70G[�[1;32m OK �[0;39m]

Stopping afpd:
�[A�[70G[�[1;32m OK �[0;39m]

 Stop advertising shares ...
Stopping HTTPD...
�[A�[70G[�[1;32m OK �[0;39m]
Stopping smbd...
�[A�[70G[�[1;32m OK �[0;39m]
Stopping nmbd...
�[A�[70G[�[1;32m OK �[0;39m]
Stopping FTP Server...
�[A�[50GNot running�[70G[�[1;33m WARN �[0;39m]
Stopping Network Interface Plugging Daemon: egiga0.
Bringing down the egiga0 interface (udhcp)...
Stopping udevd...
�[A�[70G[�[1;32m OK �[0;39m]
Stopping UserData service
Stopping kernel log daemon...
�[A�[70G[�[1;32m OK �[0;39m]
Stopping system log daemon...
�[A�[70G[�[1;32m OK �[0;39m]
Remounting Snapshot volume as RO
umount: Couldn't umount /var: Device or resource busy
mount: you must specify the filesystem type
You should not be reading this error message. It means
that an unforseen error took place in /etc/rc.d/rc6.d/K51unionfs,
which exited with a return value of 32

If you're able to track this error down to a bug in one
of the files provided by the LFS book, please be so kind
to inform us at

The system is going down NOW !!

Sending SIGTERM to all pro
Sending SIGKILL to all processes.

The system is halted. Press Reset or turn off power
Synchronizing SCSI cache for disk sda: 

System halted.