I am aware the uboot for DM8148 won't support booting from a USB thumbdrive. But what about booting the kernel and then setting the root file system to the USB? I can mount this after the kernel is fully up and running but not from UBOOT. The device appears to be coming up properly as the kernel boots but it fails to allow access. Is there something wrong with my settings? What I am testing with gets the kernel from NFS and then should set root to the USB:
sete boot_dc_spi_nfs 'sete bootargs ip=dhcp rootfstype=fat32 rootdelay=10 root=/dev/sda1 ${nfsroot} rw ${bootargs_common} ${bootargs_dc}; setenv serverip ${host_ip}; setenv ipnc_ff_init 1; sf probe 0; sf read 0x81000000 0x70000 0x290000; bootm 0x81000000';
the relevent part of the console text:
scsi 1:0:0:0: Direct-Access hp v100w 4096 PQ: 0 ANSI: 0 CCS
sd 1:0:0:0: [sda] 7913472 512-byte logical blocks: (4.05 GB/3.77 GiB)
sd 1:0:0:0: Attached scsi generic sg0 type 0
sd 1:0:0:0: [sda] Write Protect is off
sd 1:0:0:0: [sda] Assuming drive cache: write through
sd 1:0:0:0: [sda] Assuming drive cache: write through
sda: sda1
sd 1:0:0:0: [sda] Assuming drive cache: write through
sd 1:0:0:0: [sda] Attached SCSI removable disk
Sending DHCP requests .
PHY: 0:00 - Link is Up - 100/Full
., OK
IP-Config: Got DHCP answer from 0.0.0.0, my address is 50.0.0.51
IP-Config: Complete:
device=eth0, addr=50.0.0.51, mask=255.255.255.0, gw=50.0.0.100,
host=50.0.0.51, domain=snaponglobal.com, nis-domain=(none),
bootserver=0.0.0.0, rootserver=10.19.4.68, rootpath=
Waiting 10sec before mounting root device...
VFS: Cannot open root device "sda1" or unknown-block(8,1)
Please append a correct "root=" boot option; here are the available partitions:
1f00 64 mtdblock0 (driver?)
1f02 64 mtdblock2 (driver?)
1f04 64 mtdblock4 (driver?)
0800 3956736 sda driver: sd
0801 3951958 sda1 00000000-0000-0000-0000-000000000sda1
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,1)
Backtrace:
[<c004bf48>] (dump_backtrace+0x0/0x110) from [<c03f5828>] (dump_stack+0x18/0x1c)
r7:c6014000 r6:c00759b8 r5:c0030294 r4:c057c5a0
[<c03f5810>] (dump_stack+0x0/0x1c) from [<c03f5894>] (panic+0x68/0x184)
[<c03f582c>] (panic+0x0/0x184) from [<c0009264>] (mount_block_root+0x1e0/0x220)
r3:00000000 r2:c6023e68 r1:c6023f58 r0:c04bb50c
[<c0009084>] (mount_block_root+0x0/0x220) from [<c0009350>] (mount_root+0xac/0xcc)
[<c00092a4>] (mount_root+0x0/0xcc) from [<c00094e0>] (prepare_namespace+0x170/0x1d4)
r4:c057be24
[<c0009370>] (prepare_namespace+0x0/0x1d4) from [<c0008784>] (kernel_init+0x114/0x154)
r5:c0008670 r4:c057bdc0
[<c0008670>] (kernel_init+0x0/0x154) from [<c00759b8>] (do_exit+0x0/0x700)
r5:c0008670 r4:00000000
Any help would be appreciated.