• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: GuruPlug can't boot after successful install of debian on external usb drive  (Read 2267 times)
msrk
Newbie
*

Karma: 0
Posts: 9


View Profile
« on: January 10, 2012, 08:33:03 PM »

I think I am very close to getting my GuruPlug working again but
it fails to boot.  Please help.

I followed instructions at  http://www.cyrius.com/debian/kirkwood/sheevaplug/
carefully and everything went well
all the way through install debian on a 320G external usb disk.
I mounted that disk and on another system and verified that the
first linux partition has uImage and uInitrd and the second
partition has Debian.  However, the GuruPlug is unable to mount
the disk and load uImage and uInitrd.

A log of the session follows.  Please advise.

  U-Boot 2011.03 (Apr 26 2011 - 21:35:00)
  Marvell-GuruPlug

  SoC:   Kirkwood 88F6281_A1
  DRAM:  512 MiB
  NAND:  512 MiB
  In:    serial
  Out:   serial
  Err:   serial
  Net:   egiga0, egiga1
  88E1121 Initialized on egiga0
  88E1121 Initialized on egiga1
  Hit any key to stop autoboot:  3  2  1  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... 0 Storage Device(s) found
  ** Block device usb 0 not supported
  ** Block device usb 0 not supported
  Wrong Image Format for bootm command
  ERROR: can't get kernel image!
  Marvell>> setenv      printenv
  baudrate=115200
  bootargs=console=ttyS0,115200
  bootargs_console=console=ttyS0,115200
  bootcmd=setenv bootargs $(bootargs_console); run bootcmd_usb; bootm 0x00800000 0x01100000
  bootcmd_usb=usb start; ext2load usb 0:1 0x0080000 /uImage; ext2load usb 0:1 0x01100000 /uInitrd
  bootdelay=3
  eth1addr=02:50:43:d9:87:02
  ethact=egiga0
  ethaddr=00:50:43:01:9B:FE
  stderr=serial
  stdin=serial
  stdout=serial
  x_bootargs=console=ttyS0,115200
  x_bootargs_root=ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs
  x_bootcmd_ethernet=ping 192.168.2.1
  x_bootcmd_kernel=nand read.e 0x6400000 0x100000 0x400000
  x_bootcmd_usb=usb start

  Environment size: 634/131068 bytes
  Marvell>> usb start
  (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... 0 Storage Device(s) found
  Marvell>> usb storage
  No storage devices, perhaps not 'usb start'ed..?
  Marvell>> usb treee 

  Device Tree:
    1  Hub (480 Mb/s, 0mA)
    |  u-boot EHCI Host Controller
    |
    |+-2  Hub (480 Mb/s, 100mA)
          USB2.0 Hub
       
  Marvell>> usb info
  1: Hub,  USB Revision 2.0
   - u-boot EHCI Host Controller
   - Class: Hub
   - PacketSize: 64  Configurations: 1
   - Vendor: 0x0000  Product 0x0000 Version 1.0
     Configuration: 1
     - Interfaces: 1 Self Powered 0mA
       Interface: 0
       - Alternate Setting 0, Endpoints: 1
       - Class Hub
       - Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms

  2: Hub,  USB Revision 2.0
   -  USB2.0 Hub
   - Class: Hub
   - PacketSize: 64  Configurations: 1
   - Vendor: 0x05e3  Product 0x0608 Version 119.99
     Configuration: 1
     - Interfaces: 1 Self Powered Remote Wakeup 100mA
       Interface: 0
       - Alternate Setting 0, Endpoints: 1
       - Class Hub
       - Endpoint 1 In Interrupt MaxPacket 1 Interval 12ms

  Marvell>>


The external disk drive is a:

    Black Western Digital My Passport Essential 320GB USB 2.0
      Portable Hard Drive, OEM. Model: WDBAAA3200ABK-NESN
Logged

spinifex
Full Member
***

Karma: 8
Posts: 167



View Profile WWW
« Reply #1 on: January 10, 2012, 11:33:34 PM »

The issue is usually either the partitons are not DOS partitions or the wrong type for u-boot
OR
the format of the boot partition

My guess, not a boot partition created by fdisk as a dos partition
Logged

msrk
Newbie
*

Karma: 0
Posts: 9


View Profile
« Reply #2 on: January 11, 2012, 10:28:20 AM »

Thank you for the reply.  I tried with a FAT partition.  For some reason my GuruPlug cannot find the external drive.  I tried with two different disks.  What is wrong?


Marvell>> usb reset                                                             
(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... 0 Storage Device(s) found           
Marvell>> usb storage                                                           
No storage devices, perhaps not 'usb start'ed..?                               
Marvell>>
Logged

msrk
Newbie
*

Karma: 0
Posts: 9


View Profile
« Reply #3 on: January 11, 2012, 10:38:36 AM »

This gets stranger for me now.  My Gurplug Server has two USB ports.  If I plug in a usb memory stick and the external drive then 'usb storage' lists both.  If I switch the usb ports they are plugged into then it only lists the memory stick.  Does anyone know what I have to do to get it work with just my external hard drive?
Logged

Pages: [1]
Print
Jump to: