All of lore.kernel.org
 help / color / mirror / Atom feed
* fdt_file u-boot variable not set correctly
@ 2014-09-23  8:31 Roberto Fichera
  2014-09-23 11:39 ` Daiane Angolini
  0 siblings, 1 reply; 4+ messages in thread
From: Roberto Fichera @ 2014-09-23  8:31 UTC (permalink / raw)
  To: meta-freescale

Hi All,

I'm working on a custom board based on iMX6SLEVK, so I've created a new machine
configuration you can find below:

#@TYPE: Machine
#@NAME: Freescale i.MX6SL QuadPlay
#@SOC: i.MX6SL
#@DESCRIPTION: Machine configuration for Freescale i.MX6SL QuadPlay Project
#@MAINTAINER: Roberto Fichera <roberto@dicenetworks.co.uk>

include conf/machine/include/imx-base.inc
include conf/machine/include/tune-cortexa9.inc

SOC_FAMILY = "mx6:mx6sl"

#KERNEL_DEVICETREE = "imx6sl-evk.dtb imx6sl-evk-csi.dtb imx6sl-evk-ldo.dtb"
KERNEL_DEVICETREE = "quadplay-imx6sl.dtb quadplay-imx6sl-csi.dtb quadplay-imx6sl-ldo.dtb"

UBOOT_CONFIG ??= "sd"
UBOOT_CONFIG[sd] = "mx6slevk_config,sdcard"
UBOOT_CONFIG[spinor] = "mx6slevk_spinor_config"
UBOOT_CONFIG[mfgtool] = "mx6slevk_config"

SERIAL_CONSOLE = "115200 ttymxc0"

MACHINE_FEATURES += " pci"

MACHINE_FIRMWARE += "linux-firmware-ath6k"

PREFERRED_PROVIDER_virtual/kernel ?= "linux-quadplay"

I've replace the KERNEL_DEVICETREE with my own DTS changes still derived
from the imx6sl-evk. So far so good, once the sdcard build terminate and the image is
dd'ed to the microSD, I've notice that the last quadplay-imx6sl-ldo.dtb is not set
as fdt_file uboot environment variable but instead imx6sl-evk-ldo.dtb still used. I've also
tried to do "bitbake u-boot-fslc -c cleansstate" before to bake the image but nothing
still keeping the imx6sl-evk-ldo.dtb.

Does anyone can suggest how to fix it?

Thanks in advance,
Roberto Fichera.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: fdt_file u-boot variable not set correctly
  2014-09-23  8:31 fdt_file u-boot variable not set correctly Roberto Fichera
@ 2014-09-23 11:39 ` Daiane Angolini
  2014-09-23 14:12   ` Roberto Fichera
  2014-09-23 17:23   ` Roberto Fichera
  0 siblings, 2 replies; 4+ messages in thread
From: Daiane Angolini @ 2014-09-23 11:39 UTC (permalink / raw)
  To: Roberto Fichera; +Cc: meta-freescale

On Tue, Sep 23, 2014 at 5:31 AM, Roberto Fichera <kernel@tekno-soft.it> wrote:
> Hi All,

Hi

> I've replace the KERNEL_DEVICETREE with my own DTS changes still derived
> from the imx6sl-evk. So far so good, once the sdcard build terminate and the image is
> dd'ed to the microSD, I've notice that the last quadplay-imx6sl-ldo.dtb is not set
> as fdt_file uboot environment variable but instead imx6sl-evk-ldo.dtb still used. I've also
> tried to do "bitbake u-boot-fslc -c cleansstate" before to bake the image but nothing
> still keeping the imx6sl-evk-ldo.dtb.
>
> Does anyone can suggest how to fix it?

Have you changed the u-boot source code to get it configured to your board?

apply a patch in a bbappend.

Daiane


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: fdt_file u-boot variable not set correctly
  2014-09-23 11:39 ` Daiane Angolini
@ 2014-09-23 14:12   ` Roberto Fichera
  2014-09-23 17:23   ` Roberto Fichera
  1 sibling, 0 replies; 4+ messages in thread
From: Roberto Fichera @ 2014-09-23 14:12 UTC (permalink / raw)
  To: Daiane Angolini; +Cc: meta-freescale

On 09/23/2014 01:39 PM, Daiane Angolini wrote:

Ciao Daiane,

> On Tue, Sep 23, 2014 at 5:31 AM, Roberto Fichera <kernel@tekno-soft.it> wrote:
>> Hi All,
> Hi
>
>> I've replace the KERNEL_DEVICETREE with my own DTS changes still derived
>> from the imx6sl-evk. So far so good, once the sdcard build terminate and the image is
>> dd'ed to the microSD, I've notice that the last quadplay-imx6sl-ldo.dtb is not set
>> as fdt_file uboot environment variable but instead imx6sl-evk-ldo.dtb still used. I've also
>> tried to do "bitbake u-boot-fslc -c cleansstate" before to bake the image but nothing
>> still keeping the imx6sl-evk-ldo.dtb.
>>
>> Does anyone can suggest how to fix it?
> Have you changed the u-boot source code to get it configured to your board?

Not yet! I'll have a look on it

> apply a patch in a bbappend.

Ok!

>
> Daiane
>



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: fdt_file u-boot variable not set correctly
  2014-09-23 11:39 ` Daiane Angolini
  2014-09-23 14:12   ` Roberto Fichera
@ 2014-09-23 17:23   ` Roberto Fichera
  1 sibling, 0 replies; 4+ messages in thread
From: Roberto Fichera @ 2014-09-23 17:23 UTC (permalink / raw)
  To: Daiane Angolini; +Cc: meta-freescale

On 09/23/2014 01:39 PM, Daiane Angolini wrote:

Hi Daiane,

> On Tue, Sep 23, 2014 at 5:31 AM, Roberto Fichera <kernel@tekno-soft.it> wrote:
>> Hi All,
> Hi
>
>> I've replace the KERNEL_DEVICETREE with my own DTS changes still derived
>> from the imx6sl-evk. So far so good, once the sdcard build terminate and the image is
>> dd'ed to the microSD, I've notice that the last quadplay-imx6sl-ldo.dtb is not set
>> as fdt_file uboot environment variable but instead imx6sl-evk-ldo.dtb still used. I've also
>> tried to do "bitbake u-boot-fslc -c cleansstate" before to bake the image but nothing
>> still keeping the imx6sl-evk-ldo.dtb.
>>
>> Does anyone can suggest how to fix it?
> Have you changed the u-boot source code to get it configured to your board?
>
> apply a patch in a bbappend.

I've create a new board, made the corresponding u-boot bbappend file,
and everything worked fine!

Thanks!

Cheers,
Roberto Fichera.

>
> Daiane
>



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-09-23 17:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-23  8:31 fdt_file u-boot variable not set correctly Roberto Fichera
2014-09-23 11:39 ` Daiane Angolini
2014-09-23 14:12   ` Roberto Fichera
2014-09-23 17:23   ` Roberto Fichera

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.