espressif / esp-hosted

Hosted Solution (Linux/MCU) with ESP32 (Wi-Fi + BT + BLE)
Other
675 stars 158 forks source link

imx8mm use ESP32-WROOM-32E module, Driver loading error #312

Open mengleia opened 8 months ago

mengleia commented 8 months ago

cpu: imx8mm system: linux kernel 6.1.36 esp driver: ESP-Hosted-NG_release_v1.0.2 esp-hosted: latest commit 504210623ec632efae1d39ad2636e235485ab3d4

insmod esp32_sdio.ko error image mmc log image

esp_log.txt kernel_log.txt

mantriyogesh commented 8 months ago
kapilkedawat commented 8 months ago

@mengleia Please make sure the connections are correct, and that the pull-up requirements are met. https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/sd_pullup_requirements.html

mengleia commented 8 months ago

@mengleia Please make sure the connections are correct, and that the pull-up requirements are met. https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/sd_pullup_requirements.html

Thank you for your reply I have Burn the flash voltage selection eFuses and pull-up resistor to GPIO12, Our hardware has already met the requirements pull-up, But it's still the same error. image I see an example of using imx8mm. Do you have any relevant configuration references?

mengleia commented 8 months ago

@mantriyogesh mmc device log image insmod esp32_sdio.ko ---> esp32_sdio: probe of mmc0:0001:1 failed with error -110 Please tell me how to analyze the problem?

mantriyogesh commented 8 months ago
  1. Setup schematic and picture, please?
  2. I also suspect you are using release binary with latest master, which may not be compatible. It is better to use same version either side.
    • 2.1 So if you wish to use release, Screenshot 2024-01-11 at 4 22 08 PM
    • 2.2 Else you can use latest master both sides (ESP and host) (Suggested)
    • Flash ESP32 from sources (Check the documentation how to do it)
    • Use latest master code at Host for building
mengleia commented 8 months ago

@mantriyogesh thank you for your reply, I have successfully loaded the driver.
the dts cannot use "non-removable" options.

mantriyogesh commented 8 months ago

Try broken-cd