From 8b6acd8207400e7b130a4b1645df5c60a44b7c8b Mon Sep 17 00:00:00 2001 From: Daniel Moran Date: Thu, 27 Jun 2019 21:39:49 +0100 Subject: [PATCH] Enable the bootloader UART --- raspi0w.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/raspi0w.yaml b/raspi0w.yaml index 8179da3..e69cb85 100644 --- a/raspi0w.yaml +++ b/raspi0w.yaml @@ -132,10 +132,14 @@ steps: # Modify the kernel commandline we take from the firmware to boot from # the partition labeled raspiroot instead of forcing it to mmcblk0p2 + # + # Enable UART in the boot loader to debug + # - chroot: / shell: | ls -aR /boot sed -i 's/.dev.mmcblk0p2/LABEL=RASPIROOT/' /boot/firmware/cmdline.txt + sed -i 's/BOOT_UART=0/BOOT_UART=1/' /boot/firmware/bootcode.bin # TODO(https://github.com/larswirzenius/vmdb2/issues/24): remove once vmdb # clears /etc/resolv.conf on its own.