From d6999eb06f5112380d1e399d6f5f548c3cb25351 Mon Sep 17 00:00:00 2001 From: Andrei Gherzan Date: Tue, 2 Jul 2019 15:17:44 +0100 Subject: rpi-config: Handle ARMSTUB Signed-off-by: Andrei Gherzan --- recipes-bsp/bootfiles/rpi-config_git.bb | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/recipes-bsp/bootfiles/rpi-config_git.bb b/recipes-bsp/bootfiles/rpi-config_git.bb index b3356ed..08c80a6 100644 --- a/recipes-bsp/bootfiles/rpi-config_git.bb +++ b/recipes-bsp/bootfiles/rpi-config_git.bb @@ -191,6 +191,17 @@ do_deploy() { # Append extra config if the user has provided any printf "${RPI_EXTRA_CONFIG}\n" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt + + # Handle setup with armstub file + if [ -n "${ARMSTUB}" ]; then + echo "\n# ARM stub configuration" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt + echo "armstub=${ARMSTUB}" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt + case "${ARMSTUB}" in + *-gic.bin) + echo "enable_gic=1" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt + ;; + esac + fi } do_deploy_append_raspberrypi3-64() { -- cgit v1.2.3-54-g00ecf