From 267e7fe3322bf4b9993a5c94a0d7ae0b4f7ecb32 Mon Sep 17 00:00:00 2001 From: Diederik de Haas Date: Sun, 21 Feb 2021 11:30:55 +0100 Subject: [PATCH] Replace ttyACM0 with ttyAMA0 for the serial console. Signed-off-by: Diederik de Haas --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index c28058c..57a7e41 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,7 @@ raspi_1_buster.yaml: raspi_base_buster.yaml sed "s/__LINUX_IMAGE__/linux-image-rpi/" | \ sed "s/__EXTRA_PKGS__/- firmware-brcm80211/" | \ sed "s/__DTB__/\\/usr\\/lib\\/linux-image-*-rpi\\/bcm*rpi-*.dtb/" |\ - sed "s/__SERIAL_CONSOLE__/ttyACM0,115200/" |\ + sed "s/__SERIAL_CONSOLE__/ttyAMA0,115200/" |\ grep -v "__OTHER_APT_ENABLE__" |\ sed "s/__HOST__/rpi1/" > $@ @@ -34,7 +34,7 @@ raspi_2_buster.yaml: raspi_base_buster.yaml sed "s/__LINUX_IMAGE__/linux-image-armmp/" | \ grep -v "__EXTRA_PKGS__" | \ sed "s/__DTB__/\\/usr\\/lib\\/linux-image-*-armmp\\/bcm*rpi*.dtb/" |\ - sed "s/__SERIAL_CONSOLE__/ttyACM0,115200/" |\ + sed "s/__SERIAL_CONSOLE__/ttyAMA0,115200/" |\ sed "s/__OTHER_APT_ENABLE__//" |\ sed "s/__HOST__/rpi2/" > $@ @@ -71,7 +71,7 @@ raspi_1_bullseye.yaml: raspi_base_bullseye.yaml sed "s/__LINUX_IMAGE__/linux-image-rpi/" | \ sed "s/__EXTRA_PKGS__/- firmware-brcm80211/" | \ sed "s/__DTB__/\\/usr\\/lib\\/linux-image-*-rpi\\/bcm*rpi-*.dtb/" |\ - sed "s/__SERIAL_CONSOLE__/ttyACM0,115200/" |\ + sed "s/__SERIAL_CONSOLE__/ttyAMA0,115200/" |\ sed "s/__HOST__/rpi_1/" > $@ raspi_2_bullseye.yaml: raspi_base_bullseye.yaml @@ -79,7 +79,7 @@ raspi_2_bullseye.yaml: raspi_base_bullseye.yaml sed "s/__LINUX_IMAGE__/linux-image-armmp/" | \ grep -v "__EXTRA_PKGS__" | \ sed "s/__DTB__/\\/usr\\/lib\\/linux-image-*-armmp\\/bcm*rpi*.dtb/" |\ - sed "s/__SERIAL_CONSOLE__/ttyACM0,115200/" |\ + sed "s/__SERIAL_CONSOLE__/ttyAMA0,115200/" |\ sed "s/__HOST__/rpi_2/" > $@ raspi_3_bullseye.yaml: raspi_base_bullseye.yaml