Hi,
Hardware : MCIMX6SX-SDB
I am following the "4.5.12 How to build U-Boot and Kernel in standalone environment" chapter and already finished the uboot and kernel by below commands:
source /opt/fsl-imx-fb/4.1.15-2.1.0/environment-setup-cortexa9hf-neon-poky-linux-gnueabi
git clone http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git -b imx_v2016.03_4.1.15_2.0.0_ga
cd uboot-imx
make clean
make mx6sxsabresd_defconfig
make u-boot.imx
git clone http://git.freescale.com/git/cgit.cgi/imx/linux-imx.git -b imx_4.1.15_2.0.0_ga
cd linux-imx
make defconfig
make
u-boot.imx and zImage has been generated.
But I don't know how to build the DTS file to DTB file.
1. Which *.dts file can be used to boot the MCIMX6SX-SDB board?
2. For version 4.1.15(2.1.0), Is there any document can help for build the DTB in standalone environment?
Thanks!
Best regards,
Lei
Hello Lei,
You may find the following document useful. In section 3 it describes how to edit and then cross compile the DTB using the toolchain.
https://community.nxp.com/docs/DOC-331906
The source for the DTB for i.MX6SX SABRE would be imx6sx-sdb.dts, although there are some variations in case for example you are populating the eMMC.
I hope this helps,
Regards,