aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2019-04-29 13:37:24 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2019-04-29 13:37:24 +0000
commit2ca4db6cf14a709d25f79b2e6308743a115e5aa5 (patch)
tree8a18b61fbd7e7a1919f7fce9d6973dee325a5e61
parente12a7f77b22776129887cdfbd6159be4838b7795 (diff)
parent8410aeeae6ba56f0b49be48461e5d8b8f1b8722f (diff)
Merge "Add ARC HSDK board support"
-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