uboot-sunxi: bump to 2020.01
Refreshed patches, removed following, probably obsolete patches: 221-compatible-old-dtc.patch 240-sun50i-h5-Orange-Pi-Zero-Plus-Fix-SdCard-detection.patch Signed-off-by: Petr Štetiar <ynezz@true.cz>master
parent
5fbcb52648
commit
48436953e9
@ -1,52 +0,0 @@
|
|||||||
Revert the commit c0e032e0090d65 ("scripts/dtc: Update to upstream
|
|
||||||
version v1.4.3")
|
|
||||||
OpenWrt uses the dtc from the kernel also in u-boot, but when we compile
|
|
||||||
against kernel 4.9 we run into some errors because it is too old now.
|
|
||||||
Add the options only when they are supported to make it compatible with
|
|
||||||
dtc from kernel 4.9.
|
|
||||||
|
|
||||||
--- a/scripts/Kbuild.include
|
|
||||||
+++ b/scripts/Kbuild.include
|
|
||||||
@@ -173,6 +173,11 @@ ld-version = $(shell $(LD) --version | $
|
|
||||||
# Usage: $(call ld-ifversion, -ge, 22252, y)
|
|
||||||
ld-ifversion = $(shell [ $(ld-version) $(1) $(2) ] && echo $(3) || echo $(4))
|
|
||||||
|
|
||||||
+# dtc-option
|
|
||||||
+# Usage: DTC_FLAGS += $(call dtc-option,-Wno-unit_address_vs_reg)
|
|
||||||
+dtc-option = $(call try-run,\
|
|
||||||
+ echo '/dts-v1/; / {};' | $(DTC) $(1),$(1),$(2))
|
|
||||||
+
|
|
||||||
######
|
|
||||||
|
|
||||||
###
|
|
||||||
--- a/scripts/Makefile.extrawarn
|
|
||||||
+++ b/scripts/Makefile.extrawarn
|
|
||||||
@@ -56,8 +56,8 @@ endif
|
|
||||||
|
|
||||||
KBUILD_CFLAGS += $(warning)
|
|
||||||
|
|
||||||
-dtc-warning-2 += -Wnode_name_chars_strict
|
|
||||||
-dtc-warning-2 += -Wproperty_name_chars_strict
|
|
||||||
+dtc-warning-2 += $(call dtc-option,-Wnode_name_chars_strict)
|
|
||||||
+dtc-warning-2 += $(call dtc-option,-Wproperty_name_chars_strict)
|
|
||||||
|
|
||||||
dtc-warning := $(dtc-warning-$(findstring 1, $(KBUILD_ENABLE_EXTRA_GCC_CHECKS)))
|
|
||||||
dtc-warning += $(dtc-warning-$(findstring 2, $(KBUILD_ENABLE_EXTRA_GCC_CHECKS)))
|
|
||||||
@@ -68,11 +68,11 @@ DTC_FLAGS += $(dtc-warning)
|
|
||||||
else
|
|
||||||
|
|
||||||
# Disable noisy checks by default
|
|
||||||
-DTC_FLAGS += -Wno-unit_address_vs_reg
|
|
||||||
-DTC_FLAGS += -Wno-simple_bus_reg
|
|
||||||
-DTC_FLAGS += -Wno-unit_address_format
|
|
||||||
-DTC_FLAGS += -Wno-pci_bridge
|
|
||||||
-DTC_FLAGS += -Wno-pci_device_bus_num
|
|
||||||
-DTC_FLAGS += -Wno-pci_device_reg
|
|
||||||
+DTC_FLAGS += $(call dtc-option,-Wno-unit_address_vs_reg)
|
|
||||||
+DTC_FLAGS += $(call dtc-option,-Wno-simple_bus_reg)
|
|
||||||
+DTC_FLAGS += $(call dtc-option,-Wno-unit_address_format)
|
|
||||||
+DTC_FLAGS += $(call dtc-option,-Wno-pci_bridge)
|
|
||||||
+DTC_FLAGS += $(call dtc-option,-Wno-pci_device_bus_num)
|
|
||||||
+DTC_FLAGS += $(call dtc-option,-Wno-pci_device_reg)
|
|
||||||
|
|
||||||
endif
|
|
@ -1,28 +0,0 @@
|
|||||||
From ad320d4d6ad03af5ff730546113d53a47ef6a22e Mon Sep 17 00:00:00 2001
|
|
||||||
From: Hauke Mehrtens <hauke@hauke-m.de>
|
|
||||||
Date: Sun, 13 Jan 2019 17:05:09 +0100
|
|
||||||
Subject: [PATCH] sun50i: h5: Orange Pi Zero Plus: Fix SdCard detection
|
|
||||||
|
|
||||||
The Detection pin is at PF6 and not at PH13 like defined before. I
|
|
||||||
checked the schematics and now I am am not seeing this error message any
|
|
||||||
more:
|
|
||||||
Loading Environment from FAT... Card did not respond to voltage select!
|
|
||||||
|
|
||||||
Fixes: 76d69eb01de ("sun50i: h5: Add initial Orange Pi Zero Plus support")
|
|
||||||
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
|
|
||||||
---
|
|
||||||
configs/orangepi_zero_plus_defconfig | 3 +--
|
|
||||||
1 file changed, 1 insertion(+), 2 deletions(-)
|
|
||||||
|
|
||||||
--- a/configs/orangepi_zero_plus_defconfig
|
|
||||||
+++ b/configs/orangepi_zero_plus_defconfig
|
|
||||||
@@ -4,8 +4,7 @@ CONFIG_SPL=y
|
|
||||||
CONFIG_MACH_SUN50I_H5=y
|
|
||||||
CONFIG_DRAM_CLK=624
|
|
||||||
CONFIG_DRAM_ZQ=3881977
|
|
||||||
-CONFIG_MMC0_CD_PIN="PH13"
|
|
||||||
-CONFIG_MMC_SUNXI_SLOT_EXTRA=2
|
|
||||||
+CONFIG_MMC0_CD_PIN="PF6"
|
|
||||||
CONFIG_NR_DRAM_BANKS=1
|
|
||||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
|
||||||
# CONFIG_CMD_FLASH is not set
|
|
Loading…
Reference in New Issue