summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakob Haufe2024-07-22 18:53:47 +0000
committerRobert Marko2024-08-22 09:41:22 +0000
commita07a531329b1c5cfb74e94ae5a74853fb96cf541 (patch)
tree435979e92d48dde4a3a7b90b56bc4d787051aec6
parentbd79a16674a6fbb9db3c48e7e4e080d281dba2de (diff)
downloadopenwrt-a07a531329b1c5cfb74e94ae5a74853fb96cf541.tar.gz
octeon: ubnt-edgerouter: Disable PCIe
Some devices lock up on PCIe initialization: [ 64.309697] PCIe: Port 0 in endpoint mode, skipping. [ 64.320496] PCIe: Initializing port 1 [ 64.325257] PCIe: BIST FAILED for port 1 (0xffffffffffffffff) (system hangs here) Given the ER contains no PCIe peripherals, has no way to attach any and the stock kernel doesn't have PCIe support either, just disable it. (cherry picked from commit 308630aea6da1b5618d169d6ebf208aaa249ef72) Signed-off-by: Jakob Haufe <sur5r@sur5r.net> Link: https://github.com/openwrt/openwrt/pull/16223 Signed-off-by: Robert Marko <robimarko@gmail.com>
-rw-r--r--target/linux/octeon/image/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/octeon/image/Makefile b/target/linux/octeon/image/Makefile
index fa845a2499..8edc1942fd 100644
--- a/target/linux/octeon/image/Makefile
+++ b/target/linux/octeon/image/Makefile
@@ -42,7 +42,8 @@ define Device/itus_shield-router
endef
TARGET_DEVICES += itus_shield-router
-ER_CMDLINE:=-mtdparts=phys_mapped_flash:640k(boot0)ro,640k(boot1)ro,64k(eeprom)ro root=/dev/mmcblk0p2 rootfstype=squashfs,ext4 rootwait
+# Disable PCIe on ER as it doesn't have PCIe peripherals and some devices lock up on initialization
+ER_CMDLINE:=-mtdparts=phys_mapped_flash:640k(boot0)ro,640k(boot1)ro,64k(eeprom)ro root=/dev/mmcblk0p2 rootfstype=squashfs,ext4 rootwait pcie_octeon.pcie_disable=1
define Device/ubnt_edgerouter
DEVICE_VENDOR := Ubiquiti
DEVICE_MODEL := EdgeRouter