<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openembedded-core.git/meta/recipes-kernel/linux/linux-dtb.inc, branch uninative-1.0</title>
<subtitle>Mirror of openembedded-core</subtitle>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/'/>
<entry>
<title>linux-dtb.inc: use absolute upd-alt paths</title>
<updated>2016-01-11T23:23:15+00:00</updated>
<author>
<name>Christopher Larson</name>
<email>chris_larson@mentor.com</email>
</author>
<published>2015-11-11T05:03:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=f78c640f1f41eb12ef7919e7dc99aae7db6f6b17'/>
<id>f78c640f1f41eb12ef7919e7dc99aae7db6f6b17</id>
<content type='text'>
This works around a limitation of the chkconfig update-alternatives, so it
works with all our update-alternatives providers.

Signed-off-by: Christopher Larson &lt;chris_larson@mentor.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This works around a limitation of the chkconfig update-alternatives, so it
works with all our update-alternatives providers.

Signed-off-by: Christopher Larson &lt;chris_larson@mentor.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>linux-dtb.inc: refactor common code to function get_real_dtb_path_in_kernel</title>
<updated>2015-11-16T11:28:38+00:00</updated>
<author>
<name>Stefan Christ</name>
<email>s.christ@phytec.de</email>
</author>
<published>2015-10-26T08:20:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=04ed298520d38e0b078723b1b45368b7037cf6e0'/>
<id>04ed298520d38e0b078723b1b45368b7037cf6e0</id>
<content type='text'>
Signed-off-by: Stefan Christ &lt;s.christ@phytec.de&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Stefan Christ &lt;s.christ@phytec.de&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>linux-dtb.inc: refactor common code to function normalize_dtb</title>
<updated>2015-11-16T11:28:37+00:00</updated>
<author>
<name>Stefan Christ</name>
<email>s.christ@phytec.de</email>
</author>
<published>2015-10-26T08:20:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=5dfa10978ef540a7a8cd89766c40625ccfeffda2'/>
<id>5dfa10978ef540a7a8cd89766c40625ccfeffda2</id>
<content type='text'>
Signed-off-by: Stefan Christ &lt;s.christ@phytec.de&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Stefan Christ &lt;s.christ@phytec.de&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>linux-dtb.inc: explicit test for empty string not needed</title>
<updated>2015-11-16T11:28:36+00:00</updated>
<author>
<name>Stefan Christ</name>
<email>s.christ@phytec.de</email>
</author>
<published>2015-10-26T08:20:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=49010f4a1ae9570e96691c9faeb17808174488fe'/>
<id>49010f4a1ae9570e96691c9faeb17808174488fe</id>
<content type='text'>
The for loop already handles the case when KERNEL_DEVICETREE is empty.

Signed-off-by: Stefan Christ &lt;s.christ@phytec.de&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The for loop already handles the case when KERNEL_DEVICETREE is empty.

Signed-off-by: Stefan Christ &lt;s.christ@phytec.de&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>linux-dtb.inc: use same variable name DTB for all elements of KERNEL_DEVICETREE</title>
<updated>2015-11-16T11:19:58+00:00</updated>
<author>
<name>Stefan Christ</name>
<email>s.christ@phytec.de</email>
</author>
<published>2015-10-19T08:15:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=1e9ac2c4970b2fc7f8ed939bce7cf0a5c7715ca3'/>
<id>1e9ac2c4970b2fc7f8ed939bce7cf0a5c7715ca3</id>
<content type='text'>
Signed-off-by: Stefan Christ &lt;s.christ@phytec.de&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Stefan Christ &lt;s.christ@phytec.de&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>linux-dtb.inc: remove unneeded 'cd'</title>
<updated>2015-11-16T11:19:56+00:00</updated>
<author>
<name>Stefan Christ</name>
<email>s.christ@phytec.de</email>
</author>
<published>2015-10-19T08:15:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=2d7680a104e2910c90d8aceeb12c24dfde2cd2d6'/>
<id>2d7680a104e2910c90d8aceeb12c24dfde2cd2d6</id>
<content type='text'>
Signed-off-by: Stefan Christ &lt;s.christ@phytec.de&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Stefan Christ &lt;s.christ@phytec.de&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: Build DTBs early</title>
<updated>2015-05-26T09:57:41+00:00</updated>
<author>
<name>Marek Vasut</name>
<email>marex@denx.de</email>
</author>
<published>2015-05-14T12:31:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=86b3f29f93e3f87903668ea317c6bd97be4cdf62'/>
<id>86b3f29f93e3f87903668ea317c6bd97be4cdf62</id>
<content type='text'>
Pull out the compilation of the DTB blobs right after the kernel's
own do_compile function finishes. This makes them available just in
time for the kernel image construction functions.

