summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2020-07-15 03:02:03 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2020-07-15 03:03:30 +0200
commit13823c84f03e96c2fb9a06dbe4eef31b4833a427 (patch)
tree70f7ae77ec5843fef7f09e6da9fb7e77c7d765fa /target
parent0b16459987fb2e621e875203d9a6fc4b0e3aecb9 (diff)
pcduino 3b skeleton
Diffstat (limited to 'target')
-rw-r--r--target/arm/kernel/pcduino-3b8
-rw-r--r--target/arm/systems/pcduino-3b20
-rw-r--r--target/linux/Config.in.kernelversion2
-rw-r--r--target/linux/patches/4.19.132/arc.patch (renamed from target/linux/patches/4.19.126/arc.patch)0
-rw-r--r--target/linux/patches/4.19.132/darwin-dtc.patch26
-rw-r--r--target/linux/patches/4.19.132/darwin-file2alias.patch (renamed from target/linux/patches/4.19.126/darwin-file2alias.patch)0
-rw-r--r--target/linux/patches/4.19.132/fec-coldfire.patch (renamed from target/linux/patches/4.19.126/fec-coldfire.patch)0
-rw-r--r--target/linux/patches/4.19.132/or1k-more-ram.patch (renamed from target/linux/patches/4.19.126/or1k-more-ram.patch)0
-rw-r--r--target/linux/patches/4.19.132/relocs.patch (renamed from target/linux/patches/4.19.126/relocs.patch)0
-rw-r--r--target/linux/patches/4.19.132/startup.patch (renamed from target/linux/patches/4.19.126/startup.patch)0
10 files changed, 55 insertions, 1 deletions
diff --git a/target/arm/kernel/pcduino-3b b/target/arm/kernel/pcduino-3b
new file mode 100644
index 000000000..56e9cdb8f
--- /dev/null
+++ b/target/arm/kernel/pcduino-3b
@@ -0,0 +1,8 @@
+CONFIG_ARM=y
+CONFIG_ARM_PATCH_PHYS_VIRT=y
+CONFIG_MMU=y
+CONFIG_ARCH_MULTIPLATFORM=y
+CONFIG_ARCH_MULTI_V7=y
+CONFIG_ARCH_MULTI_V6_V7=y
+CONFIG_ARCH_SUNXI=y
+CONFIG_MACH_SUN7I=y
diff --git a/target/arm/systems/pcduino-3b b/target/arm/systems/pcduino-3b
new file mode 100644
index 000000000..71763d2e1
--- /dev/null
+++ b/target/arm/systems/pcduino-3b
@@ -0,0 +1,20 @@
+config ADK_TARGET_SYSTEM_PCDUINO_3B
+ bool "PCduino 3b"
+ depends on ADK_TARGET_OS_LINUX
+ select ADK_TARGET_LITTLE_ENDIAN
+ select ADK_TARGET_WITH_MMU
+ select ADK_TARGET_CPU_ARM_CORTEX_A7
+ select ADK_TARGET_WITH_VGA
+ select ADK_TARGET_WITH_SERIAL
+ select ADK_TARGET_WITH_USB
+ select ADK_TARGET_WITH_INPUT
+ select ADK_TARGET_WITH_SD
+ select ADK_TARGET_WITH_NET
+ select ADK_TARGET_WITH_NETDEVICE
+ select ADK_TARGET_WITH_BLOCK
+ select ADK_TARGET_KERNEL_IMAGE
+ select ADK_PACKAGE_U_BOOT
+ help
+ PCduino 3b
+
+
diff --git a/target/linux/Config.in.kernelversion b/target/linux/Config.in.kernelversion
index 0bf3b3c42..1061f74bb 100644
--- a/target/linux/Config.in.kernelversion
+++ b/target/linux/Config.in.kernelversion
@@ -51,7 +51,7 @@ config ADK_TARGET_LINUX_KERNEL_VERSION_5_4
depends on !ADK_TARGET_CPU_ARM_CORTEX_A53
config ADK_TARGET_LINUX_KERNEL_VERSION_4_19
- bool "4.19.126"
+ bool "4.19.132"
select ADK_TARGET_LINUX_KERNEL_NEW
depends on !ADK_TARGET_ARCH_AVR32
depends on !ADK_TARGET_ARCH_BFIN
diff --git a/target/linux/patches/4.19.126/arc.patch b/target/linux/patches/4.19.132/arc.patch
index 20810ce64..20810ce64 100644
--- a/target/linux/patches/4.19.126/arc.patch
+++ b/target/linux/patches/4.19.132/arc.patch
diff --git a/target/linux/patches/4.19.132/darwin-dtc.patch b/target/linux/patches/4.19.132/darwin-dtc.patch
new file mode 100644
index 000000000..0cdc23ab4
--- /dev/null
+++ b/target/linux/patches/4.19.132/darwin-dtc.patch
@@ -0,0 +1,26 @@
+diff -Nur linux-4.19.132.orig/scripts/dtc/dtc.h linux-4.19.132/scripts/dtc/dtc.h
+--- linux-4.19.132.orig/scripts/dtc/dtc.h 2020-07-09 09:37:13.000000000 +0200
++++ linux-4.19.132/scripts/dtc/dtc.h 2020-07-15 02:38:00.000000000 +0200
+@@ -33,8 +33,8 @@
+ #include <unistd.h>
+ #include <inttypes.h>
+
+-#include <libfdt_env.h>
+-#include <fdt.h>
++#include "libfdt/libfdt_env.h"
++#include "libfdt/fdt.h"
+
+ #include "util.h"
+
+diff -Nur linux-4.19.132.orig/scripts/dtc/util.c linux-4.19.132/scripts/dtc/util.c
+--- linux-4.19.132.orig/scripts/dtc/util.c 2020-07-09 09:37:13.000000000 +0200
++++ linux-4.19.132/scripts/dtc/util.c 2020-07-15 02:38:18.000000000 +0200
+@@ -32,7 +32,7 @@
+ #include <fcntl.h>
+ #include <unistd.h>
+
+-#include "libfdt.h"
++#include "libfdt/libfdt.h"
+ #include "util.h"
+ #include "version_gen.h"
+
diff --git a/target/linux/patches/4.19.126/darwin-file2alias.patch b/target/linux/patches/4.19.132/darwin-file2alias.patch
index fdbc598a8..fdbc598a8 100644
--- a/target/linux/patches/4.19.126/darwin-file2alias.patch
+++ b/target/linux/patches/4.19.132/darwin-file2alias.patch
diff --git a/target/linux/patches/4.19.126/fec-coldfire.patch b/target/linux/patches/4.19.132/fec-coldfire.patch
index 09d8ad047..09d8ad047 100644
--- a/target/linux/patches/4.19.126/fec-coldfire.patch
+++ b/target/linux/patches/4.19.132/fec-coldfire.patch
diff --git a/target/linux/patches/4.19.126/or1k-more-ram.patch b/target/linux/patches/4.19.132/or1k-more-ram.patch
index de848c838..de848c838 100644
--- a/target/linux/patches/4.19.126/or1k-more-ram.patch
+++ b/target/linux/patches/4.19.132/or1k-more-ram.patch
diff --git a/target/linux/patches/4.19.126/relocs.patch b/target/linux/patches/4.19.132/relocs.patch
index 5bcd974c7..5bcd974c7 100644
--- a/target/linux/patches/4.19.126/relocs.patch
+++ b/target/linux/patches/4.19.132/relocs.patch
diff --git a/target/linux/patches/4.19.126/startup.patch b/target/linux/patches/4.19.132/startup.patch
index dd27de856..dd27de856 100644
--- a/target/linux/patches/4.19.126/startup.patch
+++ b/target/linux/patches/4.19.132/startup.patch