Commit Graph
3 Commits
Author SHA1 Message Date
kalpak c8f4b69b76 fix(legacy-mcu1): resolve fdrv firmware dirs without CONFIG_PLATFORM_UBUNTU
The chip directory lookup in aic8800_fdrv's aic_request_firmware() is
guarded by CONFIG_PLATFORM_UBUNTU, but the fdrv Makefile never passes
-DCONFIG_PLATFORM_UBUNTU (only aic_load_fw's Makefile does). With
CONFIG_USE_FW_REQUEST=y the Wi-Fi driver therefore requests bare names
such as aic_userconfig_8800d80.txt, which are not found, so the user
config (TX power tables and the rest) is silently skipped.

Guard the lookup with AICWF_USB_SUPPORT only, and make the firmware test
compile each module with the macros its own Makefile defines.
2026-11-02 18:07:27 +04:00
Shen Mintao a482c871d5 fix: resolve chip firmware paths through the firmware API
Follow up issue #117: use each module chip enum and the real Wi-Fi device, preserve flat-layout fallback on missing files, and handle allocation and size failures. Based on the report by ggorbi99-dev.
2026-10-30 09:36:34 +08:00
Shen Mintao 28e84ec90e fix(legacy-mcu1): declare matched initramfs firmware and return probe errors
Backport the issue #117 loader fix, declaring the 80 firmware/configuration files actually shipped by legacy-mcu1 rather than the main firmware set. Preserve the existing V3 binaries and loader profiles.

All three modules build against Linux 6.17 headers; inventory, built-module metadata and extracted probe error/re-enumeration regression checks pass. Hardware boot validation remains pending.
2026-10-28 10:22:28 +08:00