From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 26 May 2026 21:37:54 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wRxb8-0048ip-1O for lore@lore.pengutronix.de; Tue, 26 May 2026 21:37:54 +0200 Received: from [127.0.0.1] (helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1wRxb7-0002xy-P6; Tue, 26 May 2026 21:37:53 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1wRxb4-0002oT-5h; Tue, 26 May 2026 21:37:50 +0200 Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wRxb3-001zPx-1h; Tue, 26 May 2026 21:37:50 +0200 Received: from [::1] (helo=dude05.red.stw.pengutronix.de) by dude05.red.stw.pengutronix.de with esmtp (Exim 4.98.2) (envelope-from ) id 1wRxb3-00000001DHA-49EY; Tue, 26 May 2026 21:37:50 +0200 From: Ahmad Fatoum To: distrokit@pengutronix.de Date: Tue, 26 May 2026 21:36:48 +0200 Message-ID: <20260526193736.288664-8-a.fatoum@pengutronix.de> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260526193736.288664-1-a.fatoum@pengutronix.de> References: <20260526193736.288664-1-a.fatoum@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [DistroKit] [PATCH 7/9] v7a: vexpress: Switch from vexpress-a9 to virt X-BeenThere: distrokit@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ahmad Fatoum Sender: "DistroKit" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: distrokit-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false The Vexpress support added to DistroKit was explicitly added for use with QEMU. barebox has rudimentary support for the Vexpress, but it has since been overshadowed by the more extensive support for the QEMU Virt platform. barebox commit 8a7a891c5d35 ("clk: vexpress: clk-sp810: sync with Linux"), first included with v2026.01.0 fixed a possible crash for vexpress-a15 by synchronizing the Vexpress/Versatile clock driver against the upstream version in Linux. A side effect of this is that the clock on the vexpress-a9, which we are using, is now twice as fast, so sleep 10 in barebox takes 5 seconds instead. There is a Github issue[1] to address this regression, but until that's resolved, we need to restore things to working order here. Let's use the occasion and just switch over fully to Virt. This also has the advantage that this is similar to how we would likely implement the run command for v8 as well. [1]: https://github.com/barebox/barebox/issues/50 Fixes: e61f46afc546 ("barebox: update barebox v2025.11.0 -> v2026.01.0") Signed-off-by: Ahmad Fatoum --- .../init/missing-bootsource | 4 ++- .../linux,dummy-virt/boot/qemu-virt.root-A | 4 +++ .../linux,dummy-virt/boot/qemu-virt.root-B | 4 +++ configs/platform-v7a/barebox.config | 25 +++++++++++++++---- .../config/images/vexpress-nor.config | 8 +++--- configs/platform-v7a/kernelconfig | 13 +++++----- configs/platform-v7a/platformconfig | 2 +- .../rules/image-vexpress-nor.make | 4 --- configs/platform-v7a/run | 23 ++++++++--------- .../lib/udev/rules.d/90-rauc-partitions.rules | 2 +- 10 files changed, 54 insertions(+), 35 deletions(-) create mode 100644 configs/platform-v7a/barebox-defaultenv/match.of_compatible/linux,dummy-virt/boot/qemu-virt.root-A create mode 100755 configs/platform-v7a/barebox-defaultenv/match.of_compatible/linux,dummy-virt/boot/qemu-virt.root-B diff --git a/configs/platform-v7a/barebox-defaultenv/init/missing-bootsource b/configs/platform-v7a/barebox-defaultenv/init/missing-bootsource index 4161b4590ea1..b7b4f411b668 100644 --- a/configs/platform-v7a/barebox-defaultenv/init/missing-bootsource +++ b/configs/platform-v7a/barebox-defaultenv/init/missing-bootsource @@ -1,7 +1,9 @@ #!/bin/sh -if of_compatible -k arm,vexpress,v2p-ca9 || of_compatible -k raspberrypi,3-model-b; then +if of_compatible -k raspberrypi,3-model-b; then realbootsource="disk0"; +elif of_compatible -k linux,dummy-virt; then + realbootsource="qemu-virt"; fi if [ -z "$realbootsource" ]; then diff --git a/configs/platform-v7a/barebox-defaultenv/match.of_compatible/linux,dummy-virt/boot/qemu-virt.root-A b/configs/platform-v7a/barebox-defaultenv/match.of_compatible/linux,dummy-virt/boot/qemu-virt.root-A new file mode 100644 index 000000000000..aef0cea8ed1f --- /dev/null +++ b/configs/platform-v7a/barebox-defaultenv/match.of_compatible/linux,dummy-virt/boot/qemu-virt.root-A @@ -0,0 +1,4 @@ +#!/bin/sh + +global linux.bootargs.root="root=/dev/vda1 rootwait rw" +bootm /mnt/virtioblk0.0/boot/zImage diff --git a/configs/platform-v7a/barebox-defaultenv/match.of_compatible/linux,dummy-virt/boot/qemu-virt.root-B b/configs/platform-v7a/barebox-defaultenv/match.of_compatible/linux,dummy-virt/boot/qemu-virt.root-B new file mode 100755 index 000000000000..4071a7b5d7c6 --- /dev/null +++ b/configs/platform-v7a/barebox-defaultenv/match.of_compatible/linux,dummy-virt/boot/qemu-virt.root-B @@ -0,0 +1,4 @@ +#!/bin/sh + +global linux.bootargs.root="root=/dev/vda2 rootwait rw" +bootm /mnt/virtioblk0.1/boot/zImage diff --git a/configs/platform-v7a/barebox.config b/configs/platform-v7a/barebox.config index bf6ebb963f06..9e82cd0cbb97 100644 --- a/configs/platform-v7a/barebox.config +++ b/configs/platform-v7a/barebox.config @@ -213,8 +213,9 @@ CONFIG_MACH_STM32MP15X_EV1=y # CONFIG_MACH_PROTONIC_STM32MP1 is not set # CONFIG_MACH_PROTONIC_STM32MP13 is not set # CONFIG_MACH_PHYTEC_PHYCORE_STM32MP1 is not set -CONFIG_MACH_VEXPRESS=y -# CONFIG_MACH_VIRT is not set +# CONFIG_MACH_VEXPRESS is not set +CONFIG_MACH_VIRT=y +CONFIG_BOARD_ARM_VIRT=y CONFIG_BOARD_ARM_GENERIC_DT=y CONFIG_AEABI=y CONFIG_THUMB2_BAREBOX=y @@ -261,6 +262,8 @@ CONFIG_HAVE_ARCH_KASAN=y CONFIG_HAVE_STACKPROTECTOR=y # end of General architecture-dependent options +CONFIG_BOARD_QEMU=y +CONFIG_BOARD_QEMU_VIRT=y CONFIG_BOARD_LXA=y CONFIG_CC_IS_GCC=y CONFIG_GCC_VERSION=150201 @@ -711,7 +714,9 @@ CONFIG_NET_IFUP=y CONFIG_NET_DHCP=y # CONFIG_NET_SNTP is not set CONFIG_NET_FASTBOOT=y -# CONFIG_NET_9P is not set +CONFIG_NET_9P=y +CONFIG_NET_9P_VIRTIO=y +# CONFIG_NET_9P_DEBUG is not set # # Drivers @@ -732,6 +737,7 @@ CONFIG_OF_OVERLAY=y # CONFIG_OF_OVERLAY_LIVE is not set # CONFIG_AIODEV is not set CONFIG_ARM_AMBA=y +CONFIG_ARM_AMBA_DABT_MASK=y # # serial drivers @@ -745,6 +751,7 @@ CONFIG_DRIVER_SERIAL_NS16550=y CONFIG_DRIVER_SERIAL_NS16550_OMAP_TTYS=y # CONFIG_DRIVER_SERIAL_CADENCE is not set # CONFIG_DRIVER_SERIAL_LPUART32 is not set +# CONFIG_VIRTIO_CONSOLE is not set # CONFIG_SERIAL_SIFIVE is not set # end of serial drivers @@ -766,8 +773,9 @@ CONFIG_DRIVER_NET_FEC_IMX=y # CONFIG_DRIVER_NET_FSL_FMAN is not set # CONFIG_DRIVER_NET_KS8851_MLL is not set # CONFIG_DRIVER_NET_MICREL is not set -CONFIG_DRIVER_NET_SMC911X=y +# CONFIG_DRIVER_NET_SMC911X is not set # CONFIG_DRIVER_NET_SMC91111 is not set +CONFIG_DRIVER_NET_VIRTIO=y # CONFIG_DRIVER_NET_LITEETH is not set # @@ -918,6 +926,7 @@ CONFIG_MTD_UBI_FASTMAP=y CONFIG_DISK=y CONFIG_DISK_IDE_SFF=y CONFIG_DISK_WRITE=y +CONFIG_VIRTIO_BLK=y CONFIG_DM_BLK=y CONFIG_DM_BLK_LINEAR=y CONFIG_DM_BLK_VERITY=y @@ -1125,6 +1134,7 @@ CONFIG_KEYBOARD_GPIO=y # CONFIG_KEYBOARD_QT1070 is not set # CONFIG_KEYBOARD_USB is not set # CONFIG_INPUT_SPECIALKEYS is not set +# CONFIG_VIRTIO_INPUT is not set # end of Input device support CONFIG_WATCHDOG_IMX_RESET_SOURCE=y @@ -1146,6 +1156,7 @@ CONFIG_PWM_STM32=y CONFIG_HWRNG=y # CONFIG_HW_RANDOM_TIMERIOMEM is not set CONFIG_HWRNG_STM32=y +CONFIG_HW_RANDOM_VIRTIO=y CONFIG_HW_RANDOM_OPTEE=y CONFIG_HW_RANDOM_BCM2835=y # CONFIG_HW_RANDOM_IPROC_RNG200 is not set @@ -1156,6 +1167,7 @@ CONFIG_HW_RANDOM_OMAP=y # # CONFIG_DMADEVICES is not set CONFIG_MXS_APBH_DMA=y +CONFIG_OF_DMA_COHERENCY=y # end of DMA support CONFIG_GPIOLIB=y @@ -1336,7 +1348,9 @@ CONFIG_STM32_FMC2_EBI=y # CONFIG_POWER_RESET_GPIO is not set # CONFIG_POWER_RESET_GPIO_RESTART is not set CONFIG_RESET_STM32=y -# CONFIG_VIRTIO_MENU is not set +CONFIG_VIRTIO=y +CONFIG_VIRTIO_MENU=y +CONFIG_VIRTIO_MMIO=y # CONFIG_MAILBOX is not set CONFIG_TEE=y CONFIG_OPTEE=y @@ -1368,6 +1382,7 @@ CONFIG_FS_DEVFS=y CONFIG_FS_TFTP=y CONFIG_FS_TFTP_MAX_WINDOW_SIZE=128 CONFIG_FS_NFS=y +# CONFIG_9P_FS is not set CONFIG_FS_FAT=y CONFIG_FS_FAT_WRITE=y CONFIG_FS_FAT_LFN=y diff --git a/configs/platform-v7a/config/images/vexpress-nor.config b/configs/platform-v7a/config/images/vexpress-nor.config index 5b6c6ebf6424..529fe793e96a 100644 --- a/configs/platform-v7a/config/images/vexpress-nor.config +++ b/configs/platform-v7a/config/images/vexpress-nor.config @@ -6,21 +6,21 @@ image @IMAGE@ { fill = true } /* Keep these partitions in sync with the fixed partition layout in - barebox/arch/arm/dts/vexpress-v2p-ca*.dts! */ + barebox/common/boards/qemu-virt/qemu-virt-flash.dtsi! */ partition barebox { - image = barebox-vexpress-ca9.img + image = barebox-qemu-virt.img offset = 0 in-partition-table = false } partition barebox-environment { /* empty environment -> use barebox builtin */ image = barebox-default-environment - offset = 2M + offset = 60M in-partition-table = false } partition barebox-state { image = /dev/null - offset = 4M + offset = 62M in-partition-table = false size = 1M } diff --git a/configs/platform-v7a/kernelconfig b/configs/platform-v7a/kernelconfig index 3a5f578dca15..8536f2c1181f 100644 --- a/configs/platform-v7a/kernelconfig +++ b/configs/platform-v7a/kernelconfig @@ -1221,7 +1221,7 @@ CONFIG_NET_SOCK_MSG=y CONFIG_NET_DEVLINK=y CONFIG_PAGE_POOL=y CONFIG_PAGE_POOL_STATS=y -# CONFIG_FAILOVER is not set +CONFIG_FAILOVER=y CONFIG_ETHTOOL_NETLINK=y # @@ -1526,7 +1526,7 @@ CONFIG_BLK_DEV_LOOP_MIN_COUNT=8 CONFIG_BLK_DEV_NBD=y # CONFIG_BLK_DEV_RAM is not set # CONFIG_ATA_OVER_ETH is not set -# CONFIG_VIRTIO_BLK is not set +CONFIG_VIRTIO_BLK=y # CONFIG_BLK_DEV_RBD is not set # CONFIG_BLK_DEV_UBLK is not set @@ -1652,7 +1652,7 @@ CONFIG_WIREGUARD=y # CONFIG_TUN is not set # CONFIG_TUN_VNET_CROSS_LE is not set # CONFIG_VETH is not set -# CONFIG_VIRTIO_NET is not set +CONFIG_VIRTIO_NET=y # CONFIG_NLMON is not set # CONFIG_NETKIT is not set CONFIG_ETHERNET=y @@ -1711,9 +1711,7 @@ CONFIG_NET_VENDOR_MICROSOFT=y # CONFIG_NET_VENDOR_SAMSUNG is not set # CONFIG_NET_VENDOR_SEEQ is not set # CONFIG_NET_VENDOR_SOLARFLARE is not set -CONFIG_NET_VENDOR_SMSC=y -# CONFIG_SMC91X is not set -CONFIG_SMSC911X=y +# CONFIG_NET_VENDOR_SMSC is not set # CONFIG_NET_VENDOR_SOCIONEXT is not set CONFIG_NET_VENDOR_STMICRO=y CONFIG_STMMAC_ETH=y @@ -1882,7 +1880,7 @@ CONFIG_USB_NET_SMSC95XX=y # end of Wireless WAN # CONFIG_NETDEVSIM is not set -# CONFIG_NET_FAILOVER is not set +CONFIG_NET_FAILOVER=y # CONFIG_ISDN is not set # @@ -4396,6 +4394,7 @@ CONFIG_OID_REGISTRY=y CONFIG_HAVE_GENERIC_VDSO=y CONFIG_GENERIC_GETTIMEOFDAY=y CONFIG_SG_SPLIT=y +CONFIG_SG_POOL=y CONFIG_ARCH_STACKWALK=y CONFIG_STACKDEPOT=y CONFIG_STACKDEPOT_MAX_FRAMES=64 diff --git a/configs/platform-v7a/platformconfig b/configs/platform-v7a/platformconfig index 4f8962661fe7..29412948b753 100644 --- a/configs/platform-v7a/platformconfig +++ b/configs/platform-v7a/platformconfig @@ -140,7 +140,7 @@ PTXCONF_KERNEL_IMAGE_Z=y PTXCONF_KERNEL_IMAGE="zImage" PTXCONF_KERNEL_DTB=y PTXCONF_KERNEL_DTS_PATH="${PTXDIST_PLATFORMCONFIG_SUBDIR}/dts:${KERNEL_DIR}/arch/${GENERIC_KERNEL_ARCH}/boot/dts" -PTXCONF_KERNEL_DTS="ti/omap/am335x-bone.dts ti/omap/am335x-boneblack.dts arm/vexpress-v2p-ca9.dts broadcom/bcm2836-rpi-2-b.dts nxp/imx/imx6q-sabrelite.dts nxp/imx/imx6sx-udoo-neo-full.dts nxp/imx/imx6dl-riotboard.dts nxp/imx/imx6q-nitrogen6x.dts nxp/imx/imx6qp-nitrogen6_max.dts nxp/imx/imx6ull-14x14-evk.dts broadcom/bcm2837-rpi-3-b.dts broadcom/bcm2837-rpi-cm3-io3.dts broadcom/bcm2711-rpi-4-b.dts broadcom/bcm2711-rpi-400.dts st/stm32mp157c-dk2.dts st/stm32mp157c-ev1.dts st/stm32mp157c-lxa-mc1.dts stm32mp157c-lxa-mc1-scmi.dts st/stm32mp153c-lxa-fairytux2-gen1.dts st/stm32mp153c-lxa-fairytux2-gen2.dts st/stm32mp135f-dk.dts microchip/at91-sama5d27_som1_ek.dts at91-sama5d27_giantboard.dts at91-sama5d4_wifx_l1.dts " +PTXCONF_KERNEL_DTS="ti/omap/am335x-bone.dts ti/omap/am335x-boneblack.dts broadcom/bcm2836-rpi-2-b.dts nxp/imx/imx6q-sabrelite.dts nxp/imx/imx6sx-udoo-neo-full.dts nxp/imx/imx6dl-riotboard.dts nxp/imx/imx6q-nitrogen6x.dts nxp/imx/imx6qp-nitrogen6_max.dts nxp/imx/imx6ull-14x14-evk.dts broadcom/bcm2837-rpi-3-b.dts broadcom/bcm2837-rpi-cm3-io3.dts broadcom/bcm2711-rpi-4-b.dts broadcom/bcm2711-rpi-400.dts st/stm32mp157c-dk2.dts st/stm32mp157c-ev1.dts st/stm32mp157c-lxa-mc1.dts stm32mp157c-lxa-mc1-scmi.dts st/stm32mp153c-lxa-fairytux2-gen1.dts st/stm32mp153c-lxa-fairytux2-gen2.dts st/stm32mp135f-dk.dts microchip/at91-sama5d27_som1_ek.dts at91-sama5d27_giantboard.dts at91-sama5d4_wifx_l1.dts " # PTXCONF_KERNEL_DTBO is not set # PTXCONF_KERNEL_CODE_SIGNING is not set # PTXCONF_KERNEL_ZSTD is not set diff --git a/configs/platform-v7a/rules/image-vexpress-nor.make b/configs/platform-v7a/rules/image-vexpress-nor.make index e10223b89433..6ddf93e798aa 100644 --- a/configs/platform-v7a/rules/image-vexpress-nor.make +++ b/configs/platform-v7a/rules/image-vexpress-nor.make @@ -23,10 +23,6 @@ IMAGE_VEXPRESS_NOR_CONFIG := vexpress-nor.config # Image # ---------------------------------------------------------------------------- -# Note: no ':' and only works with one device tree -IMAGE_VEXPRESS_NOR_ENV = \ - DTB=$(IMAGEDIR)/vexpress-v2p-ca9.dtb - $(IMAGE_VEXPRESS_NOR_IMAGE): @$(call targetinfo) @$(call image/genimage, IMAGE_VEXPRESS_NOR) diff --git a/configs/platform-v7a/run b/configs/platform-v7a/run index c4c70677e95d..33085d6ed917 100755 --- a/configs/platform-v7a/run +++ b/configs/platform-v7a/run @@ -66,26 +66,24 @@ else fi # Machine to emulate -QEMU_ARGS=( -machine vexpress-a9 -cpu cortex-a9 -smp 4 -m 1024M ) +QEMU_ARGS=( -machine virt -cpu cortex-a7 -smp 4 -m 1024M ) # disable graphics output QEMU_ARGS[${#QEMU_ARGS[@]}]="-nographic" # Exit qemu on reboot QEMU_ARGS[${#QEMU_ARGS[@]}]="-no-reboot" # Configure networking -QEMU_ARGS=( "${QEMU_ARGS[@]}" -net nic,netdev=net1 "${QEMU_NET[@]}" ) +QEMU_ARGS=( "${QEMU_ARGS[@]}" -device virtio-net-device,netdev=net1 "${QEMU_NET[@]}" ) # Set base time to test NTP and time handling QEMU_ARGS=( "${QEMU_ARGS[@]}" -rtc base=2000-01-01 ) # Configure watchdog # 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 ) -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 ) +QEMU_LINUX_ARGS=( -kernel ${PTXDIST_PLATFORMDIR}/images/linuximage ) check_hd() { if [ ! -e "${PTXDIST_PLATFORMDIR}/images/vexpress.hdimg" ]; then - echo "error: vexpress.hdimg is missing. Run 'ptxdist images' first" + echo "error: virt.hdimg is missing. Run 'ptxdist images' first" exit 1 fi } @@ -120,14 +118,15 @@ run_qemu_nfs() { -append "root=/dev/nfs nfsroot=/root,v3,tcp,port=2049,mountport=2049 ip=dhcp ${BASE_CMDLINE}" } -run_qemu_mmc() { +run_qemu_kernel() { check_hd exec ${QEMU_EXEC} \ "${QEMU_ARGS[@]}" \ - -drive if=sd,format=raw,file=${PTXDIST_PLATFORMDIR}/images/vexpress.hdimg,id=mmc0 \ + -drive if=none,format=raw,file=${PTXDIST_PLATFORMDIR}/images/vexpress.hdimg,id=disk0 \ + -device virtio-blk-device,drive=disk0 \ "${QEMU_EXTRA_ARGS[@]}" \ "${QEMU_LINUX_ARGS[@]}" \ - -append "root=/dev/mmcblk0p1 rootfstype=ext4 rootwait ${BASE_CMDLINE}" + -append "root=/dev/vda1 rootfstype=ext4 rootwait ${BASE_CMDLINE}" } run_qemu_barebox() { @@ -140,10 +139,10 @@ run_qemu_barebox() { -device virtio-9p-device,fsdev=rootfs,mount_tag=/dev/root \ -fsdev local,id=images,path=${PTXDIST_PLATFORMDIR}/images,security_model="${security_model}" \ -device virtio-9p-device,fsdev=images,mount_tag=/dev/images \ - -drive if=sd,format=raw,file=${PTXDIST_PLATFORMDIR}/images/vexpress.hdimg,id=mmc0 \ -drive if=pflash,format=raw,file=${PTXDIST_PLATFORMDIR}/images/vexpress.norimg,id=nor0 \ - "${QEMU_EXTRA_ARGS[@]}" \ - "${QEMU_BAREBOX_ARGS[@]}" + -drive if=none,format=raw,file=${PTXDIST_PLATFORMDIR}/images/vexpress.hdimg,id=disk0 \ + -device virtio-blk-device,drive=disk0 \ + "${QEMU_EXTRA_ARGS[@]}" } target="${1:-barebox}" diff --git a/projectroot/usr/lib/udev/rules.d/90-rauc-partitions.rules b/projectroot/usr/lib/udev/rules.d/90-rauc-partitions.rules index 575c913d46cc..bf2ce913ff4b 100644 --- a/projectroot/usr/lib/udev/rules.d/90-rauc-partitions.rules +++ b/projectroot/usr/lib/udev/rules.d/90-rauc-partitions.rules @@ -10,7 +10,7 @@ IMPORT{program}="of_base_compatible" # to the correct partitions based on the device tree compatible # first part: find out the boot disk on known platforms -ENV{OF_BASE_COMPATIBLE}=="*arm,vexpress,v2p-ca9*", ENV{ID_PATH}=="platform-bus@40000000:motherboard-bus@40000000:iofpga@7,00000000-amba-10005000.mmci", TAG+="boot_disk" +ENV{OF_BASE_COMPATIBLE}=="*linux,dummy-virt*", ENV{ID_PATH}=="platform-*.virtio_mmio", TAG+="boot_disk" ENV{OF_BASE_COMPATIBLE}=="*lxa,stm32mp153c-fairytux2*", ENV{ID_PATH}=="platform-soc-amba-58007000.mmc", TAG+="boot_disk" ENV{OF_BASE_COMPATIBLE}=="*lxa,stm32mp157c-mc1*", ENV{ID_PATH}=="platform-soc-amba-58005000.mmc", TAG+="boot_disk" ENV{OF_BASE_COMPATIBLE}=="*ti,am335x-bone-black*", ENV{ID_PATH}=="platform-48060000.mmc", TAG+="boot_disk" -- 2.47.3