Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong rkwifibt firmware install path #18

Closed
SquallATF opened this issue Jun 1, 2022 · 3 comments
Closed

Wrong rkwifibt firmware install path #18

SquallATF opened this issue Jun 1, 2022 · 3 comments

Comments

@SquallATF
Copy link

https://github.com/JeffyCN/mirrors/blob/82957dba3977fd50d4c013e0d359f3203072a0f2/drivers/net/wireless/rockchip_wlan/rkwifi/Kconfig#L39-L51
kernel default config firmware path is /vendor/etc/firmware/
but rkwifibt-firmware recipe installed to /system/etc/firmware

FILES:${PN}-ap6181-wifi = " \
system/etc/firmware/fw_bcm40181a2_apsta.bin \
system/etc/firmware/fw_bcm40181a2.bin \
system/etc/firmware/nvram_ap6181.txt \
"
FILES:${PN}-ap6212a1-wifi = " \
system/etc/firmware/fw_bcm43438a1_apsta.bin \
system/etc/firmware/fw_bcm43438a1.bin \
system/etc/firmware/nvram_ap6212a.txt \
"
FILES:${PN}-ap6212a1-bt = " \
system/etc/firmware/BCM43430A1.hcd \
"
FILES:${PN}-ap6236-wifi = " \
system/etc/firmware/fw_bcm43436b0_apsta.bin \
system/etc/firmware/fw_bcm43436b0.bin \
system/etc/firmware/nvram_ap6236.txt \
"
FILES:${PN}-ap6236-bt = " \
system/etc/firmware/BCM43430B0.hcd \
"
FILES:${PN}-ap6255-wifi = " \
system/etc/firmware/fw_bcm43455c0_ag.bin \
system/etc/firmware/nvram_ap6255.txt \
"
FILES:${PN}-ap6255-bt = " \
system/etc/firmware/BCM4345C0_ap.hcd \
system/etc/firmware/BCM4345C0.hcd \
"
FILES:${PN}-ap6275p-wifi = " \
system/etc/firmware/fw_bcm43752a2_pcie_ag_apsta.bin \
system/etc/firmware/fw_bcm43752a2_pcie_ag_mfg.bin \
system/etc/firmware/clm_bcm43752a2_pcie_ag.blob \
system/etc/firmware/fw_bcm43752a2_pcie_ag.bin \
system/etc/firmware/nvram_AP6275P.txt \
"
FILES:${PN}-ap6275p-bt = " \
system/etc/firmware/BCM4362A2.hcd \
"
FILES:${PN}-ap6354-wifi = " \
system/etc/firmware/fw_bcm4354a1_ag.bin \
system/etc/firmware/nvram_ap6354.txt \
"
FILES:${PN}-ap6354-bt = " \
system/etc/firmware/BCM4350C0.hcd \
"
FILES:${PN}-ap6356-wifi = " \
system/etc/firmware/fw_bcm4356a2_ag.bin \
system/etc/firmware/nvram_ap6356.txt \
system/etc/firmware/nvram_ap6356s.txt \
"
FILES:${PN}-ap6356-bt = " \
system/etc/firmware/BCM4354A2.hcd \
"
FILES:${PN}-ap6398s-wifi = " \
system/etc/firmware/fw_bcm4359c0_ag.bin \
system/etc/firmware/fw_bcm4359c0_ag_mfg.bin \
system/etc/firmware/nvram_ap6398s.txt \
"
FILES:${PN}-ap6398s-bt = " \
system/etc/firmware/BCM4359C0.hcd \

@JeffyCN
Copy link
Owner

JeffyCN commented Jun 1, 2022

the rkwifibt drivers are actually for android, so they used to use system/etc/firmware, but switched to vendor/etc/firmware recently for some new drivers.

so both of those path are needed, maybe try to add a symlink:

+++ b/recipes-kernel/rkwifibt-firmware/rkwifibt-firmware.bb
@@ -18,6 +18,9 @@ inherit allarch deploy

 do_install() {
        install -d ${D}/system/etc/firmware/
+       install -d ${D}/vendor/etc/
+       ln -sf /system/etc/firmware/ ${D}/vendor/etc/

@JeffyCN
Copy link
Owner

JeffyCN commented Jun 2, 2022

patches uploaded

@SquallATF
Copy link
Author

fixed ddd47d6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants