Welcome! Log In Create A New Profile

Advanced

GoFlexHome: Can't boot from SATA Disk?

Posted by jedie 
GoFlexHome: Can't boot from SATA Disk?
December 18, 2011 10:33AM
I would like to run ArchLinuxARM on by GoFlexHome from the SATA Diskt. But it seems, that my uBoot can't access the HDD:

U-Boot 2010.09 (Feb 16 2011 - 18:44:23)
UBIT v0.6 by Jeff Doozan and 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":
0x000000700000-0x000010000000 : "mtd=2"
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=2"
UBI: MTD device size:            249 MiB
UBI: number of good PEBs:        1991
UBI: number of bad PEBs:         1
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     6
UBI: available PEBs:             355
UBI: total number of reserved PEBs: 1636
UBI: number of PEBs reserved for bad PEB handling: 19
UBI: max/mean erase counter: 20/2
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
(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 
Marvell>> ext2ls ide 0:1
** Bad partition - ide 0:1 **

But i can access it in ubit0-6:
ubit0-6:~# fdisk /dev/sda -l

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1               1        2433    19543041  83 Linux
/dev/sda2            2434        4866    19543072+ 83 Linux
/dev/sda3            4867        4929      506047+ 82 Linux swap
/dev/sda4            4930      121601   937167840  83 Linux

ubit0-6:~# mkdir /mnt
ubit0-6:~# mount /dev/sda1 /mnt/
ubit0-6:~# ls /mnt/
bin         dev         home        lost+found  mke2fs      opt         root        sbin        sys         uInitrd     usr
boot        etc         lib         media       mnt         proc        run         srv         tmp         ubit_start  var
ubit0-6:~# umount /mnt
ubit0-6:~# fsck /dev/sda1 -f
fsck 1.41.12 (17-May-2010)
e2fsck 1.41.12 (17-May-2010)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
rootfs: 31121/1221600 files (0.1% non-contiguous), 219685/4885760 blocks


Have i a outdated u-Boot?

I tried all steps from here: http://archlinuxarm.org/platforms/armv5/seagate-goflex-home

Should i use http://jeff.doozan.com/debian/uboot/install_uboot_mtd0.sh ? But i doen't know what i should choose, see: http://forum.doozan.com/read.php?2,5573,6439#msg-6439



Edited 1 time(s). Last edit at 12/18/2011 01:09PM by jedie.
Re: GoFlexHome: Can't boot from SATA Disk?
December 18, 2011 03:51PM
Ah, my fouled. I forgot "ide reset".

OK, not i can boot ArchLinuxARM with:


ide reset
ext2load ide 0:1 0x1100000 /uInitrd
ext2load ide 0:1 0x680000 /boot/uImage
setenv bootargs console=ttyS0,115200 root=/dev/sda1
bootm 0x680000

I think my uBoot Environment is somewhat chaos...

Please can someone can post a clean uBoot Environment for GoFlexHome?
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: