You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2026/01/06 08:00:57 UTC

(nuttx) branch master updated (3c7999f996e -> 9baf67c9d45)

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


    from 3c7999f996e drivers/sensors: fix mpu9250 register function comments
     new cdf5118b62f boards/raspberrypi-4b: Add testing configurations
     new 9baf67c9d45 docs/platforms/raspberrypi-4b: Document testing configurations

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../arm64/bcm2711/boards/raspberrypi-4b/index.rst     | 14 ++++++++++++++
 .../raspberrypi-4b/configs/{fb => coremark}/defconfig | 19 +++++++------------
 .../bcm2711/raspberrypi-4b/configs/nsh/defconfig      |  1 -
 .../raspberrypi-4b/configs/{fb => ostest}/defconfig   | 18 +++++++-----------
 4 files changed, 28 insertions(+), 24 deletions(-)
 copy boards/arm64/bcm2711/raspberrypi-4b/configs/{fb => coremark}/defconfig (81%)
 copy boards/arm64/bcm2711/raspberrypi-4b/configs/{fb => ostest}/defconfig (82%)


(nuttx) 02/02: docs/platforms/raspberrypi-4b: Document testing configurations

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 9baf67c9d45f3ba708172af3650b25471a79f5c2
Author: Matteo Golin <ma...@gmail.com>
AuthorDate: Mon Jan 5 16:16:55 2026 -0500

    docs/platforms/raspberrypi-4b: Document testing configurations
    
    Adds documentation for the two new testing configurations, ostest and
    coremark.
    
    Signed-off-by: Matteo Golin <ma...@gmail.com>
---
 .../arm64/bcm2711/boards/raspberrypi-4b/index.rst          | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/Documentation/platforms/arm64/bcm2711/boards/raspberrypi-4b/index.rst b/Documentation/platforms/arm64/bcm2711/boards/raspberrypi-4b/index.rst
index cee2f41e24e..70438f80ca9 100644
--- a/Documentation/platforms/arm64/bcm2711/boards/raspberrypi-4b/index.rst
+++ b/Documentation/platforms/arm64/bcm2711/boards/raspberrypi-4b/index.rst
@@ -198,6 +198,20 @@ nsh
 A simple configuration with NSH on the Mini-UART console, accessible using a TTL
 cable connected to GPIO 14 & 15.
 
+coremark
+--------
+
+This configuration boots directly into the :doc:`coremark
+</applications/benchmarks/coremark/index>` benchmark and displays the results of
+the test over the serial console.
+
+ostest
+------
+
+This configuration boots directly into :doc:`ostest
+</applications/testing/ostest/index>` and displays the results of the test over
+the serial console. The test runs 5 times.
+
 sd
 --
 


(nuttx) 01/02: boards/raspberrypi-4b: Add testing configurations

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit cdf5118b62fa70b5f0f2673d0228dd6164669260
Author: Matteo Golin <ma...@gmail.com>
AuthorDate: Mon Jan 5 16:00:01 2026 -0500

    boards/raspberrypi-4b: Add testing configurations
    
    Adds ostest and coremark configurations. Also removed LED example from
    regular NSH example.
    
    Signed-off-by: Matteo Golin <ma...@gmail.com>
---
 .../configs/{nsh => coremark}/defconfig             | 21 +++++++--------------
 .../bcm2711/raspberrypi-4b/configs/nsh/defconfig    |  1 -
 .../configs/{nsh => ostest}/defconfig               | 20 +++++++-------------
 3 files changed, 14 insertions(+), 28 deletions(-)

diff --git a/boards/arm64/bcm2711/raspberrypi-4b/configs/nsh/defconfig b/boards/arm64/bcm2711/raspberrypi-4b/configs/coremark/defconfig
similarity index 78%
copy from boards/arm64/bcm2711/raspberrypi-4b/configs/nsh/defconfig
copy to boards/arm64/bcm2711/raspberrypi-4b/configs/coremark/defconfig
index df606c24f72..a54ebd41451 100644
--- a/boards/arm64/bcm2711/raspberrypi-4b/configs/nsh/defconfig
+++ b/boards/arm64/bcm2711/raspberrypi-4b/configs/coremark/defconfig
@@ -5,6 +5,7 @@
 # You can then do "make savedefconfig" to generate a new defconfig file that includes your
 # modifications.
 #
