Re: [PR] boards/raspberrypi-4b: Add NXInit configuration [nuttx]

2026-05-30 Thread via GitHub


lupyuen merged PR #19002:
URL: https://github.com/apache/nuttx/pull/19002


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



Re: [PR] boards/raspberrypi-4b: Add NXInit configuration [nuttx]

2026-05-30 Thread via GitHub


acassis commented on PR #19002:
URL: https://github.com/apache/nuttx/pull/19002#issuecomment-4584256746

   > It's good to have some configs to test NXinit with! Sim would be a good 
target as well.
   
   For sure! Maybe including more example showing all the features


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



Re: [PR] boards/raspberrypi-4b: Add NXInit configuration [nuttx]

2026-05-30 Thread via GitHub


linguini1 commented on PR #19002:
URL: https://github.com/apache/nuttx/pull/19002#issuecomment-4584242822

   It's good to have some configs to test NXinit with! Sim would be a good 
target as well.


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



[PR] boards/raspberrypi-4b: Add NXInit configuration [nuttx]

2026-05-30 Thread via GitHub


linguini1 opened a new pull request, #19002:
URL: https://github.com/apache/nuttx/pull/19002

   ## Summary
   
   This commit adds a configuration which uses the new "NXInit" to start up the 
board and the NSH shell. The `init.rc` file is pulled from the SD card, 
allowing users to create their own.
   
   ## Impact
   
   Configuration using the `nxinit` system! Users can now modify it as they 
need to
   launch their own applications with `nxinit`.
   
   ## Testing
   
   Logs from config showing `nxinit` running before NSH on the Pi4B:
   
   ```console
   NuttShell (NSH) NuttX-12.13.0
   nsh> ps
 TID   PID  PPID PRI POLICY   TYPENPX STATEEVENT SIGMASK
STACKUSED FILLED COMMAND
   0 0 0   0 FIFO Kthread   - Ready  
 0008144 928  11.3%  Idle_Task
   1 0 0 192 RR   Kthread   - Waiting  Semaphore 
 0008080 0001088  13.4%  hpwork 0x48
   3 3 0 100 RR   Task  - Waiting  Semaphore 
 0008112 0002880  35.5%  init_main
   4 4 3 100 RR   Task  - Running
 0008112 0003520  43.3%  nsh
   nsh> ls
   /:
dev/
proc/
sd/
   ```
   
   `init.rc` script used:
   
   ```
   on boot
   start console
   service console nsh
   class core
   restart_period 1000
   ```


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]