legacy-bsp/conf/machine: Fix fitimage support for armada

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

id:413752
This commit is contained in:
Alexandre Bard 2023-08-11 09:29:42 +02:00
parent 8f281e17e6
commit a44233c1a7
4 changed files with 12 additions and 0 deletions

View File

@ -16,3 +16,7 @@ FILE_INODE_SIZE = "0"
MACHINE_FEATURES:remove = "bluetooth"
PREFERRED_PROVIDER_virtual/kernel = "linux-nrsw"
UBOOT_MACHINE = "${MACHINE}_defconfig"
UBOOT_ENTRYPOINT = "0x13000000"
UBOOT_LOADADDRESS = "${UBOOT_ENTRYPOINT}"

View File

@ -15,3 +15,6 @@ KERNEL_DEVICETREE = "\
openwrt-nbhw14-sgmii.dtb \
"
# May be an external console on some devices
DEBUG_SERIAL_CONSOLE ?= "115200;ttyS0"
SERIAL_CONSOLES = "${DEBUG_SERIAL_CONSOLE}"

View File

@ -12,3 +12,5 @@ MAX_FS_SIZE = "279542"
# printenv fdt_image
KERNEL_DEVICETREE = "openwrt-nbhw17.dtb"
EXT_SERIAL_CONSOLE ?= "115200;ttyS1"
SERIAL_CONSOLES = "${EXT_SERIAL_CONSOLE}"

View File

@ -15,3 +15,6 @@ KERNEL_DEVICETREE = " \
armada-385-nbhw18-prod1.dtb \
"
DEBUG_SERIAL_CONSOLE ?= "115200;ttyS0"
EXT_SERIAL_CONSOLE ?= "115200;ttyS1"
SERIAL_CONSOLES = "${EXT_SERIAL_CONSOLE} ${DEBUG_SERIAL_CONSOLE}"