Need help? Write to us contact@example.com

Please, enable Compare.

Building Yocto Gatesgarth BSP Distribution


https://github.com/nxp-imx/meta-imx/meta-bsp
https://github.com/Freescale/meta-freescale-distro

Overview of the meta-embedian Yocto Layer


Notes on meta-embedian layer content

This folder contains the machine definitions for Embedian’s smarcimx8mp2g, smarcimx8mp4g, and smarcimx8mp6g platform and backup repository in Embedian. These select the associated kernel, kernel config, u-boot, u-boot config, and tar.bz2 image settings.

This folder contains recipes used to build DAS U-boot for all Embedian’s platform.

This folder contains sgtl5000 sound chip default state for all Embedian’s platform.

This folder contains imx-mkimage tool for Embedian’s smarcimx8mp2g, smarcimx8mp4g, and smarcimx8mp6g platform.

This folder adds compatible machine for smarcimx8mp2g, smarcimx8mp4g, and smarcimx8mp6g platform

This folder remove telnetd from bysybox for all Embedian’s platform.  

This folder customized Yocto boot psplash for all Embedian’s platform.

Contains the recipes needed to build for all Embedian’s platform Linux kernels.

Setting Up the Tools and Build Environment




If you are using a 64-bit Linux, then you’d also need to install 32-bit support libraries, needed by the pre-built Linaro toolchain and other binary tools.








Notes

Building the Target Platforms



or


Notes



This folder contains the binary images for the root file system and the Embedian SMARC-iMX8MP specific version of the boot file, Image and device tree file. Specifically the images are:

This is boot file binary for SMARC-iMX8MP.

The kernel Image for SMARC-iMX8MP.  

Selecting display configuration is a matter of selecting an appropriate DTB file under deploy/images/<machine name>/<device tree file>

DTB FILENAME

DESCRIPTION

imx8mp-smarc.dtb

Device tree blob for no display configuration

imx8mp-smarc-hdmi.dtb

Device tree blob for HDMI display configuration

imx8mp-smarc-lvds.dtb

Device tree blob for LVDS display configuration

imx8mp-smarc-m7.dtb

Device tree blob for Cortex-M7 co-processor configuration

Embedian root file system images for software development on Embedian’s SMARC-iMX8MP platforms without QT6.

Embedian root file system images for software development on Embedian’s SMARC-iMX8MP  with QT6.

This folder contains all the packages used to construct the root file system images. They are in deb format (similar format to Debian packages) and can be dynamically installed on the target platform via a properly  constructed feed file. Here is an example of the feed file (named base- feeds.conf) that is used internally at Embedian to install upgrades onto a SMARC-iMX8MP platform without reflashing the file system:



A database of all licenses used in all packages built for the system.

Setup SD Card Manually















If on-module eMMC Flash is empty

~/gatesgarth-release/<build dir>/tmp/deploy/images/<machine name>/


If on-module eMMC Flash is not empty

~/gatesgarth-release/<build dir>/tmp/deploy/images/<machine name>/

(home directory of device)


Notes


~/uEnv.txt

~/


~/gatesgarth-release/<build dir>/tmp/deploy/images/<machine name>/


~/gatesgarth-release/<build dir>/tmp/deploy/images/<machine name>/

DTB FILENAME

DESCRIPTION

imx8mp-smarc.dtb

Device tree blob for no display configuration

imx8mp-smarc-hdmi.dtb

Device tree blob for HDMI display configuration

imx8mp-smarc-lvds.dtb

Device tree blob for LVDS display configuration

imx8mp-smarc-m7.dtb

Device tree blob for Cortex-M7 co-processor configuration

Notes


~/gatesgarth-release/<build dir>/tmp/deploy/images/<machine name>/

Notes


Setup SD Card Automatically



Feed Packages









Writing Bitbake Recipes







WORKDIR is located at ${OETREE}/<build directory>/tmp/work/cortexa53-crypto-poky-linux/<package name and version> for most packages. If the package is machine-specific (rather than generic for the armv8a architecture), it may be located in the smarcimx8mp4g-poky-linux subdirectory depending on your hardware (this applies to kernel packages, images, etc).







~/gatesgarth-release/<build dir>/tmp/deploy/images/<machine name>/


~/uEnv.txt


~/gatesgarth-release/<build dir>/tmp/deploy/images/<machine name>/


~/gatesgarth-release/<build dir>/tmp/deploy/images/<machine name>/


~/gatesgarth-release/<build dir>/tmp/deploy/images/<machine name>/































AzureWave P/N: AW-CM276MA-PUR
Laird Connectivity P/N: 60-2230C
Embedded Artists 1YM M.2 Module
Globascale Technologies NXP 88W8997 2x2 WiFi 802.11ac+BT 5.0 mini PCIe Card w/ Two External SMA AntennasList item



can1: flags=128<NOARP> mtu 16
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 10 (UNSPEC)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 36

eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 10:0d:32:01:00:01 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

eth1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 10:0d:32:02:00:01 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 54

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 3452 bytes 216146 (211.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3452 bytes 216146 (211.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

mlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 4a:6b:15:b3:7f:a4 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

p2p0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 2a:08:86:b1:27:cb txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

uap0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 5a:57:c4:46:2b:68 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0














Was this article helpful?