Anyone using NXP board with Yocto  - Page 1
Forum section: electronics / general

author: BlogRahul
author_rank: Regular Contributor
timestamp: May 07, 2022, 10:12:33 am
content: I can see on internet that many people use NXP board like iMX8 and Yocto linux distribution for Embedded linux system developmentI just want to buy NXP board for learning. I am also think of buying a NXP board but I don't have any idea which board to buy as there are so many chocice. I am looking for one board whose sample code is avillable on internet to make it easy for me to learnIs anyone using NXP board with yocto here? Please help me to get NXP board ?

author: DC1MC
author_rank: Super Contributor
timestamp: May 07, 2022, 10:23:58 am
content: Hi, first of all go to NXP and look at the iMX6,7 and 8 series of MCUs, then look at what features they have and what would you like to focus on (multimedia, IoT, industrial devices, etc.).ALL the development kits from NXP and partners come with FULL source code, except for some special proprietary binaries (HDMI controller, DRAM controller and so on).Actually the full software is available to download from public repositories, both as a Yocto BSP bundle or individual components (U-Boot bootloader, Linux kernel) and so on.So my suggestion is to download the BSP for a few MCUs (the NXP distribution covers more MCUs at the same time, you just have to configure it foe your favorite) and play with it:- install the suggested Linux distribution- install the per-requisites packages for cross compiling.- compile the default configuration to get a SD image.- read Yocto's documentation- do some changes (add/remove packages included in the firmware) and recompile.Once you've done all the steps above, you'll get a grasp and the selection of a specific devkit will be easier to make.Cheers,DC1MC

author: nctnico
author_rank: Super Contributor
timestamp: May 07, 2022, 08:15:35 pm
content: Do yourself a favour and stay clear from Yocto! Better choose a SOM module (like the ones from Variscite) that support a regular Debian distribution. Much easier to get going and to manage.It is also very possible to use any iMX8 board with a standard Debian distribution but it will require some work to get the right driver packages and kernel DTB installed.

author: rstofer
author_rank: Super Contributor
timestamp: May 08, 2022, 12:48:47 am
content: If you want something like Debian Linux and you want full source code why not start with the Raspberry Pi and Raspian? The good news is that 30+ million of boards are out there doing all kinds of things.If you want to add gadgets to the Pi, consider the starter kit:https://www.amazon.com/Freenove-Raspberry-Processing-Tutorials-Components/dp/B06W54L7B5You can get a lot of education out of a Pi and a Starter Kit. It even makes a decent workstation. The Pi 4 is great, if you want more integration, try the Pi 400.

author: betocool
author_rank: Regular Contributor
timestamp: May 08, 2022, 12:18:53 pm
content: I'll add my 2c...Stay clear of Yocto to start with. While the concept of recipes is understandable, it gets very messy very quickly if you want to change things, and you have to use a language which uses a mix of Python and Makefile syntax.Buy a board as described above. Chances are there is a Buildroot port for the board. Buildroot is less powerful than Yocto, but much easier to start with! And then having understood Buildroot, you'll understand Yocto better. I've been able to modify and add new board definitions for a Cyclone-V ARM processor using Buildroot. I spend two weeks looking at Yocto and went nowhere. Oh! And Yocto took 4 hours to finish a project, Buildroot about 1...Consider though, for both Yocto and Buildroot you should have a Linux host or at least a Virtual Machine running some sort of Ubuntu.Cheers,Alberto

author: nctnico
author_rank: Super Contributor
timestamp: May 08, 2022, 07:59:40 pm
content: I agree buildroot is much easier to understand but there is still a steep learning curve. The fact is that the recent NXP SoCs (iMX6 and iMX8) are powerfull enough to do development on. The need for cross compiling is greatly reduced. The projects I have build on the iMX8 are all running standard Debian and development is done on an iMX8 board. Not having the cross compile the whole lot, saves a huge amount of time. IOW: nowadays I wouldn't bother with buildroot as well.

author: BlogRahul
author_rank: Regular Contributor
timestamp: May 14, 2022, 12:54:19 pm
content: Quote from: DC1MC on May 07, 2022, 10:23:58 am@DC1MCI would love the board with the features of IoT. I live in india and i am planning to buy imx8 board under 120$please help me to buy board so do you see any link online so there's board available under 120$ in India

author: DC1MC
author_rank: Super Contributor
timestamp: May 14, 2022, 05:34:27 pm
content: Quote from: BlogRahul on May 14, 2022, 12:54:19 pm

author: BlogRahul
author_rank: Regular Contributor
timestamp: May 14, 2022, 06:00:52 pm
content: Which NXP imx 8 board do you personally use for projects?

author: DC1MC
author_rank: Super Contributor
timestamp: May 14, 2022, 06:02:43 pm
content: Quote from: BlogRahul on May 14, 2022, 06:00:52 pmI use the official iMX8mm EVK bought directly from the NXP site, as it is the most supported board out there.

author: BlogRahul
author_rank: Regular Contributor
timestamp: May 14, 2022, 07:52:04 pm
content: Quote from: DC1MC on May 14, 2022, 06:02:43 pmWhich platform do you use windows 10 or Linux to develop Linux system?

author: DC1MC
author_rank: Super Contributor
timestamp: May 14, 2022, 09:03:59 pm
content: Quote from: BlogRahul on May 14, 2022, 07:52:04 pmLinux Ubuntu 20.04LTS, but for development the WSL can be used under Windows, is just cumbersome.