Re: [PATCH] Adding minimal support for the UDOO board.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

Понедельник, 17 февраля 2014, 19:34 +01:00 от Raphaël Poggi <raphio98@xxxxxxxxx>:
> 
> Hi Alexander,
> 
> I do not understand the problem with "compatible " :
> 
> > > +#include "imx6qdl-udoo.dtsi"
> > > +
> > > +/ {
> > > +       model = "Freescale i.MX6 Quad UDOO Board";
> > > +       compatible = "fsl,imx6q-udoo", "fsl,imx6q";
> > > +};
> > > +
> 
> Can you explain me ?

Please answer the question: What describes imx6qdl-udoo.dtsi and
what describes imx6q-udoo.dts ?
I suspect for imx6qdl-udoo.dtsi is a module and imx6q-udoo.dts is a board
uses this module.
Kernel (as an our bootloader) may contain specific code used for the
module and/or for a board. To find out should this code to be executed
or not, some compatibility tests is used.
So, you should add compatible string "AAA" to the module DT description
and strings "BBB", "AAA" to the board.
I hope I have explained clearly. :)

Thanks.
---
_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux