Ich entleihe mir hier von Alexander Holler mal die Pin-Belegung des Pin-Headers im Seagate FreeAgent DockStar:
9 7 5 3 1 10 8 6 4 2 RX TX GND 3.3V!
Hintergrund: Ich versuche nun dann doch, mal über dokumentierte Wege den DockStar zu einem Multi-Purpose-Gerät zu machen:
[...] bash-3.2# ./pogo_u-boot_install.sh Ready? Press ENTER to start, CTRL-C to quit! Downloading new bootloader and verifying it... Writing new bootloader... Setting new boot configuration... What device are you installing on? Type only the number of your device and pres. 1. Pogoplug v1 - Brick 2. Pogoplug v2 - Pink 3. DockStar 3 Writing DockStar Bootloader... Installation is complete. Continue by installing Plugbox Linux to a USB drive. Reboot with '/sbin/reboot/' when you are ready. Your LED will be red, organge, or off completely when booting Plugbox. Just in case you chose the wrong device, just re-run the installer.
… allerdings noch mit meinem eigenen uImage:
bash-3.2# /sbin/reboot The system is going down NOW! Sending SIGTERM to all processes Requesting system reboot [ 615.770000] md: stopping all md devices. [ 616.770000] Restarting system. [ 616.770000] Reseting !! U-Boot 1.1.4 (Jul 16 2009 - 21:02:16) Cloud Engines (3.4.16) U-Boot code: 00600000 -> 0067FFF0 BSS: -> 00690D60 Soc: 88F6281 A0 (DDR2) CPU running @ 1200Mhz L2 running @ 400Mhz SysClock = 400Mhz , TClock = 200Mhz DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6 DRAM CS[0] base 0x00000000 size 128MB DRAM Total size 128MB 16bit width Flash: 0 kB Addresses 8M - 0M are saved for the U-Boot usage. Mem malloc Initialization (8M - 7M): Done NAND:256 MB CPU : Marvell Feroceon (Rev 1) CLOUD ENGINES BOARD: REDSTONE:1.0 Streaming disabled Write allocate disabled USB 0: host mode PEX 0: interface detected no Link. Net: egiga0 [PRIME], egiga1 Hit any key to stop autoboot: 0 Saving Environment to NAND... Erasing Nand...Writing to Nand... done NAND read: device 0 offset 0x2500000, size 0x40000 Reading data from 0x253f800 – 100% complete. 262144 bytes read: OK ## Starting application at 0x00C00000 ... U-Boot 2009.11-00432-g1650ec9-dirty (Mar 07 2010 - 22:13:20) PlugApps Pogoplug SoC: Kirkwood 88F6281_A0 DRAM: 128 MB NAND: 256 MiB Using default environment In: serial Out: serial Err: serial Net: egiga0 88E1116 Initialized on egiga0 Hit any key to stop autoboot: 0 (Re)start USB... USB: Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 3 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found Loading file "/boot/uImage" from usb device 0:1 (usbda1) ** File not found /boot/uImage ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-2.6.22.18 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1976384 Bytes = 1.9 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux.............................................................
WTF? Ah, super; mein sda1 ist /boot und sieht so aus:
-sh-3.2# ls -la /tmp/.cemnt/mnt_sda1 drwxr-xr-x 4 root root 1024 Mar 8 2010 . drwxr-xr-x 4 root root 160 Jan 1 00:00 .. drwxr-xr-x 2 root root 1024 Jan 1 00:00 .cedata -rw-r--r-- 1 root root 30 Mar 8 2010 .ceid drwx------ 2 root root 12288 Mar 8 2010 lost+found -rwxr-xr-x 1 root root 262144 Mar 8 2010 u-boot.bin.pagesize -rw-r--r-- 1 1000 1000 2421824 Mar 8 2010 uImage
Hachja. mit »cd /tmp/.cemnt/mnt_sda1; ln -s . boot« also nochmal probieren ;)
USB 0: host mode PEX 0: interface detected no Link. Net: egiga0 [PRIME], egiga1 Hit any key to stop autoboot: 0 Saving Environment to NAND... Erasing Nand...Writing to Nand... done NAND read: device 0 offset 0x100000, size 0x300000 Reading data from 0x3ff800 – 100% complete. 3145728 bytes read: OK ## Booting image at 00800000 ... Image Name: Linux-2.6.22.18 Created: 2009-08-31 23:31:05 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1976384 Bytes = 1.9 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK OK Starting kernel ... Uncompressing Linux............................................................. [ 0.000000] Linux version 2.6.22.18 (bdietrich@brad-ux) (gcc version 4.2.1) 9 [ 0.000000] CPU: ARM926EJ-S [56251311] revision 1 (ARMv5TE), cr=00053177 [ 0.000000] Machine: Feroceon-KW [ 0.000000] Using UBoot passing parameters structure [...] [ 18.270000] XCE: BLPARAMS: reading 2048 bytes @ a1800 [ 23.630000] XCE: XCE: LED -> CONNECTED [ 26.570000] kjournald starting. Commit interval 5 seconds [ 26.710000] EXT3 FS on sda2, internal journal [ 26.710000] EXT3-fs: recovery complete. [ 26.890000] EXT3-fs: mounted filesystem with ordered data mode. Sending discover... Sending select for 192.168.5.243... Lease of 192.168.5.243 obtained, lease time 21600 HWADDR 00 0x10 0x75 0x1a 0x72 0x0d PIP0 114 PIP1 13 eth0 Link encap:Ethernet HWaddr 00:10:75:00:00:00 inet addr:192.168.5.243 Bcast:192.168.5.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2 errors:0 dropped:0 overruns:0 frame:0 TX packets:2 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:532 RX bytes:702 (702.0 B) TX bytes:1180 (1.1 KiB) Interrupt:11 eth0:0 Link encap:Ethernet HWaddr 00:10:75:00:00:00 inet addr:169.254.114.13 Bcast:169.254.255.255 Mask:255.255.0.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:11 Loading fs modules: Success Loading tun.ko: Success Loading xce.ko: Success Starting hbplug: Success starting pid 361, tty '': '/bin/sh' [...] -sh-3.2# df -h Filesystem Size Used Available Use% Mounted on /dev/mtdblock2 32.0M 16.9M 15.1M 53% / /dev/sda1 10.4M 2.7M 7.5M 26% /new_root none 61.6M 12.0k 61.5M 0% /tmp /tmp/.cemnt/sda1 10.4M 2.7M 7.5M 26% /tmp/.cemnt/mnt_sda1 /tmp/.cemnt/sda2 763.3M 312.9M 434.9M 42% /tmp/.cemnt/mnt_sda2 -sh-3.2# ls -la /new_root/ drwxr-xr-x 4 root root 1024 Jan 1 00:02 . drwxr-xr-x 15 root root 0 Jan 1 1970 .. drwxr-xr-x 2 root root 1024 Jan 1 00:00 .cedata -rw-r--r-- 1 root root 30 Mar 8 2010 .ceid lrwxrwxrwx 1 root root 4 Jan 1 00:02 boot -> . drwx------ 2 root root 12288 Mar 8 2010 lost+found -rwxr-xr-x 1 root root 262144 Mar 8 2010 u-boot.bin.pagesize -rw-r--r-- 1 1000 1000 2421824 Mar 8 2010 uImage
Naja, noch nicht ganz das, was es werden sollte, aber immerhin, es bootet schon mal wieder durch in ein Linux ;)




