From patchwork Wed Apr 17 07:41:43 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Porcedda X-Patchwork-Id: 237160 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 182D62C0149 for ; Wed, 17 Apr 2013 17:42:21 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id D46C5317F6; Wed, 17 Apr 2013 07:42:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xeMl7FOsJdjC; Wed, 17 Apr 2013 07:42:14 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 0D246317F4; Wed, 17 Apr 2013 07:42:09 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id AB5AC8F7A0 for ; Wed, 17 Apr 2013 07:42:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id CECBF103B7A for ; Wed, 17 Apr 2013 07:41:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id M2kFM0JJuUjb for ; Wed, 17 Apr 2013 07:41:39 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-da0-f44.google.com (mail-da0-f44.google.com [209.85.210.44]) by fraxinus.osuosl.org (Postfix) with ESMTPS id F3F1D103B1A for ; Wed, 17 Apr 2013 07:41:38 +0000 (UTC) Received: by mail-da0-f44.google.com with SMTP id z20so658657dae.17 for ; Wed, 17 Apr 2013 00:41:56 -0700 (PDT) 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:in-reply-to :references; bh=KgC8G0KWiVDKcAWIIGDbILPfPG84O3onk8hio2U5HCQ=; b=J7CstSXl93m3J4ba8Ou/C+Y+oZqY93Bi51LE6Bk9N8/BfqTHi4570Ebm/dobCGmo7C im0JrYR+Qa+Bs2lUpSObqiLYFdL9dc/cGnx6GkZT41RjlbbaDH1y2lt9bSsyvIPZuylk zH4fXxKRh8kxB14PR1sSEuW9AINeymPog/mU4fh8z9xj01KyYkKcAeixQhIvTUDYVN7M uEnWt7AHO/5A6YiSXEKn0rDyQxRucWcWWv15AY9c57M/c8BcB5InapSUyxQwcNVK88uf jj4p/SYrZF/Fb2oeYEiA6xKvmC6LyEngrE2T1hUpBNsm2iGUI3VXwPD/diDYQmNx0sK3 6jHQ== X-Received: by 10.66.48.201 with SMTP id o9mr7350810pan.196.1366184515973; Wed, 17 Apr 2013 00:41:55 -0700 (PDT) Received: from ld2036.tmt.telital.com.com ([213.205.6.118]) by mx.google.com with ESMTPS id ts3sm5340560pbc.12.2013.04.17.00.41.54 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 17 Apr 2013 00:41:55 -0700 (PDT) From: Fabio Porcedda To: buildroot@uclibc.org Date: Wed, 17 Apr 2013 09:41:43 +0200 Message-Id: <1366184503-16875-4-git-send-email-fabio.porcedda@gmail.com> X-Mailer: git-send-email 1.8.1.4 In-Reply-To: <1366184503-16875-1-git-send-email-fabio.porcedda@gmail.com> References: <1366184503-16875-1-git-send-email-fabio.porcedda@gmail.com> Subject: [Buildroot] [PATCH v2 3/3] configs: add defconfig for Atmel AT91SAM9260-EK Nand Flash Boot 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 --- .../linux-ARM-at91-enable-nand-ubifs-boot.patch | 44 ++++++++++++++++++++++ configs/at91sam9260eknf_defconfig | 15 ++++++++ 2 files changed, 59 insertions(+) create mode 100644 board/atmel/at91sam9260ek/linux-ARM-at91-enable-nand-ubifs-boot.patch create mode 100644 configs/at91sam9260eknf_defconfig diff --git a/board/atmel/at91sam9260ek/linux-ARM-at91-enable-nand-ubifs-boot.patch b/board/atmel/at91sam9260ek/linux-ARM-at91-enable-nand-ubifs-boot.patch new file mode 100644 index 0000000..e71a487 --- /dev/null +++ b/board/atmel/at91sam9260ek/linux-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..5d26798 --- /dev/null +++ b/configs/at91sam9260eknf_defconfig @@ -0,0 +1,15 @@ +BR2_arm=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