fat: handle Windows formatted partition (thru USB Mass Storage)

Andy Shevchenko andy.shevchenko at gmail.com
Tue Jan 14 14:16:43 CET 2020


On Tue, Jan 14, 2020 at 2:43 PM Andy Shevchenko
<andy.shevchenko at gmail.com> wrote:

$ qemu-system-i386 -m 1G -bios u-boot.rom -nographic -drive
if=none,file=/tmp/for-
andy/image-file,format=raw,id=mydisk -no-reboot -device
ich9-ahci,id=ahci -device ide-drive,drive=mydisk,bus=ahci.
0
qemu-system-i386: -device ide-drive,drive=mydisk,bus=ahci.0: warning:
'ide-drive' is deprecated, please use 'ide-h
d' or 'ide-cd' instead


U-Boot 2020.01-00012-gb4daeb7f02 (Jan 14 2020 - 15:06:52 +0200)

CPU:   QEMU Virtual CPU version 2.5+
DRAM:  1 GiB
Video: 1024x768x32
Model: QEMU x86 (I440FX)
Net:   e1000: 52:54:00:12:34:56

Warning: e1000#0 using MAC address from ROM
eth0: e1000#0
Hit any key to stop autoboot:  0
=> scsi scan
scanning bus for devices...
Target spinup took 0 ms.
SATA link 1 timeout.
SATA link 2 timeout.
SATA link 3 timeout.
SATA link 4 timeout.
SATA link 5 timeout.
AHCI 0001.0000 32 slots 6 ports 1.5 Gbps 0x3f impl SATA mode
flags: 64bit ncq only
 Device 0: (0:0) Vendor: ATA Prod.: QEMU HARDDISK Rev: 2.5+
           Type: Hard Disk
           Capacity: 1024.0 MB = 1.0 GB (2097152 x 512)
=> ls scsi 0:0
** Unrecognized filesystem type **
=> ls scsi 0:1

0 file(s), 0 dir(s)

=> ls scsi 0:2
** Invalid partition 2 **
=>

-- 
With Best Regards,
Andy Shevchenko


More information about the U-Boot mailing list