You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Checked the issue tracker for similar issues to ensure this is not a duplicate.
Provided a clear description of your suggestion.
Included any relevant context or examples.
Issue or Suggestion Description
Run driver on mpu imx6ull with esp32
I get
esp32_spi: wait_and_decode_cmd_resp: Command[0x1] timed out
sometimes I get
esp32_spi: wait_and_decode_cmd_resp: Command[0x3] timed out
Try:
less leight to 6 cm
change mode 0/1/2/3
less speed to 1 MHz
rst:0x1 (POWERON_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:0x3fff0030,len:7116
ho 0 tail 12 room 4
load:0x40078000,len:15616
load:0x40080400,len:4
load:0x40080404,len:3876
entry 0x4008064c
I (31) boot: ESP-IDF v5.1.3-dirty 2nd stage bootloader
I (31) boot: compile time Oct 28 2024 11:39:33
I (31) boot: Multicore bootloader
I (36) boot: chip revision: v3.0
I (40) boot.esp32: SPI Speed : 40MHz
I (44) boot.esp32: SPI Mode : DIO
I (49) boot.esp32: SPI Flash Size : 4MB
I (53) boot: Enabling RNG early entropy source...
I (59) boot: Partition Table:
I (62) boot: ## Label Usage Type ST Offset Length
I (70) boot: 0 nvs WiFi data 01 02 00009000 00004000
I (77) boot: 1 otadata OTA data 01 00 0000d000 00002000
I (85) boot: 2 phy_init RF data 01 01 0000f000 00001000
I (92) boot: 3 factory factory app 00 00 00010000 00100000
I (100) boot: 4 ota_0 OTA app 00 10 00110000 00100000
I (107) boot: 5 ota_1 OTA app 00 11 00210000 00100000
I (115) boot: End of partition table
I (119) boot: Defaulting to factory image
I (124) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=203ech (132076) map
I (180) esp_image: segment 1: paddr=00030414 vaddr=3ffbdb60 size=05884h ( 22660) load
I (189) esp_image: segment 2: paddr=00035ca0 vaddr=40080000 size=0a378h ( 41848) load
I (207) esp_image: segment 3: paddr=00040020 vaddr=400d0020 size=8a7a8h (567208) map
I (412) esp_image: segment 4: paddr=000ca7d0 vaddr=4008a378 size=156bch ( 87740) load
I (464) boot: Loaded app from partition at offset 0x10000
I (465) boot: Disabling RNG early entropy source...
I (476) cpu_start: Multicore app
I (476) cpu_start: Pro cpu up.
I (476) cpu_start: Starting app cpu, entry point is 0x40081444
I (0) cpu_start: App cpu up.
I (494) cpu_start: Pro cpu start user code
I (494) cpu_start: cpu freq: 240000000 Hz
I (494) cpu_start: Application information:
I (499) cpu_start: Project name: network_adapter
I (505) cpu_start: App version: release/ng-v1.0.2-286-gda21e36-
I (512) cpu_start: Compile time: Oct 31 2024 13:54:25
I (518) cpu_start: ELF file SHA256: 5fe6f546184709d0...
I (524) cpu_start: ESP-IDF: v5.1.3-dirty
I (529) cpu_start: Min chip rev: v0.0
I (534) cpu_start: Max chip rev: v3.99
I (539) cpu_start: Chip rev: v3.0
I (544) heap_init: Initializing. RAM available for dynamic allocation:
I (551) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (557) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM
I (563) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM
I (569) heap_init: At 3FFC7D18 len 000182E8 (96 KiB): DRAM
I (575) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (581) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (588) heap_init: At 4009FA34 len 000005CC (1 KiB): IRAM
I (595) spi_flash: detected chip: generic
I (599) spi_flash: flash io: dio
I (603) coexist: coex firmware version: 77cd7f8
I (608) app_start: Starting scheduler on CPU0
I (613) app_start: Starting scheduler on CPU1
mI (613) main_task: Started on CPU0
I (622) main_task: Calling app_main()
I (626) stats: *********************************************************************
I (634) stats: ESP-Hosted Firmware version :: 1.0.3
I (643) stats: Transport used :: SPI only
I (651) stats: *********************************************************************
I (660) FW_MAIN: Supported features are:
I (664) FW_MAIN: - WLAN over SPI
I (668) FW_BT: - BT/BLE
I (671) FW_BT: - HCI Over SPI
I (675) FW_BT: - BT/BLE dual mode
I (680) FW_MAIN: Capabilities: 0xf8
I (695) wifi:wifi driver task: 3ffbd5f0, prio:23, stack:6656, core=1
I (697) wifi:wifi firmware version: d23b633
I (698) wifi:wifi certification version: v7.0
I (700) wifi:config NVS flash: disabled
I (704) wifi:config nano formating: disabled
I (708) wifi:Init data frame dynamic rx buffer num: 40
I (713) wifi:Init static rx mgmt buffer num: 5
I (717) wifi:Init management short buffer num: 32
I (721) wifi:Init dynamic tx buffer num: 64
I (725) wifi:Init static rx buffer size: 1600
I (729) wifi:Init static rx buffer num: 16
I (733) wifi:Init dynamic rx buffer num: 40
I (738) wifi_init: rx ba win: 32
I (741) wifi_init: tcpip mbox: 32
I (745) wifi_init: udp mbox: 6
I (748) wifi_init: tcp mbox: 6
I (752) wifi_init: tcp tx win: 5760
I (756) wifi_init: tcp rx win: 5760
I (761) wifi_init: tcp mss: 1440
I (764) wifi_init: WiFi IRAM OP enabled
I (769) wifi_init: WiFi RX IRAM OP enabled
I (774) BTDM_INIT: BT controller compile version [a38dc5c]
I (781) BTDM_INIT: Bluetooth MAC: b4:8a:0a:70:0e:96
I (788) phy_init: phy_version 4791,2c4672b,Dec 20 2023,16:06:06
I (1166) FW_MAIN: ESP Bluetooth MAC addr: b4-8a- a-70- e-96
I (1167) FW_SPI: Using SPI interface
I (1167) gpio: GPIO[2]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (1176) gpio: GPIO[4]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (2187) FW_MAIN: Initial set up done
I (2187) main_task: Returned from app_main()
I (2423) FW_MAIN: INIT Interface command
I (2427) wifi:mode : sta (b4:8a:0a:70:0e:94)
I (2428) wifi:enable tsf
I (2429) FW_CMD: station started and disabled softap mode
The text was updated successfully, but these errors were encountered:
Checklist
Issue or Suggestion Description
Run driver on mpu imx6ull with esp32
I get
esp32_spi: wait_and_decode_cmd_resp: Command[0x1] timed out
sometimes I get
esp32_spi: wait_and_decode_cmd_resp: Command[0x3] timed out
Try:
less leight to 6 cm
change mode 0/1/2/3
less speed to 1 MHz
log imx6ull
[ 26.848571] esp32_spi: loading out-of-tree module taints kernel.
[ 27.077238] esp32_spi: spi_dev_init: Using SPI MODE 2
[ 27.085172] esp32_spi: spi_dev_init: ESP32 peripheral is registered to SPI bus [2],chip select [0], SPI Clock [1]
[ 34.765247] esp32_spi: process_esp_bootup_event: Received ESP bootup event
[ 34.772567] len = 18
[ 34.774820] pos = 3
[ 34.777120] tag_len = 1
[ 34.779622] esp32_spi: process_event_esp_bootup: Bootup Event tag: 3
[ 34.786051] esp32_spi: esp_validate_chipset: Chipset=ESP32 ID=00 detected over SPI
[ 34.793819] ret = 0
[ 34.795976] tag_len = 1
[ 34.798553] esp32_spi: process_event_esp_bootup: Bootup Event tag: 2
[ 34.804978] ret = 0
[ 34.807189] tag_len = 1
[ 34.809679] esp32_spi: process_event_esp_bootup: Bootup Event tag: 0
[ 34.816090] tag_len = 7
[ 34.818652] esp32_spi: process_event_esp_bootup: Bootup Event tag: 1
[ 34.825071] pos = 1
[ 34.827275] fw_p = 4
[ 34.829504] sizeof(struct fw_data) = 7
[ 34.833288] sizeof(struct fw_version) = 6
[ 34.837424] esp32_spi: process_fw_data: ESP chipset's last reset cause:
[ 34.844103] esp32_spi: print_reset_reason: Unknown[0]
[ 34.849329] version_str = bf080aa0
[ 34.852776] RELEASE_VERSION bf080aa0
[ 34.856461] RELEASE_VERSION -12.0.0
[ 34.860076] version_str -12.0.0
[ 34.863342] esp32_spi: check_esp_version: ESP-Hosted Version: -12.0.0
[ 34.870005] ret = 0
[ 34.882107] esp32_spi: esp_reg_notifier: Driver init is ongoing
[ 34.891319] adapter->cmd_resp = 0
[ 34.894779] cmd_node->cmd_code = 1
[ 39.926454] esp32_spi: wait_and_decode_cmd_resp: Command[0x1] timed out
[ 39.933219] esp32_spi: cmd_init_interface: wait_and_decode_cmd_resp(priv, cmd_node) failure, ret: -22
[ 39.942734] esp32_spi: esp_add_card: esp_add_network_ifaces(adapter) failure, ret: -1
[ 39.950763] esp32_spi: process_event_esp_bootup: network interface init failed
log esp32
rst:0x1 (POWERON_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:0x3fff0030,len:7116
ho 0 tail 12 room 4
load:0x40078000,len:15616
load:0x40080400,len:4
load:0x40080404,len:3876
entry 0x4008064c
I (31) boot: ESP-IDF v5.1.3-dirty 2nd stage bootloader
I (31) boot: compile time Oct 28 2024 11:39:33
I (31) boot: Multicore bootloader
I (36) boot: chip revision: v3.0
I (40) boot.esp32: SPI Speed : 40MHz
I (44) boot.esp32: SPI Mode : DIO
I (49) boot.esp32: SPI Flash Size : 4MB
I (53) boot: Enabling RNG early entropy source...
I (59) boot: Partition Table:
I (62) boot: ## Label Usage Type ST Offset Length
I (70) boot: 0 nvs WiFi data 01 02 00009000 00004000
I (77) boot: 1 otadata OTA data 01 00 0000d000 00002000
I (85) boot: 2 phy_init RF data 01 01 0000f000 00001000
I (92) boot: 3 factory factory app 00 00 00010000 00100000
I (100) boot: 4 ota_0 OTA app 00 10 00110000 00100000
I (107) boot: 5 ota_1 OTA app 00 11 00210000 00100000
I (115) boot: End of partition table
I (119) boot: Defaulting to factory image
I (124) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=203ech (132076) map
I (180) esp_image: segment 1: paddr=00030414 vaddr=3ffbdb60 size=05884h ( 22660) load
I (189) esp_image: segment 2: paddr=00035ca0 vaddr=40080000 size=0a378h ( 41848) load
I (207) esp_image: segment 3: paddr=00040020 vaddr=400d0020 size=8a7a8h (567208) map
I (412) esp_image: segment 4: paddr=000ca7d0 vaddr=4008a378 size=156bch ( 87740) load
I (464) boot: Loaded app from partition at offset 0x10000
I (465) boot: Disabling RNG early entropy source...
I (476) cpu_start: Multicore app
I (476) cpu_start: Pro cpu up.
I (476) cpu_start: Starting app cpu, entry point is 0x40081444
I (0) cpu_start: App cpu up.
I (494) cpu_start: Pro cpu start user code
I (494) cpu_start: cpu freq: 240000000 Hz
I (494) cpu_start: Application information:
I (499) cpu_start: Project name: network_adapter
I (505) cpu_start: App version: release/ng-v1.0.2-286-gda21e36-
I (512) cpu_start: Compile time: Oct 31 2024 13:54:25
I (518) cpu_start: ELF file SHA256: 5fe6f546184709d0...
I (524) cpu_start: ESP-IDF: v5.1.3-dirty
I (529) cpu_start: Min chip rev: v0.0
I (534) cpu_start: Max chip rev: v3.99
I (539) cpu_start: Chip rev: v3.0
I (544) heap_init: Initializing. RAM available for dynamic allocation:
I (551) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (557) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM
I (563) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM
I (569) heap_init: At 3FFC7D18 len 000182E8 (96 KiB): DRAM
I (575) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (581) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (588) heap_init: At 4009FA34 len 000005CC (1 KiB): IRAM
I (595) spi_flash: detected chip: generic
I (599) spi_flash: flash io: dio
I (603) coexist: coex firmware version: 77cd7f8
I (608) app_start: Starting scheduler on CPU0
I (613) app_start: Starting scheduler on CPU1
mI (613) main_task: Started on CPU0
I (622) main_task: Calling app_main()
I (626) stats: *********************************************************************
I (634) stats: ESP-Hosted Firmware version :: 1.0.3
I (643) stats: Transport used :: SPI only
I (651) stats: *********************************************************************
I (660) FW_MAIN: Supported features are:
I (664) FW_MAIN: - WLAN over SPI
I (668) FW_BT: - BT/BLE
I (671) FW_BT: - HCI Over SPI
I (675) FW_BT: - BT/BLE dual mode
I (680) FW_MAIN: Capabilities: 0xf8
I (695) wifi:wifi driver task: 3ffbd5f0, prio:23, stack:6656, core=1
I (697) wifi:wifi firmware version: d23b633
I (698) wifi:wifi certification version: v7.0
I (700) wifi:config NVS flash: disabled
I (704) wifi:config nano formating: disabled
I (708) wifi:Init data frame dynamic rx buffer num: 40
I (713) wifi:Init static rx mgmt buffer num: 5
I (717) wifi:Init management short buffer num: 32
I (721) wifi:Init dynamic tx buffer num: 64
I (725) wifi:Init static rx buffer size: 1600
I (729) wifi:Init static rx buffer num: 16
I (733) wifi:Init dynamic rx buffer num: 40
I (738) wifi_init: rx ba win: 32
I (741) wifi_init: tcpip mbox: 32
I (745) wifi_init: udp mbox: 6
I (748) wifi_init: tcp mbox: 6
I (752) wifi_init: tcp tx win: 5760
I (756) wifi_init: tcp rx win: 5760
I (761) wifi_init: tcp mss: 1440
I (764) wifi_init: WiFi IRAM OP enabled
I (769) wifi_init: WiFi RX IRAM OP enabled
I (774) BTDM_INIT: BT controller compile version [a38dc5c]
I (781) BTDM_INIT: Bluetooth MAC: b4:8a:0a:70:0e:96
I (788) phy_init: phy_version 4791,2c4672b,Dec 20 2023,16:06:06
I (1166) FW_MAIN: ESP Bluetooth MAC addr: b4-8a- a-70- e-96
I (1167) FW_SPI: Using SPI interface
I (1167) gpio: GPIO[2]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (1176) gpio: GPIO[4]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (2187) FW_MAIN: Initial set up done
I (2187) main_task: Returned from app_main()
I (2423) FW_MAIN: INIT Interface command
I (2427) wifi:mode : sta (b4:8a:0a:70:0e:94)
I (2428) wifi:enable tsf
I (2429) FW_CMD: station started and disabled softap mode
The text was updated successfully, but these errors were encountered: