Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

Pogoplug Mobile Debian Install (12 replies)

$
0
0
I'm in the process of installing Debian on a Pogoplug mobile running the stock OS. I'm trying to get all my ducks in a row with complete instructions before I jump in. I'm cross referencing Bodhi's threads for rootfs and uboot with Qui Hong's old guides on qnology.com.

I'm interested in retaining the stock Pogoplug OS as a backup system in case my rootfs USB or SD card fails and I'm wondering if Qui's instructions still hold up considering I'm using the newest rootfs and uboot files from Bodhi.The instructions are here. The concept is "Chain Loading" the original stock uboot. Will this work?

Boot default Pogoplug OS when USB/SD Card not attached

Note that this section only works on a new unmodified Pogoplug. It assumes the command are all executed from within the default Pogoplug OS and not from Arch Linux or Debian.

If you previously installed the uBoot from archlinuxarm.org and/or already running ALARM or Debian, use these instructions instead - Pogoplug v4 - Add option to boot default Pogoplug OS when USB/SD Card is Not Attached.

To boot the default Pogoplug OS, we will need to chain load the original (dockstar) uboot which we'll download and store on the internal flash. The boot order will be USB, MMC/SD, SATA (Series 4 only) and then last, the original uBoot which will then load the default Pogoplug OS.

Don't forget that you'll need to activate the Pogoplug on my.pogoplug.com if you plan on SSHing into the default Pogoplug OS.

#remount '/' as read/write
mount -o remount,rw /

#download original uboot
cd /
wget http://download.doozan.com/uboot/files/uboot/uboot.mtd0.dockstar.original.kwb

#update boot order to include pogoplug OS
/tmp/fw_setenv bootcmd 'run bootcmd_usb; run bootcmd_mmc; run bootcmd_sata; run bootcmd_pogo; reset'

#chain load original uboot
/tmp/fw_setenv bootcmd_pogo 'if ubi part root 2048 && ubifsmount ubi:rootfs && ubifsload 0x800000 uboot.mtd0.dockstar.original.kwb ; then go 0x800200; fi'

Viewing all articles
Browse latest Browse all 3247

Trending Articles