Difference between revisions of "IMX8/Nitrogen8M/Software Support"
< IMX8 | Nitrogen8M
m |
|||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{IMX8/Head}}</noinclude> | + | <noinclude>{{IMX8/Head|previous=Nitrogen8M/Getting Started/System Setup|next=Nitrogen8M/Getting Started/Loading Pre-built Images|keywords=carrier,carrier board,base board,SOM,System on Module,Boundary Devices,Nitrogen8M,configure,configure host machine,software,Yocto,Embedded Android,Source Code}}</noinclude> |
=Kernel= | =Kernel= | ||
− | The latest kernel version is 4.9.11, the repository | + | The latest kernel version is 4.9.11, the repository can be accessed at the following link: |
[https://github.com/boundarydevices/linux-imx6/tree/boundary-imx_4.9.x_1.0.0_ga Linux Kernel repository] | [https://github.com/boundarydevices/linux-imx6/tree/boundary-imx_4.9.x_1.0.0_ga Linux Kernel repository] | ||
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 an 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| | + | <noinclude>{{IMX8/Foot|Nitrogen8M/Getting Started/System Setup|Nitrogen8M/Getting Started/Loading Pre-built Images}}</noinclude> |
Latest revision as of 15:18, 11 December 2020
|
Kernel
The latest kernel version is 4.9.11, the repository can be accessed at 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 an 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