You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/05/17 21:47:28 UTC

[GitHub] [incubator-nuttx-apps] patacongo opened a new pull request #255: apps/nshlib: Restore correct load order for binaries.

patacongo opened a new pull request #255:
URL: https://github.com/apache/incubator-nuttx-apps/pull/255


   ## Summary
   An important feature of ELF binaries for NSH is the capability to replace built-in applications with updated ELF applictions on a file system.  This works because of this ording in NSH:
   
   - Load file from file system if possible
   - If not, run built-in application if possible
   - If not, run NSH command line command if possible
   - If not, report that the command was not found
   
   This critical behavior was broken by this commit:
   
       commit 9a28ccf836c1b9f0eb5e1163964042eddc207697
       Author: chao.an <an...@xiaomi.com>
       Date:   Fri Feb 21 09:54:47 2020 +0800
   
           nsh/parse: try the builtin configuration first
   
           In the case of enable the BUILTIN_APPS/FILE_APPS at the same time,
           try the builtin list first to ensure that the relevant configuration
           (stacksize, priority) can be set normally.
   
   This commit breaks the feature because it changes the order to that the built-in application is tried first.  Hence, the version on the file system will never replace the built-in version.
   
   That commit must be reverted in order to restore the correct functionality.
   
   ## Impact
   
   None other than the ruined feature should become functional again.
   
   ## Testing
   
   Under test by floweh@gmx.net.  Refer to discussion of mid-May 2020.
   
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx-apps] patacongo commented on pull request #255: apps/nshlib: Restore correct load order for binaries.

Posted by GitBox <gi...@apache.org>.
patacongo commented on pull request #255:
URL: https://github.com/apache/incubator-nuttx-apps/pull/255#issuecomment-629866233


   nxstyle fixes forthcoming.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx-apps] Ouss4 merged pull request #255: apps/nshlib: Restore correct load order for binaries.

Posted by GitBox <gi...@apache.org>.
Ouss4 merged pull request #255:
URL: https://github.com/apache/incubator-nuttx-apps/pull/255


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org