[PATCH v2 0/4] firmware: qemu_fw_cfg: implement file system

Sascha Hauer s.hauer at pengutronix.de
Tue Jun 10 00:01:39 PDT 2025


On Fri, 06 Jun 2025 09:29:35 +0200, Ahmad Fatoum wrote:
> The character device we currently have is cumbersome to use.
> The Linux way to access it at /sys/firmware/qemu_fw_cfg
> is much nicer to use, so this series adds support for a similar
> FS to barebox.
> 
> A very nice result of having file system access to the QEMU variables
> in barebox is that we get a trivial way to pass data to barebox.
> To make it even more convenient to use, this series enables overriding
> individual files in the environment via the new mechanism, e.g.:
> 
> [...]

Applied, thanks!

[1/4] fs: add qemu_fw_cfg file system
      https://git.pengutronix.de/cgit/barebox/commit/?id=15fe16c19945 (link may not be stable)
[2/4] firmware: qemu_fw_cfg: register at device initcall level
      https://git.pengutronix.de/cgit/barebox/commit/?id=7a021f74e293 (link may not be stable)
[3/4] video: ramfb: use new qemu fw_cfg FS
      https://git.pengutronix.de/cgit/barebox/commit/?id=91f865300262 (link may not be stable)
[4/4] fs: qemu_fw_cfg: support populating environment via QEMU fw_cfg
      https://git.pengutronix.de/cgit/barebox/commit/?id=16d630256ed4 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list