boot: enable serial console on gpio

* To use the new serial port on Raspberry Pi 5 adjust cmdline to
  use ttyAMA10 for console.
This commit is contained in:
Konsta
2023-11-15 17:35:39 +02:00
parent 88e0af519d
commit 5780f0a884
2 changed files with 2 additions and 1 deletions

View File

@@ -45,7 +45,7 @@ BOARD_MESA3D_VULKAN_DRIVERS := broadcom
# Kernel
BOARD_CUSTOM_BOOTIMG := true
BOARD_CUSTOM_BOOTIMG_MK := $(DEVICE_PATH)/mkbootimg.mk
BOARD_KERNEL_CMDLINE := console=ttyS0,115200 no_console_suspend root=/dev/ram0 rootwait androidboot.hardware=rpi5
BOARD_KERNEL_CMDLINE := console=ttyAMA0,115200 no_console_suspend root=/dev/ram0 rootwait androidboot.hardware=rpi5
# Manifest
DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE := $(DEVICE_PATH)/framework_compatibility_matrix.xml

View File

@@ -34,6 +34,7 @@ dtoverlay=vc4-kms-v3d
# Serial console
enable_uart=1
dtparam=uart0=on
# SPI
#dtparam=spi=on