Getting error trying to install uboot on pogoplug V4 - already flash erased..help

Getting error trying to install uboot on pogoplug V4 - already flash erased..help


november17 PM ]
Getting error trying to install uboot on pogoplug V4 - already flash erased..help 
November 27, 2016 10:02AM
Hello! 

I initially had a pogoplug that I had used the Qnology guide to install uboot about a year and a half ago, it worked great. Unfortunately, the pogo had an accident so I bought a new one (Pogoplug Mobile V4-A1-01). After trying to get SSH access and realizing I couldn't anymore, I bought a USB->TTL converter and wired it up and PuTTYed into it. Unfortunately, quickly into the process I realized Qnology's download links are no longer valid so I went ahead and started using the guide that is pinned at top of this page. Unfortunately it is not working and I think it may be related to it being a fresh flash? I'm not sure exactly what is going on but I keep getting an error. Namely: 

/tmp # tar -xf uboot.2016.05-tld-1.pogo_v4.bod
tar: invalid tar magic

Just some background, I'm completely Linux-tarded and terminal-tarded and kept noodling around with it, unzipped in windows then somehow managed to WGET the untarred file over to the TMP folder (at least, I thought I did). 

/tmp # /tmp/flash_erase /dev/mtd0 0 4
Erase Total 4 Units
Performing Flash Erase of length 131072 at offset 0x60000 done
/tmp # /tmp/nandwrite /dev/mtd0 /tmp/uboot.2016.05-tld-1.pogo_v4.mtd0.kwb
Input file is not page-aligned. Use the padding option.
Data was only partially written due to error
: Success

Now getting the above error. I'm not sure exactly what I did wrong. I do think what happened was I was unsuccessful in getting the proper file over to the Pogo but I have no clue how to do it with terminal. I can't figure out how to WGET from my windows based computer, dropbox, or any of the other solutions I've tried (e.g. my router based NAS, any of the web based mirrors I've found.) 

That's where I'm at and now I'm afraid to close the COM session or reboot my Pogo since I flash erased the POGO at this point. Hopefully my power doesn't go out or something. If anyone can help me or point me in the direction I need to go, it would be greatly appreciated. I tried reading over the directions in the pinned folder as carefully as possible but again, I'm linux-tarded and I don't think I did it right (I even had to google how to delete stuff in the linux terminal).
bodhi PM ]
Re: Getting error trying to install uboot on pogoplug V4 - already flash erased..help 
November 27, 2016 04:46PM
november17, 


> Now getting the above error. I'm not sure exactly 
> what I did wrong. I do think what happened was I 
> was unsuccessful in getting the proper file over 
> to the Pogo but I have no clue how to do it with 
> terminal. 

From your post, I assume that you are inside Pogo OS at /tmp ? 

Try: 

uname -a
ping 8.8.8.8

If you can get to the net from there with ping 8.8.8.8 then I can upload the files here in the forum for you to retrieve with wget. 

And you are right not to reboot, just let it run like this so you can fix the error.

-bodhi 
=========================== 
Wiki 
latest Kirkwood kernel builds and rootfs 
latest u-boot-kirkwood builds 
latest Oxnas kernel builds and rootfs 
latest u-boot-oxnas builds 
U-Boot & Kernel Booting process 
bodhi's u-boot GitHub 
bodhi's corner



Edited 1 time(s). Last edit at 11/27/2016 04:49PM by bodhi.
november17 PM ]
Re: Getting error trying to install uboot on pogoplug V4 - already flash erased..help 
November 27, 2016 07:08PM
/tmp # uname -a
Linux PogoplugMobile 2.6.31.8 #4 Tue Aug 23 13:00:50 PDT 2011 armv5tel GNU/Linux
/tmp # ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: seq=0 ttl=46 time=15.129 ms
64 bytes from 8.8.8.8: seq=1 ttl=46 time=13.657 ms
64 bytes from 8.8.8.8: seq=2 ttl=46 time=13.139 ms
64 bytes from 8.8.8.8: seq=3 ttl=46 time=10.741 ms
64 bytes from 8.8.8.8: seq=4 ttl=46 time=11.041 ms
64 bytes from 8.8.8.8: seq=5 ttl=46 time=10.840 ms
64 bytes from 8.8.8.8: seq=6 ttl=46 time=11.581 ms
64 bytes from 8.8.8.8: seq=7 ttl=46 time=11.262 ms
64 bytes from 8.8.8.8: seq=8 ttl=46 time=10.791 ms
64 bytes from 8.8.8.8: seq=9 ttl=46 time=12.483 ms
64 bytes from 8.8.8.8: seq=10 ttl=46 time=11.928 ms

If you did that, I would be forever in your debt. I seriously spent 5 hours trying to solve this last night (that's half the fun of hacking things) but I'm finally to the end of my rope.



Edited 1 time(s). Last edit at 11/27/2016 07:11PM by november17.
bodhi PM ]
Re: Getting error trying to install uboot on pogoplug V4 - already flash erased..help 
November 27, 2016 09:04PM
november17 Wrote: 
------------------------------------------------------- 
>
> 
> /tmp # uname -a
> Linux PogoplugMobile 2.6.31.8 #4 Tue Aug 23
> 13:00:50 PDT 2011 armv5tel GNU/Linux
> /tmp # ping 8.8.8.8
> PING 8.8.8.8 (8.8.8.8): 56 data bytes
> 64 bytes from 8.8.8.8: seq=0 ttl=46 time=15.129
> ms
> 64 bytes from 8.8.8.8: seq=1 ttl=46 time=13.657
> ms
> 64 bytes from 8.8.8.8: seq=2 ttl=46 time=13.139
> ms
> 64 bytes from 8.8.8.8: seq=3 ttl=46 time=10.741
> ms
> 64 bytes from 8.8.8.8: seq=4 ttl=46 time=11.041
> ms
> 64 bytes from 8.8.8.8: seq=5 ttl=46 time=10.840
> ms
> 64 bytes from 8.8.8.8: seq=6 ttl=46 time=11.581
> ms
> 64 bytes from 8.8.8.8: seq=7 ttl=46 time=11.262
> ms
> 64 bytes from 8.8.8.8: seq=8 ttl=46 time=10.791
> ms
> 64 bytes from 8.8.8.8: seq=9 ttl=46 time=12.483
> ms
> 64 bytes from 8.8.8.8: seq=10 ttl=46 time=11.928
> ms
> 
>

> If you did that, I would be forever in your debt. 
> I seriously spent 5 hours trying to solve this 
> last night (that's half the fun of hacking things) 
> but I'm finally to the end of my rope. 

Ah, that's good. I'll upload the files when I can get to my server.

-bodhi 
=========================== 
Wiki 
latest Kirkwood kernel builds and rootfs 
latest u-boot-kirkwood builds 
latest Oxnas kernel builds and rootfs 
latest u-boot-oxnas builds 
U-Boot & Kernel Booting process 
bodhi's u-boot GitHub 
bodhi's corner
november17 PM ]
Re: Getting error trying to install uboot on pogoplug V4 - already flash erased..help 
November 27, 2016 10:10PM
Thank you so very very much. I really appreciate your assistance.
bodhi PM ]
Re: Getting error trying to install uboot on pogoplug V4 - already flash erased..help 
November 28, 2016 01:46AM
Here are the 2 tarballs. See if you can extract them. 

wget http://forum.doozan.com/file.php?3,file=1233,filename=uboot.2016.05-tld-1.pogo_v4.bodhi.tar,download=1
wget http://forum.doozan.com/file.php?3,file=1234,filename=uboot.2016.05-tld-1.environment.bodhi.tar,download=1

-bodhi 
=========================== 
Wiki 
latest Kirkwood kernel builds and rootfs 
latest u-boot-kirkwood builds 
latest Oxnas kernel builds and rootfs 
latest u-boot-oxnas builds 
U-Boot & Kernel Booting process 
bodhi's u-boot GitHub 
bodhi's corner



