summaryrefslogtreecommitdiffstats
path: root/templates/machine/h3-salvator-x/50_setup.sh
diff options
context:
space:
mode:
authorMartin Kelly <mkelly@xevo.com>2018-01-26 17:34:56 -0800
committerMartin Kelly <mkelly@xevo.com>2018-04-02 11:39:44 -0700
commitd6edc2872b1fc53f93607e7e38dc3ae87e12128c (patch)
treebd458f0da3b83d1650a7401c5fa773a245459fd2 /templates/machine/h3-salvator-x/50_setup.sh
parent14579523b82ed183322252d6922c7558b0d263aa (diff)
bsp: add salvator-x H3 support
The Salvator-X uses the same SoC as the H3 but includes other peripherals. As a result, it can reuse the same h3ulcb config but needs a different device tree and kernel config. This is already supported in meta-rcar-gen3 but needs AGL plumbing, so add it. There is also an M3 version of the Salvator-X, but I don't have one and cannot test it. So I've added support only for the H3 version here. Bug-AGL: SPEC-1376 Change-Id: I64683f4f65dda3fee63e6243f0ba916e568ca245 Signed-off-by: Martin Kelly <mkelly@xevo.com>
Diffstat (limited to 'templates/machine/h3-salvator-x/50_setup.sh')
-rw-r--r--templates/machine/h3-salvator-x/50_setup.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/machine/h3-salvator-x/50_setup.sh b/templates/machine/h3-salvator-x/50_setup.sh
new file mode 100644
index 000000000..abd2a33af
--- /dev/null
+++ b/templates/machine/h3-salvator-x/50_setup.sh
@@ -0,0 +1,10 @@
+# setup proprietary gfx drivers and multimedia packages
+pushd $METADIR 2>/dev/null
+
+SETUP_MM_SCRIPT=$METADIR/meta-agl/meta-agl-bsp/meta-rcar-gen3/scripts/setup_mm_packages.sh
+if [ -f $SETUP_MM_SCRIPT ]; then
+ . $SETUP_MM_SCRIPT
+ copy_mm_packages
+fi
+
+popd 2>/dev/null