All of lore.kernel.org
 help / color / mirror / Atom feed
* linux-xilinx: uImage.dtb files not being generated anymore
@ 2012-06-30  6:17 Elvis Dowson
  2012-06-30 11:07 ` Elvis Dowson
  0 siblings, 1 reply; 5+ messages in thread
From: Elvis Dowson @ 2012-06-30  6:17 UTC (permalink / raw)
  To: Yocto Discussion Mailing List

Hi,
      About a week ago, my linux-xilinx builds used to correctly generate the *.dtb files, required for the PowerPC440 processor on my Xilinx ML-507 development board. After having recently updated poky, I find that the required *.dtb files are not generated anymore.

Would someone be able to tell me which file I should take a look at to restore this functionality?

My build configuration is as follows:

Build Configuration:
BB_VERSION        = "1.15.2"
TARGET_ARCH       = "powerpc"
TARGET_OS         = "linux"
MACHINE           = "virtex5"
DISTRO            = "poky"
DISTRO_VERSION    = "1.2+snapshot-20120630"
TUNE_FEATURES     = "m32 fpu-soft ppc440"
TARGET_FPU        = "soft"
meta              
meta-yocto        = "master:4d48398798c898c5db08294ba64d9bfc7daca19c"
meta-oe           = "master:3eb5f6eecf6faf7b2701f94b12cf779350d31acc"
meta-xilinx       = "master:c977270d6f0608cc5fa83f57254202713af37be0"


Best regards,

Elvis Dowson

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

* Re: linux-xilinx: uImage.dtb files not being generated anymore
  2012-06-30  6:17 linux-xilinx: uImage.dtb files not being generated anymore Elvis Dowson
@ 2012-06-30 11:07 ` Elvis Dowson
  2012-06-30 15:41   ` Khem Raj
  0 siblings, 1 reply; 5+ messages in thread
From: Elvis Dowson @ 2012-06-30 11:07 UTC (permalink / raw)
  To: Zhenhua Luo, Richard Purdie; +Cc: Yocto Discussion Mailing List

Hi,

On Jun 30, 2012, at 10:17 AM, Elvis Dowson wrote:

> About a week ago, my linux-xilinx builds used to correctly generate the *.dtb files, required for the PowerPC440 processor on my Xilinx ML-507 development board. After having recently updated poky, I find that the required *.dtb files are not generated anymore.
> 
> Would someone be able to tell me which file I should take a look at to restore this functionality?
> 
> My build configuration is as follows:
> 
> Build Configuration:
> BB_VERSION        = "1.15.2"
> TARGET_ARCH       = "powerpc"
> TARGET_OS         = "linux"
> MACHINE           = "virtex5"
> DISTRO            = "poky"
> DISTRO_VERSION    = "1.2+snapshot-20120630"
> TUNE_FEATURES     = "m32 fpu-soft ppc440"
> TARGET_FPU        = "soft"
> meta              
> meta-yocto        = "master:4d48398798c898c5db08294ba64d9bfc7daca19c"
> meta-oe           = "master:3eb5f6eecf6faf7b2701f94b12cf779350d31acc"
> meta-xilinx       = "master:c977270d6f0608cc5fa83f57254202713af37be0"

I traced the reason for the dtb file not build due to the following commit:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=8c904eb643ad8ca1bc29cb2d870a80b355dcb341

Should I specify DTS_FILE in order to get my recipe to build the *.dtb?

Best regards,

Elvis Dowson

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

* Re: linux-xilinx: uImage.dtb files not being generated anymore
  2012-06-30 11:07 ` Elvis Dowson
@ 2012-06-30 15:41   ` Khem Raj
  2012-07-15 17:23     ` Elvis Dowson
  0 siblings, 1 reply; 5+ messages in thread
From: Khem Raj @ 2012-06-30 15:41 UTC (permalink / raw)
  To: Elvis Dowson; +Cc: Yocto Discussion Mailing List

On Sat, Jun 30, 2012 at 4:07 AM, Elvis Dowson <elvis.dowson@gmail.com> wrote:
> Hi,
>
> On Jun 30, 2012, at 10:17 AM, Elvis Dowson wrote:
>
>> About a week ago, my linux-xilinx builds used to correctly generate the *.dtb files, required for the PowerPC440 processor on my Xilinx ML-507 development board. After having recently updated poky, I find that the required *.dtb files are not generated anymore.
>>
>> Would someone be able to tell me which file I should take a look at to restore this functionality?
>>
>> My build configuration is as follows:
>>
>> Build Configuration:
>> BB_VERSION        = "1.15.2"
>> TARGET_ARCH       = "powerpc"
>> TARGET_OS         = "linux"
>> MACHINE           = "virtex5"
>> DISTRO            = "poky"
>> DISTRO_VERSION    = "1.2+snapshot-20120630"
>> TUNE_FEATURES     = "m32 fpu-soft ppc440"
>> TARGET_FPU        = "soft"
>> meta
>> meta-yocto        = "master:4d48398798c898c5db08294ba64d9bfc7daca19c"
>> meta-oe           = "master:3eb5f6eecf6faf7b2701f94b12cf779350d31acc"
>> meta-xilinx       = "master:c977270d6f0608cc5fa83f57254202713af37be0"
>
> I traced the reason for the dtb file not build due to the following commit:
>
> http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=8c904eb643ad8ca1bc29cb2d870a80b355dcb341
>
> Should I specify DTS_FILE in order to get my recipe to build the *.dtb?
>

