Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Built-in shell hangs after editing file #25

Open
eproxus opened this issue Nov 28, 2017 · 2 comments
Open

Built-in shell hangs after editing file #25

eproxus opened this issue Nov 28, 2017 · 2 comments

Comments

@eproxus
Copy link
Member

eproxus commented Nov 28, 2017

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

@kiwichris
Copy link

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

@eproxus
Copy link
Member Author

eproxus commented Jun 22, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants