From c66d5800a3ee77cf265613e0a6817c55dccf20c7 Mon Sep 17 00:00:00 2001 From: Philippe Coval Date: Wed, 22 May 2024 22:59:10 +0200 Subject: [PATCH] extra: debos: Fix u-boot config for raspi Signed-off-by: Philippe Coval Change-Id: Icd108e688c3e57a812decefd3ec2baed4a8a396e --- extra/debos/machine/rpi_2/actions.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/extra/debos/machine/rpi_2/actions.yaml b/extra/debos/machine/rpi_2/actions.yaml index 2be20c9..e4164d7 100644 --- a/extra/debos/machine/rpi_2/actions.yaml +++ b/extra/debos/machine/rpi_2/actions.yaml @@ -64,26 +64,26 @@ actions: - action: run chroot: true command: > - echo "# /boot/firmware/config.txt" - | tee /boot/firmware/config.txt \ + echo "# /etc/default/raspi-firmware-custom" + | tee /etc/default/raspi-firmware-custom \ {{if eq $architecture "arm64"}} && echo 'arm_64bit=1' - | tee -a /boot/firmware/config.txt \ + | tee -a /etc/default/raspi-firmware-custom \ {{else}} && echo 'arm_64bit=0' - | tee -a /boot/firmware/config.txt \ + | tee -a /etc/default/raspi-firmware-custom \ {{end}} && echo 'enable_uart=1' - | tee -a /boot/firmware/config.txt + | tee -a /etc/default/raspi-firmware-custom && echo 'uart_2ndstage' - | tee -a /boot/firmware/config.txt + | tee -a /etc/default/raspi-firmware-custom && echo 'kernel=u-boot.bin' - | tee -a /boot/firmware/config.txt + | tee -a /etc/default/raspi-firmware-custom && echo 'upstream_kernel=1' - | tee -a /boot/firmware/config.txt + | tee -a /etc/default/raspi-firmware-custom && echo 'disable_overscan=1' - | tee -a /boot/firmware/config.txt - && cat /boot/firmware/config.txt + | tee -a /etc/default/raspi-firmware-custom + && cat /etc/default/raspi-firmware-custom - action: run chroot: true