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

boards/esp32s3-devkit: Initializing configuration for Fastboot #15836

Conversation

JianyuWang0623
Copy link
Contributor

@JianyuWang0623 JianyuWang0623 commented Feb 13, 2025

Summary

boards/esp32s3-devkit

  1. Initializing configuration for Fastboot
  2. Add fastboot starting command to initialization script
  3. Add doc for USB Fastboot

Depends on apache/nuttx-apps#2994.

Impact

boards/esp32s3-devkit

Testing

$ ./tools/configure.sh -l esp32s3-devkit:fastboot
$ make flash ESPTOOL_PORT=/dev/ttyACMx -j
$ fastboot getvar kernel
kernel: NuttX
Finished. Total time: 0.000s

@github-actions github-actions bot added Area: Documentation Improvements or additions to documentation Board: xtensa Size: S The size of the change in this PR is small labels Feb 13, 2025
@JianyuWang0623
Copy link
Contributor Author

Depends on apache/nuttx-apps#2994

@JianyuWang0623 JianyuWang0623 force-pushed the br_wjy_boards_esp32s3-devkit_en_fastboot_250213 branch from 644088d to 781d33d Compare February 17, 2025 12:12
@acassis
Copy link
Contributor

acassis commented Feb 17, 2025

@JianyuWang0623 it should be nice if there are a complete board example demonstrating how to support and use fastboot. The documentation explains the commands: https://nuttx.apache.org/docs/latest/applications/system/fastboot/index.html but we don't have board with partitions and everything in place. I think a functional example for esp32s3-devkit should be nice!

Based on configuration of usb_device.

Quick start:

    ./tools/configure.sh -l esp32s3-devkit:fastboot
    make flash -j ESPTOOL_PORT=/dev/ttyACMx

(Optional) You can get full defconfig by executing following commands after SAVING your stages if necessary:

    ./tools/configure.sh -l esp32s3-devkit:fastboot
    make savedefconfig
    cat defconfig

Signed-off-by: wangjianyu3 <[email protected]>
@JianyuWang0623 JianyuWang0623 force-pushed the br_wjy_boards_esp32s3-devkit_en_fastboot_250213 branch from 781d33d to a96a45d Compare February 18, 2025 12:05
@github-actions github-actions bot added Size: M The size of the change in this PR is medium and removed Size: S The size of the change in this PR is small labels Feb 18, 2025
@JianyuWang0623
Copy link
Contributor Author

@JianyuWang0623 it should be nice if there are a complete board example demonstrating how to support and use fastboot. The documentation explains the commands: https://nuttx.apache.org/docs/latest/applications/system/fastboot/index.html but we don't have board with partitions and everything in place. I think a functional example for esp32s3-devkit should be nice!

@acassis Yes, we can make RAM disk for esp32s3-devkit:fastboot by using mkrd command, as partitions for fastboot flash command ;-)
The complete steps testing fastboot on esp32s3-devkit was added to this PR.
image
image

Copy link
Contributor

@cederom cederom left a comment

Choose a reason for hiding this comment

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

Thank you @JianyuWang0623 :-)

@Donny9 Donny9 merged commit 32bc951 into apache:master Feb 19, 2025
14 checks passed
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: M The size of the change in this PR is medium
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants