I have successfully built the NXP Auto Linux BSP 35.0 by cloning the repository from https://github.com/nxp-auto-linux/auto_yocto_bsp, using the branch release/bsp35.0.
The build process has resulted in the creation of the dtb with PFE configured as master.
However, we require the PFE slave.
I found the slave dtsi in the kernel source at `arch/arm64/boot/dts/freescale/s32g-pfe-slave.dtsi`
Is there any tidy way to configure the yocto build to generate the PFE slave rather than manually updating the dtb?
we have both the `pfe-slave and pfe` in yocto configuration (local.conf)
Also, is it possible to have both master and slave configuration simultaneously?
Thank you for your help and consideration.
Best regards
Sami
Hi @s153022,
Thank you for reaching out to us.
For configuring, Master and slave interface you should configure the flexible router, and with the help of the libfci library, you can create instance of slave and master.
First, you need to configure the Master interface and once communication is up, you need to load the slave driver.
Please reference is provided in the document "PFE_S32G_A53_LNX_UserManual.pdf Section 2.5 Master-Slave instances".
Hope this helps.
Thanks,
Mayank S Patel