Welcome! Log In Create A New Profile

Advanced

Replace Ubit v0.5 with Uboot and a good kernel for GoFlex Net

Posted by enki 
Replace Ubit v0.5 with Uboot and a good kernel for GoFlex Net
August 10, 2013 02:57PM
Hi Everyone,

I trust there are here people can help me. I rediscover my goflexnet bought in 2011 but I found that can get an IP from router's dhcp. I have tried several things but I gave up. I come back to experts.

Problem: it seems goflexnet is not boot completly a kernel from usb memory anymore. it can't get an IP. I think uboot is more flexibile and there is more documentation around about it so decided to replace ubit with it. All I have read it tells you how you do it from the linux running.

Solution: I am looking for your advice on how to replace ubit and boot a debian from goflexnet unit? It seems I need to get an SLC usb memory stick if I still want to use the usb drive to boot the linux from it.

I have a serial console working and ubit works so I can stop existing incomplete linux booting...

From serial console, a log with the ubit and 'printenv' details to give you an indication what we are dealing with.

I am looking forward for your help to restore this beauty back to life,

Have a good weekend,
ES.

------------------------------
UBIT v0.5
U-Boot 2010.09 (Feb 01 2011 - 02:45:30)
UBIT v0.5 for Seagate GoFlex Net by Peter Carmichael

SoC:   Kirkwood 88F6281_A0
DRAM:  128 MiB
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Creating 1 MTD partitions on "nand0":
0x000002500000-0x000010000000 : "mtd=3"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=3"
UBI: MTD device size:            219 MiB
UBI: number of good PEBs:        1748
UBI: number of bad PEBs:         4
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     3
UBI: available PEBs:             1522
UBI: total number of reserved PEBs: 226
UBI: number of PEBs reserved for bad PEB handling: 17
UBI: max/mean erase counter: 51/5
(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
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:silent", error -19
Error reading superblock on volume 'ubi:silent'!
UBIFS not mounted, use ubifs mount to mount volume first!
Using egiga0 device
ping failed; host 10.10.10.5 is not alive
Hit any key to stop autoboot:  3  2  0

------------------------------
environment
Marvell>> printenv
bootcmd=run fast_boot; run usb_boot; run hd_boot; run ubi_boot
bootdelay=3
baudrate=115200
nc_test=ping $ncip
nc_start=setenv stdin nc; setenv stdout nc; setenv stderr nc; version
silent_boot=run $ubi_args silent_rd ubi_fallback
fast_boot=run $ubi_args fast_rd ubi_fallback
usb_boot=run usb_args ext2_kern ext2_boot; run ext2_rd ubi_fallback; run fat_kern fat_boot; run fat_rd ubi_fallback
usb_args=setenv boot_dev usb 0:1; setenv dev_args root=/dev/sda1 rootdelay=10; run set_bootargs
hd_boot=ide reset; run hd_args ext2_kern ext2_boot; run ext2_rd ubi_fallback
hd_args=setenv boot_dev ide 0:1; setenv dev_args root=/dev/sda1; run set_bootargs
ubi_boot=run $ubi_args ubi_rd ubi_fallback
ubi_args=ubi_args_default
ubi_args_default=setenv dev_args ubi.mtd=root; run set_bootargs
ubi_args_tmpfs=setenv dev_args ubi.mtd=root rootfstype=tmpfs; run set_bootargs
chain=nand read.e 0x800000 0x480000 0x80000; go 0x800200
ethact=egiga0
console=ttyS0,115200
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(pogoplug),-(root)
set_bootargs=setenv bootargs console=$console $mtdparts $dev_args netconsole=@$ipaddr/eth0,@$ncipk/
ext2_kern=ext2load $boot_dev $addr_kern /boot/uImage
ext2_rd=ext2load $boot_dev $addr_rd /uInitrd
ext2_boot=run ext2_rd boot_rd; run boot_kern
fat_kern=fatload $boot_dev $addr_kern /boot/uImage
fat_rd=fatload $boot_dev $addr_rd /uInitrd
fat_boot=run fat_rd boot_rd; run boot_kern
ubi_kern=ubifsmount boot; ubifsload $addr_kern /boot/uImage
ubi_rd=ubifsmount ramdisk; ubifsload $addr_rd /uInitrd
ubi_fallback=run ubi_kern boot_rd
silent_rd=ubifsmount silent; ubifsload $addr_rd /uInitrd
fast_rd=ubifsmount fast; ubifsload $addr_rd /uInitrd
boot_kern=bootm $addr_kern
boot_rd=bootm $addr_kern $addr_rd
addr_kern=0x680000
addr_rd=0x1100000
ipaddr=10.10.10.6
ncip=10.10.10.5
ncipk=10.10.10.4
serverip=10.10.10.3
led_init=green blinking
led_exit=green off
led_error=orange blinking
preboot=ubi part root; usb start; run silent_boot; run nc_test nc_start
ethaddr=00:10:75:26:0f:4a
stdin=serial
stdout=serial
stderr=serial
partition=nand0,0
mtddevnum=0
mtddevname=u-boot
dev_args=ubi.mtd=root
bootargs=console=ttyS0,115200 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(pogoplug),-(root) ubi.mtd=root netconsole=@10.10.10.6/eth0,@10.10.10.4/

Environment size: 2280/131068 bytes


------------------------------
rootfs
Hit any key to stop autoboot:  3  2  1  0 
UBIFS: mounted UBI device 0, volume 2, name "fast"
UBIFS: mounted read-only
UBIFS: file system size:   2967552 bytes (2898 KiB, 2 MiB, 23 LEBs)
UBIFS: journal size:       1161217 bytes (1134 KiB, 1 MiB, 8 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: LZO
UBIFS: reserved for root:  0 bytes (0 KiB)
Loading file '/uInitrd' to addr 0x01100000 with size 2629543 (0x00281fa7)...
Done
UBIFS: mounted UBI device 0, volume 1, name "boot"
UBIFS: mounted read-only
UBIFS: file system size:   3354624 bytes (3276 KiB, 3 MiB, 26 LEBs)
UBIFS: journal size:       1161217 bytes (1134 KiB, 1 MiB, 8 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: LZO
UBIFS: reserved for root:  0 bytes (0 KiB)
Loading file '/boot/uImage' to addr 0x00680000 with size 2940876 (0x002cdfcc)...
Done
## Booting kernel from Legacy Image at 00680000 ...
   Image Name:   Linux-2.6.37-ubit-01711-g50c16ad
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2940812 Bytes = 2.8 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   UBIT-2010.11-00080-g45d63a5
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    2629479 Bytes = 2.5 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...



Edited 3 time(s). Last edit at 08/10/2013 03:29PM by enki.
Re: Replace Ubit v0.5 with Uboot and a good kernel for GoFlex Net
August 10, 2013 04:35PM
enki,

With the GoFlex Net, it is pretty safe to mess with uBoot, because you have UART booting:
http://forum.doozan.com/read.php?3,7852,7852

What I would do is:

1. Try to run the Squeeze installation again (see http://projects.doozan.com/debian/) and see if it will flash uBoot for you from the script. If it does, then you can use the new Squeeze rootfs, or your exiting rootfs to try booting. Or try a newer rootfs:
http://forum.doozan.com/read.php?2,12096

2. If the installation script did not go well. You can download Davy's uBoot and use UART booting to boot it:
http://forum.doozan.com/read.php?3,6965
After you booted with UART, then flash that version to mtd0. See the example in this thread also.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Replace Ubit v0.5 with Uboot and a good kernel for GoFlex Net
August 10, 2013 07:08PM
Hi bodhi,

Thank you for your fast answer.

I went down the upgrade the u-boot as described here (http://forum.doozan.com/read.php?3,6965). All Marvel commands returned 'ok' (tftpboot, nand erase, nand write.e).

logs from Marvell prompt:
Marvell>> ping 10.10.10.3
Using egiga0 device
host 10.10.10.3 is alive
Marvell>> tftpboot 0x800000 uboot.mrtd0.kwb-2011.12-goflexnet-L2Coff-IDEpatched.tar.gz
Using egiga0 device
TFTP from server 10.10.10.3; our IP address is 10.10.10.6
Filename 'uboot.mtd0.kwb-2011.12-goflexnet-L2Coff-IDEpatched.tar.gz'.
Load address: 0x800000
Loading: *##############
done
Bytes transferred = 200208 (30e10 hex)


Marvell>> nand erase 0x0 0x80000

NAND erase: device 0 offset 0x0, size 0x80000

Erasing at 0x0 --  25% complete.
Erasing at 0x20000 --  50% complete.
Erasing at 0x40000 --  75% complete.
Erasing at 0x60000 -- 100% complete.
OK
Marvell>> nand write.e 0x800000 0x0 0x80000

NAND write: device 0 offset 0x0, size 0x80000
 524288 bytes written: OK
Marvell>> reset
resetting ...

Here I was expecting to do the magic reset but NOTHING... I had the serial console all the time pluged-in and even the log stopped for 3mins. to resetting. Unsupplied and nothing comes up... not even the green led, nothing on serial console ;(((

what does this mean?

Regards,
ES.
Re: Replace Ubit v0.5 with Uboot and a good kernel for GoFlex Net
August 10, 2013 07:18PM
ES,

First try unplug the power, plug it in and watch serial console to see if it comes up. If it does not, then try UART booting (the first link).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Replace Ubit v0.5 with Uboot and a good kernel for GoFlex Net
August 10, 2013 08:02PM
Hi Bodhi,

I trying to find a kwboot precompiled for x32 Ubuntu... NO LUCK! help please

regards,
ES.



Edited 1 time(s). Last edit at 08/10/2013 09:06PM by enki.
Re: Replace Ubit v0.5 with Uboot and a good kernel for GoFlex Net
August 10, 2013 09:19PM
Bohdi,

I managed to find kwboot but it loops and don't do much ... restart goflex net and do not send the boot message

Sending boot message. Please reboot the target.../

????? can I put it to bin ?

Rgds.,
ES.
Re: Replace Ubit v0.5 with Uboot and a good kernel for GoFlex Net
August 11, 2013 01:56AM
@enki,

Quote

After you booted with UART, then flash that version to mtd0

You should have booted with UART first before attempting anything :) This is to ensure you can boot the image before flashing to NAND. And you have a recovery option.

Can you post the log of how you run kwboot, and which version you're using? perhaps something is missing in your setup.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Replace Ubit v0.5 with Uboot and a good kernel for GoFlex Net
August 11, 2013 05:37AM
@enki,

I just reread the post above and realized:

Marvell>> tftpboot 0x800000 uboot.mrtd0.kwb-2011.12-goflexnet-L2Coff-IDEpatched.tar.gz

You did not untar the file? the command should be
Marvell>> tftpboot 0x800000 uboot.mrtd0.kwb-2011.12-goflexnet-L2Coff-IDEpatched

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Replace Ubit v0.5 with Uboot and a good kernel for GoFlex Net
August 11, 2013 08:39AM
Bodhi,

Yes, you are right. I ended to write the file untarred file. ;(((

As previous I tried to write a kwb image via serial cable with kwboot utility. The thread you have indicated it provides a binary for x64 Ubuntu. I managed to find one for x32 and I tried kwboot.

kwboot -t -B 115200 /dev/ttyUSB0 u-boot.kwb 
[\code]

it says to reboot the target ... plug and unplug the supply from goflex net but nothing triggers kwboot to start writing the imagine u-boot.kwb. The chip starts to heat a bit after 2-3mins. so consumes power. Is anything left to do? What do you think?

Regards,
ES.
Re: Replace Ubit v0.5 with Uboot and a good kernel for GoFlex Net
August 11, 2013 03:01PM
enki,

You need the -p option at the end. The uBoot image downloaded from Davy is the NAND-ready image.
kwboot -t -B 115200 /dev/ttyUSB0 u-boot.kwb -p

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Replace Ubit v0.5 with Uboot and a good kernel for GoFlex Net
August 11, 2013 05:10PM
http://forum.doozan.com/read.php?3,13261

I'm happy to roll you a GoFlex Net version if you're stuck? The kwboot tool comes with the u-boot source, so if you have the tool chain etc, you can compile them with "make tools" then run ./tools/kwboot -t -p -B 115200 /dev/ttyUSB0 uboot.mtd0.kwb
Re: Replace Ubit v0.5 with Uboot and a good kernel for GoFlex Net
August 12, 2013 04:05AM
@bodhi,

I will try kwboot with -p option.

@majic79,

Thank you for your availability to share a kwb image for GoFlex Net. I will try this evening to do a 'make tools' for kwboot. I am looking forward for the .kwb from you.

I will let you know how I am getting on, you give me hopes...

Regards,
ES
Re: Replace Ubit v0.5 with Uboot and a good kernel for GoFlex Net
August 12, 2013 04:12AM
enki,

I think if you run your Ubuntu 32 version with the -p option it will work.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Replace Ubit v0.5 with Uboot and a good kernel for GoFlex Net
August 12, 2013 02:02PM
@majic79,

The page you have indicated me to assist me in building an u-boot.mtd0.wkb is for GoFlex Home and not for Net. Can you please help with an u-boot.mtd0.wkb image for GoFlex Net?

And something else: if there are any of you having kwboot tools compiled for ubuntu x32 I would appreciate, if not i need to spend more time creating ubuntu virtual machine on the mac and do it from there. If you would have such a thing it would so simple.

Rgds,
ES.
Re: Replace Ubit v0.5 with Uboot and a good kernel for GoFlex Net
August 12, 2013 03:43PM
@enki,

You don't need new uBoot image. The one you download should work perfectly. You only need a way to run kwboot to boot UART with this image. Have you tried that Ubuntu 32 kwboot with -p parameter?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Replace Ubit v0.5 with Uboot and a good kernel for GoFlex Net
August 12, 2013 04:24PM
Bodhi,

I have tried the kwboot I have (attached below) with option -p without much luck... it seems it doesn't send the .kwb to goflex net. ;(

It might be the case my goflex net is has that bootroom 1.11 which doesn not give uart boot at all. I read about the instruction to find which bootroom is in it but now is any other option to confirm the bootroom version?

I don't think the .kwb image (attached) I have are not good even though I am waiting for majic79 to help me with one we know works. Should I try x64 kwboot or should I think of JTAG?

Thank you guys,
ES.



Edited 1 time(s). Last edit at 08/12/2013 04:29PM by enki.
Attachments:
open | download - kwbootx32.tar (210 KB)
Re: Replace Ubit v0.5 with Uboot and a good kernel for GoFlex Net
August 12, 2013 04:54PM
enki,

The GoFlex Net works with UART booting. I used UART booting on GoFlex Net to test uBoot builds. I've never seen any report that certain GoFlex Net version has different bootrom. Chance is that your 32 Ubuntu kwboot does not work. It does not hurt to try the 64 version see if you can run it.

Too bad you don't have another plug (e.g Pogoplug V2, Mobile,...) , if you do then I can provide you with the kwboot tool I use. By the way, the Pogo Mobile is very cheap nowadays, it costs less than a JTAG :)

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Replace Ubit v0.5 with Uboot and a good kernel for GoFlex Net
August 13, 2013 04:04AM
I'll update the thread with instructions for the GoFlex Net and build you one at the same time - it will be largely untested (I don't have a GFN to test with unfortunately) but the instructions ought to allow you to develop it a little and test it if we can get you de-bricked.

Bear with me while I update
Re: Replace Ubit v0.5 with Uboot and a good kernel for GoFlex Net
August 13, 2013 04:33AM
majic79 Wrote:
-------------------------------------------------------
> I'll update the thread with instructions for the
> GoFlex Net and build you one at the same time - it
> will be largely untested (I don't have a GFN to
> test with unfortunately) but the instructions
> ought to allow you to develop it a little and test
> it if we can get you de-bricked.
>
> Bear with me while I update

Majic79,

enki does not need the GoFlex Net uBoot. The one enki is using is the same as the official GoFlex Net uBoot we are all using. If you could build the Ubuntu 32 kwboot, that would be the solution.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Replace Ubit v0.5 with Uboot and a good kernel for GoFlex Net
August 13, 2013 05:55AM
If you're building from the 2013.07 u-boot sources, then just build "make tools" - you'll get a kwboot compiled for your system in the tools/ directory, I've been using the following commands to build and test:

make u-boot.kwb
make tools
dd if=u-boot.kwb of=uboot.mtd0.kwb
./tools/kwboot -b uboot.mtd0.kwb -p -t -B 115200 /dev/ttyUSB0

You're right, the GoFlex Net uboot is identical to the GoFlex Home, See attached for the version of uBoot for GoFlex Home that I've been using and the version of kwboot I've been building (Debian rather than ubuntu, but should work)
Attachments:
open | download - GoFlex.tar.bz2 (197.6 KB)
Re: Replace Ubit v0.5 with Uboot and a good kernel for GoFlex Net
August 13, 2013 03:36PM
@enki,

To be clear, how do you run your kwboot binary? From an Intel-based 32 Ubuntu laptop/pc? (i.e. what host is your serial console module plugged in)?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Replace Ubit v0.5 with Uboot and a good kernel for GoFlex Net
August 14, 2013 01:15AM
@majic79,
Thank you for the binaries, kwboot x32 and u-boot.mtd0.kwb image. There are few things to improve on forum's instructions. I will help with comments after my lessons learned...

@bodhi an all,
I am running kwboot from an intel (x32) based laptop with Ubuntu. I have a CA-42 Nokia cable which worked all the time before nand write and reset on /dev/ttyUSB0. The device USB0 exists in /dev/. I have my serial cable soldered in GoFlex with RX,TX and GND and attached on laptop.

1. I start the kwboot program with all the necessary options

/kwboot -b uboot.mtd0.kwb -p -t -B 115200 /dev/ttyUSB0

and GoFlex is not powered;

2. while kwboot runs
Sending boot message. Please reboot the target...\

I power up GoFlex Net and then after 5secs. pull the supply out and back again ... you would expect kwboot to sense power up and down. I have tried with 'reset' butoon in the same manner, while powered up, reset on/off... but no luck.

Eventually, stop kwboot with CTRL+C.
Sending boot message. Please reboot the target...\^C

I have another binary found somewhere on denex.de kwuartboot which is a bit smarter in terms of sensing everytime when GoFlex is powered up/down/up ... but still it does not write anything to mtd0. The chip start to heat up.

I can post my GoFlex to any of you if you would like to try it. I will donate for the service if it works...

Regards,
ES.
Re: Replace Ubit v0.5 with Uboot and a good kernel for GoFlex Net
August 14, 2013 02:16AM
@enki,

I don't think you need to recycle the power at all. I never did that. Just wait for a while to see if the handshake working or not.

If you care to try, since your GoFlex is practically bricked without UART booting, get another plug. Could be a cheap one like the Mobile, install Debian. And connect the Nokia cable to that, and run ARM kwboot. I run my serial console from a Dockstar using kwboot compiled from uBoot 2013.07, almost every week. If that does not work for you then it's time to think about JTAG or donate it :)

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
shv
Re: Replace Ubit v0.5 with Uboot and a good kernel for GoFlex Net
August 31, 2013 02:02AM
My Goflex Net device has a BootROM version 1.11. So I can't use kwboot.

-shv



Edited 1 time(s). Last edit at 08/31/2013 07:17AM by shv.
Re: Replace Ubit v0.5 with Uboot and a good kernel for GoFlex Net
August 31, 2013 03:37PM
Ah! yours is the first GoFlex Net that I've seen reported the BootROM 1.1.1. Must be of older lots of production. I guess to update uBoot, you just need to use the image that has been proven to work. The GoFlex Net uBoot image that I've uploaded seems to work for lots of GoFlex Net (so far no reports that it did not).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
shv
Re: Replace Ubit v0.5 with Uboot and a good kernel for GoFlex Net
September 01, 2013 12:01PM
It doesn't solve the problem while scanning of USB devices:
 scanning usb for storage devices... EHCI timed out on TD - token=0x82008d80
EHCI timed out on TD - token=0x1f8c80
EHCI timed out on TD - token=0x1f8c80
...
Re: Replace Ubit v0.5 with Uboot and a good kernel for GoFlex Net
September 01, 2013 03:54PM
shv Wrote:
-------------------------------------------------------
> It doesn't solve the problem while scanning of USB
> devices:
>
>  scanning usb for storage devices... EHCI timed
> out on TD - token=0x82008d80
> EHCI timed out on TD - token=0x1f8c80
> EHCI timed out on TD - token=0x1f8c80
> ...
>

I suspect that the time out period in uBoot might be too short for certain USB hubs to work. How many "usb start" are there in your uBoot envs? can you add several more to see if it eventually scan the USB devices successfully? I could look for this in the code, but I wonder if it's worth a try to force the USB scan several times.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
shv
Re: Replace Ubit v0.5 with Uboot and a good kernel for GoFlex Net
September 02, 2013 12:34AM
I use "usb reset; usb start;" once. Do you think it could help to put "usb start" as first option in "preboot" before the neconsole part?
Re: Replace Ubit v0.5 with Uboot and a good kernel for GoFlex Net
September 02, 2013 12:41AM
I don't think it will matter whether it's before the preboot. How about where in the uBoot envs you have 'usb start'. For example,
change this
bootcmd=usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run rescue_bootcmd; run pogo_bootcmd; reset
to
bootcmd=usb start; usb start; usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run rescue_bootcmd; run pogo_bootcmd; reset

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Replace Ubit v0.5 with Uboot and a good kernel for GoFlex Net
September 07, 2013 07:08PM
Hi Bodhi,

I am back. I will donate my bricked GoFlex Net probably BootROM 1.11. I went for another one which seems to have the lucky version 1.21.

I am using debian wheezy and I get known problems with visibility of SATA drives. I am booting from USB, and I like to share HDDs but no SATA.

I saw issues around arcNumbers but I am not sure, and kindly ask you to advise:

dmesg shows no SATA/IDE ...
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.10.4-kirkwood-tld-1 (root@tldDebian) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 PREEMPT Tue Aug 20 23:25:42 PDT 2013
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Marvell SheevaPlug Reference Board
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] On node 0 totalpages: 32768
[    0.000000] free_area_init_node: node 0, pgdat c05dbf50, node_mem_map c0648000
[    0.000000]   Normal zone: 256 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda1 rootdelay=10 rootfstype=ext2 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 128MB = 128MB total
[    0.000000] Memory: 117144k/117144k available, 13928k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xc8800000 - 0xff000000   ( 872 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0561b44   (5479 kB)
[    0.000000]       .init : 0xc0562000 - 0xc05909bc   ( 187 kB)
[    0.000000]       .data : 0xc0592000 - 0xc05de6d0   ( 306 kB)
[    0.000000]        .bss : 0xc05de6d0 - 0xc06470f4   ( 419 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:114
[    0.000000] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474ms
[    0.000000] Console: colour dummy device 80x30
[   10.393750] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[   10.483574] pid_max: default: 32768 minimum: 301
[   10.483678] Security Framework initialized
[   10.483745] Mount-cache hash table entries: 512
[   10.484353] Initializing cgroup subsys devices
[   10.484376] Initializing cgroup subsys freezer
[   10.484389] Initializing cgroup subsys net_cls
[   10.484399] Initializing cgroup subsys blkio
[   10.484488] CPU: Testing write buffer coherency: ok
[   10.484881] Setting up static identity map for 0xc03e88c8 - 0xc03e8904
[   10.486705] devtmpfs: initialized
[   10.489083] pinctrl core: initialized pinctrl subsystem
[   10.489416] regulator-dummy: no parameters
[   10.489729] NET: Registered protocol family 16
[   10.490149] DMA: preallocated 256 KiB pool for atomic coherent allocations
[   10.490842] Kirkwood: MV88F6281-A1, TCLK=200000000.
[   10.490872] Feroceon L2: Enabling L2
[   10.490910] Feroceon L2: Cache support initialised.
[   10.491240] initial MPP regs: 01111111 11113322 00001111 00100000 00000000 00000000 00000000
[   10.491268]   final MPP regs: 01111111 11113322 00001111 00000000 00000000 00000000 00000000
[   10.494712] bio: create slab <bio-0> at 0
[   10.495133] vgaarb: loaded
[   10.495256] usbcore: registered new interface driver usbfs
[   10.495317] usbcore: registered new interface driver hub
[   10.495416] usbcore: registered new device driver usb
[   10.496012] Switching to clocksource orion_clocksource
[   10.510003] NET: Registered protocol family 2
[   10.510635] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[   10.510671] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[   10.510691] TCP: Hash tables configured (established 1024 bind 1024)
[   10.510757] TCP: reno registered
[   10.510772] UDP hash table entries: 256 (order: 0, 4096 bytes)
[   10.510794] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[   10.510991] NET: Registered protocol family 1
[   10.511300] RPC: Registered named UNIX socket transport module.
[   10.511311] RPC: Registered udp transport module.
[   10.511318] RPC: Registered tcp transport module.
[   10.511325] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   10.511336] PCI: CLS 0 bytes, default 32
[   10.511533] Unpacking initramfs...
[   11.052691] Freeing initrd memory: 6324K (c1101000 - c172e000)
[   11.052793] NetWinder Floating Point Emulator V0.97 (double precision)
[   11.053297] audit: initializing netlink socket (disabled)
[   11.053348] type=2000 audit(0.650:1): initialized
[   11.054159] VFS: Disk quotas dquot_6.5.2
[   11.054211] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   11.054567] NFS: Registering the id_resolver key type
[   11.054634] Key type id_resolver registered
[   11.054644] Key type id_legacy registered
[   11.054662] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[   11.054816] jffs2: version 2.2. (NAND) (SUMMARY)  \xffffffc2\xffffffa9 2001-2006 Red Hat, Inc.
[   11.055029] msgmni has been set to 241
[   11.056913] alg: No test for stdrng (krng)
[   11.057008] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[   11.057020] io scheduler noop registered
[   11.057028] io scheduler deadline registered
[   11.057055] io scheduler cfq registered (default)
[   11.057175] mv_xor mv_xor.0: Marvell shared XOR driver
[   11.096091] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[   11.136090] mv_xor mv_xor.0: Marvell XOR: ( xor fill cpy )
[   11.136191] mv_xor mv_xor.1: Marvell shared XOR driver
[   11.176090] mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
[   11.216088] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
[   11.216333] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   11.236878] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[   11.734876] console [ttyS0] enabled
[   11.739306] ONFI param page 0 valid
[   11.742807] ONFI flash detected
[   11.745969] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08AAD), 256MiB, page size: 2048, OOB size: 64
[   11.757088] Scanning device for bad blocks
[   11.914725] 4 cmdlinepart partitions found on MTD device orion_nand
[   11.921033] Creating 4 MTD partitions on "orion_nand":
[   11.926213] 0x000000000000-0x000000100000 : "u-boot"
[   11.931426] 0x000000100000-0x000000500000 : "uImage"
[   11.936636] 0x000000500000-0x000002500000 : "rootfs"
[   11.941856] 0x000002500000-0x000010000000 : "data"
[   11.947167] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   11.953726] ehci-pci: EHCI PCI platform driver
[   11.958255] ehci-orion: EHCI orion driver
[   11.962333] orion-ehci orion-ehci.0: EHCI Host Controller
[   11.967799] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[   11.975542] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[   11.996063] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[   12.002088] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[   12.008931] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   12.016206] usb usb1: Product: EHCI Host Controller
[   12.021109] usb usb1: Manufacturer: Linux 3.10.4-kirkwood-tld-1 ehci_hcd
[   12.027854] usb usb1: SerialNumber: orion-ehci.0
[   12.032903] hub 1-0:1.0: USB hub found
[   12.036715] hub 1-0:1.0: 1 port detected
[   12.041063] mousedev: PS/2 mouse device common for all mice
[   12.356067] usb 1-1: new high-speed USB device number 2 using orion-ehci
[   12.568425] usb 1-1: New USB device found, idVendor=03f0, idProduct=5307
[   12.575172] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   12.582365] usb 1-1: Product: v165w
[   12.585867] usb 1-1: Manufacturer: HP
[   12.589563] usb 1-1: SerialNumber: AA17111300000351
[   13.056062] rtc-mv rtc-mv: internal RTC not ticking
[   13.061062] i2c /dev entries driver
[   13.064634] cpuidle: using governor ladder
[   13.068766] cpuidle: using governor menu
[   13.072885] leds-gpio leds-gpio: pins are not configured from the driver
[   13.079915] drop_monitor: Initializing network drop monitor service
[   13.086510] TCP: cubic registered
[   13.089841] NET: Registered protocol family 17
[   13.094404] Key type dns_resolver registered
[   13.099115] registered taskstats version 1
[   13.104049] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[   13.111174] Freeing unused kernel memory: 184K (c0562000 - c0590000)
[   13.186687] udevd[52]: starting version 175
[   13.279208] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   13.336385] libphy: PHY orion-mdio-mii:00 not found
[   13.341313] platform mv643xx_eth_port.0: Driver mv643xx_eth_port requests probe deferral
[   13.385630] SCSI subsystem initialized
[   13.417580] mvsdio mvsdio: no pins associated
[   13.430665] usb-storage 1-1:1.0: USB Mass Storage device detected
[   13.456201] mvsdio mvsdio: lacking card detect (fall back to polling)
[   13.466901] libphy: PHY orion-mdio-mii:00 not found
[   13.471834] platform mv643xx_eth_port.0: Driver mv643xx_eth_port requests probe deferral
[   13.504044] libphy: orion_mdio_bus: probed
[   13.516177] scsi0 : usb-storage 1-1:1.0
[   13.521551] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:10:75:26:39:3a
[   13.541161] usbcore: registered new interface driver usb-storage
[   14.873531] scsi 0:0:0:0: Direct-Access     hp       v165w            8192 PQ: 0 ANSI: 4
[   14.897235] sd 0:0:0:0: [sda] 15826944 512-byte logical blocks: (8.10 GB/7.54 GiB)
[   14.905720] sd 0:0:0:0: [sda] Write Protect is off
[   14.910601] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[   14.911453] sd 0:0:0:0: [sda] No Caching mode page present
[   14.917059] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   14.928076] sd 0:0:0:0: [sda] No Caching mode page present
[   14.933603] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   14.942444]  sda: sda1 sda2
[   14.948951] sd 0:0:0:0: [sda] No Caching mode page present
[   14.954479] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   14.961072] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   14.976938] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   24.877068] udevd[235]: starting version 175
[   25.294642] alg: hash: Test 1 failed for mv-hmac-sha1
[   25.308218] 00000000: 0c aa 9f d5 37 c3 79 3a 91 d9 21 5f 42 2b 2c 24
[   25.328369] 00000010: b7 c3 16 0c
[   25.351469] orion_wdt: Initial timeout 21 sec
[   30.506863] NET: Registered protocol family 10
[   30.672966] mv643xx_eth_port mv643xx_eth_port.0 eth0: link down
[   30.679103] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   32.298687] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled
[   32.308523] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

