1.      Final change that allowed a compile was when I changed the defconfig
to have the new:

CONFIG_INIT_ENTRYPOINT="nsh_main"

CONFIG_INIT_ENTRYNAME="nsh"

It all boots and I get the nsh prompt but I get continuous:

nsh_session: cle failed: 22

I'm assuming that's EINVAL, but I can't work out why?


What kind of terminal do you use?  CLE only works with a VT100-compatible terminal and will return -EINVAL to nsh_session if the terminal does not respond correctly to a VT100 request for the current cursor position.


Reply via email to