Hello. I recently purchased this board on aliexpress, to use with openwrt. The vendor gave me this patch so I can add the board to openwrt 19.07.
But after applying it, when compiling I get this error:
Error
Applying /home/gleb/Projects/router_firmware/IPQ4019/openwrt/target/linux/ipq40xx/patches-4.14/900-dts-ipq4019-ap-dk01.1.patch using plaintext:
patching file arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi
patching file arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1-c1.dts
Applying /home/gleb/Projects/router_firmware/IPQ4019/openwrt/target/linux/ipq40xx/patches-4.14/901-arm-boot-add-dts-files.patch using plaintext:
patching file arch/arm/boot/dts/Makefile
patch: **** malformed patch at line 45: qcom-msm8660-surf.dtb \
So I had to manually add the following lines to 901-arm-boot-add-dts-files.patch and everything compiled fine.
+ qcom-ipq4019-hr1901.dtb \
+ qcom-ipq4019-hr1901n.dtb \
But does anyone know what could be causing this error?
And could you also tell me if it is possible to adapt that patch to use it with openwrt 22.