[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

howto boot from harddrive



I just got a Guruplug server a couple of days ago. It booted right up as
described and I connected and all worked fine. Then I installed Debian as decribed at 'http://www.cyrius.com/debian/kirkwood/sheevaplug/install.html' to a USB flash drive. Also no problems everything works fine. Now I want to move the os to a USB harddrive. I partitioned the drive and copied the root and boot partitions from flash. When I boot I get

U-Boot 2011.12 (Mar 11 2012 - 18:53:15)
Marvell-GuruPlug

SoC:   Kirkwood 88F6281_A1
DRAM:  512 MiB
WARNING: Caches not enabled
NAND:  512 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0, egiga1
88E1121 Initialized on egiga0
PHY reset timed out
88E1121 Initialized on egiga1
Hit any key to stop autoboot:  0
Marvell>> boot
Unknown command 'bootargs' - try 'help'
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 3 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
Loading file "/uImage" from usb device 0:1 (usbda1)
1435120 bytes read
Loading file "/uInitrd" from usb device 0:1 (usbda1)
5476181 bytes read
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Debian kernel
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1435056 Bytes = 1.4 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   Debian ramdisk
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    5476117 Bytes = 5.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.



And that is as far as I get
Here is my environment



Marvell>> printenv
baudrate=115200
bootargs_console=console=ttyS0,115200
bootcmd=bootargs $(bootargs_console); run bootcmd_usb; bootm 0x00800000 0x01100000 bootcmd_usb=usb start; ext2load usb 0:1 0x00800000 /uImage; ext2load usb 0:1 0x01100000 /uInitrd
bootdelay=3
eth1addr=02:50:43:bc:93:e2
ethact=egiga0
ethaddr=F0:AD:4E:01:24:F2
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: 596/131068 bytes



Any suggestions or comments

Thanks
Richard


Reply to: