[meta-xilinx] ddrc in zynq_edac.c
Nathan Rossi
nathan at nathanrossi.com
Tue Feb 23 05:54:08 PST 2016
On Tue, Feb 23, 2016 at 10:53 PM, avallash <avallash at o2.pl> wrote:
> Hi,
> Both on petalinux 2015.2 and on yocto 2.0 with meta-xilinx with linux-xlnx
> 3.19 the default device tree for ZC706 has non existing compatible section
> in edac/ddrc:
> petalinux:
> compatible = "xlnx,zynq-ddrc-1.0";
>
> yocto:
> compatible = "xlnx,zynq-ddrc-1.0", "xlnx,ps7-ddrc-1.00.a", "xlnx,ps7-ddrc";
Don't read to much into the 'zynq7-base.dtsi' provided in meta-xilinx
it caries a lot of older bindings to work with older kernels. I have
been working on a patch series to transition over to the kernel's
zynq-7000.dtsi which I will be posting soon for comments.
>
> while only xilinx ddrc .compatible match in zynq_edac.c is
> { .compatible = "xlnx,zynq-ddrc-a05", },
>
> This causes a warning during boot, but no abnormal behaviour.
>
> Can someone comment on this?
The binding you mention above (xlnx,zynq-ddrc-a05) is the correct one
for current and newer kernels, you should use the dts include as a
reference (e.g. for 3.19):
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/arch/arm/boot/dts/zynq-7000.dtsi?h=linux-3.19.y#n148
of for the current release (4.4.2):
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/arch/arm/boot/dts/zynq-7000.dtsi?id=refs/tags/v4.4.2#n149
Those other compatible bindings are likely coming from older kernels
where the driver was only implemented in the xlnx vendor kernel (e.g.
xilinx-v2014.4).
Regards,
Nathan
>
> Best regards,
> Avallash
>
> --
> _______________________________________________
> meta-xilinx mailing list
> meta-xilinx at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-xilinx
>
More information about the meta-xilinx
mailing list