From patchwork Wed Jun 17 10:49:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 1311120 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=v3.sk Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49n20708JSz9sRh for ; Wed, 17 Jun 2020 20:50:15 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 1303826866; Wed, 17 Jun 2020 10:50:13 +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 ccHGR4Zkkj91; Wed, 17 Jun 2020 10:50:06 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 7045226295; Wed, 17 Jun 2020 10:50:06 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 6C5411BF989 for ; Wed, 17 Jun 2020 10:50:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 665A0879FE for ; Wed, 17 Jun 2020 10:50:01 +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 DKNtcJKxwwCi for ; Wed, 17 Jun 2020 10:50:01 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from v6.sk (v6.sk [167.172.42.174]) by fraxinus.osuosl.org (Postfix) with ESMTPS id E25FD879DD for ; Wed, 17 Jun 2020 10:50:00 +0000 (UTC) Received: from localhost (v6.sk [IPv6:::1]) by v6.sk (Postfix) with ESMTP id AA1D0610B4; Wed, 17 Jun 2020 10:49:59 +0000 (UTC) From: Lubomir Rintel To: Thomas Petazzoni Date: Wed, 17 Jun 2020 12:49:21 +0200 Message-Id: <20200617104925.1036330-14-lkundrak@v3.sk> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200617104925.1036330-1-lkundrak@v3.sk> References: <20200617104925.1036330-1-lkundrak@v3.sk> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 13/17] configs/olpc_xo1: enable JFFS2 image X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lubomir Rintel , buildroot@buildroot.org Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" The machine has a NAND flash device and firmware capable of loading the OS from a JFFS2 file system on it. Enable creation of JFFS2 image that can be written to said flash device. Signed-off-by: Lubomir Rintel --- configs/olpc_xo1_defconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configs/olpc_xo1_defconfig b/configs/olpc_xo1_defconfig index 5919f6ab36..36ac051ffb 100644 --- a/configs/olpc_xo1_defconfig +++ b/configs/olpc_xo1_defconfig @@ -21,4 +21,8 @@ BR2_TARGET_ROOTFS_EXT2_4=y BR2_TARGET_ROOTFS_EXT2_LABEL="XO1" BR2_TARGET_ROOTFS_EXT2_SIZE="32M" BR2_TARGET_ROOTFS_EXT2_MKFS_OPTIONS="-O dir_index,^huge_file,^64bit,^extent" +BR2_TARGET_ROOTFS_JFFS2=y +BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_128K=y +BR2_TARGET_ROOTFS_JFFS2_PAD=y BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTD=y