linux-dtb: Add extra padding to the blob.

Submitted by Vakul Garg on Jan. 28, 2013, 2:24 p.m.

Details

Message ID 1359383057-2560-1-git-send-email-vakul@freescale.com
State New
Headers show

Commit Message

Vakul Garg Jan. 28, 2013, 2:24 p.m.
U-boot patches portal devices for adding new properties in portal nodes.
T4 devices such as T4240 have large number of portals. This requires extra
space in device tree blob. The large number of portals need more padding
space to be added.

Signed-off-by: Vakul Garg <vakul@freescale.com>
---

 meta/recipes-kernel/linux/linux-dtb.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch hide | download patch | download mbox

diff --git a/meta/recipes-kernel/linux/linux-dtb.inc b/meta/recipes-kernel/linux/linux-dtb.inc
index 8aa1458..87fa646 100644
--- a/meta/recipes-kernel/linux/linux-dtb.inc
+++ b/meta/recipes-kernel/linux/linux-dtb.inc
@@ -1,6 +1,6 @@ 
 # Support for device tree generation
 FILES_kernel-devicetree = "/boot/devicetree*"
-KERNEL_DEVICETREE_FLAGS = "-R 8 -p 0x3000"
+KERNEL_DEVICETREE_FLAGS = "-R 8 -p 0x4000"
 
 python __anonymous () {
     import bb

Comments

Otavio Salvador Jan. 28, 2013, 3 p.m.
On Mon, Jan 28, 2013 at 12:24 PM, Vakul Garg <vakul@freescale.com> wrote:
> U-boot patches portal devices for adding new properties in portal nodes.
> T4 devices such as T4240 have large number of portals. This requires extra
> space in device tree blob. The large number of portals need more padding
> space to be added.
>
> Signed-off-by: Vakul Garg <vakul@freescale.com>

This might be overridable so it could be overrided in the machine and
do not change the default for everyone.

What do you think?

--
Otavio Salvador                             O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
McClintock Matthew-B29882 Jan. 31, 2013, 7:14 a.m.
On Mon, Jan 28, 2013 at 9:00 AM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
> On Mon, Jan 28, 2013 at 12:24 PM, Vakul Garg <vakul@freescale.com> wrote:
>> U-boot patches portal devices for adding new properties in portal nodes.
>> T4 devices such as T4240 have large number of portals. This requires extra
>> space in device tree blob. The large number of portals need more padding
>> space to be added.
>>
>> Signed-off-by: Vakul Garg <vakul@freescale.com>
>
> This might be overridable so it could be overrided in the machine and
> do not change the default for everyone.
>
> What do you think?

Agreed. I suggest just making this change:

-KERNEL_DEVICETREE_FLAGS = "-R 8 -p 0x3000"
+KERNEL_DEVICETREE_FLAGS ?= "-R 8 -p 0x3000"

Then the machines/distros themselves can override this var.

-M

>
> --
> Otavio Salvador                             O.S. Systems
> E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
> Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core