Signed-off-by: Marek Vasut &lt;marex@denx.de&gt;
Cc: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
Cc: Koen Kooi &lt;koen@dominion.thruhere.net&gt;
Cc: Paul Eggleton &lt;paul.eggleton@linux.intel.com&gt;
Cc: Ross Burton &lt;ross.burton@intel.com&gt;
Cc: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pull out the compilation of the DTB blobs right after the kernel's
own do_compile function finishes. This makes them available just in
time for the kernel image construction functions.

Signed-off-by: Marek Vasut &lt;marex@denx.de&gt;
Cc: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
Cc: Koen Kooi &lt;koen@dominion.thruhere.net&gt;
Cc: Paul Eggleton &lt;paul.eggleton@linux.intel.com&gt;
Cc: Ross Burton &lt;ross.burton@intel.com&gt;
Cc: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>linux-dtb.inc: Fix dtb generation for kernels newer than 3.8</title>
<updated>2013-08-20T14:11:44+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2013-08-16T18:34:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=0ec3710b8dcae311e8d9d676d5f1c6843a81383b'/>
<id>0ec3710b8dcae311e8d9d676d5f1c6843a81383b</id>
<content type='text'>
The 3.8 kernel has change the default directory where the dtb file is
stored. The change has been done at:

,----[ Quote of 3.8 kernel change ]
| commit 499cd8298628eeabf0eb5eb6525d4faa0eec80d8
| Author: Grant Likely &lt;grant.likely@secretlab.ca&gt;
| Date:   Tue Nov 27 16:29:11 2012 -0700
|
|     ARM: dt: change .dtb build rules to build in dts directory
|
|     The current rules have the .dtb files build in a different directory
|     from the .dts files. The only reason for this is that it was what
|     PowerPC has done historically. This patch changes ARM to use the generic
|     dtb rule which builds .dtb files in the same directory as the source .dts.
|
|     Cc: Russell King &lt;linux@arm.linux.org.uk&gt;
|     Cc: Arnd Bergmann &lt;arnd@arndb.de&gt;
|     Acked-by: Olof Johansson &lt;olof@lixom.net&gt;
|     Cc: linux-arm-kernel@lists.infradead.org
|     Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
|     [swarren: added rm command for old stale .dtb files]
|     Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
|     Signed-off-by: Rob Herring &lt;rob.herring@calxeda.com&gt;
`----

This change adds support for both places to backward and forward
compatibility.

Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
Signed-off-by: Saul Wold &lt;sgw@linux.intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The 3.8 kernel has change the default directory where the dtb file is
stored. The change has been done at:

,----[ Quote of 3.8 kernel change ]
| commit 499cd8298628eeabf0eb5eb6525d4faa0eec80d8
| Author: Grant Likely &lt;grant.likely@secretlab.ca&gt;
| Date:   Tue Nov 27 16:29:11 2012 -0700
|
|     ARM: dt: change .dtb build rules to build in dts directory
|
|     The current rules have the .dtb files build in a different directory
|     from the .dts files. The only reason for this is that it was what
|     PowerPC has done historically. This patch changes ARM to use the generic
|     dtb rule which builds .dtb files in the same directory as the source .dts.
|
|     Cc: Russell King &lt;linux@arm.linux.org.uk&gt;
|     Cc: Arnd Bergmann &lt;arnd@arndb.de&gt;
|     Acked-by: Olof Johansson &lt;olof@lixom.net&gt;
|     Cc: linux-arm-kernel@lists.infradead.org
|     Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
|     [swarren: added rm command for old stale .dtb files]
|     Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
|     Signed-off-by: Rob Herring &lt;rob.herring@calxeda.com&gt;
`----

This change adds support for both places to backward and forward
compatibility.

Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
Signed-off-by: Saul Wold &lt;sgw@linux.intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>linux-dtb: Use kernel build system to generate the dtb files</title>
<updated>2013-08-15T05:41:36+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2013-08-13T13:52:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=72980d5bb465f0640ed451d1ebb9c5d2a210ad0c'/>
<id>72980d5bb465f0640ed451d1ebb9c5d2a210ad0c</id>
<content type='text'>
As the Linux kernel, unconditionally, builds the dtc application and
it is the compatible version with the DeviceTree files shipped within
the kernel it is better to use it and the kernel build system to
generate the dtb files.

Some DeviceTree files rely on CPP and kernel headers to be able to
generate the dtb binary contents and it is harder to replicate it
outside of Linux kernel build system so we /use/ it.

To comply with these assumptions we need to use the dtb file when
calling 'make' instead of pointing to the DeviceTree source file; the
code has been made backward compatible but it is advised to move to
the new definition to avoid warnings as:

,----[ Original definition ]
| KERNEL_DEVICETREE = "${S}/arch/arm/boot/dts/imx6q-sabresd.dts"
`----

Becomes:

,----[ New definition ]
| KERNEL_DEVICETREE = "imx6q-sabresd.dtb"
`----

Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
Signed-off-by: Saul Wold &lt;sgw@linux.intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As the Linux kernel, unconditionally, builds the dtc application and
it is the compatible version with the DeviceTree files shipped within
the kernel it is better to use it and the kernel build system to
generate the dtb files.

Some DeviceTree files rely on CPP and kernel headers to be able to
generate the dtb binary contents and it is harder to replicate it
outside of Linux kernel build system so we /use/ it.

To comply with these assumptions we need to use the dtb file when
calling 'make' instead of pointing to the DeviceTree source file; the
code has been made backward compatible but it is advised to move to
the new definition to avoid warnings as:

,----[ Original definition ]
| KERNEL_DEVICETREE = "${S}/arch/arm/boot/dts/imx6q-sabresd.dts"
`----

Becomes:

,----[ New definition ]
| KERNEL_DEVICETREE = "imx6q-sabresd.dtb"
`----

Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
Signed-off-by: Saul Wold &lt;sgw@linux.intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>linux-dtb.inc: Replace /boot/ with /${KERNEL_IMAGEDEST}/</title>
<updated>2013-08-13T17:13:19+00:00</updated>
<author>
<name>Mike Looijmans</name>
<email>mike.looijmans@topic.nl</email>
</author>
<published>2013-08-09T10:53:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=0f589b9a38397fdf55025062a45889b19d1c83c4'/>
<id>0f589b9a38397fdf55025062a45889b19d1c83c4</id>
<content type='text'>
Devicetree files were installed hard-coded in /boot. When KERNEL_IMAGEDEST
is anything else but "boot", the postinstall script and the file locations
no longer match and the postinstall will fail.

Replace "boot" with "${KERNEL_IMAGEDEST}" to fix this problem, and to allow
the devicetree files to be installed in another location.

Signed-off-by: Mike Looijmans &lt;mike.looijmans@topic.nl&gt;
Signed-off-by: Saul Wold &lt;sgw@linux.intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Devicetree files were installed hard-coded in /boot. When KERNEL_IMAGEDEST
is anything else but "boot", the postinstall script and the file locations
no longer match and the postinstall will fail.

Replace "boot" with "${KERNEL_IMAGEDEST}" to fix this problem, and to allow
the devicetree files to be installed in another location.

Signed-off-by: Mike Looijmans &lt;mike.looijmans@topic.nl&gt;
Signed-off-by: Saul Wold &lt;sgw@linux.intel.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
