[PATCH v3 0/4] make the root= command line parameter variable

Fabian Pflug f.pflug at pengutronix.de
Thu Nov 27 06:25:20 PST 2025


Please ignore the v2 variant. I must have been drunk when writing it.

changes compared to v2:
- fix compile errors
- move format_root_bootarg into fs.c

Fabian Pflug (4):
  block.h: renamed get_rootargs to get_root
  fs: split rootargs into root and options
  bootm: use new api to get kernel command line params
  bootm: introduce bootm.root_arg variable

 .../migration-guides/migration-master.rst     | 15 +++++
 common/block.c                                | 38 ++++++++----
 common/bootm.c                                | 37 +++++++----
 drivers/mci/mci-core.c                        |  4 +-
 fs/9p/vfs_super.c                             |  6 +-
 fs/fs.c                                       | 62 ++++++++++---------
 fs/nfs.c                                      |  4 +-
 fs/squashfs/squashfs.c                        | 13 ++--
 fs/ubifs/ubifs.c                              | 12 ++--
 include/block.h                               |  7 ++-
 include/bootargs.h                            |  2 +
 include/bootm.h                               |  1 +
 include/fs.h                                  |  7 ++-
 13 files changed, 136 insertions(+), 72 deletions(-)
 create mode 100644 Documentation/migration-guides/migration-master.rst

-- 
2.47.3




More information about the barebox mailing list