Replace ttyACM0 with ttyAMA0 for the serial console.
Signed-off-by: Diederik de Haas <didi.debian@cknow.org>
This commit is contained in:
parent
e48b1980a1
commit
267e7fe332
8
Makefile
8
Makefile
|
@ -25,7 +25,7 @@ raspi_1_buster.yaml: raspi_base_buster.yaml
|
||||||
sed "s/__LINUX_IMAGE__/linux-image-rpi/" | \
|
sed "s/__LINUX_IMAGE__/linux-image-rpi/" | \
|
||||||
sed "s/__EXTRA_PKGS__/- firmware-brcm80211/" | \
|
sed "s/__EXTRA_PKGS__/- firmware-brcm80211/" | \
|
||||||
sed "s/__DTB__/\\/usr\\/lib\\/linux-image-*-rpi\\/bcm*rpi-*.dtb/" |\
|
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__" |\
|
grep -v "__OTHER_APT_ENABLE__" |\
|
||||||
sed "s/__HOST__/rpi1/" > $@
|
sed "s/__HOST__/rpi1/" > $@
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ raspi_2_buster.yaml: raspi_base_buster.yaml
|
||||||
sed "s/__LINUX_IMAGE__/linux-image-armmp/" | \
|
sed "s/__LINUX_IMAGE__/linux-image-armmp/" | \
|
||||||
grep -v "__EXTRA_PKGS__" | \
|
grep -v "__EXTRA_PKGS__" | \
|
||||||
sed "s/__DTB__/\\/usr\\/lib\\/linux-image-*-armmp\\/bcm*rpi*.dtb/" |\
|
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/__OTHER_APT_ENABLE__//" |\
|
||||||
sed "s/__HOST__/rpi2/" > $@
|
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/__LINUX_IMAGE__/linux-image-rpi/" | \
|
||||||
sed "s/__EXTRA_PKGS__/- firmware-brcm80211/" | \
|
sed "s/__EXTRA_PKGS__/- firmware-brcm80211/" | \
|
||||||
sed "s/__DTB__/\\/usr\\/lib\\/linux-image-*-rpi\\/bcm*rpi-*.dtb/" |\
|
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/" > $@
|
sed "s/__HOST__/rpi_1/" > $@
|
||||||
|
|
||||||
raspi_2_bullseye.yaml: raspi_base_bullseye.yaml
|
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/" | \
|
sed "s/__LINUX_IMAGE__/linux-image-armmp/" | \
|
||||||
grep -v "__EXTRA_PKGS__" | \
|
grep -v "__EXTRA_PKGS__" | \
|
||||||
sed "s/__DTB__/\\/usr\\/lib\\/linux-image-*-armmp\\/bcm*rpi*.dtb/" |\
|
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/" > $@
|
sed "s/__HOST__/rpi_2/" > $@
|
||||||
|
|
||||||
raspi_3_bullseye.yaml: raspi_base_bullseye.yaml
|
raspi_3_bullseye.yaml: raspi_base_bullseye.yaml
|
||||||
|
|
Loading…
Reference in New Issue