target/rockchip: disable iommu passthrough via kernel command line

Currently vpu and npu do not work in iommu passthrough mode.
This commit is contained in:
Liangbin Lian 2025-03-20 19:55:06 +08:00
parent 9a6ad6e89e
commit b53dc2e14b

View File

@ -27,7 +27,7 @@ fi
part uuid mmc ${devnum}:2 uuid
setenv bootargs "console=ttyS2,1500000 earlycon=uart8250,mmio32,0xfeb50000 root=PARTUUID=${uuid} rw rootwait"
setenv bootargs "console=ttyS2,1500000 earlycon=uart8250,mmio32,0xfeb50000 iommu.passthrough=0 iommu.strict=1 root=PARTUUID=${uuid} rw rootwait"
load mmc ${devnum}:1 ${fdt_addr_r} rockchip${hwrev}.dtb
load mmc ${devnum}:1 ${kernel_addr_r} kernel.img