New IT forum Follow us on Twitter
22 May 2012, 09:27:27 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: TonidoPlug2 - Now in stock!
 
   Home   SHOP Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Sheeva plug dont find ESATA after Debian install  (Read 485 times)
Håkan
Newbie
*
Posts: 4


« on: 25 November 2011, 06:55:48 pm »

Hello!
I have a black ESATA Sheeva plug with preinstalled Ubuntu. But I decided to go for Debian, and install it on my ESATA HD instead (alot of more space). This was forced due to problem with update the Ubuntu dist (out of age).
Now my problem:
To install Debian I folowed this instructions http://www.cyrius.com/debian/kirkwood/sheevaplug/install.html
Everything went well, the installation program found the ESATA drive, and install Debian on my ESATA disk.
I made changes in uBoot according to the guide and finaly wrote: run bootcmd
Then I got:
Code:
Marvell>> run bootcmd                                                           
Reset IDE: Bus 0: ............................................................** Timeout **
** Bad partition 1 **
** Bad partition 1 **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
Marvell>>

If I write:
Code:
Marvell>> ide dev

no IDE devices available
Marvell>>

I interpret this to mean that uBoot not find my ESATA.

What should I do to get my SheevaPlug up and running again with Debian?


Code:
Marvell>> version

U-Boot 2011.03 (Apr 26 2011 - 21:50:07)
Marvell-Sheevaplug - eSATA - SD/MMC
gcc (Debian 4.5.2-8) 4.5.2
GNU ld (GNU Binutils for Debian) 2.21.0.20110327
Marvell>>

Code:
Marvell>> printenv
arcNumber=2678
baudrate=115200
bootargs=console=ttyS0,115200
bootargs_console=console=ttyS0,115200
bootcmd=setenv bootargs $(bootargs_console); run bootcmd_sata; bootm 0x00800000 0x01100000
bootcmd_sata=ide reset; ext2load ide 0:1 0x00800000 /uImage; ext2load ide 0:1 0x01100000 /uInitrd
bootdelay=3
ethact=egiga0
ethaddr=00:50:xx:xx:xx:xx
machid=a76
stderr=serial
stdin=serial
stdout=serial
x_bootargs=console=ttyS0,115200 mtdparts=orion_nand:512k(uboot),4m@1m(kernel),507m@5m(rootfs) rw
x_bootargs_root=ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs
x_bootcmd_kernel=nand read 0x6400000 0x100000 0x400000
x_bootcmd_sata=ide reset;
x_bootcmd_usb=usb start;

Environment size: 692/131068 bytes
Marvell>>

This problem dont match any other problem I found on the web.
Please advice!

Regards
Håkan
Logged
Confusticated
New IT customer
Hero Member
*
Posts: 511


« Reply #1 on: 25 November 2011, 08:27:42 pm »

What is the output of
Code:
ide reset
Logged

Advocatus Diaboli - My agenda is not to give you the answer, but to guide your thoughts so you derive it for yourself!
Håkan
Newbie
*
Posts: 4


« Reply #2 on: 25 November 2011, 08:42:34 pm »

Hello!

If I write 'ide reset', I get:
Code:
Marvell>> ide reset

Reset IDE: ide_preinit failed
Marvell>>

EDIT:
Sorry, forgotten to start the disk  Embarrassed
Code:
Reset IDE: Bus 0: OK
  Device 0: Model: SAMSUNG HD154UI  Firm: 1AG01118 Ser#: S1XWJ9BZA06640
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 1430799.3 MB = 1397.2 GB (-1364690128 x 512)
Marvell>>

Regards
Håkan
« Last Edit: 25 November 2011, 08:50:58 pm by Håkan » Logged
Confusticated
New IT customer
Hero Member
*
Posts: 511


« Reply #3 on: 25 November 2011, 09:48:04 pm »

Quote
Reset IDE: Bus 0: ............................................................** Timeout **
Is this timeout issue still there ?

When you type '?' at the uboot Marvell prompt, do you see 'ext2load' as one of the supported commands ?
If not, you will need to change the u-boot environment to load from fat, and convert the first partition where the 'uImage' file resides to fat.
Logged

Advocatus Diaboli - My agenda is not to give you the answer, but to guide your thoughts so you derive it for yourself!
Håkan
Newbie
*
Posts: 4


« Reply #4 on: 27 November 2011, 04:52:03 pm »

Hello!
I install Debian on a SD card and the ext2load works correct. I also did a cuple of 'ide reset' command and found that the command work the first time after powering the ESATA-disk, but not the second and after.

So my conclution is that the error isnt on uBoot, but in the ESATA-disk.

My workaround is to power up my  Sheeva and the ESATA disk at ones, and it work as it should.

Thanks for the help!

regards
/Håkan
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!