From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: distrokit@pengutronix.de
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [DistroKit] [PATCH 5/9] v7a: run: drop non-functional scsi option
Date: Tue, 26 May 2026 21:36:46 +0200 [thread overview]
Message-ID: <20260526193736.288664-6-a.fatoum@pengutronix.de> (raw)
In-Reply-To: <20260526193736.288664-1-a.fatoum@pengutronix.de>
We never enabled CONFIG_SCSI_VIRTIO for the v7a platform, so I am unsure
if this ever worked.
It doesn't work now though and I don't see the upside compared to the
configs/platform-v7a/run mmc, which does work, so drop it.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
configs/platform-v7a/run | 26 --------------------------
1 file changed, 26 deletions(-)
diff --git a/configs/platform-v7a/run b/configs/platform-v7a/run
index 9d0d7a0a9179..c4c70677e95d 100755
--- a/configs/platform-v7a/run
+++ b/configs/platform-v7a/run
@@ -79,21 +79,6 @@ QEMU_ARGS=( "${QEMU_ARGS[@]}" -rtc base=2000-01-01 )
# no watchdog available on vexpress
#QEMU_ARGS=( "${QEMU_ARGS[@]}" -watchdog i6300esb -watchdog-action poweroff )
QEMU_ARGS=( "${QEMU_ARGS[@]}" -object rng-random,filename=/dev/random,id=rng0 -device virtio-rng-device,rng=rng0 )
-# SCSI bus
-QEMU_ARGS=( "${QEMU_ARGS[@]}" -device virtio-scsi-device,id=scsi )
-# Add virtual SCSI device if available
-if [ -e "${PTXDIST_PLATFORMDIR}/images/usbstick.img" ]; then
- echo "SCSI unplug/plug in the QEMU console (C-a c):"
- echo
- echo "device_del plug"
- echo
- echo "drive_add 0 if=none,format=raw,id=scsiplug,file=${PTXDIST_PLATFORMDIR}/images/usbstick.img"
- echo "device_add scsi-hd,drive=scsiplug,removable=true,id=plug"
- echo
- QEMU_EXTRA_ARGS=( \
- -drive if=none,format=raw,id=scsiplug,file=${PTXDIST_PLATFORMDIR}/images/usbstick.img \
- -device scsi-hd,drive=scsiplug,removable=true,id=plug )
-fi
QEMU_LINUX_ARGS=( -kernel ${PTXDIST_PLATFORMDIR}/images/linuximage -dtb ${PTXDIST_PLATFORMDIR}/images/vexpress-v2p-ca9.dtb )
# the barebox device tree has a state node for bootchooser
QEMU_BAREBOX_ARGS=( -dtb ${PTXDIST_PLATFORMDIR}/images/barebox-vexpress-v2p-ca9.dtb )
@@ -135,17 +120,6 @@ run_qemu_nfs() {
-append "root=/dev/nfs nfsroot=/root,v3,tcp,port=2049,mountport=2049 ip=dhcp ${BASE_CMDLINE}"
}
-run_qemu_scsi() {
- check_hd
- exec ${QEMU_EXEC} \
- "${QEMU_ARGS[@]}" \
- -drive if=none,format=raw,file=${PTXDIST_PLATFORMDIR}/images/hd.img,id=disk0 \
- -device scsi-hd,drive=disk0 \
- "${QEMU_EXTRA_ARGS[@]}" \
- "${QEMU_LINUX_ARGS[@]}" \
- -append "root=/dev/sda1 rootfstype=ext4 rootwait ${BASE_CMDLINE}"
-}
-
run_qemu_mmc() {
check_hd
exec ${QEMU_EXEC} \
--
2.47.3
next prev parent reply other threads:[~2026-05-26 19:37 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-26 19:36 [DistroKit] [PATCH 0/9] v7a: vexpress: Switch from vexpress-a9 to virt Ahmad Fatoum
2026-05-26 19:36 ` [DistroKit] [PATCH 1/9] v7a: rauc: fix /dev/disk/by-usage symlinks for FairyTux 2 Ahmad Fatoum
2026-05-26 19:36 ` [DistroKit] [PATCH 2/9] v7a: vexpress: do not save environment on missing-bootsource Ahmad Fatoum
2026-05-26 19:36 ` [DistroKit] [PATCH 3/9] datapartition: fix regex for virtualized block devices Ahmad Fatoum
2026-05-26 19:36 ` [DistroKit] [PATCH 4/9] v7a: delete non-functional run-nfs Ahmad Fatoum
2026-05-26 19:36 ` Ahmad Fatoum [this message]
2026-05-26 19:36 ` [DistroKit] [PATCH 6/9] v7a: vexpress: drop non-functional 9p boot target Ahmad Fatoum
2026-05-26 19:36 ` [DistroKit] [PATCH 7/9] v7a: vexpress: Switch from vexpress-a9 to virt Ahmad Fatoum
2026-05-26 19:36 ` [DistroKit] [PATCH 8/9] v7a: run: do not shutdown on reboot Ahmad Fatoum
2026-05-26 19:36 ` [DistroKit] [PATCH 9/9] Revert "platform-v7a: vexpress: use only one core for barebox" Ahmad Fatoum
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260526193736.288664-6-a.fatoum@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--cc=distrokit@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox