aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeniy Didin <didin@synopsys.com>2019-04-01 11:11:05 +0300
committerEvgeniy Didin <didin@synopsys.com>2019-04-26 08:50:22 +0000
commit8410aeeae6ba56f0b49be48461e5d8b8f1b8722f (patch)
tree9f972f367d4c269c830f44fd6f9076351cc25506
parent0b9eef326f4f4e6532fbc20e2aa1c81de2ee4b79 (diff)
Add ARC HSDK board support
This changeset adds the necessary files to build image for Synopsys ARC HS Development Kit (HSDK). Most of necessary tunnings are stored in meta-synopys layer. Synopsys DesignWare HSDK (which stands for ARC HS Development Kit) is the latest and greatest development platform that sports quad-core ARC HS38 in real silicon. Most noticeable features of the board are: * Quad-core ARC HS38 CPU running at 1GHz * 4Gb of DDR * Built-in Vivante GPU * Built-in Wi-Fi/Bluetooth module Peripherals: * [micro] SD-card slot * 2 USB 2.0 ports * 1Gbit Ethernet port * Built-in Digilent JTAG probe * Serial port accessible via micro-USB port New feature: SPEC-2346 Change-Id: I8772ee51cc3db9f6549da2d6a5ea2d116586cde6 Signed-off-by: Evgeniy Didin <didin@synopsys.com>
-rw-r--r--meta-agl-bsp/conf/include/agl_hsdk.inc5
-rw-r--r--meta-agl-bsp/meta-synopsys/recipes-kernel/linux/linux-arc_%.bbappend1
-rw-r--r--meta-agl-distro/conf/distro/include/arc-tune.inc3
-rw-r--r--templates/machine/hsdk/40_bblayers.conf.inc2
-rw-r--r--templates/machine/hsdk/50_local.conf.inc2
5 files changed, 13 insertions, 0 deletions
diff --git a/meta-agl-bsp/conf/include/agl_hsdk.inc b/meta-agl-bsp/conf/include/agl_hsdk.inc
new file mode 100644
index 000000000..5967f2375
--- /dev/null
+++ b/meta-agl-bsp/conf/include/agl_hsdk.inc
@@ -0,0 +1,5 @@
+KERNEL_IMAGETYPE = "uImage"
+WKS_FILE = "sdimage-hsdk.wks"
+AGL_EXTRA_IMAGE_FSTYPES = "wic.xz"
+IMAGE_BOOT_FILES = "uImage uboot.env"
+IMAGE_INSTALL_append = " kernel-modules"
diff --git a/meta-agl-bsp/meta-synopsys/recipes-kernel/linux/linux-arc_%.bbappend b/meta-agl-bsp/meta-synopsys/recipes-kernel/linux/linux-arc_%.bbappend
new file mode 100644
index 000000000..88ac94b15
--- /dev/null
+++ b/meta-agl-bsp/meta-synopsys/recipes-kernel/linux/linux-arc_%.bbappend
@@ -0,0 +1 @@
+require recipes-kernel/linux/linux-agl.inc
diff --git a/meta-agl-distro/conf/distro/include/arc-tune.inc b/meta-agl-distro/conf/distro/include/arc-tune.inc
new file mode 100644
index 000000000..43dabd5a9
--- /dev/null
+++ b/meta-agl-distro/conf/distro/include/arc-tune.inc
@@ -0,0 +1,3 @@
+# DEFAULTTUNE overrides for AGL on arc
+
+# DEFAULTTUNE ?= "archs"
diff --git a/templates/machine/hsdk/40_bblayers.conf.inc b/templates/machine/hsdk/40_bblayers.conf.inc
new file mode 100644
index 000000000..8c02e8f61
--- /dev/null
+++ b/templates/machine/hsdk/40_bblayers.conf.inc
@@ -0,0 +1,2 @@
+# Use meta-synopsys layer for ARC HSDK board
+BBLAYERS =+ "${METADIR}/meta-synopsys"
diff --git a/templates/machine/hsdk/50_local.conf.inc b/templates/machine/hsdk/50_local.conf.inc
new file mode 100644
index 000000000..61f77435e
--- /dev/null
+++ b/templates/machine/hsdk/50_local.conf.inc
@@ -0,0 +1,2 @@
+MACHINE = "hsdk"
+require conf/include/agl_hsdk.inc