我最近买了i.MX6 Sabrelite板,我正在学习内核交叉编译和板调出。
U引导已经在闪存中存在,它被配置为从SD卡加载内核。在使用dd在SD卡上闪烁这些图像之后,我尝试了一些预构建的映像和板引导成功。
现在,我想学习如何使用内核和rootfs来准备整个SD卡。
我能够使用下面提到的步骤构建内核的uImage:http://boundarydevices.com/cross-compile-i-mx6-kernel-using-ltib-toolchain/
~/$ git clone git://github.com/boundarydevices/linux-imx6.git
~/$ cd linux-imx6
~/linux-imx6$ export PATH=/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/:$PATH
~/linux-imx6$ export ARCH=arm
~/linux-imx6$ export CROSS_COMPILE=arm-none-linux-gnueabi-
~/linux-imx6$ git checkout origin/boundary-imx-3.0.35_1.1.0 \
-b boundary-imx-3.0.35_1.1.0
~/linux-imx6$ make nitrogen6x_defconfig
~/linux-imx6$ make uImage modules现在,问题是:
发布于 2014-11-05 08:50:49
看看建筑工。它将处理交叉编译器、内核、引导程序和rootfs。
BR已经提供了i.MX6 Sabrelite目标。执行下列步骤:
git clone http://git.buildroot.net/git/buildroot.git
cd buildroot
make freescale_imx6dlsabresd_defconfig至于SD卡分区,请查看以下资源:
https://community.freescale.com/docs/DOC-95017
但基本上,您需要一个用于引导加载程序的胖分区,另一个用于rootfs的分区,例如ext4。
https://stackoverflow.com/questions/26734099
复制相似问题