aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeniy Didin <didin@synopsys.com>2020-07-15 22:43:20 +0300
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-07-16 15:09:30 +0000
commite5310229bf79f12d34e3d3595f9880261d02648c (patch)
tree2fbd911eeb95a409c5dc0960b09d164459c73964
parent6c1173da91c7204abd1b530ef4eb9920af46eb50 (diff)
Synopsys,HSDK: Return files for HSDK board
Lets return HSDK board support as the meta-synopsys layer now is compatible to yocto dunfell. Signed-off-by: Evgeniy Didin <didin@synopsys.com> Change-Id: I3f11b9f8f5790d2513635beb05ec8e7584ebccc4 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25024 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
-rw-r--r--meta-agl-bsp/conf/include/agl_hsdk.inc4
-rw-r--r--meta-agl-bsp/meta-synopsys/recipes-kernel/linux-yocto_%.bbappend1
-rw-r--r--templates/machine/hsdk/40_bblayers.conf.inc2
-rw-r--r--templates/machine/hsdk/50_local.conf.inc2
-rw-r--r--templates/machine/hsdk/README_machine_hsdk.md9
5 files changed, 18 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..075cea53e
--- /dev/null
+++ b/meta-agl-bsp/conf/include/agl_hsdk.inc
@@ -0,0 +1,4 @@
+KERNEL_IMAGETYPE = "uImage"
+WKS_FILE = "sdimage-hsdk.wks"
+IMAGE_BOOT_FILES = "uImage uboot.env"
+IMAGE_INSTALL_append = " kernel-modules"
diff --git a/meta-agl-bsp/meta-synopsys/recipes-kernel/linux-yocto_%.bbappend b/meta-agl-bsp/meta-synopsys/recipes-kernel/linux-yocto_%.bbappend
new file mode 100644
index 000000000..88ac94b15
--- /dev/null
+++ b/meta-agl-bsp/meta-synopsys/recipes-kernel/linux-yocto_%.bbappend
@@ -0,0 +1 @@
+require recipes-kernel/linux/linux-agl.inc
diff --git a/templates/machine/hsdk/40_bblayers.conf.inc b/templates/machine/hsdk/40_bblayers.conf.inc
new file mode 100644
index 000000000..e3954fef3
--- /dev/null
+++ b/templates/machine/hsdk/40_bblayers.conf.inc
@@ -0,0 +1,2 @@
+# Use meta-synopsys layer for ARC HSDK board
+BBLAYERS =+ "${METADIR}/bsp/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
diff --git a/templates/machine/hsdk/README_machine_hsdk.md b/templates/machine/hsdk/README_machine_hsdk.md
new file mode 100644
index 000000000..30e56d13b
--- /dev/null
+++ b/templates/machine/hsdk/README_machine_hsdk.md
@@ -0,0 +1,9 @@
+---
+description: Machine hsdk
+authors: Evgeniy Didin <didin@synopsys.com>, Jan-Simon Möller <jsmoeller@linuxfoundation.org>
+---
+
+### Machine hsdk
+
+*Description is missing - please complete file meta-agl/templates/machine/hsdk/README_machine_hsdk.md*
+