gaplant (PogoPlug V4)
Summary
TODO
Notes
- 3.3V Serial
Hardware
Make | Cloud Engines |
Year | 2011 |
Model | PogoPlug V4 |
Chassis | PogoPlug |
Power Supply | 12V DC |
Processor | Kirkwood 88F6281 SoC |
Feroceon 88FR131 | |
Memory | 128MB SDRAM |
Ports | USB A 2.0 |
RJ-45 LAN | |
DB-9 Serial (modded, 3.3V) | |
Storage | 128MB NAND |
Display | |
Int. Peripherals | |
Ext. Peripherals | |
Dimensions | |
Length/Depth | |
Width | |
Height/Thickness | |
Weight | kg (lbs oz) |
Software
Operating System | |
Unique applications |
Links
- [[][]]
Log
A modern u-boot
According to this doozan thread the V4 could load u-boot over serial.
First trouble was getting the serial port to work. I punched a hole in the case and wired in a DB-9. Went to boot and could only get gibberish no matter the baud (online posts indicated 115200 though). Finally figured it might be 3.3V so I searched and it was. Most sites neglected to mention it for some reason. I probably wouldn't have bothered with the DB-9 since I don't have a 3.3V serial adapter with that connector. Perhaps I can stick a level shifter in there later to make it useful. Continuing with a proper 3.3V adapter:
I tried loading a u-boot image with kwboot, but it just booted the onboard image. I think I missed a flag, but anyway on to building a modern u-boot.
sudo apt install gcc-10-arm-linux-gnueabi git clone https://github.com/u-boot/u-boot cd u-boot export CROSS_COMPILE=arm-linux-gnueabi- make pogo_v4_defconfig make
Then use kwboot (from u-boot-tools) to serial boot the board.
kwboot -t -B 115200 /dev/ttyUSB0 -b u-boot.kwb -p
Sending boot message. Please reboot the target...\ Sending boot image... 0 % [......................................................................] ... 98 % [..............................................................] [Type Ctrl-\ + c to quit] U-Boot 2022.07-rc5-00034-g05dcb5be50 (Jun 29 2022 - 20:59:11 -0500) Pogoplug V4 SoC: Kirkwood 88F6281_A1 Model: Cloud Engines PogoPlug Series 4 DRAM: 128 MiB Core: 15 devices, 13 uclasses, devicetree: separate NAND: 128 MiB MMC: mvsdio@90000: 0 Loading Environment from NAND... *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial pcie0.0: Link down Net: Warning: ethernet-controller@72000 (eth0) using random MAC address - fa:ke:ma:ca:dd:rs eth0: ethernet-controller@72000 Hit any key to stop autoboot: 0 starting USB... Bus ehci@50000: USB EHCI 1.00 scanning bus ehci@50000 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found ** Bad device specification usb 0 ** Couldn't find partition usb 0:1 Can't set block device ** Bad device specification usb 0 ** Couldn't find partition usb 0:1 Can't set block device ** Bad device specification usb 0 ** Couldn't find partition usb 0:1 Can't set block device Wrong Image Format for bootm command ERROR: can't get kernel image! Pogo_V4>
So we have a working u-boot, but it's not installed to NAND. I haven't been able to boot a kernel yet.
Lets boot something
First thing we need is a rootfs. debootstrap
makes this reasonably easy.
dpkg --add-architecture armel apt update mkdir armel_stable_chroot qemu-debootstrap --arch=armel stable armel_stable_chroot http://deb.debian.org/debian/
This gives us a basic Debian rootfs without a kernel.
Then …
TODO