Skip to content

Commit

Permalink
extra: debos: Fix u-boot config for raspi
Browse files Browse the repository at this point in the history
Signed-off-by: Philippe Coval <[email protected]>
Change-Id: Icd108e688c3e57a812decefd3ec2baed4a8a396e
  • Loading branch information
rzr committed Sep 14, 2024
1 parent 31c916f commit 8da1988
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions extra/debos/machine/rpi_2/actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8da1988

Please sign in to comment.