# 【Doc】Yocto BSP - Debian ###### tags: `OS`,`BSP` --- [UG10155](https://docs.nxp.com/bundle/UG10155/page/topics/how_to_add_a_new_board_in_flexbuild.html) [Git Source Code](https://github.com/nxp/flexbuild) * BSP Version |Ver|imx8mpevk|imx93pevk|imx93fdrm| |---|---|---|---| |LF5.10.52||| |LF6.1.36||| |LF6.6.3||| |LF6.6.36||| </br> </br> --- Quick Start Guide using docker 1. Getting Flexbuild ``` $ git clone https://github.com/nxp/flexbuild ``` 2. Building Debian images in Flexbuild ``` $ cd flexbuild $ . setup.env (in host environment) $ bld docker (create or attach to docker) $ . setup.env (in docker environment) $ bld host-dep (install host dependent packages) ``` 3. Build Image ``` bld -m imx8mpevk ``` * Build uboot ``` $ bld uboot -m imx8mpevk ``` * Build ATF image ``` $ bld atf -m imx8mpevk -b sd ``` * Build bsp ``` $ bld bsp -m imx8mpevk ``` * Build Commandline ``` $ bld list $ bld docker $ bld clean $ bld clean-apps $ bld clean-rfs $ bld clean-bsp $ bld clean-linux ``` 4. Brun-In Imag * emmc ``` $ flex-installer -d /dev/mmcblk1 -m imx8mpabc \ -f firmware_imx8mpabc_sdboot.img \ -b boot_IMX_arm64_lts_6.6.36 \ -r ../../build_lsdk2412/rfs/rootfs_lsdk2412_debian_desktop_arm64 ``` --- Quick Start Guide 1. Download flex-installer ``` $ wget http://www.nxp.com/lgfiles/sdk/lsdk2406/flex-installer $ chmod +x flex-installer; sudo mv flex-installer /usr/bin ``` 2. Plug the SD card into the Linux host and install the images as below ``` $ flex-installer -i pf -d /dev/sdb (format SD card) $ flex-installer -i auto -d /dev/sdb -m imx93frdm (automatically download) ``` 3. Plug the SD card into the i.MX board and install the extra packages as follows: ``` $ dhclient -i end0 (setup Ethernet network interface by DHCP or setting it manually) $ date -s "22 Nov 2024 09:00:00" (setting correct system time is required) $ debian-post-install-pkg desktop (install extra packages for GNOME GUI Desktop version) ``` --- Reference * [i.MX Debian Linux SDK User Guide](https://www.nxp.com/docs/en/user-guide/UG10155.pdf) * [github - flexbuild](https://github.com/NXP/flexbuild)
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up