[meta-freescale] Building for SabreSD

Gary Thomas gary at mlbassoc.com
Mon Nov 24 08:18:24 PST 2014


On 2014-11-24 09:11, Fabio Estevam wrote:
> Hi Gary,
>
> On Mon, Nov 24, 2014 at 2:00 PM, Gary Thomas <gary at mlbassoc.com> wrote:
>> I'm trying to build the latest master for SabreSD.
>> meta              = "master:3c741a8d33acbf4b3d5eecc04533bc76e2f37253"
>> meta-fsl-arm      = "master:fbe06aa1dd82265f74a62ae410d0df83f2f1947c"
>>
>> In my local.conf I have:
>>    MACHINE = "imx6qsabresd"
>>    PREFERRED_PROVIDER_virtual/kernel_imx6qsabresd = "linux-fslc"
>> which ends up building linux-fslc/3.17+gitAUTOINC+6725f55a77-r0
>>
>> Sadly, this fails
>>    | NOTE: make -j 4 imx6q-sabresd.dtb
>>    |   DTC     arch/arm/boot/dts/imx6q-sabresd.dtb
>>    | NOTE: make -j 4 imx6q-sabresd-ldo.dtb
>>    | make[1]: *** No rule to make target
>> `arch/arm/boot/dts/imx6q-sabresd-ldo.dtb'.  Stop.
>>    | make: *** [imx6q-sabresd-ldo.dtb] Error 2
>>
>> Any hints on how to build the kernel for my SabreSD board?
>
> You should remove imx6q-sabresd-ldo.dtb from the list of dtbs:
>
> --- a/conf/machine/imx6qsabresd.conf
> +++ b/conf/machine/imx6qsabresd.conf
> @@ -8,7 +8,7 @@ require conf/machine/include/imx6sabresd-common.inc
>
>   SOC_FAMILY = "mx6:mx6q"
>
> -KERNEL_DEVICETREE = "imx6q-sabresd.dtb imx6q-sabresd-ldo.dtb
> imx6q-sabresd-hdcp.dtb"
> +KERNEL_DEVICETREE = "imx6q-sabresd.dtb"
>
>   UBOOT_CONFIG ??= "sd"
>   UBOOT_CONFIG[sd] = "mx6qsabresd_config,sdcard"
>
> imx6q-sabresd-ldo.dtb and  imx6q-sabresd-hdcp.dtb only exist on FSL
> kernel, not in mainline.
>

Thanks this fixes the build.  I'm not sure about your comment
though since I am building linux-fslc

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


More information about the meta-freescale mailing list