From 44f3e690fdf1a5f202ff06789a60899704e3d964 Mon Sep 17 00:00:00 2001 From: Wojciech Zmuda <wojciech.zmuda@huawei.com> Date: Fri, 15 Jan 2021 15:54:47 +0100 Subject: [PATCH] Add Avenger96 Linux support Add required meta-layers to bblayers.conf.sample. Add dependencies to local.conf.sample that provide necessary packages to enable Ethernet, WiFi and Bluetooth connectivity. Mention the board in README. Signed-off-by: Wojciech Zmuda <wojciech.zmuda@huawei.com> --- README.md | 1 + flavours/linux/bblayers.conf.sample | 5 +++++ flavours/linux/conf-notes.txt | 2 ++ flavours/linux/local.conf.sample | 5 +++++ 4 files changed, 13 insertions(+) diff --git a/README.md b/README.md index b58b1b1f..6912e6d5 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,7 @@ Supported machines: - qemuarm - qemuarm64 - seco-intel-b68 (SECO intel B68) +- stm32mp1-av96 (96Boards Avenger96) Example: diff --git a/flavours/linux/bblayers.conf.sample b/flavours/linux/bblayers.conf.sample index 09c42cab..437a3317 100644 --- a/flavours/linux/bblayers.conf.sample +++ b/flavours/linux/bblayers.conf.sample @@ -12,4 +12,9 @@ BBLAYERS ?= " \ ##OEROOT##/../meta-ohos/meta-ohos-foundation \ ##OEROOT##/../meta-intel \ ##OEROOT##/../meta-seco-intel \ + ##OEROOT##/../meta-openembedded/meta-oe \ + ##OEROOT##/../meta-openembedded/meta-python \ + ##OEROOT##/../meta-st-stm32mp \ + ##OEROOT##/../meta-st-stm32mp-addons \ + ##OEROOT##/../meta-av96 \ " diff --git a/flavours/linux/conf-notes.txt b/flavours/linux/conf-notes.txt index d4c19e0b..3abd9eeb 100644 --- a/flavours/linux/conf-notes.txt +++ b/flavours/linux/conf-notes.txt @@ -6,12 +6,14 @@ You can now run 'bitbake <target>' Supported targets: - core-image-minimal - core-image-full-cmdline +- core-image-base Supported machines: - qemux86-64 (default) - qemux86 - qemuarm - qemuarm64 +- stm32mp1-av96 (96Boards Avenger96) MACHINE variable can be set up in conf/local.conf file under build directory or via command line, e.g.: diff --git a/flavours/linux/local.conf.sample b/flavours/linux/local.conf.sample index f71864a5..beb5d424 100644 --- a/flavours/linux/local.conf.sample +++ b/flavours/linux/local.conf.sample @@ -23,6 +23,7 @@ #MACHINE ?= "qemuppc" #MACHINE ?= "qemux86" #MACHINE ?= "qemux86-64" +#MACHINE ?= "stm32mp1-av96" # # This sets the default machine to be qemux86 if no other machine is selected: MACHINE ??= "qemux86-64" @@ -256,3 +257,7 @@ PACKAGECONFIG_append_pn-qemu-system-native = " sdl" # track the version of this file when it was generated. This can safely be ignored if # this doesn't mean anything to you. CONF_VERSION = "1" + +IMAGE_INSTALL_appned = "dhcp-client dropbear packagegroup-base-wifi iw bluez5 obexftp" +IMAGE_INSTALL_append_stm32mp1-av96 += "av96-root-files" + -- GitLab