All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: Fabio Estevam <festevam@gmail.com>
Cc: "meta-freescale@yoctoproject.org" <meta-freescale@yoctoproject.org>
Subject: Re: Building for SabreSD
Date: Mon, 24 Nov 2014 09:18:24 -0700	[thread overview]
Message-ID: <54735A50.1010708@mlbassoc.com> (raw)
In-Reply-To: <CAOMZO5CL_xTxCjj=TCFb3rpV_6bD=pd7bTS_w_psEXV1v-ikpQ@mail.gmail.com>

On 2014-11-24 09:11, Fabio Estevam wrote:
> Hi Gary,
>
> On Mon, Nov 24, 2014 at 2:00 PM, Gary Thomas <gary@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
------------------------------------------------------------


  reply	other threads:[~2014-11-24 16:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-24 16:00 Building for SabreSD Gary Thomas
2014-11-24 16:11 ` Fabio Estevam
2014-11-24 16:18   ` Gary Thomas [this message]
2014-11-24 16:33     ` Fabio Estevam
     [not found]       ` <54735ECD.1000401@mlbassoc.com>
     [not found]         ` <CAOMZO5Cbp_D1EPNreShM2gbZ51ycckPwGmqSjGziUZ1WDCm_Mg@mail.gmail.com>
2014-11-24 17:22           ` Gary Thomas
2014-11-24 17:25             ` Fabio Estevam
  -- strict thread matches above, loose matches on Subject: below --
2014-11-24 21:52 Robin Findley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54735A50.1010708@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=festevam@gmail.com \
    --cc=meta-freescale@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.