IMX8/Nitrogen8M/Software Support: Difference between revisions
< IMX8 | Nitrogen8M
No edit summary |
mNo edit summary |
||
Line 46: | Line 46: | ||
<noinclude>{{IMX8/Foot|<Replace with "previous" page>| | <noinclude>{{IMX8/Foot|<Replace with "previous" page>|Nitrogen8M/Building Yocto}}</noinclude> |
Revision as of 19:03, 3 November 2018
Kernel
The latest kernel version is 4.9.11, the repository for can be accessed in the following link:
Build instructions
The following instructions will build the kernel files required for booting the Nitrogen boards.
git clone https://github.com/boundarydevices/linux-imx6.git cd linux-imx6 export ARCH=arm export CROSS_COMPILE=arm-linux-gnueabihf- git checkout boundary-imx_4.9.x_1.0.0_ga make boundary_defconfig make zImage modules dtbs -j8
Updating Files
adb push arch/arm/boot/zImage /boot/ adb push arch/arm/boot/dts/<dtb_file> /boot/
Building a Component
If you only need the bootimage, as example, choose only that target.
~/myandroid$ make bootimage
Update the files
adb push $OUT/boot/<dtb_file> /boot adb push $OUT/boot/zImage /boot adb push $OUT/boot/6x_bootscript /boot adb push $OUT/boot/uramdisk.img /boot
Reboot
adb reboot