Go to file
2017-01-31 10:23:56 -08:00
arch Added flexcan1 2017-01-31 07:46:01 +01:00
block Initial version 2016-03-04 07:09:26 -08:00
crypto Initial version 2016-03-04 07:09:26 -08:00
Documentation Initial version 2016-03-04 07:09:26 -08:00
drivers Initial version 2016-03-04 07:09:26 -08:00
firmware Initial version 2016-03-04 07:09:26 -08:00
fs Initial version 2016-03-04 07:09:26 -08:00
include Initial version 2016-03-04 07:09:26 -08:00
init Initial version 2016-03-04 07:09:26 -08:00
ipc Initial version 2016-03-04 07:09:26 -08:00
kernel Initial version 2016-03-04 07:09:26 -08:00
lib Initial version 2016-03-04 07:09:26 -08:00
mm Initial version 2016-03-04 07:09:26 -08:00
net Initial version 2016-03-04 07:09:26 -08:00
samples Initial version 2016-03-04 07:09:26 -08:00
scripts Initial version 2016-03-04 07:09:26 -08:00
security Initial version 2016-03-04 07:09:26 -08:00
sound Initial version 2016-03-04 07:09:26 -08:00
tools Initial version 2016-03-04 07:09:26 -08:00
usr Initial version 2016-03-04 07:09:26 -08:00
virt/kvm Initial version 2016-03-04 07:09:26 -08:00
.gitignore Initial version 2016-03-04 07:09:26 -08:00
.mailmap Initial version 2016-03-04 07:09:26 -08:00
COPYING Initial version 2016-03-04 07:09:26 -08:00
CREDITS Initial version 2016-03-04 07:09:26 -08:00
Kbuild Initial version 2016-03-04 07:09:26 -08:00
Kconfig Initial version 2016-03-04 07:09:26 -08:00
MAINTAINERS Initial version 2016-03-04 07:09:26 -08:00
Makefile Initial version 2016-03-04 07:09:26 -08:00
README Initial version 2016-03-04 07:09:26 -08:00
README.md Added support for SOLO 2016-03-16 00:04:58 -07:00
REPORTING-BUGS Initial version 2016-03-04 07:09:26 -08:00

About

This is a source code of Linux Kernel 3.14 for OpenRex board.

About OpenRex

OpenRex is an open source hardware and software project.

Website: http://www.imx6rex.com/open-rex/

More detailed software & hardware manual

For more detailed instructions about how to prepare software for OpenRex, go to:

http://www.imx6rex.com/open-rex/software/how-develop-your-own-software-uboot-linux-filesystem-yocto/

Download source code

git clone -b jethro https://github.com/FEDEVEL/openrex-linux-3.14.git
cd openrex-linux-3.14

Install & select cross compiler

If you do not have any compiler installed (or you are not sure)

apt-get install gcc-arm-linux-gnueabihf
export CROSS_COMPILE=arm-linux-gnueabihf-

If you have a compiler installed

export CROSS_COMPILE=/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-none-linux-gnueabi-

Setup Architecture

export ARCH=arm

Build

Here are instructions how to compile the source code

QUAD

make clean
make imx_v7_defconfig
make -j4 zImage imx6q-openrex.dtb
cp arch/arm/boot/zImage /tftp/imx6/zImage-imx6q-openrex
cp arch/arm/boot/dts/imx6q-openrex.dtb /tftp/imx6/imx6q-openrex.dtb

SOLO

make clean
make imx_v7_defconfig
make -j4 zImage imx6s-openrex.dtb
cp arch/arm/boot/zImage /tftp/imx6/zImage-imx6s-openrex
cp arch/arm/boot/dts/imx6s-openrex.dtb /tftp/imx6/imx6s-openrex.dtb

Update OpenRex SD card with Linux

Go to OpenRex board, interrupt uBoot booting process (press any key). Then write following commands:

run update_kernel;run update_fdt;reset

Note: if you would like to test the kernel without saving it to SD card, go to uBoot and use following commands:

tftp 0x12000000 imx6/zImage-imx6q-openrex; tftp 0x18000000 imx6/imx6q-openrex.dtb;bootz 0x12000000 - 0x18000000

Appendix

Here is a list of files, where we usually do changes:

arch/arm/boot/dts/imx6q-openrex.dts
arch/arm/boot/dts/imx6s-openrex.dts
arch/arm/boot/dts/imx6qdl-openrex.dtsi