All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cyril Brulebois <cyril@debamax.com>
To: "Uwe Kleine-König" <uwe@kleine-koenig.org>
Cc: Masahiro Yamada <masahiroy@kernel.org>,
	Michal Marek <michal.lkml@markovi.net>,
	linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	Arnd Bergmann <arnd@arndb.de>, Maxime Ripard <mripard@kernel.org>
Subject: Re: [PATCH] cmd_dtc: Enable generation of device tree symbols
Date: Mon, 25 Jan 2021 12:15:20 +0100	[thread overview]
Message-ID: <20210125111520.mgqe7u7fh5425ywl@debamax.com> (raw)
In-Reply-To: <20210125105757.661240-1-uwe@kleine-koenig.org>

[-- Attachment #1: Type: text/plain, Size: 1186 bytes --]

Hi,

Uwe Kleine-König <uwe@kleine-koenig.org> (2021-01-25):
> Adding the -@ switch to dtc results in the binary devicetrees containing
> a list of symbolic references and their paths. This is necessary to
> apply device tree overlays e.g. on Raspberry Pi as described on
> https://www.raspberrypi.org/documentation/configuration/device-tree.md.
> 
> Obviously the downside of this change is an increas of the size of the

(as spotted by Uwe right after sending →) increase

> generated dtbs, for an arm out-of-tree build (multi_v7_defconfig):
> 
> 	$ du -s arch/arm/boot/dts*
> 	101380	arch/arm/boot/dts-pre
> 	114308	arch/arm/boot/dts-post
> 
> so this is in average an increase of 12.8% in size.
> 
> Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>

Tested-by: Cyril Brulebois <cyril@debamax.com>

with:
 - a Raspberry Pi CM3
 - a carrier board designed after the official IO Board V3
 - an RTC accessible over I²C, made functional via a DTB overlay, that
   can only be enabled once bcm2710-rpi-cm3.dtb has been generated with
   this patch applied.


Cheers,
-- 
Cyril Brulebois -- Debian Consultant @ DEBAMAX -- https://debamax.com/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: Cyril Brulebois <cyril@debamax.com>
To: "Uwe Kleine-König" <uwe@kleine-koenig.org>
Cc: Michal Marek <michal.lkml@markovi.net>,
	Arnd Bergmann <arnd@arndb.de>,
	linux-kbuild@vger.kernel.org,
	Masahiro Yamada <masahiroy@kernel.org>,
	linux-kernel@vger.kernel.org, Maxime Ripard <mripard@kernel.org>,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] cmd_dtc: Enable generation of device tree symbols
Date: Mon, 25 Jan 2021 12:15:20 +0100	[thread overview]
Message-ID: <20210125111520.mgqe7u7fh5425ywl@debamax.com> (raw)
In-Reply-To: <20210125105757.661240-1-uwe@kleine-koenig.org>


[-- Attachment #1.1: Type: text/plain, Size: 1186 bytes --]

Hi,

Uwe Kleine-König <uwe@kleine-koenig.org> (2021-01-25):
> Adding the -@ switch to dtc results in the binary devicetrees containing
> a list of symbolic references and their paths. This is necessary to
> apply device tree overlays e.g. on Raspberry Pi as described on
> https://www.raspberrypi.org/documentation/configuration/device-tree.md.
> 
> Obviously the downside of this change is an increas of the size of the

(as spotted by Uwe right after sending →) increase

> generated dtbs, for an arm out-of-tree build (multi_v7_defconfig):
> 
> 	$ du -s arch/arm/boot/dts*
> 	101380	arch/arm/boot/dts-pre
> 	114308	arch/arm/boot/dts-post
> 
> so this is in average an increase of 12.8% in size.
> 
> Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>

Tested-by: Cyril Brulebois <cyril@debamax.com>

with:
 - a Raspberry Pi CM3
 - a carrier board designed after the official IO Board V3
 - an RTC accessible over I²C, made functional via a DTB overlay, that
   can only be enabled once bcm2710-rpi-cm3.dtb has been generated with
   this patch applied.


Cheers,
-- 
Cyril Brulebois -- Debian Consultant @ DEBAMAX -- https://debamax.com/

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2021-01-25 13:14 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-25 10:57 [PATCH] cmd_dtc: Enable generation of device tree symbols Uwe Kleine-König
2021-01-25 10:57 ` Uwe Kleine-König
2021-01-25 11:15 ` Cyril Brulebois [this message]
2021-01-25 11:15   ` Cyril Brulebois
2021-01-26 18:01   ` Frank Rowand
2021-01-26 18:01     ` Frank Rowand
2021-01-25 21:53 ` Masahiro Yamada
2021-01-25 21:53   ` Masahiro Yamada
2021-01-26  7:20   ` Uwe Kleine-König
2021-01-26  7:20     ` Uwe Kleine-König
2021-01-26  8:43     ` Geert Uytterhoeven
2021-01-26  8:43       ` Geert Uytterhoeven
2021-01-26 18:03       ` Frank Rowand
2021-01-26 18:03         ` Frank Rowand
2021-01-26 13:42     ` Rob Herring
2021-01-26 13:42       ` Rob Herring
2021-01-26 18:03     ` Frank Rowand
2021-01-26 18:03       ` Frank Rowand
2021-01-26 18:26       ` Frank Rowand
2021-01-26 18:26         ` Frank Rowand
2021-01-26 18:02   ` Frank Rowand
2021-01-26 18:02     ` Frank Rowand
2021-01-26 18:01 ` Frank Rowand
2021-01-26 18:01   ` Frank Rowand

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=20210125111520.mgqe7u7fh5425ywl@debamax.com \
    --to=cyril@debamax.com \
    --cc=arnd@arndb.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=masahiroy@kernel.org \
    --cc=michal.lkml@markovi.net \
    --cc=mripard@kernel.org \
    --cc=uwe@kleine-koenig.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.