[Resolved] Problem restoring Pogoplug pro to factory blparam

This forum is for all other ARMv5 devices

[Resolved] Problem restoring Pogoplug pro to factory blparam

Postby Hatter » Fri Sep 23, 2011 10:37 am

First of all, I will admit to having verry little experience with linux. I've installed archlinux, but temporarily wish to revert to the standard pogoplug pro software.

I downloaded the oxnas-revert.sh to /tmp/ and attempted to execute it but receive the following error:

$this->bbcode_second_pass_code('', 'ABORTING!!! Cannot locate blparam
=================================
/usr/local/cloudengines/bin/blparam must exist
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[root@Plug tmp]# /usr/local/cloudengines/bin/blparam must exist')

I know enough to tell that isn't great :oops:

Any able to help with fixing this?
Last edited by Hatter on Fri Sep 23, 2011 4:17 pm, edited 1 time in total.
Just enough to be a danger!
Hatter
 
Posts: 6
Joined: Fri Sep 23, 2011 10:02 am

Re: Problem restoring Pogoplug pro to factory

Postby WarheadsSE » Fri Sep 23, 2011 12:34 pm

2 things here:
- those files are missing, so we'll have to grab them off the nand
- I really should make a "switch between" script.. The oxnas-revert assumes you want to entirely remove it.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Problem restoring Pogoplug pro to factory

Postby Hatter » Fri Sep 23, 2011 12:39 pm

I did look at get the files from the pogo plug site, but it looked more than a little beyond me.

A change script would also be nice, but if you could run grabbing the files off the NAND by me first I'd apprciate it.

Thanks
Last edited by Hatter on Fri Sep 23, 2011 12:52 pm, edited 1 time in total.
Just enough to be a danger!
Hatter
 
Posts: 6
Joined: Fri Sep 23, 2011 10:02 am

Re: Problem restoring Pogoplug pro to factory

Postby WarheadsSE » Fri Sep 23, 2011 12:43 pm

Grabbing the files off nand.. yeah, that should be script-able too. It's documented somewhere here in the forums.

Grab bag of scripts I need to do when I get time:
- re-grab files from NAND when not present after installation (or re-installation)
- revert-to-pogo (minus removing our kernel from NAND, and saving config)
- back-to-alarm (from saved config)
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Problem restoring Pogoplug pro to factory

Postby Hatter » Fri Sep 23, 2011 1:41 pm

I'm having troubble finding the documentation on the nand on the forum, it might be my newb-ness though.
Just enough to be a danger!
Hatter
 
Posts: 6
Joined: Fri Sep 23, 2011 10:02 am

Re: Problem restoring Pogoplug pro to factory

Postby WarheadsSE » Fri Sep 23, 2011 2:14 pm

let me summarize the bits that are around the forum into one complete sequence:
$this->bbcode_second_pass_code('', '
# premake the destination
mkdir -p /usr/local/cloudengines/bin
# make tmp mountpoint
mkdir /tmp/ce
# mount NAND fs.
mount -t ubifs -o ro ubi0:rootfs /tmp/ce
# copy what we need
cp /tmp/ce/usr/local/cloudengines/bin/blparam /usr/local/cloudengines/bin/
cp /tmp/ce/usr/local/cloudengines/bin/xce.ko /usr/local/cloudengines/bin/
cp /tmp/ce/usr/sbin/nandwrite /usr/local/cloudengines/bin/
cp /tmp/ce/usr/sbin/flash_erase /usr/local/cloudengines/bin/
# unmount
umount /tmp/ce
# DONE.
')
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Problem restoring Pogoplug pro to factory

Postby Hatter » Fri Sep 23, 2011 2:16 pm

Thankyou. I tried the search tool, but the strings were too short. Will give it a go...
Just enough to be a danger!
Hatter
 
Posts: 6
Joined: Fri Sep 23, 2011 10:02 am

Re: Problem restoring Pogoplug pro to factory

Postby WarheadsSE » Fri Sep 23, 2011 2:18 pm

Again.. that's how to get the files back.. but you might want to not use *all* of the oxnas-revert script.. aka, skip the kernel erasing bits.

Oh, and record your current settings.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Problem restoring Pogoplug pro to factory

Postby Hatter » Fri Sep 23, 2011 2:34 pm

Sorry:

$this->bbcode_second_pass_code('', 'mount: unknown filesystem type 'ubidf'')

I feel like the problem child!
Just enough to be a danger!
Hatter
 
Posts: 6
Joined: Fri Sep 23, 2011 10:02 am

Re: Problem restoring Pogoplug pro to factory

Postby WarheadsSE » Fri Sep 23, 2011 2:45 pm

Lol.. typo..
should read ubifs (fixing in original)
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Next

Return to Community Supported

Who is online

Users browsing this forum: No registered users and 3 guests