diff options
| author | Mark Hatle <mark.hatle@xilinx.com> | 2021-09-07 10:11:16 -0700 |
|---|---|---|
| committer | Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> | 2021-09-28 08:19:44 -0700 |
| commit | 3de26cd3041552fc7852a266c6c020c5cf35b030 (patch) | |
| tree | 8b6d047a59874f9c4c1ea0ad89ccdf5a47177187 | |
| parent | 90a306f6da22ea078326ba889857a44b4f6fd0d4 (diff) | |
| download | meta-xilinx-3de26cd3041552fc7852a266c6c020c5cf35b030.tar.gz | |
ultra96-zynqmp/zynqmp-generic: Specify the ultra96 so BOARD can select it
Move the ultra96-zynqmp.conf into the zynqmp-generic (via a require). This
approach can be used for other board specific overrides if necessary.
Move MACHINE_FEATURES to the generic zynqmp-generic file, as that is requried
to make a superset.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| -rw-r--r-- | meta-xilinx-bsp/conf/machine/include/board/ultra96.inc | 7 | ||||
| -rw-r--r-- | meta-xilinx-bsp/conf/machine/ultra96-zynqmp.conf | 8 | ||||
| -rw-r--r-- | meta-xilinx-bsp/conf/machine/zynqmp-generic.conf | 7 |
3 files changed, 14 insertions, 8 deletions
diff --git a/meta-xilinx-bsp/conf/machine/include/board/ultra96.inc b/meta-xilinx-bsp/conf/machine/include/board/ultra96.inc new file mode 100644 index 00000000..97c850cd --- /dev/null +++ b/meta-xilinx-bsp/conf/machine/include/board/ultra96.inc | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | # Ultra96 items that need to be configured from zynqmp-generic | ||
| 2 | PACKAGE_ARCH_pn-linux-xlnx_ultra96 = "${BOARDVARIANT_ARCH}" | ||
| 3 | KERNEL_DEVICETREE_ultra96 = "xilinx/zynqmp-zcu100-revC.dtb" | ||
| 4 | |||
| 5 | # Enable bluetooth and wifi module | ||
| 6 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS_append_ultra96 = " linux-firmware-wl18xx linux-firmware-ti-bt-wl180x" | ||
| 7 | |||
diff --git a/meta-xilinx-bsp/conf/machine/ultra96-zynqmp.conf b/meta-xilinx-bsp/conf/machine/ultra96-zynqmp.conf index 8699cd50..88b3fc61 100644 --- a/meta-xilinx-bsp/conf/machine/ultra96-zynqmp.conf +++ b/meta-xilinx-bsp/conf/machine/ultra96-zynqmp.conf | |||
| @@ -7,11 +7,3 @@ require conf/machine/zynqmp-generic.conf | |||
| 7 | 7 | ||
| 8 | MACHINE = "zynqmp-generic" | 8 | MACHINE = "zynqmp-generic" |
| 9 | BOARD = "ultra96" | 9 | BOARD = "ultra96" |
| 10 | |||
| 11 | MACHINE_FEATURES += "usbgadget wifi bluetooth" | ||
| 12 | |||
| 13 | KERNEL_DEVICETREE = "xilinx/zynqmp-zcu100-revC.dtb" | ||
| 14 | |||
| 15 | # Enable bluetooth and wifi module | ||
| 16 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "linux-firmware-wl18xx linux-firmware-ti-bt-wl180x" | ||
| 17 | |||
diff --git a/meta-xilinx-bsp/conf/machine/zynqmp-generic.conf b/meta-xilinx-bsp/conf/machine/zynqmp-generic.conf index fe05321b..0ff25ac0 100644 --- a/meta-xilinx-bsp/conf/machine/zynqmp-generic.conf +++ b/meta-xilinx-bsp/conf/machine/zynqmp-generic.conf | |||
| @@ -10,7 +10,11 @@ require conf/machine/include/machine-xilinx-default.inc | |||
| 10 | require conf/machine/include/machine-xilinx-qemu.inc | 10 | require conf/machine/include/machine-xilinx-qemu.inc |
| 11 | require conf/machine/include/xilinx-board.inc | 11 | require conf/machine/include/xilinx-board.inc |
| 12 | 12 | ||
| 13 | # Machine features must result in a superset | ||
| 14 | # Basic features: | ||
| 13 | MACHINE_FEATURES += "rtc ext2 ext3 vfat usbhost" | 15 | MACHINE_FEATURES += "rtc ext2 ext3 vfat usbhost" |
| 16 | # Ultra96 features: | ||
| 17 | MACHINE_FEATURES += " usbgadget wifi bluetooth" | ||
| 14 | 18 | ||
| 15 | EXTRA_IMAGEDEPENDS += "libyaml-native python3-cython-native python3-pyyaml-native" | 19 | EXTRA_IMAGEDEPENDS += "libyaml-native python3-cython-native python3-pyyaml-native" |
| 16 | 20 | ||
| @@ -77,3 +81,6 @@ QB_PMU_OPT = " \ | |||
| 77 | QB_OPT_APPEND_append_qemuboot-xilinx = " -pmu-args '${QB_PMU_OPT}'" | 81 | QB_OPT_APPEND_append_qemuboot-xilinx = " -pmu-args '${QB_PMU_OPT}'" |
| 78 | 82 | ||
| 79 | do_write_qemuboot_conf[depends] += "u-boot-zynq-uenv:do_deploy" | 83 | do_write_qemuboot_conf[depends] += "u-boot-zynq-uenv:do_deploy" |
| 84 | |||
| 85 | # Board specific overrides | ||
| 86 | require conf/machine/include/board/ultra96.inc | ||
