Connected the device to the power line and RJ45 - to the router.
New IP appeared on the network and was able to connect through ssh using root/nosoup4u.
Measuring the time from powering on until network is up (on first response I'm killing ping process):
$ time ping 192.168.0.104
PING 192.168.0.104 (192.168.0.104) 56(84) bytes of data.
From 192.168.0.101 icmp_seq=90 Destination Host Unreachable
From 192.168.0.101 icmp_seq=91 Destination Host Unreachable
. . .
64 bytes from 192.168.0.104: icmp_seq=92 ttl=64 time=4.33 ms
^C
--- 192.168.0.104 ping statistics ---
92 packets transmitted, 1 received, +60 errors, 98% packet loss, time 91094ms
rtt min/avg/max/mdev = 4.338/4.338/4.338/0.000 ms, pipe 3
real 1m31.997s
user 0m0.000s
sys 0m0.004s
user@anode:~$
So, the device boots in ~1.5 minutes (I've measured twice - second time it was 1m29s)
root@debian:/mnt/tmp# cat /proc/cpuinfo
Processor : ARM926EJ-S rev 1 (v5l)
BogoMIPS : 1192.75
Features : swp half thumb fastmult edsp
CPU implementer : 0x56
CPU architecture: 5TE
CPU variant : 0x2
CPU part : 0x131
CPU revision : 1
Cache type : write-back
Cache clean : cp15 c7 ops
Cache lockdown : format C
Cache format : Harvard
I size : 16384
I assoc : 4
I line length : 32
I sets : 128
D size : 16384
D assoc : 4
D line length : 32
D sets : 128
Hardware : Feroceon-KW
Revision : 0000
Serial : 0000000000000000
root@debian:/mnt/tmp# free
total used free shared buffers cached
Mem: 515636 100112 415524 0 0 80384
-/+ buffers/cache: 19728 495908
Swap: 0 0 0
root@debian:~# dmesg
Linux version 2.6.22.18 (dhaval@devbox) (gcc version 4.2.1) #1 Thu Mar 19 14:46:22 IST 2009
CPU: ARM926EJ-S [56251311] revision 1 (ARMv5TE), cr=00053177
Machine: Feroceon-KW
Using UBoot passing parameters structure
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 131072
DMA zone: 1024 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 130048 pages, LIFO batch:31
Normal zone: 0 pages used for memmap
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
Built 1 zonelists. Total pages: 130048
Kernel command line: console=ttyS0,115200 mtdparts=nand_mtd:0x400000@0x100000(uIma
ge),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw ip=10.4.50.4:10.4.50.5:10.4.50.5:255.255.2
55.0:DB88FXX81:eth0:none
PID hash table entries: 2048 (order: 11, 8192 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 256MB 256MB 0MB 0MB = 512MB total
Memory: 515456KB available (3864K code, 257K data, 104K init)
Calibrating delay loop... 1192.75 BogoMIPS (lpj=5963776)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
CPU Interface
-------------
SDRAM_CS0 ....base 00000000, size 256MB
SDRAM_CS1 ....base 10000000, size 256MB
SDRAM_CS2 ....disable
SDRAM_CS3 ....disable
PEX0_MEM ....base e8000000, size 128MB
PEX0_IO ....base f2000000, size 1MB
INTER_REGS ....base f1000000, size 1MB
NFLASH_CS ....base fa000000, size 2MB
SPI_CS ....base f4000000, size 16MB
BOOT_ROM_CS ....no such
DEV_BOOTCS ....no such
CRYPT_ENG ....base f0000000, size 2MB
Marvell Development Board (LSP Version KW_LSP_4.2.7_patch2)-- SHEEVA PLUG Soc: 88F6281 A0 LE
Detected Tclk 200000000 and SysClk 400000000
MV Buttons Device Load
Marvell USB EHCI Host controller #0: c08b8600
PEX0 interface detected no Link.
PCI: bus0: Fast back to back transfers enabled
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
Time: kw_clocksource clocksource has been installed.
IP route cache hash table entries: 16384 (order: 4, 65536 bytes)
TCP established hash table entries: 65536 (order: 7, 524288 bytes)
TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 65536 bind 65536)
TCP reno registered
RTC registered
Use the XOR engines (acceleration) for enhancing the following functions:
o RAID 5 Xor calculation
o kernel memcpy
o kenrel memzero
Number of XOR engines to use: 4
cesadev_init(c000c894)
mvCesaInit: sessions=640, queue=64, pSram=f0000000
Warning: TS unit is powered off.
MV Buttons Driver Load
NTFS driver 2.1.28 [Flags: R/O].
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler anticipatory registered (default)
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
serial8250.0: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A
Loading Marvell Ethernet Driver:
o Cached descriptors in DRAM
o DRAM SW cache-coherency
o Single RX Queue support - ETH_DEF_RXQ=0
o Single TX Queue support - ETH_DEF_TXQ=0
o TCP segmentation offload enabled
o Receive checksum offload enabled
o Transmit checksum offload enabled
o Network Fast Processing (Routing) supported
o Driver ERROR statistics enabled
o Driver INFO statistics enabled
o Proc tool API enabled
o Rx descripors: q0=128
o Tx descripors: q0=532
o Loading network interface(s):
o eth0, ifindex = 1, GbE port = 0
o eth1, ifindex = 2, GbE port = 1
mvFpRuleDb (dfd00000): 16384 entries, 65536 bytes
Intel(R) PRO/1000 Network Driver - version 7.3.20-k2-NAPI
Copyright (c) 1999-2006 Intel Corporation.
e100: Intel(R) PRO/100 Network Driver, 3.5.17-k4-NAPI
e100: Copyright(c) 1999-2006 Intel Corporation
Warning Sata is Powered Off
NFTL driver: nftlcore.c $Revision: 1.98 $, nftlmount.c $Revision: 1.41 $
NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc (Hynix NAND 512MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 324 at 0x02880000
Bad eraseblock 332 at 0x02980000
Bad eraseblock 340 at 0x02a80000
Bad eraseblock 348 at 0x02b80000
Bad eraseblock 356 at 0x02c80000
Bad eraseblock 364 at 0x02d80000
Bad eraseblock 372 at 0x02e80000
Bad eraseblock 380 at 0x02f80000
Bad eraseblock 2372 at 0x12880000
Bad eraseblock 2380 at 0x12980000
Bad eraseblock 2388 at 0x12a80000
Bad eraseblock 2396 at 0x12b80000
Bad eraseblock 2404 at 0x12c80000
Bad eraseblock 2412 at 0x12d80000
Bad eraseblock 2420 at 0x12e80000
Bad eraseblock 2428 at 0x12f80000
Bad eraseblock 3088 at 0x18200000
Bad eraseblock 3636 at 0x1c680000
Bad eraseblock 3637 at 0x1c6a0000
Bad eraseblock 3644 at 0x1c780000
Bad eraseblock 3645 at 0x1c7a0000
Bad eraseblock 3646 at 0x1c7c0000
Bad eraseblock 3647 at 0x1c7e0000
Bad eraseblock 3648 at 0x1c800000
Bad eraseblock 3684 at 0x1cc80000
2 cmdlinepart partitions found on MTD device nand_mtd
Using command line partition definition
Creating 2 MTD partitions on "nand_mtd":
0x00100000-0x00500000 : "uImage"
0x00500000-0x20000000 : "rootfs"
ehci_marvell ehci_marvell.70059: Marvell Orion EHCI
ehci_marvell ehci_marvell.70059: new USB bus registered, assigned bus number 1
ehci_marvell ehci_marvell.70059: irq 19, io base 0xf1050100
ehci_marvell ehci_marvell.70059: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
USB Universal Host Controller Interface driver v3.0
usbcore: registered new interface driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
Linux telephony interface: v1.00
Marvell Telephony Driver:
mvBoardVoiceAssembleModeGet: TDM not supported(boardId=0x9)
assembly=-1,irq=-1
mp_check_config: Error, invalid voice assembley mode
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
raid6: int32x1 97 MB/s
raid6: int32x2 114 MB/s
raid6: int32x4 122 MB/s
raid6: int32x8 110 MB/s
raid6: using algorithm int32x4 (122 MB/s)
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
raid5: measuring checksumming speed
arm4regs : 1071.600 MB/sec
8regs : 754.800 MB/sec
32regs : 899.600 MB/sec
raid5: using function: arm4regs (1071.600 MB/sec)
device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: dm-devel@redhat.com
dm_crypt using the OCF package.
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
mvsdmmc: irq =28 start f1090000
mvsdmmc: no IRQ detect
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.14 (Thu May 31 09:03:25 2007 UTC).
mvCLAudioCodecRegGet: Error while reading register!
mvCLAudioCodecInit: Error - Invalid Cirrus Logic chip/rev ID!
Error - Cannot initialize audio decoder.at address =0xff<6>ALSA device list:
#0: Marvell mv88fx_snd ALSA driver
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
eth0: started
IP-Config: Complete:
device=eth0, addr=10.4.50.4, mask=255.255.255.0, gw=10.4.50.5,
host=DB88FXX81, domain=, nis-domain=(none),
bootserver=10.4.50.5, rootserver=10.4.50.5, rootpath=
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
eth0: link up, full duplex, speed 100 Mbps
eth0: link down
eth0: link up, full duplex, speed 100 Mbps
Empty flash at 0x088dd338 ends at 0x088dd800
VFS: Mounted root (jffs2 filesystem).
Freeing init memory: 104K
fat: exports duplicate symbol fat_add_entries (owned by kernel)
root@debian:~# who am i
root pts/0 2000-01-24 21:57 (192.168.0.101)
root@debian:~#
Now trying to connect through debug console (mini USB port) - through minicom.
on the host Linux machine:
$ modprobe ftdi_sio vendor=0x9e88 product=0x9e8f
for control:
$ lsmod | grep ftdi
ftdi_sio 55944 1
usbserial 39528 3 ftdi_sio
usbcore 149488 6 ftdi_sio,usbserial,ohci_hcd,ehci_hcd,uhc
i_hcd
As said in the manual:
$minicom -s
but instead of /dev/ttyS0 - setting to /dev/ttyUSB1
$minicom -e etc
after that I've got login and entered root/nosoup4u:
$ minicom -s
Welcome to minicom 2.3
OPTIONS: I18n
Compiled on Oct 24 2008, 06:37:44.
Port /dev/ttyUSB1
Press CTRL-A Z for help on special keys
Ubuntu jaunty (development branch) debian ttyS0
debian login: AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0
Password:
Last login: Mon Jan 24 18:52:17 UTC 2000 from 192.168.0.101 on pts/0
Linux debian 2.6.22.18 #1 Thu Mar 19 14:46:22 IST 2009 armv5tejl
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
To access official Ubuntu documentation, please visit:
http://help.ubuntu.com/
1 failure since last login.
Last was Mon Jan 24 21:32:17 2000 on ttyS0.
root@debian:~# who am i
root ttyS0 Jan 24 21:33
root@debian:~# uname -a
Linux debian 2.6.22.18 #1 Thu Mar 19 14:46:22 IST 2009 armv5tejl GNU/Linux
root@debian:~# apt-get update
E: Archive directory /var/cache/apt/archives/partial is missing.
root@debian:~# mkdir -p /var/cache/apt/archives/partial
now it is fine:
root@debian:~# apt-get update
Get:1 http://ports.ubuntu.com jaunty Release.gpg [189B]
Get:2 http://ports.ubuntu.com jaunty/main Translation-en_CA [2731B]
Get:3 http://ports.ubuntu.com jaunty/restricted Translation-en_CA [3970B]
Ign http://ports.ubuntu.com jaunty/universe Translation-en_CA
Ign http://ports.ubuntu.com jaunty/multiverse Translation-en_CA
Get:4 http://ports.ubuntu.com jaunty Release [74.6kB]
Get:5 http://ports.ubuntu.com jaunty/main Packages [1234kB]
Get:6 http://ports.ubuntu.com jaunty/restricted Packages [865B]
Get:7 http://ports.ubuntu.com jaunty/universe Packages [4442kB]
Get:8 http://ports.ubuntu.com jaunty/multiverse Packages [159kB] 2
Fetched 5917kB in 60s (97.9kB/s)
Reading package lists... Done
root@debian:~#
Trying to nfs mount main linux host:
root@debian:~# mount 192.168.0.101:/ /mnt/tmp/
mount: wrong fs type, bad option, bad superblock on 192.168.0.101:/,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount.<type> helper program)
In some cases useful info is found in syslog - try
dmesg | tail or so
so nfs client is not installed
root@debian:~# apt-get install nfs-common portmap
root@debian:~# mount 192.168.0.101:/ /mnt/tmp/
root@debian:~# ls /mnt/tmp
bin initrd.img lib mnt root sys var
boot dev etc initrd.img.old lost+found opt sbin tmp vmlinuz
cdrom home media proc srv usr vmlinuz.old
(next time we'll do nfs boot)
A little bit NFS performance (/mnt/tmp is mounted Linux host):
From the device to Linux host:
root@debian:/mnt/tmp# dd if=/dev/zero of=/mnt/tmp/tmp/testfile bs=1024 count=100000
100000+0 records in
100000+0 records out
102400000 bytes (102 MB) copied, 9.22229 s, 11.1 MB/s
From Linux host to me:
root@debian:/mnt/tmp# dd if=/mnt/tmp/tmp/testfile of=/tmp/testfile bs=1024 count=100000
100000+0 records in
100000+0 records out
102400000 bytes (102 MB) copied, 44.1235 s, 2.3 MB/s
root@debian:/mnt/tmp#
which is obviously limited by slow flash memory:
from local to local:
root@debian:/mnt/tmp# dd if=/dev/zero of=/tmp/testfile bs=1024 count=100000
100000+0 records in
100000+0 records out
102400000 bytes (102 MB) copied, 37.7241 s, 2.7 MB/s
now from remote to remote:
root@debian:/mnt/tmp# dd if=/mnt/tmp/tmp/testfile of=/mnt/tmp/tmp/testfile2 bs=1024 count=100000
100000+0 records in
100000+0 records out
102400000 bytes (102 MB) copied, 9.46773 s, 10.8 MB/s
which is pretty good.
Now - let' employ the device as rsynching master host, making incremental synchronization of data between old Pentium MMX and Pentium 2 machines (before I used Linux host, consuming a lot of energy)
root@debian:~# apt-get install rsync
. . .
root@debian:~# scp 192.168.0.12:/ISROOT/1/backup.sh
root@debian:~# mkdir ISROOT
...have some problem with mapping between users (write permission)
root@debian:~# apt-get install openjdk-6-jdk
root@debian:~# apt-get install xorg
root@debian:~# apt-get install xterm
root@debian:~# apt-get install fluxbox
root@debian:~# apt-get install vnc-server
dpkg-reconfigure xserver-xorg
respond "Yes" to framebuffer, all other are default.
bonnie on my P4/1400:
Version 1.03c ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
anode 1504M 5677 51 25452 31 17245 19 9652 56 49905 20 292.1 5
------Sequential Create------ --------Random Create--------
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
16 4147 32 32462 22 6747 31 5210 38 +++++ +++ 10965 46
anode,1504M,5677,51,25452,31,17245,19,96
52,56,49905,20,292.1,5,16,4147,32,32462,22,6747,31,5210,38,+++++,+++,10965,46
bonnie on ARM (SheevaPlug):
Version 1.03c ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
debian 1G 3152 99 8606 80 6942 89 4999 99 28059 99 1490 96
------Sequential Create------ --------Random Create--------
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
16 562 59 +++++ +++ 937 99 864 94 +++++ +++ 879 100
debian,1G,3152,99,8606,80,6942,89,4999,99,28059,99,1490.4,96,16,562,59,+++++,+++,937,99,864,94,+++++,+++,879,100
Default SheevaPlug provides Samba (I've just started it)
user@anode:~$ smbtree
Password:
WORKGROUP
\\DEBIAN debian server (Samba, Ubuntu)
\\DEBIAN\IPC$ IPC Service (debian server (Samba, Ubuntu))
\\DEBIAN\Media Media