Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752061AbdHNRMA (ORCPT ); Mon, 14 Aug 2017 13:12:00 -0400 Received: from relmlor3.renesas.com ([210.160.252.173]:12093 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750994AbdHNRL6 (ORCPT ); Mon, 14 Aug 2017 13:11:58 -0400 X-IronPort-AV: E=Sophos;i="5.41,374,1498489200"; d="scan'208";a="253479725" From: Chris Brandt To: Nicolas Pitre , Alexander Viro CC: "linux-fsdevel@vger.kernel.org" , "linux-embedded@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH 0/5] cramfs refresh for embedded usage Thread-Topic: [PATCH 0/5] cramfs refresh for embedded usage Thread-Index: AQHTEtdFT0/wwlN9sk6l1Kak7eVmpaKEGObg Date: Mon, 14 Aug 2017 17:11:53 +0000 Message-ID: References: <20170811192252.19062-1-nicolas.pitre@linaro.org> In-Reply-To: <20170811192252.19062-1-nicolas.pitre@linaro.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Chris.Brandt@renesas.com; x-originating-ip: [4.59.13.106] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;SG2PR06MB1168;20:+AXrMmYtpXLAN27ebk3EJquUlyT5YEzhjTxaXEFXB+kLJCIpHquDjOxqC4g+qhK4bBubz8M4u0xk222Xze6cKLsyQYfePv4szNOcuCin2frBHkMMTPi8+oSTJ+LRnIm7rXJKul6ovtSnySuRdosEn9miNoLdCDAr74TJzcfbehs= x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: e35d0f9c-4615-45cd-3353-08d4e3378f87 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(300000502095)(300135100095)(22001)(2017030254152)(48565401081)(300000503095)(300135400095)(2017052603031)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:SG2PR06MB1168; x-ms-traffictypediagnostic: SG2PR06MB1168: x-exchange-antispam-report-test: UriScan:; x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(6055026)(6041248)(20161123564025)(20161123560025)(20161123562025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:SG2PR06MB1168;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:SG2PR06MB1168; x-forefront-prvs: 039975700A x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(39860400002)(199003)(24454002)(189002)(54906002)(68736007)(99286003)(9686003)(55016002)(8676002)(81166006)(81156014)(478600001)(4326008)(3280700002)(76176999)(54356999)(2906002)(33656002)(7736002)(305945005)(97736004)(86362001)(5660300001)(8936002)(229853002)(2900100001)(6436002)(6506006)(25786009)(189998001)(101416001)(7696004)(2950100002)(102836003)(3660700001)(6116002)(72206003)(3846002)(53936002)(106356001)(105586002)(50986999)(74316002)(66066001)(5250100002)(14454004)(6246003);DIR:OUT;SFP:1102;SCL:1;SRVR:SG2PR06MB1168;H:SG2PR06MB1165.apcprd06.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Aug 2017 17:11:53.5770 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR06MB1168 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by nfs id v7EHC6CU020491 Content-Length: 1050 Lines: 31 On Friday, August 11, 2017, Nicolas Pitre wrote: > This series brings a nice refresh to the cramfs filesystem, adding the > following capabilities: > > - Direct memory access, bypassing the block and/or MTD layers entirely. > > - Ability to store individual data blocks uncompressed. > > - Ability to locate individual data blocks anywhere in the filesystem. > > The end result is a very tight filesystem that can be accessed directly > from ROM without any other subsystem underneath. Also this allows for > user space XIP which is a very important feature for tiny embedded > systems. I just applied the patches tried this simple test: - tested with a Renesas RZ/A1 (Cortex-A9...so it has an MMU). - I set the sticky bit for busybox before using mkcramfs - booted (with squashfs) and mounted the cramfs image - confirmed that the sticky bit was still set on busybox - was able to execute busybox in the cramfs image However, at this point I'm not sure how I can confirm that the XIP busybox actually executed as XIP or not. Chris