agherzan / meta-raspberrypi

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

raspberrypi0-2w-32 #965

Closed sm-oralnum closed 2 years ago

sm-oralnum commented 2 years ago

Hello, I writed a conf file to get the raspberrypi0-2 to work in 32 mode to have the camera packages raspivid. It works just fine. But the problem I don't have wlan0 interface. I tried everything but I didn't succeed in getting to work. Here is my conf file:

@TYPE: Machine

@NAME: RaspberryPi0 2 Wifi Development Board

@DESCRIPTION: Machine configuration for the RaspberryPi0 2 Wifi in 32 bits mode

include conf/machine/raspberrypi3.conf

MACHINEOVERRIDES := "${@'${MACHINEOVERRIDES}' .replace(':${MACHINE}',':raspberrypi3:${MACHINE}')}"

MACHINE_EXTRA_RRECOMMENDS += "\ linux-firmware-rpidistro-bcm43436 \ linux-firmware-rpidistro-bcm43436s \ bluez-firmware-rpidistro-bcm43430b0-hcd \ linux-firmware-rpidistro-bcm43430 \ " also i tried to add following lines to machine conf file.

RPI_KERNEL_DEVICETREE = " \ broadcom/bcm2710-rpi-zero-2.dtb \ " But i get an error : | make[2]: *** No rule to make target 'arch/arm/boot/dts/broadcom/bcm2710-rpi-zero-2.dtb'. Stop.

It works just fine. The problem that I have is with the interface wlan0. I don't know why i don't have it ?

maurosanjo commented 2 years ago

Hello, the problem is you need the dtb, when in 32 bits file structure is different. Take a look at my PR: #972

sm-oralnum commented 2 years ago

Hello, i got it fixed a few days ago. I just did the tests and it works fine. I did not have time to do a PR request. Thank you for doing that.

Best regards,

Safouane

Envoyé à partir de Courrierhttps://go.microsoft.com/fwlink/?LinkId=550986 pour Windows

De : @.> Envoyé le :vendredi 10 décembre 2021 10:47 À : @.> Cc : Safouane @.>; @.> Objet :Re: [agherzan/meta-raspberrypi] raspberrypi0-2w-32 (Issue #965)

Hello, the problem is you need the dtb, when in 32 bits file structure is different. Take a look at my PR: #972https://github.com/agherzan/meta-raspberrypi/pull/972

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/agherzan/meta-raspberrypi/issues/965#issuecomment-990788027, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARCQC5MS2W7BXJWJ3GHNFI3UQHEBTANCNFSM5JJIB3TA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

agherzan commented 2 years ago

Support is now available in master.