mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: gianluca <gianlucarenzi@eurek.it>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: MMC hardware partitioning
Date: Wed, 28 Aug 2019 13:07:39 +0200	[thread overview]
Message-ID: <c742e40d-5a88-8266-e1aa-9e9f92d869c6@eurek.it> (raw)
In-Reply-To: <20190828104530.k4knoe2gw2kbudo6@pengutronix.de>

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

      reply	other threads:[~2019-08-28 11:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-27 13:38 gianluca
2019-08-28 10:45 ` Sascha Hauer
2019-08-28 11:07   ` gianluca [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c742e40d-5a88-8266-e1aa-9e9f92d869c6@eurek.it \
    --to=gianlucarenzi@eurek.it \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox