Project

General

Profile

mityarm-linux-stable - Currently 3.12

http://support.criticallink.com/gitweb/?p=linux-mityarm-335x.git;a=shortlog;h=refs/heads/mityarm-linux-stable

Branched from v3.11.1 - https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tag/?id=v3.11
Currently merged upto v3.12 - https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tag/?id=v3.12

Known issues

  • No nand support
  • No mmc support
  • Only boot via initramfs
  • No eth support
  • Etc.

Build instructions

This version requires a newer version of the binutils. Easiest way is to use Linaro toolchain which comes with the latest 335x SDK.

Creating initrd image: https://www.kernel.org/doc/Documentation/initrd.txt

$ 
$ make CROSS_COMPILE=arm-linux-gnueabihf- ARCH=arm distclean
$ make CROSS_COMPILE=arm-linux-gnueabihf- ARCH=arm omap2plus_defconfig
$ make CROSS_COMPILE=arm-linux-gnueabihf- ARCH=arm zImage modules
$ make CROSS_COMPILE=arm-linux-gnueabihf- ARCH=arm dtbs

Device tree file will be located at arch/arm/boot/dts/mityarm335x-devkit.dtb

u-boot boot cmds:

$ mmc rescan 0
$ fatload mmc 0 80000000 mityarm335x-devkit.dtb
$ fatload mmc 0 81000000 zImage
$ fatload mmc 0 82000000 ramdisk-pm.gz
$ setenv bootargs console=ttyO0,115200n8 mem=256M root=/dev/ram rw initrd=0x82000000,16MB ramdisk_size=65536 earlyprintk=serial
$ bootz 81000000 - 80000000

Problems

If you see the following error:

arch/arm/boot/dts/omap2.dtsi:11:35: fatal error: dt-bindings/gpio/gpio.h: No such file or directory
compilation terminated.

Then do the following to fix it
$ cd arch/arm/boot/dts/include/
$ rm dt-bindings
$ ln -s ../../../../../include/dt-bindings .

Go to top
Add picture from clipboard (Maximum size: 1 GB)