From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from submit-2.e-mind.com ([188.94.192.46]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i2vnk-000313-1K for barebox@lists.infradead.org; Wed, 28 Aug 2019 11:07:45 +0000 Received: from localhost (unknown [127.0.0.1]) by submit-2.e-mind.com (Postfix) with ESMTP id 4B78F8479EB for ; Wed, 28 Aug 2019 11:07:41 +0000 (UTC) Received: from submit-2.e-mind.com ([127.0.0.1]) by localhost (submit-2.e-mind.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TN7XWnGIuLWw for ; Wed, 28 Aug 2019 13:07:41 +0200 (CEST) Received: from qmail.e-mind.com (qmail34.e-mind.com [188.94.192.34]) by submit-2.e-mind.com (Postfix) with SMTP id 117518479E8 for ; Wed, 28 Aug 2019 13:07:41 +0200 (CEST) References: <4c123056-bf80-deb6-f0d7-6c1a928946dd@eurek.it> <20190828104530.k4knoe2gw2kbudo6@pengutronix.de> From: gianluca Message-ID: Date: Wed, 28 Aug 2019 13:07:39 +0200 MIME-Version: 1.0 In-Reply-To: <20190828104530.k4knoe2gw2kbudo6@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: MMC hardware partitioning To: Sascha Hauer Cc: barebox@lists.infradead.org On 08/28/2019 12:45 PM, Sascha Hauer wrote: > Hi Gianluca, > > On Tue, Aug 27, 2019 at 03:38:46PM +0200, gianluca wrote: >> Hello everyone! >> I am wondering if there is some way to enable the partition protection for >> eMMC partition (usually to avoid data corruption due to a powerloss) in >> Barebox, as seen is mmc command in the bootloader counterpart U-Boot (as >> reference see u-boot/cmd/mmc.c ). > > Have you found the barebox mmc_extcsd command? I don't know if that does > what you want, but it's worth a look. > Yes. I think it is. Right now I am thinking about using it from Linux with the mmc-utils, but if needed from bootloader I will give it a chance. Thanks! -- Eurek s.r.l. | Electronic Engineering | http://www.eurek.it via Celletta 8/B, 40026 Imola, Italy | Phone: +39-(0)542-609120 p.iva 00690621206 - c.f. 04020030377 | Fax: +39-(0)542-609212 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox