i.MX8 - Nitrogen8M - Software Support

From RidgeRun Developer Connection
Jump to: navigation, search


NXP Partner Program Registered Vertical.jpg NXP Partner Program Horizontal.jpg
Previous: Nitrogen8M/Getting Started/System Setup Index Next: Nitrogen8M/Getting Started/Loading Pre-built Images





Kernel

The latest kernel version is 4.9.11, the repository can be accessed at the following link:

Linux Kernel repository

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


Previous: Nitrogen8M/Getting Started/System Setup Index Next: Nitrogen8M/Getting Started/Loading Pre-built Images