1.7.2. Building TX6/TXUL Series¶
These machines will only work when you chose the 4.14.98 kernel when setting up the BSP.
We provide a script,
karo-nxp-release.sh, that simplifies the setup for our machines. It also adds our layer to the
Choose the machine you want to build by having a look at your modules number printed on it.
- A list of supported MACHINE configurations:
Use this command to setup your build directory (specify the machine, and the build directory):
MACHINE=<machine> source karo-nxp-release.sh -b <build-dir>
When the script has run, your current directory should have changed to the
<build-dir> you chose before.
MACHINE=txul-5011 source karo-nxp-release.sh -b build-txul-5011
18.104.22.168. U-Boot Hint¶
The actual i.MX U-Boot is not working with TX6/TXUL series! You can use a precompiled one from our MFG-Tools or use the one from the Rocko Guide.
22.214.171.124. Building the image¶
Before starting a build, you should consider enabling the SSTATE CACHE to speedup the build process.
Here are the different images you can build:
|Image||Description||Provided by layer|
|linux-imx||The Kernel only||karo-nxp|
Build the kernel image with the following command inside your
-I Ignores dependencies. For a full image it is important here to NOT build U-Boot, because this would break the build.
bitbake -I u-boot -I u-boot-imx core-image-minimal
If a new terminal window is opened or the machine is rebooted after a build directory is set up, the setup environment script
should be used to set up the environment variables and run a build again. The full
fsl-setup-release.sh is not needed.
You can simply run:
source setup-environment <build-dir>
126.96.36.199. Image Deployment¶
After a build is complete, the created image resides in the
tmp/deploy/images sub-directory. An image is, for the most part, specific to the machine set in the environment setup. Each image build creates a kernel, and an image type based on the
IMAGE_FSTYPES defined in the machine configuration file.
The following files are created for Ka-Ro TX6/TXUL modules when running core-image-minimal:
To continue with these images use MFG-Tools or TFTP boot. UUU is actually not supported for TX6/TXUL!
|||Copied from the official NXP Yocto Project User’s Guide, mentioned above.|