With this series we can let the bootm command automatically append a root= option for the Kernel which will let the rootfs come from the same device as the kernel comes from. The code was already there, but only worked with bootloader spec. By moving it to bootm we can also use it with bootm directly. As usual there a a few things to cleanup I stumbled upon which are also part of this series. Sascha ---------------------------------------------------------------- Sascha Hauer (6): globalvar: Allow to remove globalvars string: Introduce strtobool getenv_bool: use strtobool parameter: Use strtobool bootm: Optionally add a root= option to Kernel command line blspec: push appendroot handling to bootm Documentation/user/booting-linux.rst | 14 ++++++++++++ commands/bootm.c | 1 + common/blspec.c | 39 +++++++++++--------------------- common/bootm.c | 17 ++++++++++++++ common/env.c | 28 ++++++++++++++--------- common/globalvar.c | 10 +++++++++ include/boot.h | 5 +++++ include/globalvar.h | 1 + include/string.h | 1 + lib/parameter.c | 7 +++--- lib/string.c | 43 ++++++++++++++++++++++++++++++++++++ 11 files changed, 126 insertions(+), 40 deletions(-) _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox