mirror of
https://github.com/feyisay07/meta-bsp-imx8mm.git
synced 2026-09-24 14:20:07 +01:00
0927d04f9d884a50ca7fcb083686375f7dcd7fa2
Introduce an infrastructure for enablement of Ethernet phy by means of reading ID directly from the phy to distinguish between models of the phy, then apply an appropriate fine tuning. TBD: support of multiple phys on single bus shall be added. Signed-off-by: Kirill Kapranov <kirill.kapranov@compulab.co.il>
Quick Start Guide
Supported CompuLab machines:
mcm-imx8m-miniucm-imx8m-mini
1 Setup environment
1.1 Prepare NXP BSP
repo init -u git://source.codeaurora.org/external/imx/imx-manifest.git -b imx-linux-hardknott -m imx-5.10.35-2.0.0.xml
1.2 Download CompuLab meta layer
wget --directory-prefix .repo/manifests https://raw.githubusercontent.com/compulab-yokneam/meta-bsp-imx8mm/rel_imx_5.10.35_2.0.0-stable/scripts/imx-5.10.35_2.0.0_compulab.xml
1.3 Get entire BSP tree
repo init -m imx-5.10.35_2.0.0_compulab.xml
repo sync
2 Build
2.1 Define COMPULAB_MACHINE environment variable
| Machine | Command Line |
|---|---|
| mcm-imx8m-mini | export COMPULAB_MACHINE=mcm-imx8m-mini |
| ucm-imx8m-mini | export COMPULAB_MACHINE=ucm-imx8m-mini |
2.2 Run CompuLab Linux Yocto Project setup
| NOTE | Refer to the NXP Readme for details about how to select a correct backend & distro. |
|---|
MACHINE=${COMPULAB_MACHINE} DISTRO=fsl-imx-xwayland source compulab-setup-env -b build
2.3 Build image
bitbake -k compulab-ucm-imx8m-mini
Languages
BitBake
88%
Shell
11.5%
C++
0.5%