Welcome! Log In Create A New Profile

Advanced

Request: rootfs for Goflex Net very old uBoot

Posted by audiocrush 
Request: rootfs for Goflex Net very old uBoot
October 08, 2016 11:12PM
Hi there,

does anybody have an idea how I can sort this out?
I have an old Goflex Net with uBoot version 2011.12 (Apr 18 2012 ...)
With no rescue system installed an I really can't manage to make this thing boot anything.

Could someone point me in the right direction?
In uboot console I can't even ext2ls my usb drive. If tried formatting partition 1 in ext2 and ext3. It always tells me block device 0:0 0 not supported.
I've also tried it with a sata drive, no difference there.

thank you in advance

audiocrush
Re: Request: rootfs for Goflex Net very old uBoot
October 09, 2016 03:16AM
audiocrush Wrote:
-------------------------------------------------------
> Hi there,
>
> does anybody have an idea how I can sort this
> out?
> I have an old Goflex Net with uBoot version
> 2011.12 (Apr 18 2012 ...)
> With no rescue system installed an I really can't
> manage to make this thing boot anything.
>
> Could someone point me in the right direction?
> In uboot console I can't even ext2ls my usb drive.
> If tried formatting partition 1 in ext2 and ext3.
> It always tells me block device 0:0 0 not
> supported.
> I've also tried it with a sata drive, no
> difference there.
>
> thank you in advance
>
> audiocrush

That u-boot is old but not that old.

Interrupt serial/net console and get the listing of
version
help
printenv

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Request: rootfs for Goflex Net very old uBoot
October 09, 2016 04:59PM
As I said... this thing is reeeeeeeally old. I can't even remember when I got it.

I have a newer one that is currently running a relatively recent 3.3.2 Kernel based rootfs. But that one I bought in 2015 I guess.
Attachments:
open | download - help.tiff (362.4 KB)
open | download - printenv.tiff (259 KB)
open | download - Version.tiff (72.1 KB)
Re: Request: rootfs for Goflex Net very old uBoot
October 09, 2016 05:15PM
audiocrush,

> As I said... this thing is reeeeeeeally old. I
> can't even remember when I got it.
>

It is not that old. The installed u-boot should be working perfectly. All your logs showed a good setup and there is notthing wrong.

So my conclusion: your USB drive is no good. Try using a different one, such as a Sandisk brand USB flash drive. Format a single partition type Ext3. Untar the Debian 4.4 rootfs according to the instruction in:

http://forum.doozan.com/read.php?2,12096

Then power up, interrupt u-boot console at countdown, and

usb start

See if it is recognized.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Request: rootfs for Goflex Net very old uBoot
October 09, 2016 05:50PM
Hi,

I attached a screenshot of what it acually says when I try to boot from usb.
It is able to load uinitrd but something is wrong with it.
I have also tried different versions.
Attachments:
open | download - wrong_image.tiff (209.8 KB)
Re: Request: rootfs for Goflex Net very old uBoot
October 09, 2016 06:55PM
Please post all the log files you have in text format, not screenshot. I need to to be able search the text.

open | download - help.tiff (362.4 KB)
open | download - printenv.tiff (259 KB)
open | download - Version.tiff (72.1 KB)
open | download - wrong_image.tiff (209.8 KB)

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Request: rootfs for Goflex Net very old uBoot
October 10, 2016 07:39AM
Ok,
so here is the error:
U-Boot 2011.12 (Apr 18 2012 - 23:08:20)
Seagate GoFlexNet

SoC:   Kirkwood 88F6281_A1
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0
(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
## Error: "force_rescue_bootcmd" not defined
## Error: "ubifs_bootcmd" not defined
stopping USB..
(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
(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
## Error: "usb_set_bootargs" not defined
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
6362802 bytes read
Wrong Image Format for bootm command
ERROR: can't get kernel image!
stopping USB..
## Error: "usb_set_bootargs" not defined

Reset IDE: ide_preinit failed
** Bad partition 1 **
** Bad partition 1 **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
## Error: "rescue_bootcmd" not defined
## Error: "pogo_bootcmd" not defined
resetting ...

And here are my envs:
GoFlexNet> printenv
arcNumber=3089
baudrate=115200
bootcmd=usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run sata_bootcmd; run rescue_bootcmd; run pogo_bootcmd; reset
bootcmd_pogo=run bootcmd_rescue
bootcmd_rescue=run set_bootargs_rescue; nand read.e 0x800000 0x100000 0x400000; bootm 0x800000
bootcmd_usb=run usb_init; run usb_load_uimage; run set_bootargs_usb; run usb_boot;
bootdelay=3
console=ttyS0,115200
ethact=egiga0
ethaddr=00:10:75:26:8B:DB
fileaddr=2000000
filesize=380000
ipaddr=10.0.1.12
led_error=orange blinking
led_exit=green off
led_init=green blinking
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
partition=nand0,2
sata_boot=ide reset; mw 0x800000 0 1; ext2load ide 0:1 0x800000 /boot/uImage; if ext2load ide 0:1 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
sata_bootcmd=run usb_set_bootargs; run sata_boot
serverip=10.0.1.51
set_bootargs_rescue=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts
set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts
stderr=serial
stdin=serial
stdout=serial
usb_boot=if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000;else bootm 0x800000;fi;
usb_bootcmd=run usb_init; setenv usb_root LABEL=rootfs; run usb_set_bootargs; run usb_boot
usb_device=0:1
usb_init=usb stop; usb start; usb start
usb_load_uimage=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage
usb_root=/dev/sda1
usb_rootdelay=10
usb_rootfstype=ext2

Environment size: 1712/131068 bytes
GoFlexNet>

*edit*
yaaaay I fixed it.
Seems like my bootargs were the problem. also my "usb_boot" env was broken. I had to add run usb_load_uimage then it worked :)



Edited 1 time(s). Last edit at 10/10/2016 08:58AM by audiocrush.
Re: Request: rootfs for Goflex Net very old uBoot
October 10, 2016 02:35PM
Cool! now you should install new u-boot and new default envs.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
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: