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

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

commit 4df67da95d0b2c45fd958c9f047f8581913d51ef
Author: wangjianyu3 <[email protected]>
AuthorDate: Mon Feb 24 19:43:12 2025 +0800

    esp32s3-devkit/fastboot: Enable fastboot oem shell
    
    Selftest
    
        # Host side
    
        $ ./tools/configure.sh -l esp32s3-devkit:fastboot
        $ make flash -j ESPTOOL_PORT=/dev/ttyACMx
    
        $ fastboot devices
        1234    fastboot
        $ fastboot -s 1234 oem shell ps
          PID GROUP PRI POLICY   TYPE    NPX STATE    EVENT     SIGMASK         
   STACK COMMAND
            0     0   0 FIFO     Kthread   - Ready              
0000000000000000 0003056 Idle_Task
            1     0 224 RR       Kthread   - Waiting  Semaphore 
0000000000000000 0001976 hpwork 0x3fc8bd50 0x3fc8bd80
            2     2 100 RR       Task      - Waiting  Semaphore 
0000000000000000 0004048 nsh_main
            3     3 100 RR       Task      - Ready              
0000000000000000 0001992 fastbootd
            4     4 100 RR       Task      - Running            
0000000000000000 0001992 popen -c ps
        OKAY [  0.010s]
        Finished. Total time: 0.010s
    
    More details
    
        https://github.com/apache/nuttx-apps/pull/3003
    
    Signed-off-by: wangjianyu3 <[email protected]>
---
 boards/xtensa/esp32s3/esp32s3-devkit/configs/fastboot/defconfig | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/boards/xtensa/esp32s3/esp32s3-devkit/configs/fastboot/defconfig 
b/boards/xtensa/esp32s3/esp32s3-devkit/configs/fastboot/defconfig
index b9c5b2bcec..cf1ad5e2eb 100644
--- a/boards/xtensa/esp32s3/esp32s3-devkit/configs/fastboot/defconfig
+++ b/boards/xtensa/esp32s3/esp32s3-devkit/configs/fastboot/defconfig
@@ -7,7 +7,12 @@ CONFIG_ETC_ROMFS=y
 CONFIG_EXAMPLES_USBSERIAL=n
 CONFIG_FS_ROMFS=y
 CONFIG_NSH_CMDOPT_HEXDUMP=y
+CONFIG_PIPES=y
+CONFIG_SCHED_CHILD_STATUS=y
+CONFIG_SCHED_HAVE_PARENT=y
 CONFIG_SYSTEM_FASTBOOTD=y
+CONFIG_SYSTEM_FASTBOOTD_SHELL=y
 CONFIG_SYSTEM_FASTBOOTD_USB_BOARDCTL=y
+CONFIG_SYSTEM_POPEN=y
 CONFIG_USBADB=y
 CONFIG_USBFASTBOOT=y

Reply via email to