Built-in shell hangs after editing file
When editing a file on the SD-card the built-in RTEMS shell hangs aftewards. Steps to reproduce (using boot loader 1.0.1):
-
Create a SD-card with a
grisp.inifile that points out a non-existing binary to boot from -
Edit that file in the RTEMS shell started after boot fails:
[/] # edit /media/mmcsd-0-0/grisp.ini -
Save it and quit (Ctrl+S and then Ctrl+Q)
-
Try to see the changes:
[/] # cat /media/mmcsd-0-0/grisp.ini
At this point, the shell freezes and does not recover. Before trying to edit or print the edited file, other commands seems to work (ls etc.).
Does the shell hang if you exit the editor with out changing the file?
@kiwichris Didn't test that.
Ideally, this should be completely tested with a boot loader that is built with RTEMS 5 since it contains many fixes for the FAT file system.