Hi there,
Recently you helped me to setup a WiFI AP on Armbian and a bananapim2p board: https://forum.armbian.com/index.php/topic/2395-access-point-mode-with-ap6212-on-armbian-521/
The current problem I am facing: the dhd module on armbian 5.25 does not on my bananapim2p boards.
To be precise:
I have one bananapi m2p where the dhd module loads perfectly on armbian 5.25, I created an image of this board's emmc and flashed the emmc of two different m2p boards.
The dhd config file looks like:
cat /etc/modprobe.d$ cat /etc/modprobe.d/dhd.conf options dhd op_mode=2 firmware_path=/lib/firmware/ap6212/fw_bcm43438a0_apsta.bin
With the modprobe configuration the m2p boards hang on boot (raising network interface ...) and boot perfectly if a remove the module configuration.
I am also not able to manually load the dhd module:
[ 363.081480] dhd_wifi_platform_load: Enter [ 363.978718] dhd_conf_set_chiprev: chip=0xa9a6, chiprev=1 [ 363.978999] dhd_conf_set_conf_path_by_nv_path: config_path=/lib/firmware/ap6212/config.txt [ 363.979090] dhd_conf_read_config: Ignore config file /lib/firmware/ap6212/config.txt [ 363.982876] dhd_attach(): thread:dhd_watchdog_thread:57e started [ 363.983230] dhd_attach(): thread:dhd_dpc:57f started [ 363.983286] dhd_dpc_thread: set dpc_cpucore 0 from config.txt [ 363.983559] dhd_attach(): thread:dhd_rxf:580 started [ 363.983637] dhd_deferred_work_init: work queue initialized [ 363.984789] dhd_conf_read_config: Ignore config file /lib/firmware/ap6212/config.txt [ 363.984862] dhd_conf_set_fw_name_by_chip: firmware_path=/lib/firmware/ap6212/fw_bcm43438a1.bin [ 363.984915] dhdsdio_download_firmware: set use_rxchain 0 [ 363.984952] dhdsdio_download_firmware: set txglomsize 40 [ 363.987065] dhdsdio_download_code_file: Open firmware file failed /lib/firmware/ap6212/fw_bcm43438a1.bin [ 363.987123] _dhdsdio_download_firmware: dongle image file download failed [ 363.987251] dhd_bus_start: failed to download firmware /lib/firmware/ap6212/fw_bcm43438a1.bin [ 363.987300] dhdsdio_probe: dhd_bus_start failed [ 363.987413] dhd_wlfc_deinit():3301, Already disabled! [ 364.040146] dhd_detach(): thread:dhd_watchdog_thread:57e terminated OK [ 364.040219] dhd_detach(): thread:dhd_rxf:580 terminated OK [ 364.040240] dhd_dpc_thread: Unexpected up_cnt 0 [ 364.040282] dhd_detach(): thread:dhd_dpc:57f terminated OK [ 364.080411] dhd_os_prealloc: failed to alloc memory, section: 7, size: 0bytes [ 376.080202] dhd_wifi_platform_load_sdio: sdio_register_driver timeout or error [ 376.081002] dhd_module_init: Failed to load the driver, try cnt 0 [ 376.081147] dhd_module_init: Failed to load driver max retry reached** [ 376.081189] dhd_module_init: Exit err=-62
Do you have any idea how I could further debug this issue?
It would be great if I could give back to the amazing armbian project, by helping to fix this issue - in case anybody else faces similar issues.