I noticed an error message in kernel log as below,
[ 4.287004] pfeng 46000000.pfe: ELF_Open: File format: Elf32
[ 4.287010] pfeng 46000000.pfe: ELF_Open: File endian: Alien (Big)
[ 4.287020] pfeng 46000000.pfe: Uploading CLASS firmware
[ 4.287028] pfeng 46000000.pfe: Selected FW loading OPs to load 8 PEs in parallel
[ 4.327425] pfeng 46000000.pfe: Unsupported firmware detected: Found revision 0.9.4 (fwAPI:6f47ca110c25ba93cd73db36057eb1ce), required fwAPI 881ee579670388f6832743c0c1b2aac4
[ 4.327458] pfeng 46000000.pfe: Classifier firmware loading the PE failed: 22
[ 4.327469] pfeng 46000000.pfe: Error during upload of CLASS firmware: 22
[ 4.327720] pfeng 46000000.pfe: HIF3 not enabled, skipped
[ 4.327728] pfeng 46000000.pfe: HIF2 not enabled, skipped
[ 4.327733] pfeng 46000000.pfe: HIF1 not enabled, skipped
[ 4.327738] pfeng 46000000.pfe: HIF0 not enabled, skipped
[ 4.334745] pfeng: probe of 46000000.pfe failed with error 5
what I understood is I have to change firmware version (Unsupported firmware detected: Found revision 0.9.4 (fwAPI:6f47ca110c25ba93cd73db36057eb1ce), required fwAPI 881ee579670388f6832743c0c1b2aac4)..which version it is pointing to as required?
by the way I am using bsp-32 and manually enabled pfe nodes in dtsi file
below is the snippet from dtsi.
pfe_slave: pfe_slave@46000000 {
compatible = "fsl,s32g274a-pfeng-slave";
reg = <0x0 0x46000000 0x0 0x1000000>,
<0x0 0x4007caec 0x0 0x4>;
reg-names = "pfe-cbus", "gpr-genctrl3";
#address-cells = <0x01>;
#size-cells = <0x00>;
interrupt-parent = <&gic>;
/* Interrupt duplicated for XEN passthrough */
interrupts = <GIC_SPI 193 IRQ_TYPE_EDGE_RISING>;
dma-coherent;
memory-region = <&pfe_reserved_slave>,
<&pfe_reserved_bdr_slave>;
nvmem-cells = <&soc_revision>;
nvmem-cell-names = "soc_revision";
fsl,pfeng-master-hif-channel = <0>;
status = "okay";
/* PFE_HIF_3 */
pfesl_hif3: hif@3 {
compatible = "fsl,pfeng-hif";
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
interrupts = <GIC_SPI 193 IRQ_TYPE_EDGE_RISING>;
reg = <3>;
fsl,pfeng-hif-mode = <PFENG_HIF_MODE_SHARED>;
fsl,pfeng-ihc;
};
/* Logical network interface 'pfe0sl' */
pfesl_logif0: ethernet@10 {
compatible = "fsl,pfeng-logif";
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
local-mac-address = [ 00 04 9F BE FF 10 ];
fsl,pfeng-if-name = "pfe0sl";
fsl,pfeng-logif-mode = <PFENG_LOGIF_MODE_TX_INJECT>;
fsl,pfeng-emac-id = <0>; /* PFE_EMAC_0 */
fsl,pfeng-hif-channels = <&pfesl_hif3>;
};
/* Logical network interface 'aux0sl' */
pfesl_aux0: ethernet@11 {
compatible = "fsl,pfeng-logif";
#address-cells = <1>;
#size-cells = <0>;
status = "disabled";
local-mac-address = [ 00 04 9F BE FF 80 ];
fsl,pfeng-if-name = "aux0sl";
fsl,pfeng-logif-mode = <PFENG_LOGIF_MODE_AUX>;
fsl,pfeng-hif-channels = <&pfesl_hif3>;
};
};
What could be the reason it is complaining as follows
[ 4.327720] pfeng 46000000.pfe: HIF3 not enabled, skipped
[ 4.327728] pfeng 46000000.pfe: HIF2 not enabled, skipped
[ 4.327733] pfeng 46000000.pfe: HIF1 not enabled, skipped
[ 4.327738] pfeng 46000000.pfe: HIF0 not enabled, skipped
Kindly provide the compactible version of pfe for BSP_32
from pfe.bb file, I understood that I require s32g_pfe_class.fw 0.9.7 version firmware but where to spot this I have checked https://nxp.flexnetoperations.com/control/frse/product?child_plneID=817947 but it doesn't contain the firmware file ..it list out only some sample application