fw_printenv shows the followings

ethact=egiga0
bootdelay=3
baudrate=115200
mainlineLinux=yes
console=ttyS0,115200
led_init=green blinking
led_exit=green off
led_error=orange blinking
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
mtdids=nand0=orion_nand
partition=nand0,2
stdin=serial
stdout=serial
stderr=serial
rescue_installed=0
rescue_set_bootargs=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts $rescue_custom_params
rescue_bootcmd=if test $rescue_installed -eq 1; then run rescue_set_bootargs; nand read.e 0x800000 0x100000 0x400000; bootm 0x800000; else run pogo_bootcmd; fi
pogo_bootcmd=if fsload uboot-original-mtd0.kwb; then go 0x800200; fi
force_rescue=0
force_rescue_bootcmd=if test $force_rescue -eq 1 || ext2load usb 0:1 0x1700000 /rescueme 1 || fatload usb 0:1 0x1700000 /rescueme.txt 1; then run rescue_bootcmd; fi
ubifs_mtd=3
ubifs_set_bootargs=setenv bootargs console=$console ubi.mtd=$ubifs_mtd root=ubi0:rootfs rootfstype=ubifs $mtdparts $ubifs_custom_params
ubifs_bootcmd=run ubifs_set_bootargs; if ubi part data && ubifsmount rootfs && ubifsload 0x800000 /boot/uImage && ubifsload 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; fi
usb_scan=usb_scan_done=0;for scan in $usb_scan_list; do run usb_scan_$scan; if test $usb_scan_done -eq 0 && ext2load usb $usb 0x800000 /boot/uImage 1; then usb_scan_done=1; echo "Found bootable drive on usb $usb"; setenv usb_device $usb; setenv usb_root /dev/$dev; fi; done
usb_scan_list=1 2 3 4
usb_scan_1=usb=0:1 dev=sda1
usb_scan_2=usb=1:1 dev=sdb1
usb_scan_3=usb=2:1 dev=sdc1
usb_scan_4=usb=3:1 dev=sdd1
usb_init=run usb_scan
usb_device=0:1
usb_root=/dev/sda1
usb_rootfstype=ext2
usb_rootdelay=10
usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params
usb_bootcmd=run usb_init; run usb_set_bootargs; run usb_boot
usb_boot=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage; if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
bootcmd=usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run rescue_bootcmd; run pogo_bootcmd; reset
ethaddr=00:10:75:26:39:3A
arcNumber=2097
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: