Booting from SATA worked, now what?

This forum is for all other ARMv5 devices

Booting from SATA worked, now what?

Postby DerHexer » Fri Mar 30, 2012 9:57 pm

Hi there,

I got a "bricked"/"unbootable" PogoPlug Pro off of ebay.
The led on the front didn't light up and only the green network-led was working together with some blinking of the orange network-led. No ssh or network-connection could be established. My router didn't recognize any pogoplug.
I don't know what the previous owner did with the device but I got this info from "history":
$this->bbcode_second_pass_code('', '[root@alarm /]# history
1 ls
2 source /etc/profile
3 ls
4 nano /etc/profile
5 ping google.com.
6 echo "nameserver 8.8.8.8" > /etc/resolv.conf
7 nano /etc/pacman.conf
8 pacman -Syu
9 pacman -Syu
10 exit
11 ls /dev
12 hostname
13 modprobe oxnas-led
14 cat /etc/rc.d/set-oxnas-mac
15 modprobe oxnas-led
16 modprobe -a
17 modprobe
18 modprobe -h
19 modprobe -a `uname -r`
20 ls /lib/module
21 depmod -a
22 modprobe oxnas-led
23 proled green
24 clear
25 lsusb
26 cd /etc
27 ls
28 ls rc.d
29 ls rc.d/functions.d
30 nano rc.d/functions
31 ls
32 ls rc.*
33 nano rc.sysinit
34 nano rc.shutdown
35 cd ..
36 pacman -Syu
37 shutdown -h -t 0 now
38 cat /etc/resolv.conf
39 ls
40 exit
41 pacman -Scc
42 exit
')

After endless hours I was able to prepare a sata-hdd and get it to boot the pogoplug into the alarm os. Internet-connection is also available and the led on the front is green.
If I remove the sata-hdd and reboot, everything is dead again. Nothing happens.

I tried to fix it for the last six hours but wasn't successful.
"pacman -Sy udev-oxnas" didn't help, "oxnas-install.sh" failed due to missing nandwrite,etc. files and setenvs doesn't work either.

oxnas-revert.sh shows this:
$this->bbcode_second_pass_code('', '#############################
##
## Pogoplug Pro/V3/Video
## Arch Linux ARM to Stock Revert
##
#############################
##
## For use with OXNAS 7820 only.
##
#############################
## PREPARATION
# Switching to /tmp...
# Ensuring we're ready to proceed...
# Preparing our way...
# Getting uboot parameters...
# Checking board revision...
# = board :
# = load_nand : nboot 60500000 0 200000
# = bootargs_stock :
# = bootcmd : run boot_custom
# Setting up uboot parameters
#
# Checking uboot parameters...
# = bootargs :
# = bootargs_stock :
# = load_custom_nand :
# = boot_custom :
# = bootcmd :
#
#############################
## Looks good!')

Can anybody help me with this situation? I would like to get rid of the sata and just be able to boot it the normal way.
Thank you very much in advance. I'm nearly giving up after reading nearly the whole forum :-/
DerHexer
 
Posts: 5
Joined: Fri Mar 30, 2012 9:44 pm

Re: Booting from SATA worked, now what?

Postby WarheadsSE » Fri Mar 30, 2012 11:30 pm

TBH at the moment, you're at the point where the NAND has to be completely restored, because whatever the F that last person did, destroyed the hell out of it.

Right now, there have been some successes, as documented in the appropriate thread, but there have also been some failures.

Fact to face at this particular point: The stock file system from Cloud Engines is like as FUBAR as the rest of the NAND. Re-instating MTD1 will get you u-boot & kernel, to be able to boot usb. Either way, I suggest keeping a serial handy.

It's not bricked, it just no longer de-modifiable because it's internal storage has been destroyed. You'll need to get that fixed, and then you're good.

Persist. You've made it this far with nary a post. Well done, from me to you.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Booting from SATA worked, now what?

Postby DerHexer » Sat Mar 31, 2012 8:55 am

$this->bbcode_second_pass_quote('WarheadsSE', '
')Right now, there have been some successes, as documented in the appropriate thread, but there have also been some failures.

Is there any thread regarding this testings? I wasn't able to find them. Or are these independent threads all over the forum?

$this->bbcode_second_pass_quote('WarheadsSE', '
')Re-instating MTD1 will get you u-boot & kernel, to be able to boot usb. Either way, I suggest keeping a serial handy.

Can you point me to a thread about that? Even though I have the feeling I totally memorized the forum up and down, I haven't found an instruction for the pro including the appropriate files.
The serial-cable is on its way to me. Though I hoped I wouldn't need it.

$this->bbcode_second_pass_quote('WarheadsSE', '
')You'll need to get that fixed, and then you're good.

I assume this is done by the method mentioned above?

$this->bbcode_second_pass_quote('WarheadsSE', '
')Persist. You've made it this far with nary a post. Well done, from me to you.

Thanks, as mentioned before, I have the feeling I read the complete forum 3 times. Took me really a lot of time to get to this point. I just want to use the pogo as a cheap AirPrint-server for my grandmother's iPad :-( Didn't think it would be this hard. (The ebay seller told me it had connection issues now and then, but he didn't tell me he totally blew it...)


Btw: just a quick improvement to your sata-instructions: You should stress more, that the partitioning part is talking about the first sector at 2048. I overread it three times before reading about it in a following post. Otherwise a great tutorial.
DerHexer
 
Posts: 5
Joined: Fri Mar 30, 2012 9:44 pm
Top

Re: Booting from SATA worked, now what?

Postby DerHexer » Wed Apr 04, 2012 6:19 pm

So I got my CA-42 cable and was able to get it working.
When booting from SATA I can see all the details showing in putty. Just like you would expect.
So testing showed, the cable is working as intended. Keystrokes were also possible. So a quick login was also successful.

Then I rebooted the pogoplug pro without the sata-cable attached.

But to my surprise:
NOTHING was shown via putty. Not a single character. :shock:

Rebooted again with the SATA attached: the boot-process was shown in all its glory.

What's wrong with the pogo? I'm totally helpless. I at least expected something to show up and debug.
Can anybody provide me with any help? Please!
DerHexer
 
Posts: 5
Joined: Fri Mar 30, 2012 9:44 pm

Re: Booting from SATA worked, now what?

Postby WarheadsSE » Wed Apr 04, 2012 6:28 pm

Your NAND is empty, apparently.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Booting from SATA worked, now what?

Postby DerHexer » Wed Apr 04, 2012 6:31 pm

Where do I get a working one? And what would be the way to fix this?
I cannot believe that I have come this far and now i'm stuck :-/
DerHexer
 
Posts: 5
Joined: Fri Mar 30, 2012 9:44 pm

Re: Booting from SATA worked, now what?

Postby WarheadsSE » Wed Apr 04, 2012 6:33 pm

You're as stuck as you were before. Fixing it will be as simple as an appropriate nandwrite with the correct files.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Booting from SATA worked, now what?

Postby DerHexer » Wed Apr 04, 2012 6:39 pm

I know that you tell people to search for themselves and I honestly have done this with all my previously problems. But I have never come across a thread where there was the NAND of a pogoplug pro offered.
So I would like to ask very very kindly, if somebody can help me with this matter. I'm ok if you just show me a thread where I can find everything I need to know (and all files). But as I said before, I do not tend to bother other people if I'm able to find the solution by myself. But know I'm totally in need of help from somebody else.
DerHexer
 
Posts: 5
Joined: Fri Mar 30, 2012 9:44 pm

Re: Booting from SATA worked, now what?

Postby WarheadsSE » Wed Apr 04, 2012 7:24 pm

He found it ;)

However, it appears that while the stage1 & uboot work, some portion of the bootargs was lost.

See this post for the image.
See the install page for bootargs_stock values that should make up bootargs
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Booting from SATA worked, now what?

Postby Philoo » Wed Apr 04, 2012 7:37 pm

dowload the oxnas-install.sh and oxnas-revert.sh files.

look for flash_erase, nanddump, nandwrite and ubi0:rootfs

that should give you the info you need for the kernel locations (it's copied twice) and rootfs.

I'm clueless regarding how to get the info about uboot.

anyway there have been strong and repeated warnings NOT TO DO IT !!!. Whatever happens it's on you.

One last thing, it's called a NAND for a reason, it means that (among other things) when you write on it what is actually retained depends on both what was stored before and what you actually copy. So you better be sure everything is zero'ed first.
using flash_erase is a safer way to go, but it dramatically speeds up the wear of the nand. So really make sure everything is as you want it to be before you start flashing stuff.
Philoo
 
Posts: 102
Joined: Wed Aug 10, 2011 9:20 pm


Return to Community Supported

Who is online

Users browsing this forum: No registered users and 4 guests