From patchwork Mon Apr 2 16:34:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandeep Sheriker X-Patchwork-Id: 894314 X-Patchwork-Delegate: blogic@openwrt.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=microchip.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="UYtJwy8i"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40FHpw3kjBz9s31 for ; Tue, 3 Apr 2018 02:33:44 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Subject:MIME-Version:References: In-Reply-To:Message-ID:Date:To:From:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=1ej+tiN0qrIVoeMwV1hfr456W443aoGfMOuNCq8GUg8=; b=UYtJwy8ipf/svUBCuRu64r9qJm EhOtjjvjnlyjAunRLaXfWxOLVObLA8hdaEgNdFcSOLPCh+c3X+EOHKEYWg9fiIVsJOdwoUkxlLsZX 7KoGfbHG+qYitUCMhzuR8nVob3gBEgz3U3vKoc0Ane5aF9gN51Q9yF6rsFSoUNZc9/rgy/4jDckhb OLWFLqyt/0jrXIJWDmVhh/sK5RYlE10o99HoxXaT7uyYUGjuLRIS+UEo3ITRxIBioewa+luKHE+1Y vTfgEGDE4MEwKtwZ7wFDRg72fmqcHxX+py6oH/C4BEsu9kMVZfgYaeVHCMW6Y3A4yhzP6l6eUpucx jihkVbKg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1f32Ok-000388-E4; Mon, 02 Apr 2018 16:33:34 +0000 Received: from esa3.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f32OG-0002sO-8s for lede-dev@lists.infradead.org; Mon, 02 Apr 2018 16:33:06 +0000 X-IronPort-AV: E=Sophos;i="5.48,396,1517900400"; d="scan'208";a="12912814" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa3.microchip.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 02 Apr 2018 09:32:53 -0700 Received: from sandeep-office.microchip.com (10.10.76.4) by chn-sv-exch04.mchp-main.com (10.10.76.105) with Microsoft SMTP Server id 14.3.352.0; Mon, 2 Apr 2018 09:32:52 -0700 From: Sandeep Sheriker Mallikarjun To: Date: Mon, 2 Apr 2018 09:34:09 -0700 Message-ID: <93f2ebda0e51626b4c1013620b1b106cb49178ad.1522686802.git.sandeepsheriker.mallikarjun@microchip.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <53c9aeb4835571ac0fed72f2f43c76fcf75fccfc.1522686801.git.sandeepsheriker.mallikarjun@microchip.com> References: <53c9aeb4835571ac0fed72f2f43c76fcf75fccfc.1522686801.git.sandeepsheriker.mallikarjun@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180402_093304_343520_45DE5E03 X-CRM114-Status: UNSURE ( 8.31 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [68.232.153.233 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record Subject: [LEDE-DEV] [PATCH 07/12] at91: sdcard image with ext4 rootfs X-BeenThere: lede-dev@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Lede-dev" Errors-To: lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org creating sdcard image with ext4 rootfs only and ignoring creating other filesystem in sdcard image. Signed-off-by: Sandeep Sheriker Mallikarjun --- target/linux/at91/image/Makefile | 2 +- target/linux/at91/image/sama5.mk | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/target/linux/at91/image/Makefile b/target/linux/at91/image/Makefile index ccaeebe..93180dd 100644 --- a/target/linux/at91/image/Makefile +++ b/target/linux/at91/image/Makefile @@ -23,7 +23,7 @@ endif define Device/Default $(Device/default-nand) PROFILES := Default - FILESYSTEMS := squashfs ubifs + FILESYSTEMS := squashfs ubifs ext4 DEVICE_DTS := $(1) KERNEL_NAME := zImage KERNEL_SIZE := 4096k diff --git a/target/linux/at91/image/sama5.mk b/target/linux/at91/image/sama5.mk index 5960f40..fd7a534 100644 --- a/target/linux/at91/image/sama5.mk +++ b/target/linux/at91/image/sama5.mk @@ -4,6 +4,7 @@ FAT32_BLOCKS:=$(shell echo \ $$(($(AT91_SD_BOOT_PARTSIZE)*1024*1024/$(FAT32_BLOCK_SIZE)))) define Build/at91-sdcard + $(if $(findstring ext4,$@), \ rm -f $@.boot mkfs.fat -C $@.boot $(FAT32_BLOCKS) @@ -30,7 +31,7 @@ define Build/at91-sdcard gzip -nc9 $@.img > $@ - rm -f $@.img $@.boot + rm -f $@.img $@.boot ) endef define Device/evaluation-sdimage