+# CONFIG_SYSTEM_DD is not set
 CONFIG_ARCH="arm64"
 CONFIG_ARCH_ARM64=y
 CONFIG_ARCH_BOARD="raspberrypi-4b"
@@ -13,30 +14,24 @@ CONFIG_ARCH_CHIP="bcm2711"
 CONFIG_ARCH_CHIP_BCM2711=y
 CONFIG_ARCH_EARLY_PRINT=y
 CONFIG_ARCH_INTERRUPTSTACK=4096
+CONFIG_BENCHMARK_COREMARK=y
+CONFIG_BOARDCTL=y
+CONFIG_BOARDCTL_MKRD=y
 CONFIG_BOARD_LOOPSPERMSEC=132954
 CONFIG_BUILTIN=y
 CONFIG_DEBUG_ASSERTIONS=y
 CONFIG_DEBUG_FEATURES=y
 CONFIG_DEBUG_FULLOPT=y
-CONFIG_DEBUG_SCHED=y
-CONFIG_DEBUG_SCHED_ERROR=y
-CONFIG_DEBUG_SCHED_WARN=y
 CONFIG_DEBUG_SYMBOLS=y
 CONFIG_DEFAULT_TASK_STACKSIZE=8192
-CONFIG_EXAMPLES_HELLO=y
-CONFIG_EXAMPLES_LEDS=y
 CONFIG_EXPERIMENTAL=y
 CONFIG_FS_PROCFS=y
 CONFIG_FS_ROMFS=y
 CONFIG_HAVE_CXX=y
 CONFIG_HAVE_CXXINITIALIZE=y
 CONFIG_IDLETHREAD_STACKSIZE=8192
-CONFIG_INIT_ENTRYPOINT="nsh_main"
+CONFIG_INIT_ENTRYPOINT="coremark_main"
 CONFIG_INTELHEX_BINARY=y
-CONFIG_NSH_ARCHINIT=y
-CONFIG_NSH_BUILTIN_APPS=y
-CONFIG_NSH_FILEIOSIZE=512
-CONFIG_NSH_READLINE=y
 CONFIG_PREALLOC_TIMERS=4
 CONFIG_PTHREAD_STACK_MIN=8192
 CONFIG_RAMLOG=y
@@ -47,15 +42,13 @@ CONFIG_READLINE_CMD_HISTORY=y
 CONFIG_RR_INTERVAL=200
 CONFIG_SCHED_HPWORK=y
 CONFIG_SCHED_HPWORKPRIORITY=192
+CONFIG_SCHED_WAITPID=y
 CONFIG_SPINLOCK=y
 CONFIG_STACK_COLORATION=y
 CONFIG_START_MONTH=11
 CONFIG_START_YEAR=2022
 CONFIG_SYMTAB_ORDEREDBYNAME=y
-CONFIG_SYSTEM_NSH=y
-CONFIG_SYSTEM_SYSTEM=y
+CONFIG_SYSTEM_READLINE=y
 CONFIG_SYSTEM_TIME64=y
-CONFIG_TESTING_GETPRIME=y
-CONFIG_TESTING_OSTEST=y
 CONFIG_USEC_PER_TICK=1000
 CONFIG_USERLED=y
diff --git a/boards/arm64/bcm2711/raspberrypi-4b/configs/nsh/defconfig b/boards/arm64/bcm2711/raspberrypi-4b/configs/nsh/defconfig
index df606c24f72..d0ddcd64efc 100644
--- a/boards/arm64/bcm2711/raspberrypi-4b/configs/nsh/defconfig
+++ b/boards/arm64/bcm2711/raspberrypi-4b/configs/nsh/defconfig
@@ -24,7 +24,6 @@ CONFIG_DEBUG_SCHED_WARN=y
 CONFIG_DEBUG_SYMBOLS=y
 CONFIG_DEFAULT_TASK_STACKSIZE=8192
 CONFIG_EXAMPLES_HELLO=y
