| SAM9M10 MCU | SAM9G45 MCU | SAM9X5 MCU | |
|---|---|---|---|
| Nandflash Booting | linux-2.6.35-sam9m10-nf-uImage | linux-2.6.35-sam9g45-nf-uImage | linux-2.6.35-sam9x5-nf-uImage |
| SD Card Booting | linux-2.6.35-sam9m10-sd-uImage | linux-2.6.35-sam9g45-sd-uImage | linux-2.6.35-sam9x5-sd-uImage |
| Linux Kernel revision | Vanilla Linux Kernel | Atmel patch | Android4SAM patch |
|---|---|---|---|
| Linux 2.6.35 | linux-2.6.35.tar.bz2 | linux-2.6.35.diff | linux-2.6.35_Android-2.3.5_r1.diff |
$ wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.35.tar.bz2 $ tar xvjf linux-2.6.35.tar.bz22. Download the ATMEL's patch and apply it
$ wget ftp://ftp.linux4sam.org/pub/Android4SAM/v2.0/patches/linux-2.6.35.diff $ cd linux-2.6.35 $ patch -p1 < ../linux-2.6.35.diff $ cd ..3. Download Android4SAM patch and apply it
$ wget ftp://ftp.linux4sam.org/pub/Android4SAM/v2.0/patches/linux-2.6.35_Android-2.3.5_r1.diff $ cd linux-2.6.35 $ patch -p1 < ../linux-2.6.35_Android-2.3.5_r1.diff $ cd ..You now have an Android4SAM Linux kernel.
$ cd linux-2.6.35 $ make mrproper1. For NAND Flash boot
mydroid/out/target/product/sam9m10/root (sam9m10 as an example) directory to linux-2.6.35 directory $ make ARCH=arm at91sam9g45_android_ubifs_defconfig
$ make ARCH=arm at91sam9m10_android_ubifs_defconfig
$ make ARCH=arm at91sam9x5_android_ubifs_defconfig
$ make ARCH=arm at91sam9g45_android_sdcard_defconfig
$ make ARCH=arm at91sam9m10_android_sdcard_defconfig
$ make ARCH=arm at91sam9x5_android_sdcard_defconfig
$ make ARCH=arm menuconfig4. And build the Linux kernel image
$ make uImage ARCH=arm CROSS_COMPILE=<path_to_cross-compiler/cross-compiler-prefix->After finish successfully, you can find kernel image in: arch/arm/boot/uImage
Copyright by the contributing authors. All material on the platform is the property of the contributing authors.
Android is a trademark of Google Inc. Use of this trademark is subject to Google Permissions
Atmel and others, are registered trademarks or trademarks of Atmel or its subsidiaries.![]()
ARM and others are registered trademarks or trademarks or ARM Ltd. Other terms and product names may be trademarks of others.
Under the terms of the Creative Commons Attribution License