Add Odroid HC4 legacy WIP target (#2304)

- fix broken patch
- add upstream patch
This commit is contained in:
Igor Pečovnik 2020-11-05 22:03:52 +01:00 committed by GitHub
parent dbd5c956fb
commit aa2bc7e9a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 3874 additions and 2 deletions

View File

@ -0,0 +1,8 @@
# Amlogic S905X3 quad core 4GB RAM SoC GBE USB3 SPI 2 x SATA
BOARD_NAME="Odroid HC4"
BOARDFAMILY="meson-sm1"
BOOTCONFIG="odroid-c4_defconfig"
KERNEL_TARGET="legacy"
FULL_DESKTOP="no"
SERIALCON="ttyAML0"
BOOT_FDT_FILE="amlogic/meson64_odroidhc4.dtb

View File

@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm64 4.9.240 Kernel Configuration
# Linux/arm64 4.9.241 Kernel Configuration
#
CONFIG_ARM64=y
CONFIG_64BIT=y
@ -2781,6 +2781,8 @@ CONFIG_WLAN_VENDOR_ZYDAS=y
CONFIG_USB_ZD1201=m
CONFIG_ZD1211RW=m
# CONFIG_ZD1211RW_DEBUG is not set
CONFIG_ESP8089=m
CONFIG_ESP8089_DEBUG_FS=y
# CONFIG_MAC80211_HWSIM is not set
CONFIG_USB_NET_RNDIS_WLAN=m

View File

@ -20,11 +20,13 @@ diff --git a/arch/arm64/boot/dts/amlogic/Makefile b/arch/arm64/boot/dts/amlogic/
index 49d511667..4b7225c70 100644
--- a/arch/arm64/boot/dts/amlogic/Makefile
+++ b/arch/arm64/boot/dts/amlogic/Makefile
@@ -8,9 +8,13 @@ dtb-y += g12b_a311d_w400.dtb
@@ -8,10 +8,15 @@ dtb-y += g12b_a311d_w400.dtb
dtb-y += g12b_a311d_w400_buildroot.dtb
endif
dtb-$(CONFIG_ARCH_MESON64_ODROIDC4) += meson64_odroidc4.dtb
dtb-$(CONFIG_ARCH_MESON64_ODROIDC4) += meson64_odroidhc4.dtb
+dtb-$(CONFIG_ARCH_MESON64_ODROIDC4) += meson-sm1-odroid-c4.dtb
+dtb-$(CONFIG_ARCH_MESON64_ODROIDC4) += meson-sm1-odroid-hc4.dtb
dtb-$(CONFIG_ARCH_MESON64_ODROIDN2) += meson64_odroidn2.dtb
+dtb-$(CONFIG_ARCH_MESON64_ODROIDN2) += meson-g12b-odroid-n2.dtb
dtb-$(CONFIG_ARCH_MESON64_ODROIDN2) += meson64_odroidn2_plus.dtb
@ -66,5 +68,13 @@ index 000000000..634a1ddda
@@ -0,0 +1 @@
+meson64_odroidc4.dts
\ No newline at end of file
diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-hc4.dts b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-hc4.dts
new file mode 120000
index 000000000..634a1ddda
--- /dev/null
+++ b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-hc4.dts
@@ -0,0 +1 @@
+meson64_odroidhc4.dts
\ No newline at end of file
--
Created with Armbian build tools https://github.com/armbian/build

File diff suppressed because it is too large Load Diff