
23 Jul
2023
23 Jul
'23
5:48 a.m.
On Sat, 22 Jul 2023 at 04:46, Heinrich Schuchardt heinrich.schuchardt@canonical.com wrote:
Loading u-boot.itb from device 0x00, partition 0x0f fails with:
Trying to boot from NVME Device 0: Vendor: 0x4x Rev: 8.0.50 Prod: nvme-1 Type: Hard Disk Capacity: 3814.6 MB = 3.7 GB (7812500 x 512) ** Invalid partition 21 ** Couldn't find partition nvme 0:15
Like the command line interface fs_det_blk_dev() expects that the device number and the partition number are hexadecimal.
Fixes: 8ce6a2e17577 ("spl: blk: Support loading images from fs") Signed-off-by: Heinrich Schuchardt heinrich.schuchardt@canonical.com
common/spl/spl_blk_fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass sjg@chromium.org