LiBwrt-op / openwrt-6.x

This repository is a mirror of https://git.openwrt.org/openwrt/openwrt.git It is for reference only and is not active for check-ins. We will continue to accept Pull Requests here. They will be merged via staging trees then into openwrt.git.
Other
61 stars 58 forks source link

[bug] redmi-ax6 编译默认配置失败 #28

Closed J9t5K8bX1nY4H2pR closed 3 weeks ago

J9t5K8bX1nY4H2pR commented 3 weeks ago

我的编译配置

CONFIG_TARGET_qualcommax=y
CONFIG_TARGET_qualcommax_ipq807x=y
CONFIG_TARGET_qualcommax_ipq807x_DEVICE_redmi_ax6-stock=y
# CONFIG_ATH11K_MEM_PROFILE_1G is not set
CONFIG_ATH11K_MEM_PROFILE_512M=y
CONFIG_MOLD=y
CONFIG_PACKAGE_dnsmasq_full_ipset=y
# CONFIG_PACKAGE_firewall is not set
CONFIG_PACKAGE_firewall4=y
# CONFIG_PACKAGE_iptables-mod-fullconenat is not set
# CONFIG_PACKAGE_iptables-nft is not set
# CONFIG_PACKAGE_kmod-ipt-conntrack is not set
# CONFIG_PACKAGE_kmod-ipt-fullconenat is not set
CONFIG_PACKAGE_kmod-ipt-ipset=y
# CONFIG_PACKAGE_kmod-ipt-nat is not set
# CONFIG_PACKAGE_kmod-nft-compat is not set
CONFIG_PACKAGE_kmod-nft-fib=y
CONFIG_PACKAGE_kmod-nft-fullcone=y
# CONFIG_PACKAGE_libip4tc is not set
# CONFIG_PACKAGE_libip6tc is not set
# CONFIG_PACKAGE_libiptext is not set
# CONFIG_PACKAGE_libiptext-nft is not set
# CONFIG_PACKAGE_libiptext6 is not set
# CONFIG_PACKAGE_libxtables is not set
# CONFIG_PACKAGE_xtables-nft is not set
# CONFIG_TARGET_ROOTFS_INITRAMFS is not set
CONFIG_MOLD=y
# CONFIG_USE_MOLD is not set

编译报错

/home/debian/openwrt-6.x-main/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/linux-6.6.48/arch/arm64/boot/dts/qcom/ipq8074-nss.dtsi:21.13-26.4: ERROR (phandle_references): /soc@0/nss-common: Reference to non-existent node or label "nss_region"

/home/debian/openwrt-6.x-main/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/linux-6.6.48/arch/arm64/boot/dts/qcom/ipq8074-nss.dtsi:21.13-26.4: ERROR (phandle_references): /soc@0/nss-common: Reference to non-existent node or label "nss_region"

ERROR: Input tree has errors, aborting (use -f to force output)
/home/debian/openwrt-6.x-main/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/linux-6.6.48/arch/arm64/boot/dts/qcom/ipq8074-nss.dtsi:21.13-26.4: ERROR (phandle_references): /soc@0/nss-common: Reference to non-existent node or label "nss_region"

make[5]: *** [Makefile:42: /home/debian/openwrt-6.x-main/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/image-ipq8070-rm2-6.dtb] Error 2
ERROR: Input tree has errors, aborting (use -f to force output)
/home/debian/openwrt-6.x-main/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/linux-6.6.48/arch/arm64/boot/dts/qcom/ipq8074-nss.dtsi:21.13-26.4: ERROR (phandle_references): /soc@0/nss-common: Reference to non-existent node or label "nss_region"

make[5]: *** Waiting for unfinished jobs....
/home/debian/openwrt-6.x-main/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/linux-6.6.48/arch/arm64/boot/dts/qcom/ipq8074-nss.dtsi:21.13-26.4: ERROR (phandle_references): /soc@0/nss-common: Reference to non-existent node or label "nss_region"

ERROR: Input tree has errors, aborting (use -f to force output)
ERROR: Input tree has errors, aborting (use -f to force output)
make[5]: *** [Makefile:42: /home/debian/openwrt-6.x-main/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/image-ipq8074-rt-ax89x.dtb] Error 2
make[5]: *** [Makefile:42: /home/debian/openwrt-6.x-main/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/image-ipq8072-wpq873.dtb] Error 2
make[5]: *** [Makefile:42: /home/debian/openwrt-6.x-main/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/image-ipq8072-dl-wrx36.dtb] Error 2
ERROR: Input tree has errors, aborting (use -f to force output)
make[5]: *** [Makefile:42: /home/debian/openwrt-6.x-main/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/image-ipq8072-aw1000.dtb] Error 2
/home/debian/openwrt-6.x-main/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/linux-6.6.48/arch/arm64/boot/dts/qcom/ipq8074-nss.dtsi:21.13-26.4: ERROR (phandle_references): /soc@0/nss-common: Reference to non-existent node or label "nss_region"

ERROR: Input tree has errors, aborting (use -f to force output)
/home/debian/openwrt-6.x-main/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/linux-6.6.48/arch/arm64/boot/dts/qcom/ipq8074-nss.dtsi:21.13-26.4: ERROR (phandle_references): /soc@0/nss-common: Reference to non-existent node or label "nss_region"

make[5]: *** [Makefile:42: /home/debian/openwrt-6.x-main/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/image-ipq8070-cax1800.dtb] Error 2
ERROR: Input tree has errors, aborting (use -f to force output)
/home/debian/openwrt-6.x-main/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/linux-6.6.48/arch/arm64/boot/dts/qcom/ipq8074-nss.dtsi:21.13-26.4: ERROR (phandle_references): /soc@0/nss-common: Reference to non-existent node or label "nss_region"

ERROR: Input tree has errors, aborting (use -f to force output)
make[5]: *** [Makefile:42: /home/debian/openwrt-6.x-main/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/image-ipq8074-wxr-5950ax12.dtb] Error 2
make[5]: *** [Makefile:42: /home/debian/openwrt-6.x-main/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/image-ipq8071-eap102.dtb] Error 2
make[5]: Leaving directory '/home/debian/openwrt-6.x-main/target/linux/qualcommax/image'
make[4]: *** [Makefile:21: install] Error 2
make[4]: Leaving directory '/home/debian/openwrt-6.x-main/target/linux/qualcommax'
make[3]: *** [Makefile:11: install] Error 2
make[3]: Leaving directory '/home/debian/openwrt-6.x-main/target/linux'
time: target/linux/install#7.59#4.48#2.99
    ERROR: target/linux failed to build.
make[2]: *** [target/Makefile:32: target/linux/install] Error 1
make[2]: Leaving directory '/home/debian/openwrt-6.x-main'
make[1]: *** [target/Makefile:26: /home/debian/openwrt-6.x-main/staging_dir/target-aarch64_cortex-a53_musl/stamp/.target_install] Error 2
make[1]: Leaving directory '/home/debian/openwrt-6.x-main'
make: *** [/home/debian/openwrt-6.x-main/include/toplevel.mk:248: world] Error 2

希望能够修复,谢谢

J9t5K8bX1nY4H2pR commented 3 weeks ago

target/linux/qualcommax/patches-6.6/0102-arm64-dts-ipq8074-add-reserved-memory-nodes.patch 第26行替换为

+       nss_region: nss@40000000 {

target/linux/qualcommax/ipq807x/config-default 第20行后插入

# CONFIG_QCOM_Q6V5_MPD is not set