agherzan / meta-raspberrypi

Yocto/OE BSP layer for the Raspberry Pi boards
https://www.yoctoproject.org/
MIT License
532 stars 410 forks source link

Raspberrypi4 WiFi is not working using core-image-full-cmdline #909

Closed gitgonewithwind closed 3 years ago

gitgonewithwind commented 3 years ago

sorry to reopen this issue: https://github.com/agherzan/meta-raspberrypi/issues/841 I have the some issue with core-image-full-cmdline ? I do not know how to enable the wifi work. before I do not use the pi 4 wifi function with core-image-full-cmdline, but one of our projects will use it any help? I have to switch to core-image-base? what different between core-image-full-cmdline and core-image-base ? any help?

agherzan commented 3 years ago

core-image-full-cmdline redefines IMAGE_INSTALL to a minimum setup without ending up pulling MACHINE_EXTRA_RRECOMMENDS which in turn includes the WiFi firmware. In the case of the default setup (e.g. using core-image-base), this is done through packagegroup-base-extended.

MichaelBMiner commented 2 years ago

Hello @agherzan I read your two posts about this and I am still confused. I am currently building a core-image-full-cmdline image. I will eventually need Wi-Fi. Am I able to add the packagegroup-base-extended as an EXTRA_IMAGE_FEATURES in my local.conf?

Or do I need to add MACHINE_EXTRA_RDEPENDS and MACHINE_EXTRA_RRECOMMENDS sections?

agherzan commented 2 years ago

If I remember correctly, packagegroup-base-extended was pulling packagegroup-base which was pulling packagegroup-machine-base which was pulling MACHINE_EXTRA_RRECOMMENDS. Nevertheless, you can just add MACHINE_EXTRA_RRECOMMENDS to IMAGE_INSTALL and you should be fine.

gitgonewithwind commented 2 years ago

@MichaelBMiner for me, I used core-image-base to build it to make it work ,did not use core-image-full-cmdline