* MMC hardware partitioning
@ 2019-08-27 13:38 gianluca
2019-08-28 10:45 ` Sascha Hauer
0 siblings, 1 reply; 3+ messages in thread
From: gianluca @ 2019-08-27 13:38 UTC (permalink / raw)
To: barebox
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 ).
Any help will be very thankful.
P.S. I am using two barebox versions 2013.03.0 and 2017.06, but I am
able to write a custom command/driver to make it working on Barebox.
Best regards,
--
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: MMC hardware partitioning
2019-08-27 13:38 MMC hardware partitioning gianluca
@ 2019-08-28 10:45 ` Sascha Hauer
2019-08-28 11:07 ` gianluca
0 siblings, 1 reply; 3+ messages in thread
From: Sascha Hauer @ 2019-08-28 10:45 UTC (permalink / raw)
To: gianluca; +Cc: barebox
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.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: MMC hardware partitioning
2019-08-28 10:45 ` Sascha Hauer
@ 2019-08-28 11:07 ` gianluca
0 siblings, 0 replies; 3+ messages in thread
From: gianluca @ 2019-08-28 11:07 UTC (permalink / raw)
To: Sascha Hauer; +Cc: barebox
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-08-28 11:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-27 13:38 MMC hardware partitioning gianluca
2019-08-28 10:45 ` Sascha Hauer
2019-08-28 11:07 ` gianluca
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox