[RFC PATCH 13/28] cli: lil: Wire up LIL to the rest of U-Boot

Rasmus Villemoes rasmus.villemoes at prevas.dk
Fri Jul 2 10:18:55 CEST 2021


On 01/07/2021 08.15, Sean Anderson wrote:
> This sets the shell to LIL when CONFIG_LIL is enabled. Repeated commands
> are not supporteed. Neither are partial commands a la Hush's secondary
> prompt. Setting and getting environmental variables is done through
> callbacks to assist with testing.

This all looks very interesting, thanks for doing this!

Re this patch, is there some way LIL and HUSH could coexist, with HUSH
then being the initial shell, and one could then enter a "lil shell"
with the command "lil", just as I can start a busybox shell from bash by
saying "busybox sh". That could make it a bit easier for playing around
with initially.

I have no idea how hard that is to do with Kconfig. Perhaps make LIL
selectable by itself, then have a hidden symbol LIL_SHELL which is
"default y if LIL && !HUSH_PARSER" or something like that.

Rasmus


More information about the U-Boot mailing list