Replies: 2 comments
-
刚才编译,依然错误: Applying ./patches/0001-rockchip-rk3568-add-boot-device-detection.patch using plaintext: Applying ./patches/0002-rockchip-rk3568-enable-automatic-power-savings.patch using plaintext: Applying ./patches/0004-arm-dts-sync-rk3568-with-linux.patch using plaintext: Applying ./patches/0005-rockchip-rk356x-HACK-fix-sdmmc-support.patch using plaintext: Applying ./patches/0007-gpio-rockchip-rk_gpio-support-v2-gpio-controller.patch using plaintext: Applying ./patches/0008-rockchip-allow-sdmmc-at-full-speed.patch using plaintext: Applying ./patches/001-scripts-remove-dependency-on-swig.patch using plaintext: Applying ./patches/0011-rockchip-rk356x-attempt-to-fix-ram-detection.patch using plaintext:
|
Beta Was this translation helpful? Give feedback.
-
至今不修复,没回应。 |
Beta Was this translation helpful? Give feedback.
-
R4S 编译通不过。
Applying ./patches/0007-gpio-rockchip-rk_gpio-support-v2-gpio-controller.patch using plaintext:
patching file arch/arm/include/asm/arch-rockchip/gpio.h
patching file drivers/gpio/Kconfig
Hunk #1 succeeded at 302 (offset -39 lines).
patching file drivers/gpio/rk_gpio.c
patching file drivers/pinctrl/rockchip/Makefile
Hunk #1 succeeded at 13 (offset -1 lines).
patching file drivers/pinctrl/rockchip/pinctrl-rk3568.c
patching file drivers/pinctrl/rockchip/pinctrl-rockchip-core.c
patching file drivers/pinctrl/rockchip/pinctrl-rockchip.h
Applying ./patches/0008-rockchip-allow-sdmmc-at-full-speed.patch using plaintext:
patching file arch/arm/dts/rk3566-quartz64-a-u-boot.dtsi
Applying ./patches/001-scripts-remove-dependency-on-swig.patch using plaintext:
patching file scripts/dtc/Makefile
Applying ./patches/0011-rockchip-rk356x-attempt-to-fix-ram-detection.patch using plaintext:
patching file arch/arm/mach-rockchip/rk3568/rk3568.c
patching file arch/arm/mach-rockchip/sdram.c
patching file common/board_f.c
Hunk #1 succeeded at 344 (offset -1 lines).
can't find file to patch at input line 152
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
|--- a/configs/quartz64-a-rk3566_defconfig
|+++ b/configs/quartz64-a-rk3566_defconfig
No file to patch. Skipping patch.
1 out of 1 hunk ignored
patching file include/configs/rk3568_common.h
Hunk #1 succeeded at 27 (offset 3 lines).
Patch failed! Please fix ./patches/0011-rockchip-rk356x-attempt-to-fix-ram-detection.patch!
make[3]: *** [Makefile:173: /home/gswangmd/openwrt/build_dir/target-aarch64_generic_musl/u-boot-nanopi-r4s-rk3399/u-boot-2022.04/.prepared_fa5f4918a2f5ed51a95ddc8b514d46e8_6664517399ebbbc92a37c5bb081b5c53] Error 1
make[3]: Leaving directory '/home/gswangmd/openwrt/package/boot/uboot-rockchip'
time: package/boot/uboot-rockchip/nanopi-r4s-rk3399/compile#3.29#1.52#4.32
ERROR: package/boot/uboot-rockchip failed to build (build variant: nanopi-r4s-rk3399).
make[2]: *** [package/Makefile:116: package/boot/uboot-rockchip/compile] Error 1
make[2]: Leaving directory '/home/gswangmd/openwrt'
make[1]: *** [package/Makefile:110: /home/gswangmd/openwrt/staging_dir/target-aarch64_generic_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/gswangmd/openwrt'
make: *** [/home/gswangmd/openwrt/include/toplevel.mk:230: world] Error 2
gswangmd@WMD-HOME:~/openwrt$
Applying ./patches/0007-gpio-rockchip-rk_gpio-support-v2-gpio-controller.patch using plaintext:
patching file arch/arm/include/asm/arch-rockchip/gpio.h
patching file drivers/gpio/Kconfig
Hunk #1 succeeded at 302 (offset -39 lines).
patching file drivers/gpio/rk_gpio.c
patching file drivers/pinctrl/rockchip/Makefile
Hunk #1 succeeded at 13 (offset -1 lines).
patching file drivers/pinctrl/rockchip/pinctrl-rk3568.c
patching file drivers/pinctrl/rockchip/pinctrl-rockchip-core.c
patching file drivers/pinctrl/rockchip/pinctrl-rockchip.h
Applying ./patches/0008-rockchip-allow-sdmmc-at-full-speed.patch using plaintext:
patching file arch/arm/dts/rk3566-quartz64-a-u-boot.dtsi
Applying ./patches/001-scripts-remove-dependency-on-swig.patch using plaintext:
patching file scripts/dtc/Makefile
Applying ./patches/0011-rockchip-rk356x-attempt-to-fix-ram-detection.patch using plaintext:
patching file arch/arm/mach-rockchip/rk3568/rk3568.c
patching file arch/arm/mach-rockchip/sdram.c
patching file common/board_f.c
Hunk #1 succeeded at 344 (offset -1 lines).
can't find file to patch at input line 152
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
|--- a/configs/quartz64-a-rk3566_defconfig
|+++ b/configs/quartz64-a-rk3566_defconfig
No file to patch. Skipping patch.
1 out of 1 hunk ignored
patching file include/configs/rk3568_common.h
Hunk #1 succeeded at 27 (offset 3 lines).
Patch failed! Please fix ./patches/0011-rockchip-rk356x-attempt-to-fix-ram-detection.patch!
make[3]: *** [Makefile:173: /home/gswangmd/openwrt/build_dir/target-aarch64_generic_musl/u-boot-nanopi-r4s-rk3399/u-boot-2022.04/.prepared_fa5f4918a2f5ed51a95ddc8b514d46e8_6664517399ebbbc92a37c5bb081b5c53] Error 1
make[3]: Leaving directory '/home/gswangmd/openwrt/package/boot/uboot-rockchip'
time: package/boot/uboot-rockchip/nanopi-r4s-rk3399/compile#3.29#1.52#4.32
ERROR: package/boot/uboot-rockchip failed to build (build variant: nanopi-r4s-rk3399).
make[2]: *** [package/Makefile:116: package/boot/uboot-rockchip/compile] Error 1
make[2]: Leaving directory '/home/gswangmd/openwrt'
make[1]: *** [package/Makefile:110: /home/gswangmd/openwrt/staging_dir/target-aarch64_generic_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/gswangmd/openwrt'
make: *** [/home/gswangmd/openwrt/include/toplevel.mk:230: world] Error 2
gswangmd@WMD-HOME:~/openwrt$
Beta Was this translation helpful? Give feedback.
All reactions