henrykotze commented on issue #17809:
URL: https://github.com/apache/nuttx/issues/17809#issuecomment-3767290576

   I am using the following compiler: `xtensa-esp-elf-gcc (crosstool-NG 
esp-14.2.0_20241119) 14.2.0`
   I downloaded it using the esp-idf v5.5: `./install.sh` script
   Im also converting the elf using esptool.py v4.11.dev2 which I also received 
using esp-idf v5.5
   
   I have now managed to get my boardconfig quite close to the 
`esp32-devkitc:spiflash` base board: 
   
   When I try and mount the smart FS i have the same issue:
   
   Thanks for assisting on this problem, I appreciate it. 
   ```
   nsh> reboot
   ets Jul 29 2019 12:21:46
   
   rst:0x3 (SW_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
   configsip: 0, SPIWP:0xee
   clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
   mode:DIO, clock div:2
   load:0x3ffb6760,len:7016
   load:0x40080000,len:36920
   entry 0x40081158
   *** Booting NuttX ***
   I (143) boot: chip revision: v3.1
   I (143) boot.esp32: SPI Speed      : 40MHz
   I (143) boot.esp32: SPI Mode       : DIO
   I (146) boot.esp32: SPI Flash Size : 8MB
   I (150) boot: Enabling RNG early entropy source...
   dram: lma 0x00001020 vma 0x3ffb6760 len 0x1b68   (7016)
   iram: lma 0x00002b90 vma 0x40080000 len 0x9038   (36920)
   padd: lma 0x0000bbd8 vma 0x00000000 len 0x4420   (17440)
   imap: lma 0x00010000 vma 0x40100000 len 0x7b3bc  (504764)
   padd: lma 0x0008b3c4 vma 0x00000000 len 0x4c34   (19508)
   dmap: lma 0x00090000 vma 0x3f410000 len 0x27e60  (163424)
   total segments stored 6
   ABD[CPU0] ESP32 chip revision is v3.1
   [CPU0] found procfs
   [CPU0] found binfs
   [CPU0] Entry
   [CPU1] ESP SPI Flash information:
   [CPU1]  ID = 0x204017
   [CPU1]  Status mask = 0xffff
   [CPU1]  Chip size = 8192 KB
   [CPU1]  Page size = 256 B
   [CPU1]  Sector size = 4 KB
   [CPU1]  Block size = 64 KB
   [CPU1]  MTD offset = 0x330000
   [CPU1]  MTD size = 0x10000
   [CPU1] cmd: 1537
   [CPU1] blocksize: 64 erasesize: 4096 neraseblocks: 2048
   [CPU1] return 0
   [CPU1] SMART alloc: 248
   [CPU1] SMART alloc: 160
   [CPU1] SMART alloc: 168
   [CPU1] SMART alloc: 1192
   [CPU1] Entry
   [CPU1] esp_flash_read failed 24579
   [CPU1] ERROR: smart_scan failed: 1
   [CPU1] smart_initialize failed, Trying to erase first...
   [CPU1] ERROR: erase failed: ret=24579
   [CPU1] ERROR: ioctl(BULKERASE) failed: -1
   [CPU1] ERROR: Failed to setup smartfs
   [CPU1] ERROR: Failed to initialize SPI Flash
   ```
   
   [config.txt](https://github.com/user-attachments/files/24711779/config.txt)
   
   


-- 
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