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:
parent
6caf907636
commit
773946b892
|
|
@ -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 \
|
||||
"
|
||||
|
|
|
|||
|
|
@ -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 \
|
||||
"
|
||||
|
|
|
|||
|
|
@ -14,3 +14,8 @@ KERNEL_DEVICETREE = "\
|
|||
|
||||
DEBUG_SERIAL_CONSOLE ?= "115200;ttyS0"
|
||||
SERIAL_CONSOLES = "${DEBUG_SERIAL_CONSOLE}"
|
||||
|
||||
MACHINE_FEATURES += " \
|
||||
wifi \
|
||||
ti-wifi \
|
||||
"
|
||||
|
|
|
|||
|
|
@ -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 \
|
||||
"
|
||||
|
|
|
|||
|
|
@ -14,3 +14,8 @@ KERNEL_DEVICETREE = "\
|
|||
|
||||
EXT_SERIAL_CONSOLE ?= "115200;ttyS2"
|
||||
SERIAL_CONSOLES = "${EXT_SERIAL_CONSOLE}"
|
||||
|
||||
MACHINE_FEATURES += " \
|
||||
wifi \
|
||||
ti-wifi \
|
||||
"
|
||||
|
|
|
|||
|
|
@ -13,6 +13,14 @@ IMAGE_FSTYPES = "cpio.xz"
|
|||
# Keep only the minimum packages
|
||||
NO_RECOMMENDATIONS = "1"
|
||||
|
||||
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 \
|
||||
|
|
@ -23,4 +31,6 @@ IMAGE_INSTALL:append = " \
|
|||
networkmanager-nmcli \
|
||||
systemd-conf \
|
||||
nwl-tests-kernel \
|
||||
\
|
||||
${@bb.utils.contains("MACHINE_FEATURES", "wifi", "${WIFI_PACKAGES}", "", d)} \
|
||||
"
|
||||
|
|
|
|||
Loading…
Reference in New Issue