Removed upstream patches: * 100-clk-rockchip-rk3568-fix-reset-handler.patch * 103-rockchip-rk3568-add-boot-device-detection.patch * 104-rockchip-rk3568-enable-automatic-clock-gating.patch * 108-rockchip-sdram-add-basic-support-for-sdram-reg-info-versi.patch * 109-rockchip-Align-FIT-image-data-to-SD-MMC-block-length.patch * 110-hack-fix-build-rk356x-idbloader.patch Refreshed all patches, dts and defconfigs. === NOTE === To compile with uboot-rockchip v2023.04 and higher, you must install pyelftools on your build host. e.g. `apt install python3-pyelftools` or `pip3 install pyelftools` Tested-by: ZiMing Mo <msylgj@immortalwrt.org> [NanoPi R4S] Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
21 lines
670 B
Diff
21 lines
670 B
Diff
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -416,7 +416,7 @@ PYTHON3 ?= python3
|
|
|
|
# The devicetree compiler and pylibfdt are automatically built unless DTC is
|
|
# provided. If DTC is provided, it is assumed the pylibfdt is available too.
|
|
-DTC_INTREE := $(objtree)/scripts/dtc/dtc
|
|
+DTC := $(objtree)/scripts/dtc/dtc
|
|
DTC ?= $(DTC_INTREE)
|
|
DTC_MIN_VERSION := 010406
|
|
|
|
@@ -2000,7 +2000,7 @@ endif
|
|
# Check dtc and pylibfdt, if DTC is provided, else build them
|
|
PHONY += scripts_dtc
|
|
scripts_dtc: scripts_basic
|
|
- $(Q)if test "$(DTC)" = "$(DTC_INTREE)"; then \
|
|
+ $(Q)if test "$(DTC)" = "$(DTC)"; then \
|
|
$(MAKE) $(build)=scripts/dtc; \
|
|
else \
|
|
if ! $(DTC) -v >/dev/null; then \
|