[U-Boot] Curses from u-boot

Hi everybody, I was wondering what would be the difficult to run some curses based menu from u-boot.
I've been search for curses porting and found this: http://frank.harvard.edu/~coldwell/ncurses/hackguide.html. The big problem here is that u-boot is not a operating system.
The motivation is simple. Would be nice to have boot options presented to user as a curses menu, like grub does, wouldn't?
The easy work arround I found here is booting to some initrd with curses installed. Then use the user input to configure u-boots enviroment so that the next reboot takes that configuration in account. What you think? I'm not using anything like this right know but I would like to do it in future...
Regards,

Hello Daniel,
Am 21.09.2016 um 15:25 schrieb Daniel.:
Hi everybody, I was wondering what would be the difficult to run some curses based menu from u-boot.
I've been search for curses porting and found this: http://frank.harvard.edu/~coldwell/ncurses/hackguide.html. The big problem here is that u-boot is not a operating system.
The motivation is simple. Would be nice to have boot options presented to user as a curses menu, like grub does, wouldn't?
The easy work arround I found here is booting to some initrd with curses installed. Then use the user input to configure u-boots enviroment so that the next reboot takes that configuration in account. What you think? I'm not using anything like this right know but I would like to do it in future...
maybe its worth that you look into u-boot:/doc/README.menu and u-boot:/doc/README.bootmenu
bye, Heiko

Hi Heiko,
This was exacly what I was searching for. I'll take a look!
Thank you for the reply and best regards,
2016-09-26 1:51 GMT-03:00 Heiko Schocher hs@denx.de:
Hello Daniel,
Am 21.09.2016 um 15:25 schrieb Daniel.:
Hi everybody, I was wondering what would be the difficult to run some curses based menu from u-boot.
I've been search for curses porting and found this: http://frank.harvard.edu/~coldwell/ncurses/hackguide.html. The big problem here is that u-boot is not a operating system.
The motivation is simple. Would be nice to have boot options presented to user as a curses menu, like grub does, wouldn't?
The easy work arround I found here is booting to some initrd with curses installed. Then use the user input to configure u-boots enviroment so that the next reboot takes that configuration in account. What you think? I'm not using anything like this right know but I would like to do it in future...
maybe its worth that you look into u-boot:/doc/README.menu and u-boot:/doc/README.bootmenu
bye, Heiko -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
participants (2)
-
Daniel.
-
Heiko Schocher