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:
@@ -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
|
||||
|
@@ -34,6 +34,7 @@ dtoverlay=vc4-kms-v3d
|
||||
|
||||
# Serial console
|
||||
enable_uart=1
|
||||
dtparam=uart0=on
|
||||
|
||||
# SPI
|
||||
#dtparam=spi=on
|
||||
|
Reference in New Issue
Block a user