Skip to content

Commit

Permalink
esp32s3-devkit/fastboot: Enable fastboot oem shell
Browse files Browse the repository at this point in the history
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

    apache/nuttx-apps#3003

Signed-off-by: wangjianyu3 <[email protected]>
  • Loading branch information
JianyuWang0623 committed Feb 24, 2025
1 parent 54954e5 commit a8675a4
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a8675a4

Please sign in to comment.