Welcome! Log In Create A New Profile

Advanced

Rescue V2.8.2 : many enhancements + full kernel support for GoFlexNet/Home, Zyxel NSA3x0 and many others

Posted by davygravy 
Excellent update. Just finished updating a couple of GFH devices with no issue. Was by far the easiest way to partition a 3TB drive for Arch. I tried several times attaching to Ubuntu. Booted to the rescue system and work first time. Rescue uses an older version of GPT fdisk. Could this be the reason I had no issues?
Would this work with PogopLug Pro? Can anyone please point me to where I can update/upgrade uboot and kernel for pogoplug Pro and to where I can install debian wheezy? I'm new and I have been lurking for a couple of days before I registered and I couldn't find about the kernel/uboot upgrade or how to get wheezy.
Noob question:

Device: Pogoplug E02 arcNumber 3542


I first installed this:

http://rolandsoft.blogspot.com/2013/02/installing-debian-wheezy-for.html
Quote

2. Install Arch Linux or some other Linux derivative, boot from that, login and:
Install Rescue system (this replaces the Pogoplug partition with a powerful rescue system.

cd /tmp
wget http://jeff.doozan.com/debian/rescue/install_rescue.sh
chmod +x install_rescue.sh
./install_rescue.sh

Without any usb attached it boots into rescue, uname -a shows kernel "linux debian 3.3.2".
Later i found it is actually "Rescue System v2" from here: http://forum.doozan.com/read.php?4,3896 .
Previous os it was something debian (or pogo stock fw) on nand and with this operation i managed to erase it.


After that i installed "Rescue V2.8.2" http://forum.doozan.com/read.php?4,7915,page=1

What is the my problem/question ?

c/p from "Rescue V2.8.2" page:
Quote

USAGE NOTES:
0. Booting into the Rescue System: from within netconsole or serial, execute the following:
run bootcmd_rescue

I don't have serial cable, netconsole only works one way (ie from pogo to my pc; my interaction where it says "press any key to stop booting... with 10s counter" produced zero success), and if doesn't boot into "Rescue V2.8.2" it must be "rescue v2" ? So now i have 2 rescue systems installed and it automatically boots into "Rescue System v2" ?

I tested netconsole response on win and linux os.



But if i look script for v2 and instructions for v2.8.2 i see both mtd1,2 are flashed & formated, thus having both rescue systems is a contradiction (assuming i have done "instructions" for v2.8.2 somehow wrong).


v2
http://projects.doozan.com/rescue/install_rescue.sh
Quote

$FLASH_ERASEALL /dev/mtd1
$NANDWRITE /dev/mtd1 $UIMAGE_MTD1

$FLASH_ERASEALL /dev/mtd2
$UBIFORMAT /dev/mtd2 -s 512 -f $ROOTFS_MTD2 -y

vs

v2.8.2
Quote

flash_eraseall /dev/mtd1
nandwrite /dev/mtd1 uImage-mtd1.img


flash_eraseall /dev/mtd2
ubiformat /dev/mtd2 -s 512 -f rootfs-mtd2.img -y


3rd possibility is that i don't understand usage notes for rescue v2.8.2 correctly.



Edited 4 time(s). Last edit at 01/23/2014 03:44PM by jst818.
I just installed 2.8.2 on my Pogoplug E02. I was able to successfuly boot into rescue via netconsole.
I was able to get Rescue system 2.8.2 working on a Pogoplug V4, here are the steps that I followed for those interested. :)

I modified the mtdparts so that the original mtd1 and mtd2 were merged as a single 6M mtd1. The rescue system's kernel was 3.5 MB and was not fitting in the original mtd1. Other than the below changes everything worked out of the box. Even Pogo V4s arcNumber and machtype were accepted by the rescue system. :)

I am using @bodhi's uBoot for Pogo V4

fw_setenv mtdparts 'mtdparts=orion_nand:2M(u-boot),6M(uImage),8M(failsafe),112M(root)'
fw_setenv set_bootargs_rescue 'setenv bootargs console=$console ubi.mtd=3 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts'
fw_setenv bootcmd_rescue 'run set_bootargs_rescue; nand read.e 0x800000 0x200000 0x400000; bootm 0x800000'
fw_setenv bootcmd 'run bootcmd_usb; run bootcmd_mmc; run bootcmd_sata; run bootcmd_rescue; reset'


flash_eraseall /dev/mtd1
nandwrite /dev/mtd1 uImage-mtd1.img

flash_eraseall /dev/mtd3
ubiformat /dev/mtd3 -s 512 -f rootfs-mtd2.img -y



Edited 1 time(s). Last edit at 08/21/2014 03:08AM by varkey.
Has this been tested on V4 yet? My v4 doesn't seem to want to boot its internal flash any more anyway, so I guess I'm ready to test.
hyperlogos Wrote:
-------------------------------------------------------
> Has this been tested on V4 yet? My v4 doesn't seem
> to want to boot its internal flash any more
> anyway, so I guess I'm ready to test.

Yes, works fine on my V4.
can this be used to restore the original pogoplug firmware on an e02?
the mtdblock partitions were wiped and no backup exists.
n64 Wrote:
-------------------------------------------------------
> can this be used to restore the original pogoplug
> firmware on an e02?
> the mtdblock partitions were wiped and no backup
> exists.

No. It is an rescue system to be installed in the same NAND space as the orginial OS was.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
is there a newer version than 2.8.2? or is this pretty much it?
Does the Rescue system work on NSA325V2?
So I downloaded and ran the process for:

(or for V2.8.2 use this link : https://dl.dropbox.com/u/1015928/Kirkwood/rescue/RescueV2.8.2-10292012.tar.gz == but change commands for flashing accordingly !)

now I am getting ready to build using:

mkdir rescuebuilddir
cd rescuebuilddir
wget http://buildroot.uclibc.org/downloads/buildroot-2010.08.tar.gz
tar zxf buildroot-2010.08.tar.gz
wget http://dl.dropbox.com/u/1015928/Kirkwood/rescue/rescue-V2.8-applyto-buildroot2010.08.patch
cd buildroot-2010.08
patch -p1 < ../rescue-V2.8-applyto-buildroot2010.08.patch
wget http://dl.dropbox.com/u/1015928/Kirkwood/rescue/custom-RescueV2.8.1.tar.gz
tar zxf custom-RescueV2.8.1.tar.gz
cp custom/buildroot-config .config
make

Is there a custom-RescueV2.8.2.tar.gz to go with V2.8.2 or do I still use custom-RescueV2.8.1.tar.gz as linked?

Thanks
feas,

davygravy has not updated or responded to question about this rescue system for a long time. This thread basically dead, so you're on your own here. I don't use this rescue system (or any other rescue system except Jeffs V2) so can't be of help.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
thanks, it compiled with some errors so I will see about the other.
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: