From bd2167d504929c99031b92590dac41426ca635f7 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sun, 5 Dec 2010 21:53:11 +0100 Subject: board: add support for Mini 2440 Paul Jones documented at http://pauljones.id.au/blog/2010/07/using-buildroot-on-a-mini2440/ how to use Buildroot to generate a system for the FriendlyARM Mini2440 platform. This patch integrates Paul's work into Buildroot. Unfortunately, the kernel being 2.6.32, we can't easily use a minimal defconfig here. The mini2440 support has been merged into more recent kernels, but I don't have the hardware to test. Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- configs/mini2440_defconfig | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 configs/mini2440_defconfig (limited to 'configs') diff --git a/configs/mini2440_defconfig b/configs/mini2440_defconfig new file mode 100644 index 000000000..d1be8e1d0 --- /dev/null +++ b/configs/mini2440_defconfig @@ -0,0 +1,31 @@ +# Architecture +BR2_arm=y +BR2_arm920t=y + +# Serial port +BR2_TARGET_GENERIC_GETTY_TTYSAC0=y + +# Filesystem +BR2_TARGET_ROOTFS_JFFS2=y +BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_2K_128K=y +BR2_TARGET_ROOTFS_JFFS2_PAGESIZE=0x800 +BR2_TARGET_ROOTFS_JFFS2_EBSIZE=0x20000 +BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER=y +BR2_TARGET_ROOTFS_JFFS2_LE=y +BR2_TARGET_ROOTFS_TAR=y + +# Bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BOARDNAME="mini2440" +BR2_TARGET_UBOOT_CUSTOM_TARBALL=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="http://repo.or.cz/w/u-boot-openmoko/mini2440.git/snapshot/dev-mini2440-stable.tar.gz" + +# +# Kernel +# +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="http://www.pauljones.id.au/temp/linux-2.6.32.2-mini2440_20100113.tgz" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/friendlyarm/mini2440/linux-2.6.32.2.config" +BR2_LINUX_KERNEL_UIMAGE=y -- cgit v1.2.3