RTL8852 support on I.MX93 through yocto

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RTL8852 support on I.MX93 through yocto

1,214 Views
TomC818
Contributor III

Hi all, I am currently using yocto to build the linux for I.MX93. 

i.MX Linux Yocto Project BSP 6.6.52_2.2.0

I have managed to build the imx-image-multimedia as descripted by UG10164.

How can I enable support for RTL8852 through SDIO?
I have done some research RTL8852 should be already supported /drivers/net/wireless/realtek/rtw89/  by yocto. But when I startup the virtual kernel, it doesn't seem to have the option to enable support for the chipset.
And is there anything to be aware of in order to deploy?

Labels (1)
Tags (2)
0 Kudos
Reply
5 Replies

1,206 Views
Chavira
NXP TechSupport
NXP TechSupport

HI @TomC818!

Thank you for contacting NXP Support!

 

You have to ensure that the pins that you are using are configured to SDIO bus in device tree.

After that ensure that the fw and drivers are available for the wifi chip that you want to use.

The Linux that we use is the next: https://github.com/nxp-imx/linux-imx,by default is not supported, we only support our wifi chips in our BSP.

 

If you have more inquiries about the integrations of this wifi module you should consult to your wifi vendor.

 

Best Regards!

Chavira

0 Kudos
Reply

1,202 Views
TomC818
Contributor III
Thx for the quick reply!
I understand that the BSP release doesn't include support for RTL8852. I will try to use poky to build the image instead. Is there any guide on how to build the image manually?

I am quite new to yocto so any help would be very appreciated.
0 Kudos
Reply

1,166 Views
Chavira
NXP TechSupport
NXP TechSupport

HI @TomC818!

 

To cross compile the kernel image you can refer to this community post.

For Yocto documentation you can consult the official Yocto Documentation.

 

 

 

 

0 Kudos
Reply

1,145 Views
TomC818
Contributor III
Hi Chavira!
I followed the link you mentioned, but with not much success. I have followed the steps to build the imx-image-full and my machine shown this error:

ERROR: gcc-crosssdk-x86_64-pokysdk-linux-13.3.0-r0 do_compile: oe_runmake failed
ERROR: gcc-crosssdk-x86_64-pokysdk-linux-13.3.0-r0 do_compile: ExecutionError('/home/user/yocto_sdk/build91_11evk/tmp/work/x86_64-linux/gcc-crosssdk-x86_64-pokysdk-linux/13.3.0/temp/run.do_compile.2461762', 1, None, None)
ERROR: Logfile of failure stored in: /home/user/yocto_sdk/build91_11evk/tmp/work/x86_64-linux/gcc-crosssdk-x86_64-pokysdk-linux/13.3.0/temp/log.do_compile.2461762

user@abcd:~/yocto_sdk/build91_11evk$ grep -i error /home/user/yocto_sdk/build91_11evk/tmp/work/x86_64-linux/gcc-crosssdk-x86_64-pokysdk-linux/13.3.0/temp/log.do_compile
../../../../../../../work-shared/gcc-13.3.0-r0/gcc-13.3.0/gcc/cfgrtl.cc:5439:10: fatal error: gt-cfgrtl.h: No such file or directory
make[1]: *** [Makefile:1158: cfgrtl.o] Error 1
ERROR: oe_runmake failed
make: *** [Makefile:4627: all-gcc] Error 2

I am using WSL2 Ubuntu22.04 to build the image. I have updated the gcc and g++ but this error keep appearing.
0 Kudos
Reply

1,122 Views
Chavira
NXP TechSupport
NXP TechSupport

Hi @TomC818!

I recommend to try with a Linux Host machine.

We don´t have tried WSL2 from now.

0 Kudos
Reply