FelipeMdeO opened a new issue, #12798:
URL: https://github.com/apache/nuttx/issues/12798

   Hello all, 
   
   I am trying use Nuttx in ESP32C6-devkitm.
   I followed the tutorial: 
https://nuttx.apache.org/docs/latest/platforms/risc-v/esp32c6/index.html
   Below you can se my outputs:
   `~/nuttxspace/nuttx$ make bootloader
   Using direct bootloader to boot NuttX.
   `
   `riscv-none-elf-ld: warning: /home/felipe-moura/nuttxspace/nuttx/nuttx has a 
LOAD segment with RWX permissions
   CP: nuttx.hex
   MKIMAGE: NuttX binary
   esptool.py -c esp32c6 elf2image --ram-only-header -fs 4MB -fm dio -ff 80m -o 
nuttx.bin nuttx
   esptool.py v4.8.dev4
   Creating esp32c6 image...
   Image has only RAM segments visible. ROM segments are hidden and SHA256 
digest is not appended.
   Merged 1 ELF section
   Successfully created esp32c6 image.
   Generated: nuttx.bin
   esptool.py -c esp32c6 -p /dev/ttyACM0 -b 921600  write_flash -fs 4MB -fm dio 
-ff 80m 0x0000 nuttx.bin
   esptool.py v4.8.dev4
   Serial port /dev/ttyACM0
   Connecting...
   Chip is ESP32-C6FH4 (QFN32) (revision v0.0)
   Features: WiFi 6, BT 5, IEEE802.15.4
   Crystal is 40MHz
   MAC: 54:32:04:ff:fe:07:14:94
   BASE MAC: 54:32:04:07:14:94
   MAC_EXT: ff:fe
   Uploading stub...
   Running stub...
   Stub running...
   Changing baud rate to 921600
   Changed.
   Configuring flash size...
   Flash will be erased from 0x00000000 to 0x0003cfff...
   Compressed 246716 bytes to 104167...
   Wrote 246716 bytes (104167 compressed) at 0x00000000 in 2.0 seconds 
(effective 978.2 kbit/s)...
   Hash of data verified.
   
   Leaving...
   Hard resetting via RTS pin...
   
   `
   But after i connect in the board I am getting bootloader issue.
   I am not sure if my bootloader process is right, can you help me, please?
   
   `
   Terminal ready
   load:0x408042f0,len:0x884
   SHA-256 comparison failed:
   Calculated: 113a530452b06587e1697284c537b530939f3b6c0afde0ea002b4170b843b604
   Expected: 0000000050b40000000000000000000000000000000000000000000000000000
   Attempting to boot anyway...
   entry 0x40803f96
   ESP-ROM:esp32c6-20220919
   Build:Sep 19 2022
   rst:0x7 (TG0_WDT_HPSYS),boot:0xc (SPI_FAST_FLASH_BOOT)
   Saved PC:0x40800b10
   SPIWP:0xee
   mode:DIO, clock div:2
   load:0x40800000,len:0x42e8
   load:0x408042f0,len:0x884
   SHA-256 comparison failed:
   Calculated: 113a530452b06587e1697284c537b530939f3b6c0afde0ea002b4170b843b604
   Expected: 0000000050b40000000000000000000000000000000000000000000000000000
   Attempting to boot anyway...
   entry 0x40803f96
   ESP-ROM:esp32c6-20220919
   Build:Sep 19 2022
   rst:0x7 (TG0_WDT_HPSYS),boot:0xc (SPI_FAST_FLASH_BOOT)
   Saved PC:0x40800b10
   SPIWP:0xee
   mode:DIO, clock div:2
   load:0x40800000,len:0x42e8
   load:0x408042f0,len:0x884
   SHA-256 comparison failed:
   Calculated: 113a530452b06587e1697284c537b530939f3b6c0afde0ea002b4170b843b604
   Expected: 0000000050b40000000000000000000000000000000000000000000000000000
   Attempting to boot anyway...
   entry 0x40803f96
   ESP-ROM:esp32c6-20220919
   Build:Sep 19 2022
   
   `
   steps:
   ./tools/configure.sh esp32c6-devkitc:nsh
   make
   make bootloader 
   make flash ESPTOOL_PORT=<port> ESPTOOL_BINDIR=./
   picocom...
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to