grisp-software icon indicating copy to clipboard operation
grisp-software copied to clipboard

Built-in shell hangs after editing file

Open eproxus opened this issue 8 years ago • 2 comments

When editing a file on the SD-card the built-in RTEMS shell hangs aftewards. Steps to reproduce (using boot loader 1.0.1):

  1. Create a SD-card with a grisp.ini file that points out a non-existing binary to boot from

  2. Edit that file in the RTEMS shell started after boot fails:

    [/] # edit /media/mmcsd-0-0/grisp.ini
    
  3. Save it and quit (Ctrl+S and then Ctrl+Q)

  4. 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.).

eproxus avatar Nov 28 '17 14:11 eproxus

Does the shell hang if you exit the editor with out changing the file?

kiwichris avatar Jun 22 '18 04:06 kiwichris

@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.

eproxus avatar Jun 22 '18 08:06 eproxus