IMX8/Nitrogen8M/Software Support: Difference between revisions
< IMX8 | Nitrogen8M
No edit summary |
No edit summary |
||
Line 24: | Line 24: | ||
adb push arch/arm/boot/zImage /boot/ | adb push arch/arm/boot/zImage /boot/ | ||
adb push arch/arm/boot/dts/<dtb_file> /boot/ | adb push arch/arm/boot/dts/<dtb_file> /boot/ | ||
</pre> | |||
=Building a Component= | |||
If you only need the bootimage, as example, choose only that target. | |||
<pre> | |||
~/myandroid$ make bootimage | |||
</pre> | |||
Update the files | |||
<pre> | |||
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 | |||
</pre> | |||
Reboot | |||
<pre> | |||
adb reboot | |||
</pre> | </pre> | ||
<noinclude>{{IMX8/Foot|<Replace with "previous" page>|<Replace with "next" page>}}</noinclude> | <noinclude>{{IMX8/Foot|<Replace with "previous" page>|<Replace with "next" page>}}</noinclude> |
Revision as of 02:25, 24 October 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