Hum I think I have understand, in fact there is 2 differents type of UDOO board, one quad and one dual. So I think it is a good idea to add in imx6qdl-udoo.dtsi a compatible string like "udoo,imx6qdl" and in the imx6q-udoo.dts a compatible string like "udoo,imx6q" is this right ? Thanks. Raphaël 2014-02-17 19:54 GMT+01:00 Alexander Shiyan <shc_work@xxxxxxx>: > 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