[PATCH 0/2] disk: part: sandbox support in dev_print()
Heinrich Schuchardt
xypron.glpk at gmx.de
Mon Jan 25 12:57:13 CET 2021
Without the series the fatinfo command shows an error for host file
backed block devices:
=> host bind 0 ../sandbox.img
=> fatinfo host 0:1
Interface: Unknown
Device 0: Unhandled device type: 9
Filesystem: FAT16 "NO NAME "
=>
With the series reasonable information is shown:
=> host bind 0 ../sandbox.img
=> fatinfo host 0:1
Interface: Unknown
Device 0: Vendor: U-Boot Rev: 1.0 Prod: hostfile
Type: Removable Hard Disk
Capacity: 128.9 MB = 0.1 GB (264190 x 512)
Filesystem: FAT16 "NO NAME "
=>
The "Interface:" line is created in file_fat_detectfs() and still needs to
be fixed.
Heinrich Schuchardt (2):
sandbox: fill block device meta information
disk: part: sandbox support in dev_print()
disk/part.c | 1 +
drivers/block/sandbox.c | 11 +++++++++++
2 files changed, 12 insertions(+)
--
2.29.2
More information about the U-Boot
mailing list