Hi Tom, https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/13590
(this is for -next) The following changes since commit 81da5042e514bfd27516d3530dde4d62a6708ca4: Merge branch '2022-09-24-add-console-flush' into next (2022-09-24 13:58:49 -0400) are available in the Git repository at: git://git.denx.de/u-boot-dm.git tags/dm-next-25sep22 for you to fetch changes up to 22c80d5603ac4c58debc8c776b8f138e76cf5f7c: sandbox: Add a test for SCSI (2022-09-25 13:59:56 -0600) ---------------------------------------------------------------- sandbox SCSI conversion to driver model final patch for blk improvements ---------------------------------------------------------------- Heinrich Schuchardt (1): sandbox: unblock signal before calling execv() Simon Glass (16): blk: Rename if_type to uclass_id scsi: Tidy up comments for struct scsi_cmd sandbox: usb: Rename transfer_len in protocol struct scsi: Move cmd_phase enum to the header scsi: Move core emulation state into a new struct sandbox: Move buffer to scsi_emul_info scsi: Move vendor/product info into the shared struct sandbox: scsi: Move block size into shared struct sandbox: scsi: Move file size into shared struct sandbox: scsi: Move reply setup out of helper sandbox: scsi: Remove setup calls from handle_read() sandbox: scsi: Move structs to header file sandbox: Enable SCSI for all builds sandbox: scsi: Move request-handling code to scsi_emul sandbox: Convert to use driver model for SCSI sandbox: Add a test for SCSI arch/Kconfig | 1 - arch/sandbox/cpu/os.c | 16 +++++ arch/sandbox/dts/sandbox.dtsi | 4 ++ arch/sandbox/dts/test.dts | 5 ++ board/st/common/stm32mp_dfu.c | 2 +- cmd/bcb.c | 4 +- cmd/blk_common.c | 18 +++--- cmd/lsblk.c | 2 +- cmd/mmc.c | 4 +- common/spl/spl_sata.c | 2 +- common/spl/spl_usb.c | 2 +- common/usb_storage.c | 6 +- configs/sandbox64_defconfig | 3 +- configs/sandbox_defconfig | 5 +- configs/sandbox_flattree_defconfig | 3 +- configs/sandbox_noinst_defconfig | 3 +- configs/sandbox_spl_defconfig | 3 +- configs/sandbox_vpl_defconfig | 3 +- configs/tools-only_defconfig | 1 - disk/disk-uclass.c | 8 +-- disk/part.c | 14 ++--- doc/usage/partitions.rst | 2 +- drivers/ata/sata.c | 2 +- drivers/block/blk-uclass.c | 145 ++++++++++++++++++++++----------------------- drivers/block/blk_legacy.c | 58 +++++++++--------- drivers/block/ide.c | 8 +-- drivers/block/sandbox.c | 8 +-- drivers/mmc/mmc-uclass.c | 2 +- drivers/mmc/mmc_legacy.c | 8 +-- drivers/net/fsl_enetc.c | 12 ++-- drivers/net/fsl_enetc.h | 2 +- drivers/scsi/Makefile | 1 + drivers/scsi/sandbox_scsi.c | 132 ++++++++++++++++++++++++++++++++++++++++- drivers/scsi/scsi.c | 6 +- drivers/scsi/scsi_emul.c | 74 +++++++++++++++++++++++ drivers/usb/emul/sandbox_flash.c | 207 +++++++++++++++++++++------------------------------------------- drivers/virtio/virtio_blk.c | 2 +- drivers/xen/pvblock.c | 2 +- fs/fat/fat.c | 2 +- include/blk.h | 122 +++++++++++++++++++------------------- include/efi_loader.h | 4 +- include/scsi.h | 126 +++++++++++++++++++++++++++++++++------ include/scsi_emul.h | 70 ++++++++++++++++++++++ lib/efi_loader/efi_disk.c | 12 ++-- lib/efi_loader/efi_var_file.c | 4 +- test/dm/Makefile | 1 + test/dm/scsi.c | 39 ++++++++++++ test/py/tests/test_ut.py | 9 +++ 48 files changed, 765 insertions(+), 404 deletions(-) create mode 100644 drivers/scsi/scsi_emul.c create mode 100644 include/scsi_emul.h create mode 100644 test/dm/scsi.c Regards, Simon