Re: Raspberry Pi Barebox State Integration - SD card

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

On 4. 06. 19 08:32, Valentina Rusu wrote:
* 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);

Barebox on Raspberry Pi automatically saves nv variables to the
"barebox.env" file in the first partition - see rpi_env_init() in rpi-common.c. This is usually the /boot partition with FAT that also has the VideoCore firmware files, etc.

I have a working bootchooser setup for a board based on R.Pi CM3 using this functionality. No special setup was required in barebox regard to saving the bootchooser state.

I'm not familiar with meta-barebox and RAUC though.

Best regards
Tomaž

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




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux