[Pogoplug v4-a1-01] will not boot 2TB drive

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

[Pogoplug v4-a1-01] will not boot 2TB drive

Postby rickgtx » Thu Jul 17, 2014 5:38 pm

I installed ALARM according to http://archlinuxarm.org/platforms/armv5/pogoplug-series-4 on 300GB and 500GB drives using a 8 GB partition for the OS and other partitions for data. They work fine without a problem.

I have a 8 GB partition on a WD 2TB drive with ALARM installed via a desktop linux machine. My Pogoplug V2 E02 boots the 2TB drive fine but the Pogoplug Mobile just flashing green.

Do I need to use a different uboot than the one in the instructions? I see there is a SD boot option but I do not need that.

Thanks for any pointers!
rickgtx
 
Posts: 7
Joined: Thu Jul 17, 2014 5:23 pm

Re: [Pogoplug v4-a1-01] will not boot 2TB drive

Postby WarheadsSE » Thu Jul 17, 2014 6:45 pm

What type of partition table does this 2TB drive have?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [Pogoplug v4-a1-01] will not boot 2TB drive

Postby rickgtx » Thu Jul 17, 2014 8:55 pm

I'm not sure if this answers your question. I remember seeing a MSDOS partition table being created.

From the Pogo Mobile OS fdisk:
$this->bbcode_second_pass_code('', '
/tmp # mount /dev/sda1 alarm
/tmp # /sbin/fdisk -l /dev/sda

Disk /dev/sda: 2000.3 GB, 2000396746752 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 997 8008371 83 Linux
')

From my desktop linux fdisk:

$this->bbcode_second_pass_code('', '
~$ sudo fdisk -l /dev/sdf

Disk /dev/sdf: 2000.4 GB, 2000396746752 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907024896 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00072a70

Device Boot Start End Blocks Id System
/dev/sdf1 63 16016804 8008371 83 Linux
')
rickgtx
 
Posts: 7
Joined: Thu Jul 17, 2014 5:23 pm

Re: [Pogoplug v4-a1-01] will not boot 2TB drive

Postby rickgtx » Thu Jul 24, 2014 6:50 pm

Update:

Seems to be a timing issue. I can get the WD 2TB drive to boot by plugging the USB connector into another computer then into the Pogoplug Mobile while the drive is still flashing. Then I power on the Pogoplug Mobile. A reboot from the Pogoplug Mobile still does not boot the drive.

Any hints on how to give the drive a "kick" during boot up.
I expect my TTL-USB cable to arrive in a week or so and then I'll provide more details.

Thanks
rickgtx
 
Posts: 7
Joined: Thu Jul 17, 2014 5:23 pm

Re: [Pogoplug v4-a1-01] will not boot 2TB drive

Postby grayman4hire » Thu Jul 24, 2014 10:39 pm

Try a "usb start; usb stop; usb start" like the below.

$this->bbcode_second_pass_code('', '
fw_setenv bootcmd "usb start; usb stop; usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run rescue_bootcmd; run pogo_bootcmd; reset"
')

I'm a little confused by this statement "From the Pogo Mobile OS fdisk:". How are you booting into the Pogo Mobile OS since if you followed the instructions for flashing the PogoPlug Series 4/Mobile, you lose the ability to boot into the PogoPlug OS?
grayman4hire
 
Posts: 350
Joined: Sat Sep 29, 2012 12:03 am
Location: SF, CA

Re: [Pogoplug v4-a1-01] will not boot 2TB drive

Postby rickgtx » Fri Jul 25, 2014 12:18 am

$this->bbcode_second_pass_quote('', 'I')'m a little confused by this statement "From the Pogo Mobile OS fdisk:"

I used the revert folder to go back to the original OS. I cleared and recreated the partitions the installed arch linux to see if that was the problem.

Thanks that looks like something I like to try, but those uboot commands do not seem to work:
$this->bbcode_second_pass_code('', '[root@pogoplugx ~]# fw_printenv
Cannot parse config file: Invalid argument
')

This is what I got from blparam:
(I got blparam from installing pogoplug service http://archlinuxarm.org/forum/viewtopic.php?f=18&t=3343)
$this->bbcode_second_pass_code('', '[root@pogoplugx ~]# /usr/local/cloudengines/bin/blparam
. . .
mainlineLinux=yes
bootcmd=if usb start; then run alarm_boot; else nand read 0x800000 0x100000 0x73d0c; go 0x800000; fi
alarm_boot=ide reset; run alarm_revert; if ide part 0; then run alarm_ide; else setenv isDisk no; fi; run alarm_usb
alarm_revert=if fatls usb 0:1 /revert; then setenv mainlineLinux no; setenv arcNumber; setenv bootcmd run boot_nand; saveenv; reset; fi
alarm_args=setenv bootargs console=ttyS0,115200 root=$device rootwait rootfstype=ext3
alarm_which=if test $isDisk = yes; then setenv device /dev/sdb1; else setenv device /dev/sda1; fi
alarm_ide=if ext2load ide 0:1 0x800000 /boot/uImage; then setenv device /dev/sda1; run alarm_args; bootm 0x800000; else setenv isDisk yes; fi
alarm_usb=if ext2load usb 0:1 0x800000 /boot/uImage; then run alarm_which; run alarm_args; bootm 0x800000; fi
')

It not clear to me what to change.

Thanks again!
rickgtx
 
Posts: 7
Joined: Thu Jul 17, 2014 5:23 pm

Re: [Pogoplug v4-a1-01] will not boot 2TB drive

Postby grayman4hire » Fri Jul 25, 2014 5:27 am

$this->bbcode_second_pass_quote('rickgtx', '
')I used the revert folder to go back to the original OS. I cleared and recreated the partitions the installed arch linux to see if that was the problem.


Thanks for the clarification.

You can try the following. I take no responsibility if somehow your pogoplug doesn't boot anymore (recoverable via serial console)
$this->bbcode_second_pass_code('', '
/usr/local/cloudengines/bin/blparam bootcmd='usb start; usb stop; if usb start; then run alarm_boot; else nand read 0x800000 0x100000 0x73d0c; go 0x800000; fi'
')
grayman4hire
 
Posts: 350
Joined: Sat Sep 29, 2012 12:03 am
Location: SF, CA

Re: [Pogoplug v4-a1-01] will not boot 2TB drive

Postby rickgtx » Fri Jul 25, 2014 3:07 pm

Thanks but it did not work. As I feared, it does not boot anything now. The Pogoplug Mobile flashes continously and the drive goes into standby and never comes out.
I'll try the new uboot from bodhi when my cable arrives. Not to worry, it is my $9 test Pogoplug Mobile from buy.com. I have another.

Warning, DO NOT use:
$this->bbcode_second_pass_code('', '/usr/local/cloudengines/bin/blparam bootcmd='usb start; usb stop; if usb start; then run alarm_boot; else nand read 0x800000 0x100000 0x73d0c; go 0x800000; fi'
')
rickgtx
 
Posts: 7
Joined: Thu Jul 17, 2014 5:23 pm

Re: [Pogoplug v4-a1-01] will not boot 2TB drive

Postby rickgtx » Fri Aug 01, 2014 3:30 pm

Final update.

My TTL-USB cable arrived and I was able to repair my bootcmd. However, why the WD 2TB drive does not boot with the Arch u-boot was not resolved.

The only difference for a successful boot and a failed one is the USB device being found. The serial console shows:
(Re)start USB...
USB: scanning bus for devices... 2 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
[Boots fine]
..... vs.
(Re)start USB...
USB: scanning bus for devices... 1 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
0 Storage Device(s) found
[Flashing green]


This is a problem only with the Arch u-boot. Bodhi's new u-boot works fine as shown below:
http://blog.qnology.com/2014/07/hacking-pogoplug-v4-series-4-and-mobile.html
U-Boot 2014.07-tld-1 (Jul 18 2014 - 00:59:45)
Pogoplug V4
...
(Re)start USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
scanning usb for storage devices...
EHCI timed out on TD - token=0x82008d80
EHCI timed out on TD - token=0x128d80
EHCI timed out on TD - token=0x2008d80
1 Storage Device(s) found
Last edited by rickgtx on Sat Aug 02, 2014 2:45 pm, edited 1 time in total.
rickgtx
 
Posts: 7
Joined: Thu Jul 17, 2014 5:23 pm

Re: [Pogoplug v4-a1-01] will not boot 2TB drive

Postby grayman4hire » Fri Aug 01, 2014 4:46 pm

Glad to hear you got your Pogoplug back up and running. I felt bad for given you bad info :(

Sounds like you resolved the issue using bodhi's mainline uBoot.
grayman4hire
 
Posts: 350
Joined: Sat Sep 29, 2012 12:03 am
Location: SF, CA


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 7 guests