Difference between revisions of "IMX8/Nitrogen8M/Software Support"

From RidgeRun Developer Connection
Jump to: navigation, search
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 21:25, 23 October 2018


NXP Partner Program Registered Vertical.jpg NXP Partner Program Horizontal.jpg
  Index  





Kernel

The latest kernel version is 4.9.11, the repository for can be accessed in 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 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


[[IMX8/<Replace with "previous" page>|Previous: <Replace with "previous" page>]] Index [[IMX8/<Replace with "next" page>|Next: <Replace with "next" page>]]