-CONFIG_EXAMPLES_LEDS=y
 CONFIG_EXPERIMENTAL=y
 CONFIG_FS_PROCFS=y
 CONFIG_FS_ROMFS=y
diff --git a/boards/arm64/bcm2711/raspberrypi-4b/configs/nsh/defconfig b/boards/arm64/bcm2711/raspberrypi-4b/configs/ostest/defconfig
similarity index 80%
copy from boards/arm64/bcm2711/raspberrypi-4b/configs/nsh/defconfig
copy to boards/arm64/bcm2711/raspberrypi-4b/configs/ostest/defconfig
index df606c24f72..1cf924bf354 100644
--- a/boards/arm64/bcm2711/raspberrypi-4b/configs/nsh/defconfig
+++ b/boards/arm64/bcm2711/raspberrypi-4b/configs/ostest/defconfig
@@ -5,6 +5,7 @@
 # You can then do "make savedefconfig" to generate a new defconfig file that includes your
 # modifications.
 #
+# CONFIG_SYSTEM_DD is not set
 CONFIG_ARCH="arm64"
 CONFIG_ARCH_ARM64=y
 CONFIG_ARCH_BOARD="raspberrypi-4b"
@@ -13,30 +14,23 @@ CONFIG_ARCH_CHIP="bcm2711"
 CONFIG_ARCH_CHIP_BCM2711=y
 CONFIG_ARCH_EARLY_PRINT=y
 CONFIG_ARCH_INTERRUPTSTACK=4096
+CONFIG_BOARDCTL=y
+CONFIG_BOARDCTL_MKRD=y
 CONFIG_BOARD_LOOPSPERMSEC=132954
 CONFIG_BUILTIN=y
 CONFIG_DEBUG_ASSERTIONS=y
 CONFIG_DEBUG_FEATURES=y
 CONFIG_DEBUG_FULLOPT=y
-CONFIG_DEBUG_SCHED=y
-CONFIG_DEBUG_SCHED_ERROR=y
-CONFIG_DEBUG_SCHED_WARN=y
 CONFIG_DEBUG_SYMBOLS=y
 CONFIG_DEFAULT_TASK_STACKSIZE=8192
-CONFIG_EXAMPLES_HELLO=y
-CONFIG_EXAMPLES_LEDS=y
 CONFIG_EXPERIMENTAL=y
 CONFIG_FS_PROCFS=y
 CONFIG_FS_ROMFS=y
 CONFIG_HAVE_CXX=y
 CONFIG_HAVE_CXXINITIALIZE=y
 CONFIG_IDLETHREAD_STACKSIZE=8192
-CONFIG_INIT_ENTRYPOINT="nsh_main"
+CONFIG_INIT_ENTRYPOINT="ostest_main"
 CONFIG_INTELHEX_BINARY=y
-CONFIG_NSH_ARCHINIT=y
-CONFIG_NSH_BUILTIN_APPS=y
-CONFIG_NSH_FILEIOSIZE=512
-CONFIG_NSH_READLINE=y
 CONFIG_PREALLOC_TIMERS=4
 CONFIG_PTHREAD_STACK_MIN=8192
 CONFIG_RAMLOG=y
@@ -47,15 +41,15 @@ CONFIG_READLINE_CMD_HISTORY=y
 CONFIG_RR_INTERVAL=200
 CONFIG_SCHED_HPWORK=y
 CONFIG_SCHED_HPWORKPRIORITY=192
+CONFIG_SCHED_WAITPID=y
 CONFIG_SPINLOCK=y
 CONFIG_STACK_COLORATION=y
 CONFIG_START_MONTH=11
 CONFIG_START_YEAR=2022
 CONFIG_SYMTAB_ORDEREDBYNAME=y
-CONFIG_SYSTEM_NSH=y
-CONFIG_SYSTEM_SYSTEM=y
+CONFIG_SYSTEM_READLINE=y
 CONFIG_SYSTEM_TIME64=y
-CONFIG_TESTING_GETPRIME=y
 CONFIG_TESTING_OSTEST=y
+CONFIG_TESTING_OSTEST_LOOPS=5
 CONFIG_USEC_PER_TICK=1000
 CONFIG_USERLED=y