Hacking the Iomega iConnect

This page is about hacking the Iomega iConnect. It shows how to run Linux on it and also how the hardware of the device might be modified.

All available languages for this article:

Hacking the Iomega iConnect [en]

Categories:

Computer / Electronics


About

Specs

  • Marvell Kirkwood 88F6281 @ 1 Ghz
  • 256 MB SDRAM
  • 512 MB onboard Flash
  • Ralink Wifi in Half-size Mini-PCIe slot
  • Single 10/100/1000 MBit/s Ethernet port
  • 5 USB 2.0 Ports (via HUB)
  • GPIO LEDs
  • 12V, 2A Power Supply

Datasheets for CPU:

pr0n

Some photos of the printed circuit board (PCB) to identify interesting/hackable components.

Serial Port

The UART needs 3.3V levels. The names in the image refer to the pins on the iConnect (uncrossed). The bootloader speaks 115200/8N1.

Hardware Crypto

The SoC has an AES engine implemented in hardware which can speed up access to encrypted disks drastically. Here is the original article for the Sheevaplug: http://smorgasbord.gavagai.nl/2010/02/sheevaplug-hardware-crypto/.

Some infos for my setup:

# cryptsetup status crypto_rcs
/dev/mapper/crypto_rcs is active:
  cipher:  aes-cbc-essiv:sha256
  keysize: 256 bits
  device:  /dev/mapper/vg_iconnect-lv_rcs
  offset:  2056 sectors
  size:    41940984 sectors
  mode:    read/write
# hdparm -t /dev/mapper/crypto_rcs 

/dev/mapper/crypto_rcs:
 Timing buffered disk reads:  36 MB in  3.04 seconds =  11.83 MB/sec

Temperature Sensor

There is an LM63 temperature sensor on the board which is connected with I2C. This sensor measures two temperatures, one is internally in the LM63, the other one is measured remotely via transistor Q3.

The values can be read out using lm-sensors:

lm63-i2c-0-4c                                                 
Adapter: mv64xxx_i2c
adapter                                      
temp1:       +21.0 C  (high = +70.0 C)                       
temp2:       +20.0 C  (low  =  +0.0 C, high = +70.0 C)       
                      (crit = +85.0 C, hyst = +75.0 C)

Building Kernel

See http://www.kroonen.eu/wiki/Compile%20Kernel

I'm currently running 3.5.0 with this patch applied.

I am using this .config.

Rootfs on LVM

I am successfully using my root-device on LVM. However, the Kernel as well as the initrd-image reside on a separate /boot partition (ext2).

Here are some random notes on how LVM and the initrd-image can be set up.

# preparing the disk
<usual lvm setup stuff here>
/dev/sda1: 128MB boot
/dev/sda2: LVM

# Creating initrd image
$ apt-get install lvm2
$ mkinitramfs -o /tmp/initrd
$ file /tmp/initrd
/tmp/initrd: gzip compressed data, from Unix, last modified: Sat Mar 30 17:56:15 2013
$ mkimage -A arm -O linux -T ramdisk -C none -a 0 -e 0 -n initramfs -d  /tmp/initrd /boot/uInitrd
Image Name:   initramfs
Created:      Sat Mar 30 17:58:05 2013
Image Type:   ARM Linux RAMDisk Image (uncompressed)
Data Size:    3946951 Bytes = 3854.44 kB = 3.76 MB
Load Address: 0x00000000
Entry Point:  0x00000000
$ file /boot/uInitrd 
/boot/uInitrd: u-boot legacy uImage, initramfs, Linux/ARM, RAMDisk Image (Not compressed), 3946951 bytes, Sat Mar 30 17:58:05 2013, Load Address: 0x00000000, Entry Point: 0x00000000, Header CRC: 0x23D913F3, Data CRC: 0x03CF6AE5
$ mount /dev/sdb1 /tmp/boot/
$ ls /tmp/boot/
lost+found  uImage
$ cp /boot/uInitrd /tmp/boot/

### UBOOT Config

# boot without saving
usb start
ext2load usb 0:1 0x01100000 /uInitrd
ext2load usb 0:1 0x00800000 /uImage
setenv bootargs 'console=ttyS0,115200 root=/dev/mapper/vg_iconnect-lv_root rootdelay=20'
bootm 0x00800000 0x01100000

# save the stuff permanently
setenv bootargs_console 'console=ttyS0,115200 root=/dev/mapper/vg_iconnect-lv_root rootdelay=20'
setenv bootcmd_usb 'usb start; ext2load usb 0:1 0x00800000 /uImage; ext2load usb 0:1 0x01100000 /uInitrd'
setenv bootcmd 'setenv bootargs $(bootargs_console); run bootcmd_usb;bootm 0x00800000 0x01100000'
saveenv

Note the increased rootdelay of 20 seconds, which gives the needed time for LVM to detect all volumes.

Power Consumption

Measured primary/AC mains.

Idle w/ USB-IDE converter attached: 4-5 Watts

Stock Firmware

$ uname -a
Linux storage 2.6.30.9 #1 PREEMPT Mon Jan 25 13:57:26 EST 2010 armv5tel GNU/Linux

$ dmesg
Linux version 2.6.30.9 (soho@bsoho084.lss.emc.com) (gcc version 4.3.2 (crosstool-NG-1.3.1) ) #1 PREEMPT Mon Jan 25 13:57:26 EST 2010
CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
CPU: VIVT data cache, VIVT instruction cache
Machine: Marvell RD-88F6281 Reference Board
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 65536
free_area_init_node: node 0, pgdat c03f354c, node_mem_map c04b0000
  Normal zone: 512 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 65024 pages, LIFO batch:15
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
Kernel command line: console=ttyS0,115200 mtdparts=orion_nand:0xc0000@0x0(uboot),0x20000@0xa0000(env),0x300000@0x100000(zImage),0x300000@0x540000(initrd),0x1f400000@0x980000(boot)
NR_IRQS:114
PID hash table entries: 1024 (order: 10, 4096 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 256MB = 256MB total
Memory: 253056KB available (3632K code, 901K data, 124K init, 0K highmem)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Calibrating delay loop... 992.87 BogoMIPS (lpj=4964352)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 520 bytes
NET: Registered protocol family 16
Kirkwood: MV88F6281-A0, TCLK=200000000.
Feroceon L2: Enabling L2
Feroceon L2: Cache support initialised.
initial MPP regs: 21111111 00003311 33331100 33333333 00000333 00000000 00000000
  final MPP regs: 21111111 00003311 33331100 33333333 00000333 00000000 00000000
pci 0000:00:00.0: reg 10 64bit mmio: [0xf1000000-0xf10fffff]
pci 0000:00:00.0: reg 18 32bit mmio: [0x000000-0xfffffff]
pci 0000:00:00.0: supports D1 D2
pci 0000:00:01.0: reg 10 32bit mmio: [0x40000000-0x4000ffff]
PCI: bus0: Fast back to back transfers disabled
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: US
        (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
        (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm)
        (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
        (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
        (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
        (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
        (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
cfg80211: Calling CRDA for country: US
Switched to high resolution mode on CPU 0
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
NET: Registered protocol family 1
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (no cpio magic); looks like an initrd
Freeing initrd memory: 1732K
msgmni has been set to 498
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
console [ttyS0] enabled
brd: module loaded
loop: module loaded
Driver 'sd' needs updating - please use bus_type methods
MV-643xx 10/100/1000 ethernet driver version 1.4
mv643xx_eth smi: probed
net eth0: port 0 with MAC address 00:d0:b8:0d:0e:c7
NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc (Hynix NAND 512MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 2788 at 0x000015c80000
Bad eraseblock 3859 at 0x00001e260000
5 cmdlinepart partitions found on MTD device orion_nand
Creating 5 MTD partitions on "orion_nand":
0x000000000000-0x0000000c0000 : "uboot"
0x0000000a0000-0x0000000c0000 : "env"
0x000000100000-0x000000400000 : "zImage"
0x000000540000-0x000000840000 : "initrd"
0x000000980000-0x00001fd80000 : "boot"
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
orion-ehci orion-ehci.0: Marvell Orion EHCI
orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
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: USB 1.1 'Open' Host Controller (OHCI) Driver
uhci_hcd: USB Universal Host Controller Interface driver
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver ums-datafab
usbcore: registered new interface driver ums-freecom
usbcore: registered new interface driver ums-jumpshot
usbcore: registered new interface driver ums-sddr09
usbcore: registered new interface driver ums-sddr55
usbcore: registered new interface driver ums-usbat
mice: PS/2 mouse device common for all mice
input: gpio-keys as /class/input/input0
rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
i2c /dev entries driver
lm63 0-004c: Alert/tach pin configured for alert output
lm63 0-004c: PWM clock 360 kHz, output frequency 7826 Hz
lm63 0-004c: PWM output active high, manual mode
Registered led device: led_level
Registered led device: power_blue_led
Registered led device: power_red_led
Registered led device: usb_1_led
Registered led device: usb_2_led
Registered led device: usb_3_led
Registered led device: usb_4_led
Registered led device: otb_led
mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
oprofile: using timer interrupt.
TCP cubic registered
NET: Registered protocol family 17
lib80211: common routines for IEEE802.11 drivers
lib80211_crypt: registered algorithm 'NULL'
rtc-mv rtc-mv: setting system clock to 2012-01-21 07:30:35 UTC (1327131035)
RAMDISK: gzip image found at block 0
EXT2-fs warning: checktime reached, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem) on device 1:0.
usb 1-1: new high speed USB device using orion-ehci and address 2
usb 1-1: configuration #1 chosen from 1 choice
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
UBI: attaching mtd4 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI: attached mtd4 to ubi0
UBI: MTD device name:            "boot"
UBI: MTD device size:            500 MiB
UBI: number of good PEBs:        3998
UBI: number of bad PEBs:         2
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             0
UBI: total number of reserved PEBs: 3998
UBI: number of PEBs reserved for bad PEB handling: 39
UBI: max/mean erase counter: 2/1
UBI: background thread "ubi_bgt0d" started, PID 486
UBIFS: recovery needed
UBIFS: recovery completed
UBIFS: mounted UBI device 0, volume 0, name "boot"
UBIFS: file system size:   508354560 bytes (496440 KiB, 484 MiB, 3940 LEBs)
UBIFS: journal size:       25417728 bytes (24822 KiB, 24 MiB, 197 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root:  4952683 bytes (4836 KiB)
ufsd: module license 'Commercial product' taints kernel.
Disabling lock debugging due to kernel taint
ufsd: driver 8.1 (013_A) LBD=OFF with ioctl loaded at bf000000
NTFS read/write support included
Hfs+/HfsX read/write support included


=== pAd = d1512000, size = 478904 ===

<-- RTMPAllocAdapterBlock, Status=0
pAd->CSRBaseAddress =0xd1500000, csr_addr=0xd1500000!
ra0 (): not using net_device_ops yet
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
usbcore: registered new interface driver usblp
Freeing init memory: 124K
eth0: link up, 1000 Mb/s, full duplex, flow control disabled
RX DESC ffc1a000  size = 2048
<-- RTMPAllocTxRxRingMemory, Status=0
PhyMode=9, DesiredPhyMode=9
Key1Str is Invalid key length(0) or Type(0)
Key2Str is Invalid key length(0) or Type(0)
Key3Str is Invalid key length(0) or Type(0)
Key4Str is Invalid key length(0) or Type(0)
1. Phy Mode = 9
2. Phy Mode = 9
NVM is Efuse and its size =2d[2d0-2fc] 
RTMPSetPhyMode: channel is out of range, use first channel=1 
3. Phy Mode = 9
MCS Set = ff 00 00 00 01
RTMPFilterCalibration - can't find a valid value, loopcnt=102 stop calibrating<==== rt28xx_init, Status=0
0x1300 = 00064300
 AUX_CTRL = 0x                            4c02
====> rt30xx Read PowerLevelMode =  0x1.
====> rt30xx F Write 0x83 Command = 0x1.
Driver 'sr' needs updating - please use bus_type methods
===>rt_ioctl_giwscan. 6(6) BSS returned, data->length = 850
$ lsmod
Module                  Size  Used by
sr_mod                 16224  0 
cdrom                  37008  1 sr_mod
usblp                  13244  0 
usbhid                 28216  0 
rt3090sta             721760  1 
msdos                   7904  0 
udf                    85432  0 
crc_itu_t               1952  1 udf
isofs                  25100  0 
ufsd                  574984  0 
$ cat /proc/mtd
dev:    size   erasesize  name
mtd0: 000c0000 00020000 "uboot"
mtd1: 00020000 00020000 "env"
mtd2: 00300000 00020000 "zImage"
mtd3: 00300000 00020000 "initrd"
mtd4: 1f400000 00020000 "boot"
$ df
Filesystem           1K-blocks      Used Available Use% Mounted on
rootfs                   51200      3064     48136   6% /
/dev/root.old             4722      1920      2558  43% /initrd
none                     51200      3064     48136   6% /
ubi0:boot               466212    121752    339624  27% /boot
/dev/loop0              272064    272064         0 100% /mnt/apps
/dev/loop1                4959      1422      3281  31% /etc
/dev/loop2                  60        60         0 100% /oem
tmpfs                   127608         0    127608   0% /mnt/apps/lib/init/rw
tmpfs                   127608         0    127608   0% /dev/shm
$ cat /proc/cpuinfo
Processor       : Feroceon 88FR131 rev 1 (v5l)
BogoMIPS        : 992.87
Features        : swp half thumb fastmult edsp 
CPU implementer : 0x56
CPU architecture: 5TE
CPU variant     : 0x2
CPU part        : 0x131
CPU revision    : 1

Hardware        : Marvell RD-88F6281 Reference Board
Revision        : 0000
Serial          : 0000000000000000
$ ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.2   1968   680 ?        Ss   Jan20   0:00 init [2]  
root         2  0.0  0.0      0     0 ?        S<   Jan20   0:00 [kthreadd]
root         3  0.0  0.0      0     0 ?        S<   Jan20   0:00 [ksoftirqd/0]
root         4  0.0  0.0      0     0 ?        S<   Jan20   0:00 [watchdog/0]
root         5  0.0  0.0      0     0 ?        S<   Jan20   0:00 [events/0]
root         6  0.0  0.0      0     0 ?        S<   Jan20   0:00 [khelper]
root         9  0.0  0.0      0     0 ?        S<   Jan20   0:00 [async/mgr]
root        93  0.0  0.0      0     0 ?        S<   Jan20   0:00 [kblockd/0]
root       106  0.0  0.0      0     0 ?        S<   Jan20   0:00 [khubd]
root       109  0.0  0.0      0     0 ?        S<   Jan20   0:00 [kseriod]
root       114  0.0  0.0      0     0 ?        S<   Jan20   0:00 [kmmcd]
root       140  0.0  0.0      0     0 ?        S    Jan20   0:00 [khungtaskd]
root       141  0.0  0.0      0     0 ?        S    Jan20   0:00 [pdflush]
root       142  0.0  0.0      0     0 ?        S    Jan20   0:00 [pdflush]
root       143  0.0  0.0      0     0 ?        S<   Jan20   0:00 [kswapd0]
root       188  0.0  0.0      0     0 ?        S<   Jan20   0:00 [aio/0]
root       194  0.0  0.0      0     0 ?        S<   Jan20   0:00 [cifsoplockd]
root       195  0.0  0.0      0     0 ?        S<   Jan20   0:00 [crypto/0]
root       376  0.0  0.0      0     0 ?        S<   Jan20   0:00 [mtdblockd]
root       398  0.0  0.0      0     0 ?        S<   Jan20   0:00 [orion_spi]
root       486  0.0  0.0      0     0 ?        S<   Jan20   0:00 [ubi_bgt0d]
root       488  0.0  0.0      0     0 ?        S<   Jan20   0:00 [ubifs_bgt0_0]
root       493  0.0  0.0      0     0 ?        S<   Jan20   0:05 [loop0]
root       496  0.0  0.0      0     0 ?        S<   Jan20   0:00 [loop1]
root       507  0.0  0.0      0     0 ?        S<   Jan20   0:00 [loop2]
root       623  0.0  0.0      0     0 ?        S<   Jan20   0:00 [usbhid_resumer]
root       802  0.0  0.0   1544   176 ?        Ss   Jan20   0:00 logsave -s /var/log/fsck/checkfs fsck -C -R -A -a
root       918  0.0  0.4  28028  1176 ?        Sl   Jan20   0:00 /usr/sbin/rsyslogd -c3 -f /etc/rsyslog.conf
root       944  0.0  0.1   1632   492 ?        S    Jan20   0:00 /usr/sbin/ifplugd -i eth0 -fwI -u0 -d1
nobody     992  0.0  0.3   1888   888 ?        Ss   Jan20   0:00 /usr/sbin/mdnsd
root       994  0.0  0.1   4136   476 ?        Ss   Jan20   0:00 /bin/hostnamed
root       996  0.0  1.2  14140  3148 ?        S    Jan20   0:00 /sbin/executord -c /etc/sohoConfig.xml
root      1008  0.0  0.2   1560   516 ttyS0    Ss+  Jan20   0:00 /sbin/getty -L ttyS0 115200 vt100
root      1018  0.0  0.6   5832  1680 ?        S    Jan20   0:00 /usr/bin/dbus-daemon --nofork --system
root      1052  0.0  1.0  34316  2580 ?        Sl   Jan20   0:00 /usr/local/wifi wifi
root      1080  0.0  0.2   1980   608 ?        Ss   Jan20   0:00 dhclient3 -pf /var/run/dhclient.eth0.pid -lf /var/lib/dhcp3/dhclient.eth0.leases eth0
root      1110  0.0  0.2   1704   620 ?        S    Jan20   0:00 /usr/local/sbin/wpa_supplicant -Dralink -ira0 -c /tmp/.ra0.conf
root      1115  0.0  1.1  14044  2936 ?        SN   Jan20   0:00 /usr/sbin/discoverd
root      1116  0.0  0.6  69832  1572 ?        Sl   Jan20   0:00 /usr/sbin/upnpd -webdir /etc/upnpd/web
nobody    1118  0.0  0.3   1888   896 ?        S    Jan20   0:00 /usr/sbin/mdnsd -debug
root      1119  0.0  0.7   5424  1984 ?        S    Jan20   0:00 /usr/sbin/sshd -D
root      1120  0.1  2.7 165212  7028 ?        S<l  Jan20   0:11 /usr/sbin/appweb -r /usr/local/appweb -f appweb.conf
root      1122  0.0  0.4   2564  1148 ?        S    Jan20   0:00 /bin/sh /usr/bin/flushlogs
root      1140  0.0  0.1   1852   388 ?        S    Jan20   0:00 /usr/local/winRally/lld2d eth0
root      1143  0.0  0.1   1852   388 ?        S    Jan20   0:00 /usr/local/winRally/lld2d ra0
root      1144  0.0  0.4   2576  1172 ?        S    Jan20   0:00 /bin/sh /usr/bin/chklease.sh
root      1148  0.0  0.4   2644  1256 ?        S    Jan20   0:02 /bin/sh /usr/bin/sohoAudit
root      1149  0.0  1.4  71380  3752 ?        Sl   Jan20   0:00 /usr/local/protomgrd protomgrd
root      1194  0.0  1.2  68344  3220 ?        Sl   Jan20   0:00 /usr/local/displayd displayd
root      1209  0.0  1.0  26252  2784 ?        Sl   Jan20   0:00 /usr/local/datamover datamover
root      1327  0.0  1.1  35144  3008 ?        Sl   Jan20   0:00 /usr/local/connectd connectd
root      1377  0.0  1.2  67428  3120 ?        Sl   Jan20   0:00 /usr/local/quiktransfer quiktransfer
root      1564  0.0  0.6   5416  1740 ?        Ss   Jan20   0:00 /usr/lib/postfix/master
postfix   1565  0.0  0.7   6728  1844 ?        S    Jan20   0:00 qmgr -l -t fifo -u
root      1643  0.0  1.8  21992  4672 ?        Sl   Jan20   0:02 /usr/local/rad rad
root      5901  0.0  1.3  11704  3328 ?        Ss   01:03   0:00 sshd: root@pts/0    
root      5910  0.0  0.6   2700  1544 pts/0    Ss   01:04   0:00 -sh
root      7656  0.0  0.2   1732   512 ?        S    01:43   0:00 sleep 5m
root      7794  0.0  0.2   1732   512 ?        S    01:46   0:00 sleep 60
root      7828  0.0  0.2   1732   512 ?        S    01:47   0:00 sleep 10
root      7829  0.0  0.3   2228   888 pts/0    R+   01:47   0:00 ps aux

Bootloader original environment:

Marvell>> printenv
baudrate=115200
loads_echo=0
rootpath=/mnt/ARM_FS/
netmask=255.255.255.0
usbstart=usb start
run_diag=yes
console=console=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0(uboot)ro,0x1ff00000@0x100000(root)
CASset=min
MALLOC_len=1
bootargs_root=root=/dev/nfs rw
bootargs_end=:::orion:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
ethmtu=1500
eth1addr=00:50:43:5a:1a:2d
eth1mtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
iomega=123
nandEcc=1bit
ethprime=egiga0
ethact=egiga0
ipaddr=192.168.100.97
serverip=192.168.100.91
arcNumber=1682
uboot_start=0x0
uboot_size=0xc0000
env_start=0xa0000
env_size=0x20000
kernel_start=0x100000
kernel_size=0x300000
initrd_start=0x540000
initrd_size=0x300000
bootcmd=run flash_load
flash_load=run make_boot_args load1 load2 boot
load1=nand read.e 0x2000000 $(kernel_start) $(kernel_size)
load2=nand read.e 0x4500000 $(initrd_start) $(initrd_size)
boot=bootm 0x2000000 0x4500000
krn=run a b c
rd=run d e f
a=tftp 0x2000000 zImage
b=nand erase $(kernel_start) $(kernel_size)
c=nand write.e 0x2000000 $(kernel_start) $(kernel_size)
d=tftp 0x4500000 initrd
e=nand erase $(initrd_start) $(initrd_size)
f=nand write.e 0x4500000 $(initrd_start) $(initrd_size)
flashall=run krn rd
ethaddr=00:D0:B8:0D:0E:C7
make_bootsetenv=make_boot_args setenv bootargs console=ttyS0,115200 mtdparts=orion_nand:;setenv bootargs $(bootargs)$(uboot_size)@$(uboot_start)(uboot),;setenv bootargs $(bootargs)$(env_size)@$(env_start)(env),;setenv bootargs $(bootargs)$(kernel_size)@$(kernel_start)(zImage),;setenv bootargs $(bootargs)$(initrd_size)@$(initrd_start)(initrd),;setenv bootargs
bootargs=setenv bootargs console=ttyS0,115200
boot_starsetenv=boot_start 0x980000
boot_sizesetenv=boot_size 0x1f400000
MAPOWERENV=Ver. 1.1.25 English
make_boot_args=setenv bootargs console=ttyS0,115200 mtdparts=orion_nand:;setenv bootargs $(bootargs)$(uboot_size)@$(uboot_start)(uboot),;setenv bootargs $(bootargs)$(env_size)@$(env_start)(env),;setenv bootargs $(bootargs)$(kernel_size)@$(kernel_start)(zImage),;setenv bootargs $(bootargs)$(initrd_size)@$(initrd_start)(initrd),;setenv bootargs $(bootargs)$(boot_size)@$(boot_start)(boot)
boot_start=0x980000
boot_size=0x1f400000
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=yes
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=3
disaMvPnp=no
hddPowerCtrl=no
enaAutoRecovery=yes
pcieTune=no

Environment size: 2802/131068 bytes

Links

Product page http://go.iomega.com/en/products/network-storage-desktop/wireless-data-station/network-hard-drive-iconnect/?partner=4710

Installing Debian http://www.kroonen.eu/wiki/Install%20Debian


 
     
© 1999 - 2018 ScriptKiller
Impressum | Sitemap
Bei der Nutzung dieser Webseite werden IP-Adressen und Informationen über verwendete Browser in Logfiles gespeichert. Mit der Nutzung erkennen Sie diese Tatsache an.