you need to define KERNEL_DEVICETREE = "<yourdtbfile>

> Best regards,
>
> Elvis Dowson
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


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

* Re: linux-xilinx: uImage.dtb files not being generated anymore
  2012-06-30 15:41   ` Khem Raj
@ 2012-07-15 17:23     ` Elvis Dowson
  2012-07-15 18:05       ` Elvis Dowson
  0 siblings, 1 reply; 5+ messages in thread
From: Elvis Dowson @ 2012-07-15 17:23 UTC (permalink / raw)
  To: Khem Raj; +Cc: Yocto Discussion Mailing List

Hi Khem,

On Jun 30, 2012, at 7:41 PM, Khem Raj wrote:

> On Sat, Jun 30, 2012 at 4:07 AM, Elvis Dowson <elvis.dowson@gmail.com> wrote:
>> Hi,
>> 
>> On Jun 30, 2012, at 10:17 AM, Elvis Dowson wrote:
>> 
>>> About a week ago, my linux-xilinx builds used to correctly generate the *.dtb files, required for the PowerPC440 processor on my Xilinx ML-507 development board. After having recently updated poky, I find that the required *.dtb files are not generated anymore.
>>> 
>>> Would someone be able to tell me which file I should take a look at to restore this functionality?
>>> 
>>> My build configuration is as follows:
>>> 
>>> Build Configuration:
>>> BB_VERSION        = "1.15.2"
>>> TARGET_ARCH       = "powerpc"
>>> TARGET_OS         = "linux"
>>> MACHINE           = "virtex5"
>>> DISTRO            = "poky"
>>> DISTRO_VERSION    = "1.2+snapshot-20120630"
>>> TUNE_FEATURES     = "m32 fpu-soft ppc440"
>>> TARGET_FPU        = "soft"
>>> meta
>>> meta-yocto        = "master:4d48398798c898c5db08294ba64d9bfc7daca19c"
>>> meta-oe           = "master:3eb5f6eecf6faf7b2701f94b12cf779350d31acc"
>>> meta-xilinx       = "master:c977270d6f0608cc5fa83f57254202713af37be0"
>> 
>> I traced the reason for the dtb file not build due to the following commit:
>> 
>> http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=8c904eb643ad8ca1bc29cb2d870a80b355dcb341
>> 
>> Should I specify DTS_FILE in order to get my recipe to build the *.dtb?
>> 
> 
> you need to define KERNEL_DEVICETREE = "<yourdtbfile>

I tried various combinations, but all of them did not yield a dtb file.

KERNEL_DEVICETREE = "virtex440-ml507.dtb"  (as you suggested in your original email, but I guess it might have been a typo? should be .dts?)
KERNEL_DEVICETREE = "virtex440-ml507.dts"
KERNEL_DEVICETREE = "arch/powerpc/boot/dts/virtex440-ml507.dts"

How exactly should I specify the .dts to get yocto to generate the .dtb file?

Best regards,

Elvis Dowson




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

* Re: linux-xilinx: uImage.dtb files not being generated anymore
  2012-07-15 17:23     ` Elvis Dowson
@ 2012-07-15 18:05       ` Elvis Dowson
  0 siblings, 0 replies; 5+ messages in thread
From: Elvis Dowson @ 2012-07-15 18:05 UTC (permalink / raw)
  To: Khem Raj; +Cc: Yocto Discussion Mailing List

Hi,

On Jul 15, 2012, at 9:23 PM, Elvis Dowson wrote:

> I tried various combinations, but all of them did not yield a dtb file.
> 
> KERNEL_DEVICETREE = "virtex440-ml507.dtb"  (as you suggested in your original email, but I guess it might have been a typo? should be .dts?)
> KERNEL_DEVICETREE = "virtex440-ml507.dts"
> KERNEL_DEVICETREE = "arch/powerpc/boot/dts/virtex440-ml507.dts"
> 
> How exactly should I specify the .dts to get yocto to generate the .dtb file?

I found the solution, I had to ensure that the KERNEL_DEVICE tree variable evaluate to the following 

KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/virtex440-ml507.dts"

i.e. it was missing the ${S} prefix.

Elvis Dowson



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

end of thread, other threads:[~2012-07-15 18:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-30  6:17 linux-xilinx: uImage.dtb files not being generated anymore Elvis Dowson
2012-06-30 11:07 ` Elvis Dowson
2012-06-30 15:41   ` Khem Raj
2012-07-15 17:23     ` Elvis Dowson
2012-07-15 18:05       ` Elvis Dowson

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.