Help! Looks like my uboot is messed up

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

Help! Looks like my uboot is messed up

Postby dips0502 » Fri Sep 19, 2014 4:03 pm

I am unable to get my Seagate GoFlex Home to boot up. I see the green LED flashing, but it gets no IP address. I lset up the listener nc -lu -p 6666 and I can see that it doesnt get past the uboot. The last I see is:
Loading Kernel Image ... OK
OK

Starting kernel ...

And nothing thereafter. This is the full output from uboot:

$this->bbcode_second_pass_code('', '
root@kali:~# nc -lu -p 6666

U-Boot 2010.09 (Feb 16 2011 - 18:44:23)
UBIT v0.6 by Jeff Doozan and Peter Carmichael
(Re)start USB...
USB: Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 1 USB Device(s) found
scanning bus for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 0
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:fast", error -19
Error reading superblock on volume 'ubi:fast'!
UBIFS not mounted, use ubifs mount to mount volume first!
** Block device usb 0 not supported
** Block device usb 0 not supported

** Invalid boot device **

** Invalid boot device **
** Block device usb 1 not supported
** Block device usb 1 not supported

** Invalid boot device **

** Invalid boot device **
** Block device usb 2 not supported
** Block device usb 2 not supported

** Invalid boot device **

** Invalid boot device **
** Block device usb 3 not supported
** Block device usb 3 not supported

** Invalid boot device **

** Invalid boot device **

Reset IDE: Bus 0: OK Bus 1: not available
Device 0: Model: ST2000DL001-9VT156 Firm: CC96 Ser#: 5YD0QP8P
Type: Hard Disk
Supports 48-bit addressing
Capacity: 1907729.0 MB = 1863.0 GB (-387938128 x 512)
Loading file "/boot/uImage" from ide device 0:1 (hda1)
3124168 bytes read
Loading file "/uInitrd" from ide device 0:1 (hda1)
** File not found /uInitrd
Loading file "/boot/uInitrd" from ide device 0:1 (hda1)
** File not found /boot/uInitrd
## Booting kernel from Legacy Image at 00680000 ...
Image Name: Linux-3.1.10-34-ARCH
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3124104 Bytes = 3 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel .
')

I know something is not right. But I cant figure out what. Please suggest. I can interrupt the uboot and get to the Marvell> prompt. I did try to update the uboot some days back and it failed. I dont really remember what it said when it failed, but it was booting even after that. Now all of a sudden, it refues to boot up.

Thanks.
dips0502
 
Posts: 22
Joined: Sat Jul 26, 2014 5:20 pm

Re: Help! Looks like my uboot is messed up

Postby moonman » Fri Sep 19, 2014 10:08 pm

I see no problem here. Do you have kernel netconsole output? Likely your u-boot is fine and something happened to rootfs. You can still reinstall.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Help! Looks like my uboot is messed up

Postby dips0502 » Fri Sep 19, 2014 10:47 pm

I get no output from the kernel. I am listening for everything on UDP 6666 [listener nc -lu -p 6666]. This should catch uboot, kernal and dhcp, right?
dips0502
 
Posts: 22
Joined: Sat Jul 26, 2014 5:20 pm

Re: Help! Looks like my uboot is messed up

Postby moonman » Fri Sep 19, 2014 11:02 pm

The ip is different: http://archlinuxarm.org/platforms/armv5 ... s-ui-tabs3

You need to be running *nix, alias your IP with the ones from the table and listen on the aliased interfaces.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Help! Looks like my uboot is messed up

Postby dips0502 » Fri Sep 19, 2014 11:21 pm

When I do that I get "invalid connection to [10.10.10.5] from (UNKNOWN) [10.10.10.6] 6666" on all 3 interfaces.
dips0502
 
Posts: 22
Joined: Sat Jul 26, 2014 5:20 pm

Re: Help! Looks like my uboot is messed up

Postby dips0502 » Sat Sep 20, 2014 4:46 am

I followed this http://archlinuxarm.org/forum/viewtopic.php?f=18&t=3312&p=19207#p19200 guide and tried to boot of a USB pen drive.

I am getting similar results -

$this->bbcode_second_pass_code('', '
root@kali:~# nc -lu -p 6666

U-Boot 2010.09 (Feb 16 2011 - 18:44:23)
UBIT v0.6 by Jeff Doozan and Peter Carmichael
(Re)start USB...
USB: Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 2 USB Device(s) found
scanning bus for storage devices... 1 Storage Device(s) found
Hit any key to stop autoboot: 0
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:fast", error -19
Error reading superblock on volume 'ubi:fast'!
UBIFS not mounted, use ubifs mount to mount volume first!
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
3124168 bytes read
Loading file "/uInitrd" from usb device 0:1 (usbda1)
** File not found /uInitrd
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
** File not found /boot/uInitrd
## Booting kernel from Legacy Image at 00680000 ...
Image Name: Linux-3.1.10-34-ARCH
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3124104 Bytes = 3 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...

')
dips0502
 
Posts: 22
Joined: Sat Jul 26, 2014 5:20 pm

Re: Help! Looks like my uboot is messed up

Postby moonman » Sat Sep 20, 2014 5:52 am

Did you create aliases for the ethernet interface?

I am not seeing anything wrong with your netconsole output. It stops where it should. Reboot your router and/or power cycle the switch if there is any in between your router and GF. Check your router dhcp table, your device may be getting a different ip address this time.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Help! Looks like my uboot is messed up

Postby dips0502 » Sat Sep 20, 2014 7:10 am

I did set the interface. When I listen on the specific IP addresses I get this- "invalid connection to [10.10.10.5] from (UNKNOWN) [10.10.10.6] 6666" on all 3 interfaces. Its not a DHCP issue. I can be sure that we can isolate DHCP not being the issue.
dips0502
 
Posts: 22
Joined: Sat Jul 26, 2014 5:20 pm

Re: Help! Looks like my uboot is messed up

Postby dips0502 » Sat Sep 20, 2014 9:38 am

If it helps, here is my printenv output -
$this->bbcode_second_pass_code('', '
Marvell>> printenv
printenv
bootcmd=run fast_boot; run usb_boot; run hd_boot; run ubi_boot
bootdelay=3
baudrate=115200
ide_start=ide reset
ubi_start=ubi part root
usb_start=usb start
nc_test=ping $ncip
nc_start=setenv stdin nc; setenv stdout nc; setenv stderr nc; version
silent_boot=run silent_rd ubi_args ubi_fallback
fast_boot=run fast_rd ubi_args ubi_fallback
usb_boot=for scan in 0 1 2 3; do run usb_args_$scan ext2_kern ext2_boot; run ext2_rd ubi_fallback; run fat_kern fat_boot; run fat_rd ubi_fallback;done
usb_args_0=boot_dev='usb 0:1'; dev_args='root=/dev/sda1 rootdelay=10'
usb_args_1=boot_dev='usb 1:1'; dev_args='root=/dev/sdb1 rootdelay=10'
usb_args_2=boot_dev='usb 2:1'; dev_args='root=/dev/sdc1 rootdelay=10'
usb_args_3=boot_dev='usb 3:1'; dev_args='root=/dev/sdd1 rootdelay=10'
hd_boot=run ide_start; for scan in 0 1; do run hd_args_$scan ext2_kern ext2_boot; run ext2_rd ubi_fallback; run fat_kern fat_boot; run fat_rd ubi_fallback; done
')
dips0502
 
Posts: 22
Joined: Sat Jul 26, 2014 5:20 pm

Re: Help! Looks like my uboot is messed up

Postby moonman » Sat Sep 20, 2014 2:30 pm

You need to get netconsole working for the kernel or get a serial adapter. If you are on arch try a different netcat (there are bsd and gnu ones in repos). As far as i can see so far everything is good.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Next

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 5 guests