Port shell to FOS.

Signed-off-by: Shanjin Yang <sjyang@credosemi.com>