Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

esp32s3-devkit/fastboot: Enable fastboot oem shell #15898

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

JianyuWang0623
Copy link
Contributor

Summary

Link: apache/nuttx-apps#3003

  1. Documentation/fastboot: Add usage for fastboot oem shell
  2. Enable fastboot oem shell for board "esp32s3-devkit/fastboot"

Impact

esp32s3-devkit/fastboot

Testing

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

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]>
@github-actions github-actions bot added Area: Documentation Improvements or additions to documentation Board: xtensa Size: XS The size of the change in this PR is very small labels Feb 24, 2025
Copy link
Contributor

@xiaoxiang781216 xiaoxiang781216 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@JianyuWang0623 JianyuWang0623 marked this pull request as ready for review February 24, 2025 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Documentation Improvements or additions to documentation Board: xtensa Size: XS The size of the change in this PR is very small
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants