AnsweredAssumed Answered

p2041 kernel upgrade to the 4.1 provided by 2.0 SDK

Question asked by Sergio Marques on Oct 19, 2016
Latest reply on Oct 20, 2016 by Sergio Marques

We need a linux kernel equal or newer than the 3.18.
So I’ve download the V2.0 SDK and extracted the 4.1 Linux kernel source.
I can compile the kernel but can’t generate dtb with the dts we have for 3.0.51 kernel:
Error: arch/powerpc/boot/dts/fsl/p2041si-post.dtsi:38.2-3 label or path, 'bman_fbpr', not found
Error: arch/powerpc/boot/dts/fsl/p2041si-post.dtsi:43.2-3 label or path, 'qman_fqd', not found
Error: arch/powerpc/boot/dts/fsl/p2041si-post.dtsi:48.2-3 label or path, 'qman_pfdr', not found
FATAL ERROR: Syntax error parsing input tree

I’m now writing a new dts starting from the 4.1 kernel source arch/powerpc/boot/dts/fsl/p2041rdb.dts file.
With this new dts I can generate a dtb and run 4.1 kernel on our p2041 board, but I can see that fsl-fman and fsl-fman-port drivers aborts at loading time:
fsl-fman ffe400000.fman: ReadFmDevTreeNode: Failed to get FM clock structure
fsl-fman: probe of ffe400000.fman failed with error -5
Freescale FM module, FMD API version 21.1.0
fsl-fman-port: probe of ffe481000.port failed with error -5
fsl-fman-port: probe of ffe482000.port failed with error -5
fsl-fman-port: probe of ffe483000.port failed with error -5
fsl-fman-port: probe of ffe484000.port failed with error -5
fsl-fman-port: probe of ffe488000.port failed with error -5
fsl-fman-port: probe of ffe4a8000.port failed with error -5
fsl-fman-port: probe of ffe489000.port failed with error -5
fsl-fman-port: probe of ffe4a9000.port failed with error -5
fsl-fman-port: probe of ffe48a000.port failed with error -5
fsl-fman-port: probe of ffe4aa000.port failed with error -5
fsl-fman-port: probe of ffe48b000.port failed with error -5
fsl-fman-port: probe of ffe4ab000.port failed with error -5
fsl-fman-port: probe of ffe48c000.port failed with error -5
fsl-fman-port: probe of ffe4ac000.port failed with error -5
fsl-fman-port: probe of ffe490000.port failed with error -5
fsl-fman-port: probe of ffe4b0000.port failed with error -5
Freescale FM Ports module

 

What am I missing?

Many thanks and regards

Outcomes