[PATCH] arm: boards: Add support for Protonic PRTPUK board
Sascha Hauer
s.hauer at pengutronix.de
Thu Aug 14 04:26:31 PDT 2025
Hi David,
On Wed, Aug 13, 2025 at 09:01:49AM +0200, David Jander wrote:
> PRTPUK is a credit-card sized ISOBUS virtual terminal, based on the
> Rockchip RK3576 SoC, that features a CAN interface and a 100/1000Base-T1
> interface for HS-ISOBUS (HSI), as well as a USB-C port for connecting to a
> touch-screen monitor.
>
> +&sdhci {
> + no-sd;
> +
> + partitions {
> + compatible = "barebox,fixed-partitions";
> + #address-cells = <2>;
> + #size-cells = <2>;
> +
> + /* eMMC reserved 8MiB for barebox (2 copies?), env and state */
> + environment_emmc: partition at 7b0000 {
> + label = "barebox-environment";
> + reg = <0x0 0x7b0000 0x0 0x10000>;
> + };
> +
> + /* eMMC state after barebox and environment */
> + state_backend_emmc: partition at 7c0000 {
> + label = "state";
> + reg = <0x0 0x7c0000 0x0 0x40000>;
> + };
> + };
We are trying to get away from hardcoding partitions outside the GPT in
the device tree and I think we are there.
A partition with the type UUID PARTITION_BAREBOX_ENVIRONMENT_GUID will be
used as environment partition automatically.
A partition with the type UUID BAREBOX_STATE_PARTITION_GUID will be used
as state partition provided the state node points to the device
containing this partition.
We also have a parted command to create/modify partitions and for
further convenience a createnv command which will create a barebox
environment partition in case you haven't built a full partition image
from a BSP.
It would be great if you could test this and eventually switch over to
it.
Sascha
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list