summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-12-05 21:53:11 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2010-12-16 15:05:46 +0100
commitbd2167d504929c99031b92590dac41426ca635f7 (patch)
tree79d855e981ffb309d506be6f9efdd604f3115b3e /configs
parentd3789ce3b70aaaa5e180d041b2ad282b36d929ed (diff)
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 <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'configs')
-rw-r--r--configs/mini2440_defconfig31
1 files changed, 31 insertions, 0 deletions
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