Welcome! Log In Create A New Profile

Advanced

Unbrick a Pogoplug Pro (v3/OXNAS?)

Posted by maldridge 
Re: Unbrick a Pogoplug Pro (v3/OXNAS?)
October 19, 2018 08:58PM
Are there two sets of nand tools? pogoplug v3 and V4?
Re: Unbrick a Pogoplug Pro (v3/OXNAS?)
October 19, 2018 09:10PM
Chuck,

> chmod +x nanddump or nandwrite works fine but
> command not found when executing them.

I'm sure you know this and just forgot :) use full path to make sure the command is found, for example,

/media/usb/tools/nanddump

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Unbrick a Pogoplug Pro (v3/OXNAS?)
October 19, 2018 09:18PM
I tried executing the tools from root, from mounted usb, from ide. do they have to be executed from a specific location?

When I look at the directory where the tools are they are in yellow. after chmod +x they look the same.
Re: Unbrick a Pogoplug Pro (v3/OXNAS?)
October 19, 2018 09:31PM
I ran the e2fsck /dev/sdb1 says clean ran with -f and took longer. clean.
I can not figure out why they will not execute. Are the different for pogo pro than V4?

ps I can run fw_printenv. It was on the ready made boot disk but other nand tools are not there.



Edited 1 time(s). Last edit at 10/19/2018 09:44PM by Chuck99.
Re: Unbrick a Pogoplug Pro (v3/OXNAS?)
October 19, 2018 10:03PM
Chuck,

Quote

I can not figure out why they will not execute. Are the different for pogo pro than V4?

No difference, both boxes work with same armel binaries.

Since you are already in Debian, you do not need to use these downloaded binaries, you can install these from Debian repo.

apt-get install mtd-utils u-boot-tools

After that you can execute these binaries directly without needing ones from the downloaded tarball.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Unbrick a Pogoplug Pro (v3/OXNAS?)
October 19, 2018 10:16PM
That fixed the tools problem.
Now I just have to remember how to use them under debian.
I spend most of my time using nand.
any thread showing debian way of doing it. Than you!
Re: Unbrick a Pogoplug Pro (v3/OXNAS?)
October 19, 2018 10:36PM
Yes, the uboot release thread:
https://forum.doozan.com/read.php?3,16017

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Unbrick a Pogoplug Pro (v3/OXNAS?)
October 19, 2018 10:38PM
I will give it a try. I hope I can flash this nand back to normal but at least I have a working debian machine.
Re: Unbrick a Pogoplug Pro (v3/OXNAS?)
October 20, 2018 01:07AM
I know a long time ago you told me how to use dropbox files like 218c0bz to unpack them. Sorry I just cannot find it in my notes.
Re: Unbrick a Pogoplug Pro (v3/OXNAS?)
October 20, 2018 04:11AM
I don't remember anything about 218c0bz! what is it? is that a short link to some tarball?

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Unbrick a Pogoplug Pro (v3/OXNAS?)
October 20, 2018 09:17AM
Download U-Boot image at Dropbox:

uboot.2015.10-tld-2.ox820.bodhi.tar

Using wget get from dropbox. file that transfers is 218c0bz.

root@BadV3:~# wget https://bitly.com/2l8cObz



Edited 1 time(s). Last edit at 10/20/2018 09:26AM by Chuck99.
Re: Unbrick a Pogoplug Pro (v3/OXNAS?)
October 20, 2018 01:55PM
I just had to tar -xf the file. thanks
Re: Unbrick a Pogoplug Pro (v3/OXNAS?)
October 20, 2018 02:45PM
Thank you Bodhi, It's fixed. Boots from USB using same install from other V3 in my shop. Had only one problem during flashing. Fw_setenv ethaddr would not allow flashing so I reset with magic sata hard drive off and stopped at countdown. setenv ethaddr and it worked. back to working. Feels good to accomplish something at 72 years old and memory failure. 73, Chuck99
Re: Unbrick a Pogoplug Pro (v3/OXNAS?)
October 20, 2018 04:04PM
Chuck,

> Thank you Bodhi, It's fixed. Boots from USB using
> same install from other V3 in my shop. Had only
> one problem during flashing. Fw_setenv ethaddr
> would not allow flashing so I reset with magic
> sata hard drive off and stopped at countdown.
> setenv ethaddr and it worked. back to working.

Excellent! thanks for reminding me about that ethaddr. I've made sure all boxes can set ethaddr in Debian, but I recall this might be one that slips through the crack somehow.

> Feels good to accomplish something at 72 years old
> and memory failure

You are still pretty sharp, memory is something we can't do anything about :)

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Unbrick a Pogoplug Pro (v3/OXNAS?)
October 20, 2018 06:05PM
Hi Chuck,

Can you set ethaddr now in Debian with fw_setenv? for example, set it to a local MAC address, and set it back.

fw_printenv ethaddr   ### original ethaddr

fw_setenv ethaddr 72:96:41:7c:5f:93

then set it back to the orginal.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Unbrick a Pogoplug Pro (v3/OXNAS?)
October 20, 2018 08:42PM
Do you want me to try with the recovery data boot up or my normal USB system?
Re: Unbrick a Pogoplug Pro (v3/OXNAS?)
October 20, 2018 09:01PM
Chuck,

> Do you want me to try with the recovery data boot
> up or my normal USB system?

