Modifying/Compiling Kernel and Logging into LuCI on OpenWrt

Modifying/Compiling Kernel and Logging into LuCI on OpenWrt

1. Modify the kernel. In the directory openwrt/imx_openwrt/target/linux/imx/patches-5.15/, there are numerous patch files used to apply patches to the target image. Here, modify the kernel patch. Modify the device tree patch file 0002-add-dts-files.patch +&pcie0{+ pinctrl-names = "default";+ pinctrl-0 = <&pcie0_pinctrl>;+ disable-gpio = <&gpio1 5 GPIO_ACTIVE_LOW>;+ reset-gpio = <&gpio4 21 GPIO_ACTIVE_LOW>;+ clocks = <&clk IMX8MM_CLK_PCIE1_ROOT>,+ <&clk … Read more