Aria NXP imx6 kernel & uboot: Difference between revisions

From Ariaboard Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 37: Line 37:
  git checkout imx_3.10.17_1.0.1_ga
  git checkout imx_3.10.17_1.0.1_ga
  ./build-imx6q.sh  #or ./build-imx6dl.sh
  ./build-imx6q.sh  #or ./build-imx6dl.sh
   
 
  #kernel install:
dd if=uImage of=/dev/sde bs=512 seek=2048
#also extract kernel modules into your rootfs




==make a sd card (including latest uboot, kernel)==
==make a sd card (including latest uboot, kernel)==
http://www.eewiki.net/display/linuxonarm/i.MX6q+SABRE+Board+for+Smart+Devices
http://www.eewiki.net/display/linuxonarm/i.MX6q+SABRE+Board+for+Smart+Devices

Revision as of 22:12, 8 March 2015

Pre-Requisite

Easy Install gcc Cross Compiler

official uboot & kernel

  1. https://community.freescale.com/docs/DOC-95015
  2. https://community.freescale.com/docs/DOC-95017/version/16


official uboot build

cd u-boot
export CROSS_COMPILE=arm-linux-gnueabihf-
make mx6qsabresd_config
make

ofiicial kernel build

git clone git://git.freescale.com/imx/linux-2.6-imx.git
cd linux-2.6-imx
git checkout imx_3.10.17_1.0.0_ga
make imx_v7_defconfig
make -j16 uImage LOADADDR=0x10008000
make -j16 modules
make imx6q-sabresd.dtb


Aria mx6 uboot

git clone https://github.com/c2h2/aria-imx6-uboot.git
git checkout imx_3.10.17_1.0.0_ga_sdcard
./build.sh
#to install
sudo dd if=u-boot.imx of=${DISK} bs=512 seek=2

Aria mx6 kernel

git clone https://github.com/c2h2/aria-imx6-kernel.git
git checkout imx_3.10.17_1.0.1_ga
./build-imx6q.sh  #or ./build-imx6dl.sh
#kernel install:
dd if=uImage of=/dev/sde bs=512 seek=2048
#also extract kernel modules into your rootfs


make a sd card (including latest uboot, kernel)

http://www.eewiki.net/display/linuxonarm/i.MX6q+SABRE+Board+for+Smart+Devices