• Home
  • Help
  • Search
  • Login
  • Register
Pages: 1 [2]
Author Topic: Trouble following "Boot USB" wiki  (Read 5700 times)
bfmorgan
Guest
« Reply #15 on: June 10, 2009, 02:01:19 PM »

I have gotten a new SheevaPlug and updated it using the 2.6.30-rc8 new release and then updated the distribution, loaded some apps, etc.

My goal was to then boot from a USB SSD following the instructions at http://www.computingplugs.com/index.php/Booting_entirely_off_an_external_USB_device. I had to change the instructions a bit as per previous messages on this threads. What I get now is a freeze after uncompressing the kernel (see below).

I have included the appropriate system config/settings etc.

Any insights would be helpful.
Code:
Marvell>> reset

         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|
 ** MARVELL BOARD: SHEEVA PLUG LE

U-Boot 1.1.4 (Mar 19 2009 - 16:06:59) Marvell version: 3.4.16

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CEE80

Soc: 88F6281 A0 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 256MB
DRAM CS[1] base 0x10000000   size 256MB
DRAM Total size 512MB  16bit width
Flash:  0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:512 MB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0
(Re)start USB...
USB:   scanning bus for devices... 2 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
....
...

2070316 bytes read
## Booting image at 00800000 ...
   Image Name:   Linux-2.6.22.18
   Created:      2009-04-04   1:49:44 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2070252 Bytes =  2 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.


Marvell>> printenv
baudrate=115200
loads_echo=0
rootpath=/mnt/ARM_FS/
netmask=255.255.0.0
console=console=ttyS0,115200
CASset=min
MALLOC_len=1
ethprime=egiga0
ethmtu=1500
usb0Mode=host
nandEcc=1bit
ethact=egiga0
serverip=10.10.0.2
ipaddr=10.10.0.1
cesvcid=ULULULULULULPPULULULULULDA
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
yuk_ethaddr=00:00:00:EE:51:81
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
ethaddr=00:50:43:01:C9:38
run_diag=no
arcNumber=2097
bootargs_nand=rootfstype=jffs2 console=ttyS0,115200 mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw ip=192.168.1.115:255.255.255.0:DB88FXX81:eth0:none
bootcmd_nand=nand read.e 0x800000 0x100000 0x400000; bootm 0x800000
bootargs_root=root=/dev/sda2
bootargs=console=ttyS0,115200 mtdparts=orion_nand:0x100000@0x000000(u-boot)ro,0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/sda1 rootdelay=10
bootcmd=usb start; ext2load usb 0:1 0x800000 /boot/uImage.sheeva.040309; bootm 0x800000; reset
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=yes
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=3
disaMvPnp=no
enaAutoRecovery=yes


root@SheevaPlugII:/boot# ls -al
total 2102
drwxr-xr-x  2 root root       0 Jun 10 12:20 .
drwxr-xr-x 21 root root       0 Jun  8 15:50 ..
-rw-rw-r--  1 root root   65757 Jan 25 03:48 fat.ko
-rwxr-xr-x  1 root root 2070316 Jun 10 12:20 uImage.sheeva.040309
-rw-rw-r--  1 root root   14967 Jan 25 03:48 vfat.ko


Command (m for help): p

Disk /dev/sda: 129.2 GB, 129234894848 bytes
255 heads, 63 sectors/track, 15711 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1       15600   125306968+  83  Linux
/dev/sda2           15601       15711      891607+  82  Linux swap / Solaris

root@SheevaPlugII:/mnt/sda1/etc# cat fstab
# UNCONFIGURED FSTAB FOR BASE SYSTEM
tmpfs /lib/init/rw tmpfs rw,nosuid,mode=0755 0 0
/proc /proc proc rw,noexec,nosuid,nodev 0 0
sysfs /sys sysfs rw,noexec,nosuid,nodev 0 0
varrun /var/run tmpfs rw,nosuid,mode=0755 0 0
varlock /var/lock tmpfs rw,noexec,nosuid,nodev,mode=1777 0 0
udev /dev tmpfs rw,mode=0755 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,noexec,nosuid,gid=5,mode=620 0 0
/dev/sda1 / ext3 rw 0 0
#rootfs / rootfs rw 0 0
#tmpfs   /var/cache/apt  tmpfs   defaults,noatime
Logged

ianjb
Jr. Member
**

Karma: 0
Posts: 65


View Profile
« Reply #16 on: June 10, 2009, 02:20:45 PM »

Your bootcmd line has 0x800000 (800 thousand) but should be 0x8000000 (8 million) according to http://computingplugs.com/index.php/Booting_entirely_off_an_external_USB_device
Logged

bfmorgan
Guest
« Reply #17 on: June 10, 2009, 02:57:27 PM »

Changing the 0x800000 to 0x8000000 resulted in the same hung boot.


Fixed the problem: needed to replace the uImage with the rc8 uImage file.

I have to stop drinking so many cokes. Grin
« Last Edit: June 10, 2009, 04:22:36 PM by bfmorgan » Logged

Pages: 1 [2]
Print
Jump to: