[LEDE-DEV] clarifying how trivial it is to define a couple new IMX6QDL targets

Robert P. J. Day rpjday at crashcourse.ca
Fri Sep 29 10:33:50 PDT 2017


  i was just looking at using latest LEDE to define a couple new
IMX6QDL targets, and after a few minutes, it looks as if, at least to
get a minimal bootable system and as long as i'm not doing anything
drastically weird, it should be wickedly simple and i just want to
verify that.

  it's all based on the fact that, with the current kernel, the only
selection you need to make is CONFIG_SOC_IMX6Q, which will build a
suitable kernel, whereupon the file arch/arm/boot/dts/Makefile
contains the directive:

    dtb-$(CONFIG_SOC_IMX6Q) += \
       ... over 100 target dtb files ...

  under the circumstances, given that that single kernel is compatible
with that many targets, it would appear that, as long as i don't care
that 100+ other dtb files will be compiled, i can just add, under the
LEDE directory target/linux/imx6/files-4.9/arch/arm/boot/dts, a couple
new .dts files, like:

  acme_coyote_1.dts
  acme_coyote_2.dts

and that's it.

  of course, there might be enhancements down the road but, for now,
just to get something bootable, it seems all i need to do is patch a
couple entries into arch/arm/boot/dts/Makefile, and add the dts files.

  am i understanding this correctly?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================




More information about the Lede-dev mailing list