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 Oct 28, 2024
1 parent c403007 commit c66d580
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 c66d580

Please sign in to comment.