From patchwork Thu Feb 7 13:38:46 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Porcedda X-Patchwork-Id: 218928 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 433F62C0292 for ; Fri, 8 Feb 2013 00:38:58 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id C24D2A01F5; Thu, 7 Feb 2013 13:38:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mps6gplbZxAz; Thu, 7 Feb 2013 13:38:56 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 11D97A0186; Thu, 7 Feb 2013 13:38:56 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id E07E78F7A0 for ; Thu, 7 Feb 2013 13:39:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 971D28BDDF for ; Thu, 7 Feb 2013 13:38:53 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id A2RfgYEtqHI3 for ; Thu, 7 Feb 2013 13:38:52 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ea0-f175.google.com (mail-ea0-f175.google.com [209.85.215.175]) by whitealder.osuosl.org (Postfix) with ESMTPS id 4055D8BDFD for ; Thu, 7 Feb 2013 13:38:52 +0000 (UTC) Received: by mail-ea0-f175.google.com with SMTP id d1so1149091eab.6 for ; Thu, 07 Feb 2013 05:38:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:subject:date:message-id:x-mailer; bh=xY3wVOA2p3P7p2Ly4lEAip2XdkBv1XznDe2VGJdB/Qs=; b=sH5d/P/gIMbh+WDAokAx8gofP2FUD8LsQMDXJHp9fPArRfOy/57dOnVzm+XC1w9OGu I2wjk73a3hel3EETSVjOU+ihELa0NDhYClQ+93/KMBJ7EcVew5Gc4FN7po3Wn0eYG+lK VUZLxRNfUg2MgMkj0O01WGA/os8/LYaVKG3xOINymRXjSjuBmsQa2M5tzxLFGD6/+B2F zvonHA/LNjssbBnzfatfOegpkDXD+wiI0P9uPhzz/hV5Kq7wFpfEuVdgYj3VmLbNyarS Z8Mcjp5XTbOxfolLiZ6l5rUq4iMRUQVPrH4XDf0jEWWiIbHuaoCPvkaBZH3TMt3KW1RI 7L3g== X-Received: by 10.14.173.69 with SMTP id u45mr4232135eel.21.1360244330226; Thu, 07 Feb 2013 05:38:50 -0800 (PST) Received: from ld2036.tmt.telital.com ([213.205.6.118]) by mx.google.com with ESMTPS id t4sm42133705eel.0.2013.02.07.05.38.47 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 07 Feb 2013 05:38:48 -0800 (PST) From: Fabio Porcedda To: buildroot@uclibc.org Date: Thu, 7 Feb 2013 14:38:46 +0100 Message-Id: <1360244326-27231-1-git-send-email-fabio.porcedda@gmail.com> X-Mailer: git-send-email 1.8.1.1 Subject: [Buildroot] [PATCH v2] configs: at91sam9260eknf: new configuration for Atmel AT91SAM9260-EK X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net This is a configuration that provides a basic setup for generating bootable nandflash images: - at91bootstrap - barebox - kernel - rootfs Signed-off-by: Fabio Porcedda --- v2: - add barebox ...linux-3.7-ARM-at91-enable-nand-ubifs-boot.patch | 44 ++++++++++++++++++++++ configs/at91sam9260eknf_defconfig | 16 ++++++++ 2 files changed, 60 insertions(+) create mode 100644 board/atmel/at91sam9260ek/linux-3.7-ARM-at91-enable-nand-ubifs-boot.patch create mode 100644 configs/at91sam9260eknf_defconfig diff --git a/board/atmel/at91sam9260ek/linux-3.7-ARM-at91-enable-nand-ubifs-boot.patch b/board/atmel/at91sam9260ek/linux-3.7-ARM-at91-enable-nand-ubifs-boot.patch new file mode 100644 index 0000000..e71a487 --- /dev/null +++ b/board/atmel/at91sam9260ek/linux-3.7-ARM-at91-enable-nand-ubifs-boot.patch @@ -0,0 +1,44 @@ +From 17f439282c3fc92587e60935ff9efd13ea78e353 Mon Sep 17 00:00:00 2001 +From: Fabio Porcedda +Date: Tue, 15 Jan 2013 11:17:42 +0100 +Subject: [PATCH] ARM: at91: enable nand ubifs boot + +Signed-off-by: Fabio Porcedda +--- + arch/arm/configs/at91sam9260_defconfig | 7 +++++++ + 1 file changed, 7 insertions(+) + +diff --git a/arch/arm/configs/at91sam9260_defconfig b/arch/arm/configs/at91sam9260_defconfig +index 505b376..a438192 100644 +--- a/arch/arm/configs/at91sam9260_defconfig ++++ b/arch/arm/configs/at91sam9260_defconfig +@@ -1,5 +1,6 @@ + CONFIG_EXPERIMENTAL=y + # CONFIG_LOCALVERSION_AUTO is not set ++CONFIG_KERNEL_LZO=y + # CONFIG_SWAP is not set + CONFIG_SYSVIPC=y + CONFIG_LOG_BUF_SHIFT=14 +@@ -43,6 +44,11 @@ CONFIG_IP_PNP_BOOTP=y + # CONFIG_INET_LRO is not set + # CONFIG_IPV6 is not set + CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" ++CONFIG_MTD=y ++CONFIG_MTD_CMDLINE_PARTS=y ++CONFIG_MTD_NAND=y ++CONFIG_MTD_NAND_ATMEL=y ++CONFIG_MTD_UBI=y + CONFIG_BLK_DEV_RAM=y + CONFIG_BLK_DEV_RAM_SIZE=8192 + CONFIG_SCSI=y +@@ -82,6 +88,7 @@ CONFIG_RTC_DRV_AT91SAM9=y + CONFIG_EXT2_FS=y + CONFIG_VFAT_FS=y + CONFIG_TMPFS=y ++CONFIG_UBIFS_FS=y + CONFIG_CRAMFS=y + CONFIG_NLS_CODEPAGE_437=y + CONFIG_NLS_CODEPAGE_850=y +-- +1.8.0.3 + diff --git a/configs/at91sam9260eknf_defconfig b/configs/at91sam9260eknf_defconfig new file mode 100644 index 0000000..9e3b645 --- /dev/null +++ b/configs/at91sam9260eknf_defconfig @@ -0,0 +1,16 @@ +BR2_arm=y +BR2_arm926t=y +BR2_PREFER_STATIC_LIB=y +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS=y +BR2_PACKAGE_HOST_SAM_BA=y +BR2_TARGET_ROOTFS_UBIFS=y +BR2_TARGET_ROOTFS_UBI=y +BR2_TARGET_AT91BOOTSTRAP=y +BR2_TARGET_AT91BOOTSTRAP_BOARD="at91sam9260ek" +BR2_TARGET_AT91BOOTSTRAP_NANDFLASH=y +BR2_TARGET_BAREBOX=y +BR2_TARGET_BAREBOX_BOARD_DEFCONFIG="at91sam9260ek" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_PATCH="board/atmel/at91sam9260ek" +BR2_LINUX_KERNEL_DEFCONFIG="at91sam9260" +BR2_LINUX_KERNEL_ZIMAGE=y