Hi, This adds support for backend-diskuuid / backend-offset. The corresponding barebox patches can be found here: https://lore.barebox.org/barebox/20220124100458.2924679-1-m.olbr...@pengutronix.de/
The mount point for the ESP is quite standardized. So let barebox-state look there if nothing is found in sysfs/procfs. This way, barebox-state works on EFI without manually specifying the dtb file. Michael Michael Olbrich (4): state: support deep probe state: implement helper to find device path from diskuuid state: support backend-diskuuid / backend-offset state: automatically find state.dtb in the ESP Makefile.am | 1 + src/barebox-state-compat.c | 64 ++++++++++++++++++++++++++++++++++++++ src/barebox-state.c | 24 ++++++++++++++ src/barebox-state/state.c | 53 ++++++++++++++++++++++--------- src/libbb.h | 2 ++ 5 files changed, 129 insertions(+), 15 deletions(-) create mode 100644 src/barebox-state-compat.c -- 2.30.2 _______________________________________________ OSS-Tools mailing list OSS-Tools@pengutronix.de