summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2019-09-27 11:12:03 +0200
committerStefan Agner <stefan.agner@toradex.com>2019-09-27 11:14:49 +0200
commitac58357a41f27450097dd2fd3e4228b2f4fc8d77 (patch)
tree15e0d4c6449c352ae5b28d344251702221a6a100
parent284e4dcaf39f7ba08af5938f0e20d4e6b5862c31 (diff)
u-boot-distro-boot: load HDMI firmware in boot script
Use the distro boot script to load the HDMI firmware. This minimizes the dependencies to the U-Boot environment and gives more control to the distribution. Related-to: #52562 Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
-rw-r--r--recipes-bsp/u-boot/u-boot-distro-boot/sota/boot.cmd.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/u-boot-distro-boot/sota/boot.cmd.in b/recipes-bsp/u-boot/u-boot-distro-boot/sota/boot.cmd.in
index ca06f1d..19214d8 100644
--- a/recipes-bsp/u-boot/u-boot-distro-boot/sota/boot.cmd.in
+++ b/recipes-bsp/u-boot/u-boot-distro-boot/sota/boot.cmd.in
@@ -26,6 +26,14 @@ fi
run bootcmd_otenv
+if test "${board}" = "apalis-imx8"
+then
+ echo "Loading HDMI firmware..."
+ env set hdp_file hdmitxfw.bin
+ load ${devtype} ${devnum}:1 ${loadaddr} ${hdp_file}
+ hdp load ${loadaddr}
+fi
+
if test -n ${rollback} && test ${rollback} = 1
then
echo "Roolback enabled. Booting old version."