legacy-bsp/conf/machine: Fix sitara machine to boot ramdisk images

UBOOT_MACHINE is required by the fitimage recipe.
SERIAL_CONSOLES is required to open the login shell on the right
interfaces.

id:413752
This commit is contained in:
Alexandre Bard 2023-08-07 10:15:57 +02:00
parent afa2da3bd1
commit 8f281e17e6
6 changed files with 16 additions and 0 deletions

View File

@ -9,3 +9,6 @@ KERNEL_DEVICETREE = "\
am335x-nmhw24-prod1.dtb \
"
DEBUG_SERIAL_CONSOLE ?= "115200;ttyS1"
COMIO_SERIAL_CONSOLE ?= "115200;ttyS0"
SERIAL_CONSOLES = "${DEBUG_SERIAL_CONSOLE} ${COMIO_SERIAL_CONSOLE}"

View File

@ -29,6 +29,7 @@ include conf/machine/include/arm/armv7a/tune-cortexa8.inc
KERNEL_IMAGETYPE = "zImage"
UBOOT_MACHINE = "${MACHINE}_defconfig"
# SPL_BINARY = "MLO"
UBOOT_SUFFIX = "img"
UBOOT_ENTRYPOINT = "0x80008000"

View File

@ -12,3 +12,6 @@ KERNEL_DEVICETREE = "\
am335x-nrhw20-prod1.dtb \
"
EXT_SERIAL_CONSOLE ?= "115200;ttyS1"
COMIO_SERIAL_CONSOLE ?= "115200;ttyS0"
SERIAL_CONSOLES = "${EXT_SERIAL_CONSOLE} ${COMIO_SERIAL_CONSOLE}"

View File

@ -11,3 +11,6 @@ MAX_FS_SIZE = "279542"
KERNEL_DEVICETREE = "\
am335x-nrhw22-prod1.dtb \
"
DEBUG_SERIAL_CONSOLE ?= "115200;ttyS0"
SERIAL_CONSOLES = "${DEBUG_SERIAL_CONSOLE}"

View File

@ -12,3 +12,7 @@ KERNEL_DEVICETREE = "\
am335x-hw25-prod1.dtb \
"
# ext serial only on Sc models
EXT_SERIAL_CONSOLE ?= "115200;ttyS5"
DEBUG_SERIAL_CONSOLE ?= "115200;ttyS0"
SERIAL_CONSOLES = "${EXT_SERIAL_CONSOLE} ${DEBUG_SERIAL_CONSOLE}"

View File

@ -12,3 +12,5 @@ KERNEL_DEVICETREE = "\
am335x-hw26-prod1.dtb \
"
EXT_SERIAL_CONSOLE ?= "115200;ttyS2"
SERIAL_CONSOLES = "${EXT_SERIAL_CONSOLE}"