Download Manual - embux

Transcript
# check gcc version
$ arm-linux-gnueabihf-gcc -v
# 0.3 add export to .bashrc
export ARCH=arm
export CROSS_COMPILE=arm-linux-gnueabihf-
3.2.2. Download source code and checkout the latest version
# 1.1 u-boot source
(u-boot-2009)
git clone https://github.com/embux/u-boot-imx.git u-boot-imx_2009
cd u-boot-imx_2009
git checkout imx_2009_ebx
# 1.2 Kernel source
(imx_3.0.35)
$ git clone https://github.com/embux/linux-imx6.git
$ cd linux-imx6.git
$ git checkout imx_3.0.35_1.0.0_ebx
3.2.3.
Build and Flashing the SD card
- u-boot
$make distclean
$make mx6dl_sabresd_config
$make
$ sudo dd if=u-boot.bin of=/dev/sdb bs=512 seek=2 skip=2 conv=fsync
- Kernel build and flash to SD Card (sdb, mounted /mnt)
$make clean
$make imx6_defconfig
$make -j4 uImage
21