Linux Kernel release for PXA processor based Neon, Neon-270, Hydrogen, and
Argon boards, Dec 22, 2008
This patch set contains Boundary Devices updates against
the Linux 2.6.26-rc5 (git) kernel tree for PXA based boards
(Neon, Neon-270, Hydrogen, and Argon). The following write-up gives details
about building the kernel for a Neon board. Please replace the name neon with the
specific board name you are working with to build the kernel for your board.
The tarball contains a set of patches against commit
53c8ba95402be65d412a806cda3430f0e72cd107
in the Linux kernel tree. You can download this tree using git or get a snapshot of this version
using gitweb.
To pull the file using git, use the following command sequence:
$ git-clone
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
kernel-neon
$ cd kernel-neon
$ git-checkout -b boundary 53c8ba95402be65d412a806cda3430f0e72cd107
To pull a snapshot, download and extract this
file to a directory named kernel-neon.
Extract the boundary-pxa-2008-12-22.tar.bz2 and apply the Boundary Devices' patches to your
kernel tree like so:
~/kernel-neon $ tar jxvf boundary-pxa-2008-12-22.tar.bz2
~/kernel-neon $ for f in [patch_directory]/*.patch ; do patch -p1 < $f ; done
patching file arch/arm/mach-davinci/gpio.c
patching file arch/arm/mach-davinci/irq.c
patching file include/asm-arm/arch-davinci/gpio.h
patching file include/asm-arm/arch-davinci/irqs.h
patching file arch/arm/configs/davinci_xenon_defconfig
patching file arch/arm/mach-davinci/board-xenon.c
patching file drivers/misc/Kconfig
patching file drivers/misc/Makefile
patching file drivers/misc/dav-dma.c
patching file drivers/misc/ffit.c
...
where [patch_directory] refers to the directory to which the patches were
extracted.
To build for a neon board, set CROSS_COMPILE appropriately, configure for the board
and make.
~ kernel-neon $ export CROSS_COMPILE=arm-v5t-linux-gnueabi-
~ kernel-neon $ make ARCH=arm neon_defconfig
~ kernel-neon $ yes "" | make ARCH=arm oldconfig
~ kernel-neon $ make ARCH=arm uImage modules
#
# kernel is in arch/arm/boot/uImage
#
~ kernel-neon $
In a similar fashion you would be able to build for Neon-270, Hydrogen and
Argon just by replacing the neon_defconfig file specified in the above listing with
the board specific defconfig file (for Neon-270 : neon270enc_defconfig,
Hydrogen : hydrogen_defconfig, and Argon : argon_defconfig)
|