You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "linguini1 (via GitHub)" <gi...@apache.org> on 2026/01/05 21:08:18 UTC

[PR] boards/raspberrypi-4b: Add testing configurations [nuttx]

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

   ## Summary
   
   Adds ostest and coremark configurations. Also removed LED example from regular NSH example.
   
   Closes #17723
   
   ## Impact
   
   Included standard testing configurations can be used for board regression testing.
   
   ## Testing
   
   ### ostest
   
   Verified that board boots into ostest immediately and displays correct output over UART shell:
   
   ```console
   restart_main: I am still here
   restart_main: I am still here
   restart_main: Started restart_main at PID=7
   restart_main: Started with argc=4
   restart_main: argv[0]="ostest"
   restart_main: argv[1]="This is argument 1"
   restart_main: argv[2]="Argument 2 here"
   restart_main: argv[3]="Lastly, the 3rd argument"
   restart_main: Variable=VarName has value=VarValue
   restart_main: Started with argc=4
   restart_main: argv[0]="ostest"                                                                                                      
   restart_main: argv[1]="This is argument 1"                                                                                          
   restart_main: argv[2]="Argument 2 here"                                                                                             
   restart_main: argv[3]="Lastly, the 3rd argument"                                                                                    
   restart_main: Variable=VarName has value=VarValue                                                                                   
   restart_main: Exiting                                                                                                               
                                                                                                                                       
   End of test memory usage:                                                                                                           
   VARIABLE  BEFORE   AFTER                                                                                                            
   ======== ======== ========                                                                                                          
   arena    fbb44000 fbb44000                                                
   ...
   ```
   
   ### coremark
   
   Verified that board boots into coremark test and displays output on UART shell:
   
   ```console
   - Ready to Boot Primary CPU
   - Boot from EL2
   - Boot from EL1
   - Boot to C runtime for OS Initialize
   Running CoreMark...
   2K performance run parameters for coremark.
   CoreMark Size    : 666
   Total ticks      : 18140
   Total time (secs): 18.140000
   Iterations/Sec   : 6063.947078
   Iterations       : 110000
   Compiler version : GCC14.2.1 20241119
   Compiler flags   : -Os -fno-strict-aliasing -fomit-frame-pointer -ffunction-sections -fdata-sections -g
   Memory location  : HEAP
   seedcrc          : 0xe9f5
   [0]crclist       : 0xe714
   [0]crcmatrix     : 0x1fd7
   [0]crcstate      : 0x8e3a
   [0]crcfinal      : 0x33ff
   Correct operation validated. See README.md for run and reporting rules.                                                             
   CoreMark 1.0 : 6063.947078 / GCC14.2.1 20241119 -Os -fno-strict-aliasing -fomit-frame-pointer -ffunction-sections -fdata-sections -P
   ```


-- 
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: commits-unsubscribe@nuttx.apache.org

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


Re: [PR] boards/raspberrypi-4b: Add testing configurations [nuttx]

Posted by "cederom (via GitHub)" <gi...@apache.org>.
cederom commented on PR #17771:
URL: https://github.com/apache/nuttx/pull/17771#issuecomment-3712468169

   Big Thank You @linguini1 :-)


-- 
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: commits-unsubscribe@nuttx.apache.org

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


Re: [PR] boards/raspberrypi-4b: Add testing configurations [nuttx]

Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 merged PR #17771:
URL: https://github.com/apache/nuttx/pull/17771


-- 
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: commits-unsubscribe@nuttx.apache.org

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


Re: [PR] boards/raspberrypi-4b: Add testing configurations [nuttx]

Posted by "linguini1 (via GitHub)" <gi...@apache.org>.
linguini1 commented on PR #17771:
URL: https://github.com/apache/nuttx/pull/17771#issuecomment-3712104631

   > @linguini1 please include these new board profile to the board Documentation
   
   Good point!


-- 
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: commits-unsubscribe@nuttx.apache.org

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