mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Raspberry Pi Barebox State Integration - SD card
@ 2019-06-04  6:32 Valentina Rusu
  2019-06-04  7:52 ` Tomaž Šolc
  2019-06-04  8:59 ` Moritz Augsburger
  0 siblings, 2 replies; 5+ messages in thread
From: Valentina Rusu @ 2019-06-04  6:32 UTC (permalink / raw)
  To: barebox

    Hello guys,

I want to integrate Barebox state for Raspberry Pi 3 in order to use
it along Barebox bootchooser and RAUC software update.
I have built my image using Yocto Pyro 2.3.2, barebox 2019.04.0 (added
a recipe in my meta layer, based on meta-barebox).
I have integrated Barebox bootchooser and tested it with some
hardcoded values for the target priority and remaining attempts. Works
fine.

The issue to integrate Barebox state are the following:
* we need to specify a backend for the "state" node;
* the backend should point to an of partition on a non-volatile memory;
* other boards have EEPROM, NAND besides SD card and they are
described in the device tree; RPi has no such thing;
* somehow I need to write the state on the SD card in a location where
does not interfere with the partitions created (boot, rootfs, user
partitions, etc);
* the SD card device (mci0) is automatically detected at startup, and
not described in the device tree;

I need to know how should I proceed? How should I describe that
"dynamic" device in my device tree, so I could point it in the
"backend" variable of the state node?

Thank you very much!

      Best regards,
       Vali.

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-06-05  6:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.44637.1559659159.2376.barebox@lists.infradead.org>
2019-06-05  4:26 ` Raspberry Pi Barebox State Integration - SD card Valentina Rusu
2019-06-05  6:46   ` Moritz Augsburger
2019-06-04  6:32 Valentina Rusu
2019-06-04  7:52 ` Tomaž Šolc
2019-06-04  8:59 ` Moritz Augsburger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox