s32v234 evb2

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

s32v234 evb2

1,139 Views
rahulnavale04
Contributor I

Hi Team,

I have s32v234 evb2 sch-29288 , PCIE support can be disabled in U-boot by commenting out the #define CONFIG_CMD_PCI macro in the board configuration file (e.g. s32v234evb_2016q4.h for EVB).

so how to enable PCIe in this file or through kernel configuration .

 

0 Kudos
Reply
1 Reply

1,102 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello rahulnavale04.

We found that PCIe is not enabled by default on EVB.
To achieve this, user should merge to kernel's .config the following fragment:
/sources/meta-alb/recipes-kernel/linux/linux-s32/build/blueboxconfig_s32v234pcie

Moreover, below are the manual steps to enable the PCIe on kernel in Yocto.
---
 PCIe in Linux
From BSP 14.0, PCIe selection EP versus RC is done exclusively from U-boot, follow the steps in section “PCIe in U-boot” to select the mode from U-boot’s ‘hwconfig’ variable. In particular, that means that U-boot must have PCIe support in order to enable it in the kernel.
To enable PCIE from the Linux, invoke “menuconfig” at build time:
make ARCH=arm64 CROSS_COMPILE=/path/to/your/toolchain/dir/bin/aarch64-linux-gnu- menuconfig

 Linux kernel (default)
Navigate to "Bus Support", Select "PCI support " and "PCI Express Port Bus support" if not already selected. 
Navigate to "DesignWare PCI Core Support". Enter in submenus.
Enable "Platform bus based DesignWare PCIe Controller"

Navigate to "PCI host controller drivers". Enter in submenus.
Enable "Freescale S32V234 PCIe Host controller" and "Freescale S32V234 PCIe DW DMA"


Note: Option "Ignore Freescale S32V234 erratum ERR009852" should be left unchecked, please refer next section for more details: "8.3 Erratum ERR009852"
---
I hope this helps to resolve the issue with PCIe and BSP Kernel.
0 Kudos
Reply