diff options
author | Tianling Shen <cnsztl@immortalwrt.org> | 2024-03-26 00:40:37 +0800 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2024-03-29 19:34:42 +0100 |
commit | 50e6c8ae8df55532fb70c281bd238b9b1cf1fdaf (patch) | |
tree | 1df766db35a09d07850777bf2df72c8ce19b7d90 /target/linux/rockchip | |
parent | 5876b4afb9a7f0429cdb26b87c0fc7fb6d42db53 (diff) | |
download | openwrt-50e6c8ae8df55532fb70c281bd238b9b1cf1fdaf.tar.gz openwrt-50e6c8ae8df55532fb70c281bd238b9b1cf1fdaf.tar.bz2 openwrt-50e6c8ae8df55532fb70c281bd238b9b1cf1fdaf.zip |
rockchip: remove 'swiotlb' parameter from boot script
We have hardware IOMMU support and this is totally unnecessary.
The given value is also unreasonable, it's too small and causes
kernel panic in some cases:
[ 5706.856473] sdhci-dwcmshc fe310000.mmc: swiotlb buffer is full (sz: 28672 bytes), total 512 (slots), used 498 (slots)
[ 5706.864451] sdhci-dwcmshc fe310000.mmc: swiotlb buffer is full (sz: 65536 bytes), total 512 (slots), used 464 (slots)
This parameter seems to be added by mistake, so remove it.
Fixes: e35c7ab51fd1 ("rockchip: merge bootscript")
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Diffstat (limited to 'target/linux/rockchip')
-rw-r--r-- | target/linux/rockchip/image/default.bootscript | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/rockchip/image/default.bootscript b/target/linux/rockchip/image/default.bootscript index e9de14ff7a..d49abd4478 100644 --- a/target/linux/rockchip/image/default.bootscript +++ b/target/linux/rockchip/image/default.bootscript @@ -8,7 +8,7 @@ elif test $stdout = 'serial@ff1a0000' ; then serial_addr=',0xff1a0000'; fi; -setenv bootargs "console=ttyS2,1500000 console=tty1 earlycon=uart8250,mmio32${serial_addr} swiotlb=1 root=PARTUUID=${uuid} rw rootwait"; +setenv bootargs "console=ttyS2,1500000 console=tty1 earlycon=uart8250,mmio32${serial_addr} root=PARTUUID=${uuid} rw rootwait"; load ${devtype} ${devnum}:1 ${kernel_addr_r} kernel.img |