Edited 3 time(s). Last edit at 11/28/2016 01:48AM by bodhi.
Attachments:
open | download - uboot.2016.05-tld-1.pogo_v4.bodhi.tar (520 KB)
open | download - uboot.2016.05-tld-1.environment.bodhi.tar (200 KB)
november17 PM ]
Re: Getting error trying to install uboot on pogoplug V4 - already flash erased..help 
November 28, 2016 04:56PM
/tmp # tar -xf uboot.2016.05-tld-1.pogo_v4.bodhi.tar
tar: invalid tar magic

Same thing. I wonder if its because the unpacking software is outdated.

Quote
"When I was a little boy, I used to pray every night for a new bicycle. Then I realised, the Lord, in his wisdom, doesn't work that way. So I just stole one and asked Him to forgive me." - Emo Phillips

GitHub Profile
bodhi PM ]
Re: Getting error trying to install uboot on pogoplug V4 - already flash erased..help 
November 29, 2016 02:53AM
Here is the u-boot image.

-bodhi 
=========================== 
Wiki 
latest Kirkwood kernel builds and rootfs 
latest u-boot-kirkwood builds 
latest Oxnas kernel builds and rootfs 
latest u-boot-oxnas builds 
U-Boot & Kernel Booting process 
bodhi's u-boot GitHub 
bodhi's corner
Attachments:
open | download - uboot.2016.05-tld-1.pogo_v4.mtd0.kwb (512 KB)
bodhi PM ]
Re: Getting error trying to install uboot on pogoplug V4 - already flash erased..help 
November 29, 2016 03:03AM
I'm not sure why the forum kept rejecting when I attached the environment img file.

-bodhi 
=========================== 
Wiki 
latest Kirkwood kernel builds and rootfs 
latest u-boot-kirkwood builds 
latest Oxnas kernel builds and rootfs 
latest u-boot-oxnas builds 
U-Boot & Kernel Booting process 
bodhi's u-boot GitHub 
bodhi's corner
november17 PM ]
Re: Getting error trying to install uboot on pogoplug V4 - already flash erased..help 
November 29, 2016 05:00AM
/tmp # /tmp/nandwrite /dev/mtd0 /tmp/uboot.2016.05-tld-1.pogo_v4.mtd0.kwb
Input file is not page-aligned. Use the padding option.
Data was only partially written due to error
: Success
/tmp #

Gah. Same error using the file you provided. I think I need to restart from the top. I'm really wondering if its my own user error somehow. The saga continues tomorrow :) I may have some more questions I really hope you don't mind.

Quote
"When I was a little boy, I used to pray every night for a new bicycle. Then I realised, the Lord, in his wisdom, doesn't work that way. So I just stole one and asked Him to forgive me." - Emo Phillips

GitHub Profile



Edited 1 time(s). Last edit at 11/29/2016 05:10AM by november17.
bodhi PM ]
Re: Getting error trying to install uboot on pogoplug V4 - already flash erased..help 
November 29, 2016 05:54AM
november17, 

OK :) power down, power up, boot back into pogo OS as before, and go through whole u-boot installation procedure.

-bodhi 
=========================== 
Wiki 
latest Kirkwood kernel builds and rootfs 
latest u-boot-kirkwood builds 
latest Oxnas kernel builds and rootfs 
latest u-boot-oxnas builds 
U-Boot & Kernel Booting process 
bodhi's u-boot GitHub 
bodhi's corner



Edited 1 time(s). Last edit at 11/29/2016 05:54AM by bodhi.
november17 PM ]
Re: Getting error trying to install uboot on pogoplug V4 - already flash erased..help 
November 29, 2016 05:19PM
/tmp # ls -r
var
uboot.environment
uboot.2016.05-tld-1.pogo_v4.bodhi.tar
uboot.2016.05-tld-1.pogo_v4.bod
uboot.2014.07-tld-1.pogo_v4.bodhi.mtd0.kwb
resolv.conf
nandwrite
nanddump
hbplug.log
fw_setenv
fw_printenv
fw_env.config
flash_erase
file.php?3,file=1236,filename=uboot.2016.05-tld-1.pogo_v4.mtd0.kwb,download=1
file.php?3,file=1236,filename=uboot.2016.05-tld-1.pogo_v4.mtd0.kwb
file.php?3,file=1234,filename=uboot.2016.05-tld-1.environment.bodhi.tar,download=1
file.php?3,file=1233,filename=uboot.2016.05-tld-1.pogo_v4.bodhi.tar,download=1
/tmp #

No way I'm rebooting I cleared the flash. I figured out the problem I think ,though. I just needed to get some sleep. Linux is hard. lol. 
^^^ 

/tmp # /tmp/nandwrite /dev/mtd0 /tmp/file.php?3,file=1236,filename=uboot.2016.05
-tld-1.pogo_v4.mtd0.kwb
Writing data to block 0 at offset 0x0
Writing data to block 1 at offset 0x20000
Writing data to block 2 at offset 0x40000
Writing data to block 3 at offset 0x60000
/tmp #

Bingo, baby. Bingo. You're the man, Bodhi.

Quote
"When I was a little boy, I used to pray every night for a new bicycle. Then I realised, the Lord, in his wisdom, doesn't work that way. So I just stole one and asked Him to forgive me." - Emo Phillips

GitHub Profile



Edited 1 time(s). Last edit at 11/29/2016 05:22PM by november17.
bodhi PM ]
Re: Getting error trying to install uboot on pogoplug V4 - already flash erased..help 
November 29, 2016 07:20PM
november17 Wrote: 
------------------------------------------------------- 
>
> /tmp # ls -r
> var
> uboot.environment
> uboot.2016.05-tld-1.pogo_v4.bodhi.tar
> uboot.2016.05-tld-1.pogo_v4.bod
> uboot.2014.07-tld-1.pogo_v4.bodhi.mtd0.kwb
> resolv.conf
> nandwrite
> nanddump
> hbplug.log
> fw_setenv
> fw_printenv
> fw_env.config
> flash_erase
> file.php?3,file=1236,filename=uboot.2016.05-tld-1.
> pogo_v4.mtd0.kwb,download=1
> file.php?3,file=1236,filename=uboot.2016.05-tld-1.
> pogo_v4.mtd0.kwb
> file.php?3,file=1234,filename=uboot.2016.05-tld-1.
> environment.bodhi.tar,download=1
> file.php?3,file=1233,filename=uboot.2016.05-tld-1.
> pogo_v4.bodhi.tar,download=1
> /tmp #
> 
>

> No way I'm rebooting I cleared the flash. I 
> figured out the problem I think ,though. I just 
> needed to get some sleep. Linux is hard. lol. 
> ^^^ 

>
> 
> /tmp # /tmp/nandwrite /dev/mtd0
> /tmp/file.php?3,file=1236,filename=uboot.2016.05
> -tld-1.pogo_v4.mtd0.kwb
> Writing data to block 0 at offset 0x0
> Writing data to block 1 at offset 0x20000
> Writing data to block 2 at offset 0x40000
> Writing data to block 3 at offset 0x60000
> /tmp #
> 
>

> Bingo, baby. Bingo. You're the man, Bodhi. 

Cool! Now you can reboot and deal with the default envs after booted into Debian. Create USB rootfs and boot with it (because the internal default envs are set to boot with USB).

-bodhi 
=========================== 
Wiki 
latest Kirkwood kernel builds and rootfs 
latest u-boot-kirkwood builds 
latest Oxnas kernel builds and rootfs 
latest u-boot-oxnas builds 
U-Boot & Kernel Booting process 
bodhi's u-boot GitHub 
bodhi's corner
november17 PM ]
Re: Getting error trying to install uboot on pogoplug V4 - already flash erased..help 
November 30, 2016 04:57AM
U-Boot 2016.05-tld-1 (Jun 12 2016 - 13:41:47 -0700)
Pogoplug V4

I feel so accomplished :D

Quote
"When I was a little boy, I used to pray every night for a new bicycle. Then I realised, the Lord, in his wisdom, doesn't work that way. So I just stole one and asked Him to forgive me." - Emo Phillips

GitHub Profile



Edited 6 time(s). Last edit at 11/30/2016 05:39AM by november17.

Comments