Normal USB rootfs.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Unbrick a Pogoplug Pro (v3/OXNAS?)
October 20, 2018 09:20PM
I did it with Debian 4.4.54. Works fine.
When it failed it was with the recovery SATA drive after doing the first boot update.

Can I get rid if the ethact= to get rid of the long boot time. w?4040000 ?



Edited 2 time(s). Last edit at 10/20/2018 10:03PM by Chuck99.
Re: Unbrick a Pogoplug Pro (v3/OXNAS?)
October 21, 2018 04:11PM
Chuck,

>
> Can I get rid if the ethact= to get rid of the
> long boot time. w?4040000 ?

That will disable network. What is your current envs? perhaps netconsole was set up and u-boot tries to find the network so it takes a long time?

Please post envs listing.
printenv

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Unbrick a Pogoplug Pro (v3/OXNAS?)
October 21, 2018 05:06PM
Here it is. Thanks
Attachments:
open | download - printenv.txt (2.7 KB)
Re: Unbrick a Pogoplug Pro (v3/OXNAS?)
October 21, 2018 05:13PM
preboot=run preboot_nc

Was for activating netconsole. Since you have serial console and can recover easily, you don't need netconsole.

In Debian, clear the preboot env.

fw_setenv preboot

It should boot faster, since u-boot will not be trying to find the netconsole server during boot.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Unbrick a Pogoplug Pro (v3/OXNAS?)
October 21, 2018 06:20PM
May I take out the next line too. preboot_nc?
Re: Unbrick a Pogoplug Pro (v3/OXNAS?)
October 21, 2018 07:39PM
Chuck99 Wrote:
-------------------------------------------------------
> May I take out the next line too. preboot_nc?

Sure.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Unbrick a Pogoplug Pro (v3/OXNAS?)
October 21, 2018 07:45PM
Much better now. I am trying to backup my 80 GB pogo pro HD to as small a file as possible to archive it. I tried to follow the instructions in the thread earlier with out success.
I don't understand all that fancy foot work with the " . & " on the end. any apps that make it simple?
Re: Unbrick a Pogoplug Pro (v3/OXNAS?)
October 21, 2018 11:33PM
Chuck,

> I tried to follow the instructions in
> the thread earlier with out success.
> I don't understand all that fancy foot work with
> the " . & " on the end. any apps that make it
> simple?

You meant the insruction in this post?

https://forum.doozan.com/read.php?2,12096,24034#msg-24034

Quote

This is how I created the rootfs tarball that was uploaded here.

Assuming you've taken the rootfs offline and mount it on another Linux box. It is mounted at /media/sdb1, and your main disk on that Linux box is mounted at /media/sda1.

cd to the rootfs top level directory and create a tarball, and name it my-rootfs, or whatever name is appropriate! It will take a long time, so run it as background task and measure the time. When it is done, you'll get the time statistics as an indication the task was completed and can see how long did it take as bonus:

Log in as root. Everything you'll do from this point has to be under root user account. Backing up by creating the rootfs tarball (my-rootfs.tar.bz2).

cd /media/sdb1
time tar -cjf /media/sda1/my-rootfs.tar.bz2 . &

To restore it later when needed, use the same command that I have in the instruction in the first post. For example:

cd /media/sdb1
tar -xjf /media/sda1/my-rootfs.tar.bz2

In the command below, . means current directory, & means run it in the background.

time tar -cjf /media/sda1/my-rootfs.tar.bz2  . &

This is the Linux way to: create a tarball, name it my-rootfs.tar.bz2, put it in /media/sda1/ drive. The tarball archives everything in the current directory and below. Run it in the backgorund so I can do other things while waiting. When it is done, report the time it took to the current console where I run it.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Unbrick a Pogoplug Pro (v3/OXNAS?)
October 23, 2018 01:38PM
Thank Bodhi, that worked great. I was reading the 4.4.54 rootfs and it says something about wifi in the Pro. Does that wifi driver only work in 3.17.x?
Re: Unbrick a Pogoplug Pro (v3/OXNAS?)
October 23, 2018 04:56PM
Chuck,

> Thank Bodhi, that worked great. I was reading the
> 4.4.54 rootfs and it says something about wifi in
> the Pro. Does that wifi driver only work in
> 3.17.x?

I've removed my Wifi card to test other mPCIe stuff and never put it back but I think it works in the latest kernel too.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Unbrick a Pogoplug Pro (v3/OXNAS?)
October 25, 2018 09:11PM
can someone tell me to get firmware-ralink? My Debian apt-get can not find it.
Re: Unbrick a Pogoplug Pro (v3/OXNAS?)
October 26, 2018 12:07AM
Hi Chuck,

Adjust your apt source.list

~# cat /etc/apt/sources.list
deb http://ftp.us.debian.org/debian stretch main contrib non-free
deb-src http://ftp.us.debian.org/debian stretch main contrib non-free

deb http://security.debian.org/ stretch/updates main contrib non-free
deb-src  http://security.debian.org/ stretch/updates main contrib non-free

deb  http://http.debian.net/debian stretch-updates main contrib non-free
deb-src http://http.debian.net/debian stretch-updates main contrib non-free

And

apt-get update
apt-get install firmware-misc-nonfree


EDIT: removed armhf, as it is not needed for normal case.

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 10/26/2018 01:33AM by bodhi.
Re: Unbrick a Pogoplug Pro (v3/OXNAS?)
October 26, 2018 09:21PM
It appears this is not going to be as easy as I thought. That got the driver installed but I don't know how to get hardware activated.
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: