ramdisk-image: Add wifi firmwares for TI chips

And make it dependent on MACHINE_FEATURES.

These firmwares are required for the chip to function properly.

id:425378
This commit is contained in:
Alexandre Bard 2023-08-30 16:43:55 +02:00
parent 7c9cfe9e0c
commit b4793c1678
6 changed files with 35 additions and 0 deletions

View File

@ -12,3 +12,8 @@ KERNEL_DEVICETREE = "\
DEBUG_SERIAL_CONSOLE ?= "115200;ttyS1"
COMIO_SERIAL_CONSOLE ?= "115200;ttyS0"
SERIAL_CONSOLES = "${DEBUG_SERIAL_CONSOLE} ${COMIO_SERIAL_CONSOLE}"
MACHINE_FEATURES += " \
wifi \
ti-wifi \
"

View File

@ -15,3 +15,8 @@ KERNEL_DEVICETREE = "\
EXT_SERIAL_CONSOLE ?= "115200;ttyS1"
COMIO_SERIAL_CONSOLE ?= "115200;ttyS0"
SERIAL_CONSOLES = "${EXT_SERIAL_CONSOLE} ${COMIO_SERIAL_CONSOLE}"
MACHINE_FEATURES += " \
wifi \
ti-wifi \
"

View File

@ -14,3 +14,8 @@ KERNEL_DEVICETREE = "\
DEBUG_SERIAL_CONSOLE ?= "115200;ttyS0"
SERIAL_CONSOLES = "${DEBUG_SERIAL_CONSOLE}"
MACHINE_FEATURES += " \
wifi \
ti-wifi \
"

View File

@ -16,3 +16,8 @@ KERNEL_DEVICETREE = "\
EXT_SERIAL_CONSOLE ?= "115200;ttyS5"
DEBUG_SERIAL_CONSOLE ?= "115200;ttyS0"
SERIAL_CONSOLES = "${EXT_SERIAL_CONSOLE} ${DEBUG_SERIAL_CONSOLE}"
MACHINE_FEATURES += " \
wifi \
ti-wifi \
"

View File

@ -14,3 +14,8 @@ KERNEL_DEVICETREE = "\
EXT_SERIAL_CONSOLE ?= "115200;ttyS2"
SERIAL_CONSOLES = "${EXT_SERIAL_CONSOLE}"
MACHINE_FEATURES += " \
wifi \
ti-wifi \
"

View File

@ -12,6 +12,14 @@ COREOS_IMAGE_GENERATE_INSTALLER = "0"
COREOS_IMAGE_GENERATE_UKI = "0"
COREOS_IMAGE_GENERATE_SWU = "0"
TI_WIFI_PACKAGES = " \
firmware-ti-wl18xx \
"
WIFI_PACKAGES = " \
${@bb.utils.contains("MACHINE_FEATURES", "ti-wifi", "${TI_WIFI_PACKAGES}", "", d)} \
"
IMAGE_INSTALL:append = " \
coreutils \
ncurses-terminfo-base \
@ -19,4 +27,6 @@ IMAGE_INSTALL:append = " \
networkmanager-nmcli \
systemd-conf \
nwl-tests-kernel \
\
${@bb.utils.contains("MACHINE_FEATURES", "wifi", "${WIFI_PACKAGES}", "", d)} \
"