Welcome! Log In Create A New Profile

Advanced

Restore original u-boot on Pogoplug-E02 that has Doozan chained mtd3 u-boot

Posted by armless 
Restore original u-boot on Pogoplug-E02 that has Doozan chained mtd3 u-boot
May 15, 2016 07:54PM
Hi folks

I have a Pogoplug-E02 here that I used to run Debian on from a USB HDD. At the time I followed Jeff's guide to install a chainloaded newer U-boot on mtd3.

The Pogoplug has been sitting unused for a while as the HDD died.

Now I want to install OpenWRT on following their guide (see "https://wiki.openwrt.org/toh/cloudengines/pogoplug";).

I have not yet decided whether to use their mtd0 u-boot or to chain-load - their guide covers both situations.

However before I start I wanted to return the Pogoplug back to its original U-boot (without the Doozan one first). I have a console cable and so I powered up the Pogoplug to have a look at its current state. Attached is what I saw - the initial Doozan U-Boot, its "printenv" output then, then the chainload original U-boot and its "printenv" output.

So how should I proceed? Just follow the notes in the "Old: Restore old uBoot on mtd0" section of this doc "http://projects.doozan.com/uboot/";? Do I just need to restore the original u-boot and nothing else? what about u-boot variable settings, I assume they will need fixed afterwards.

BTW I have obscured the real MAC address and cesvcid (pogoplug's unique id?) in the console output.

Thanks in advance for help



Edited 1 time(s). Last edit at 06/24/2016 07:17AM by armless.
Attachments:
open | download - pogo-uboot.txt (6.2 KB)
Re: Restore original u-boot on Pogoplug-E02 that has Doozan chained mtd3 u-boot
May 15, 2016 10:34PM
armless,

You are running Jeff's u-boot image circa 2010, booting USB rootfs. You are not really chainloading anything normally. Except if you unplug the USB drive then it will chainload the stock u-boot to boot back to stock.
pogo_bootcmd=if fsload uboot-original-mtd0.kwb; then go 0x800200; fi

To restore stock u-boot, just flash the uboot-original-mtd0.kwb to mtd0. That's it. The original envs are in the 1st 1MB (mtd0). See this thread for simlimar instruction to flash it: http://forum.doozan.com/read.php?3,12381

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Restore original u-boot on Pogoplug-E02 that has Doozan chained mtd3 u-boot
June 24, 2016 07:18AM
Thanks Bodhi

I restored the stock u-boot fine, now having problem with the 2nd stage OpenWRT u-boot - I'll post separately about that.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: