DistroKit Mailinglist
 help / color / mirror / Atom feed
* [DistroKit] [PATCH 1/3] platforms: make DTC_OFTREE_DTS_PATH layer-aware
@ 2020-12-06 21:48 Roland Hieber
  2020-12-06 21:48 ` [DistroKit] [PATCH 2/3] rpi: barebox: make BAREBOX_EXTRA_ENV_PATH layer-aware Roland Hieber
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Roland Hieber @ 2020-12-06 21:48 UTC (permalink / raw)
  To: distrokit; +Cc: Roland Hieber

This ports PTXdist commit 4f058f4c37fa9fb1465a:

    | commit 4f058f4c37fa9fb1465a77757a35c48e5e4a9179
    | Author: Michael Olbrich <m.olbrich@pengutronix.de>
    | Date:   2018-07-31 16:12:58
    |
    |     dtc: support layers in DTC_OFTREE_DTS_PATH by default
    |
    |     PTXDIST_PLATFORMCONFIG_SUBDIR is a relative path and will be searched in
    |     all layers.
    |
    |     Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>

Link: https://git.pengutronix.de/cgit/ptxdist/commit/?id=4f058f4c37fa9fb1465a
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
 configs/platform-mips/platformconfig | 2 +-
 configs/platform-v7a/platformconfig  | 2 +-
 configs/platform-v8a/platformconfig  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/configs/platform-mips/platformconfig b/configs/platform-mips/platformconfig
index c69fdc9feb61..258cb2a47f19 100644
--- a/configs/platform-mips/platformconfig
+++ b/configs/platform-mips/platformconfig
@@ -108,7 +108,7 @@ PTXCONF_KERNEL_MD5="4d8b8af44c9d342624c036428da09ab6"
 PTXCONF_KERNEL_LZOP=y
 PTXCONF_DTC=y
 PTXCONF_DTC_INSTALL_OFTREE=y
-PTXCONF_DTC_OFTREE_DTS_PATH="${PTXDIST_PLATFORMCONFIGDIR}/dts:${KERNEL_DIR}/arch/${GENERIC_KERNEL_ARCH}/boot/dts"
+PTXCONF_DTC_OFTREE_DTS_PATH="${PTXDIST_PLATFORMCONFIG_SUBDIR}/dts:${KERNEL_DIR}/arch/${GENERIC_KERNEL_ARCH}/boot/dts"
 PTXCONF_DTC_OFTREE_DTS="qca/ar9331_dpt_module.dts mti/malta.dts"
 PTXCONF_DTC_EXTRA_ARGS=""
 PTXCONF_HOST_DTC=y
diff --git a/configs/platform-v7a/platformconfig b/configs/platform-v7a/platformconfig
index 61c1a34b8575..1cc9fc8297f6 100644
--- a/configs/platform-v7a/platformconfig
+++ b/configs/platform-v7a/platformconfig
@@ -143,7 +143,7 @@ PTXCONF_KERNEL_CONFIG="kernelconfig"
 PTXCONF_KERNEL_EXTRA_MAKEVARS=""
 PTXCONF_DTC=y
 PTXCONF_DTC_INSTALL_OFTREE=y
-PTXCONF_DTC_OFTREE_DTS_PATH="${PTXDIST_PLATFORMCONFIGDIR}/dts:${KERNEL_DIR}/arch/${GENERIC_KERNEL_ARCH}/boot/dts"
+PTXCONF_DTC_OFTREE_DTS_PATH="${PTXDIST_PLATFORMCONFIG_SUBDIR}/dts:${KERNEL_DIR}/arch/${GENERIC_KERNEL_ARCH}/boot/dts"
 PTXCONF_DTC_OFTREE_DTS="am335x-bone.dts am335x-boneblack.dts vexpress-v2p-ca9.dts bcm2836-rpi-2-b.dts imx6q-sabrelite.dts imx6sx-udoo-neo-full.dts imx6dl-riotboard.dts imx6q-nitrogen6x.dts imx6qp-nitrogen6_max.dts bcm2837-rpi-3-b.dts stm32mp157c-dk2.dts stm32mp157c-lxa-mc1.dts at91-sama5d27_som1_ek.dts at91-sama5d27_giantboard.dts"
 PTXCONF_DTC_EXTRA_ARGS=""
 PTXCONF_HOST_DTC=y
diff --git a/configs/platform-v8a/platformconfig b/configs/platform-v8a/platformconfig
index 44b672571131..ecd33aacf3fd 100644
--- a/configs/platform-v8a/platformconfig
+++ b/configs/platform-v8a/platformconfig
@@ -141,7 +141,7 @@ PTXCONF_KERNEL_CONFIG="kernelconfig"
 PTXCONF_KERNEL_EXTRA_MAKEVARS=""
 PTXCONF_DTC=y
 PTXCONF_DTC_INSTALL_OFTREE=y
-PTXCONF_DTC_OFTREE_DTS_PATH="${PTXDIST_PLATFORMCONFIGDIR}/dts:${KERNEL_DIR}/arch/${GENERIC_KERNEL_ARCH}/boot/dts"
+PTXCONF_DTC_OFTREE_DTS_PATH="${PTXDIST_PLATFORMCONFIG_SUBDIR}/dts:${KERNEL_DIR}/arch/${GENERIC_KERNEL_ARCH}/boot/dts"
 PTXCONF_DTC_OFTREE_DTS="armada-3720-community.dts freescale/imx8mm-evk.dts freescale/imx8mp-evk.dts freescale/imx8mq-evk.dts"
 PTXCONF_DTC_EXTRA_ARGS=""
 PTXCONF_HOST_DTC=y
-- 
2.29.2


_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

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

* [DistroKit] [PATCH 2/3] rpi: barebox: make BAREBOX_EXTRA_ENV_PATH layer-aware
  2020-12-06 21:48 [DistroKit] [PATCH 1/3] platforms: make DTC_OFTREE_DTS_PATH layer-aware Roland Hieber
@ 2020-12-06 21:48 ` Roland Hieber
  2021-02-01 17:48   ` Robert Schwebel
  2020-12-06 21:48 ` [DistroKit] [PATCH 3/3] rpi: image-boot-vfat: remove unused variables Roland Hieber
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 9+ messages in thread
From: Roland Hieber @ 2020-12-06 21:48 UTC (permalink / raw)
  To: distrokit; +Cc: Roland Hieber

Since PTXdist commit 41cb4d9f9287d85ae11b (2018-07-24, Michael Olbrich:
"barebox: support layers with BAREBOX_EXTRA_ENV_PATH"), this path is
layer-aware and resolved relative to the platformconfig directory.

Link: https://git.pengutronix.de/cgit/ptxdist/commit/?id=41cb4d9f9287d85ae11b
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
 configs/platform-rpi/platformconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configs/platform-rpi/platformconfig b/configs/platform-rpi/platformconfig
index 835ff38e62cd..c86fb2b8f6b2 100644
--- a/configs/platform-rpi/platformconfig
+++ b/configs/platform-rpi/platformconfig
@@ -171,7 +171,7 @@ PTXCONF_BAREBOX_VERSION="2020.08.1"
 PTXCONF_BAREBOX_MD5="d57031878390cb267f6641aedffcda9f"
 PTXCONF_BAREBOX_CONFIG="barebox.config"
 PTXCONF_BAREBOX_EXTRA_ENV=y
-PTXCONF_BAREBOX_EXTRA_ENV_PATH="${PTXDIST_PLATFORMCONFIGDIR}/barebox-defaultenv"
+PTXCONF_BAREBOX_EXTRA_ENV_PATH="barebox-defaultenv"
 # PTXCONF_BAREBOX_BAREBOXENV is not set
 # PTXCONF_BAREBOX_BAREBOXCRC32 is not set
 # PTXCONF_BAREBOX_KERNEL_INSTALL is not set
-- 
2.29.2


_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

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

* [DistroKit] [PATCH 3/3] rpi: image-boot-vfat: remove unused variables
  2020-12-06 21:48 [DistroKit] [PATCH 1/3] platforms: make DTC_OFTREE_DTS_PATH layer-aware Roland Hieber
  2020-12-06 21:48 ` [DistroKit] [PATCH 2/3] rpi: barebox: make BAREBOX_EXTRA_ENV_PATH layer-aware Roland Hieber
@ 2020-12-06 21:48 ` Roland Hieber
  2021-02-01 17:49   ` Robert Schwebel
  2020-12-07  7:47 ` [DistroKit] [PATCH 1/3] platforms: make DTC_OFTREE_DTS_PATH layer-aware Alexander Dahl
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 9+ messages in thread
From: Roland Hieber @ 2020-12-06 21:48 UTC (permalink / raw)
  To: distrokit; +Cc: Roland Hieber

The variables HEADER and START were apparently meant to be used as
replacements in configs/platform-rpi/config/images/boot-vfat.config, but
they are not used nowhere Furthermore, HEADER referenced a non-existent
file, START used the non-existing Kconfig symbol IMAGE_BOOT_VFAT_START,
and was not layer-aware by using PTXDIST_PLATFORMCONFIGDIR, and
start.elf is also already referenced in FILES.

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
 configs/platform-rpi/rules/image-boot-vfat.make | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/configs/platform-rpi/rules/image-boot-vfat.make b/configs/platform-rpi/rules/image-boot-vfat.make
index dac8939cbc17..2e43731fd69f 100644
--- a/configs/platform-rpi/rules/image-boot-vfat.make
+++ b/configs/platform-rpi/rules/image-boot-vfat.make
@@ -36,11 +36,9 @@ endef
 
 IMAGE_BOOT_VFAT_ENV := \
 	FILES="$(call squote_and_comma,$(IMAGE_BOOT_VFAT_DATA))" \
-	HEADER=$(PTXDIST_PLATFORMCONFIGDIR)/first32k.bin \
 	BAREBOX=barebox-image \
 	BAREBOX_ENV=barebox-default-environment \
-	KERNEL=linuximage \
-	START=$(PTXDIST_PLATFORMCONFIGDIR)/firmware/$(PTXCONF_IMAGE_BOOT_VFAT_START)_start.elf
+	KERNEL=linuximage
 
 $(IMAGE_BOOT_VFAT_IMAGE):
 	@$(call targetinfo)
-- 
2.29.2


_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

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

* Re: [DistroKit] [PATCH 1/3] platforms: make DTC_OFTREE_DTS_PATH layer-aware
  2020-12-06 21:48 [DistroKit] [PATCH 1/3] platforms: make DTC_OFTREE_DTS_PATH layer-aware Roland Hieber
  2020-12-06 21:48 ` [DistroKit] [PATCH 2/3] rpi: barebox: make BAREBOX_EXTRA_ENV_PATH layer-aware Roland Hieber
  2020-12-06 21:48 ` [DistroKit] [PATCH 3/3] rpi: image-boot-vfat: remove unused variables Roland Hieber
@ 2020-12-07  7:47 ` Alexander Dahl
  2021-01-15 12:33 ` Roland Hieber
  2021-02-01 17:46 ` Robert Schwebel
  4 siblings, 0 replies; 9+ messages in thread
From: Alexander Dahl @ 2020-12-07  7:47 UTC (permalink / raw)
  To: distrokit; +Cc: Roland Hieber

Hello Roland,

Am Sonntag, 6. Dezember 2020, 22:48:15 CET schrieb Roland Hieber:
> This ports PTXdist commit 4f058f4c37fa9fb1465a:
>     | commit 4f058f4c37fa9fb1465a77757a35c48e5e4a9179
>     | Author: Michael Olbrich <m.olbrich@pengutronix.de>
>     | Date:   2018-07-31 16:12:58
>     | 
>     |     dtc: support layers in DTC_OFTREE_DTS_PATH by default
>     |     
>     |     PTXDIST_PLATFORMCONFIG_SUBDIR is a relative path and will be
>     |     searched in
>     |     all layers.
>     |     
>     |     Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> Link:
> https://git.pengutronix.de/cgit/ptxdist/commit/?id=4f058f4c37fa9fb1465a
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> ---
>  configs/platform-mips/platformconfig | 2 +-
>  configs/platform-v7a/platformconfig  | 2 +-
>  configs/platform-v8a/platformconfig  | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/configs/platform-mips/platformconfig
> b/configs/platform-mips/platformconfig index c69fdc9feb61..258cb2a47f19
> 100644
> --- a/configs/platform-mips/platformconfig
> +++ b/configs/platform-mips/platformconfig
> @@ -108,7 +108,7 @@ PTXCONF_KERNEL_MD5="4d8b8af44c9d342624c036428da09ab6"
>  PTXCONF_KERNEL_LZOP=y
>  PTXCONF_DTC=y
>  PTXCONF_DTC_INSTALL_OFTREE=y
> -PTXCONF_DTC_OFTREE_DTS_PATH="${PTXDIST_PLATFORMCONFIGDIR}/dts:${KERNEL_DIR}
> /arch/${GENERIC_KERNEL_ARCH}/boot/dts"
> +PTXCONF_DTC_OFTREE_DTS_PATH="${PTXDIST_PLATFORMCONFIG_SUBDIR}/dts:${KERNEL
> _DIR}/arch/${GENERIC_KERNEL_ARCH}/boot/dts"
> PTXCONF_DTC_OFTREE_DTS="qca/ar9331_dpt_module.dts mti/malta.dts"
>  PTXCONF_DTC_EXTRA_ARGS=""
>  PTXCONF_HOST_DTC=y
> diff --git a/configs/platform-v7a/platformconfig
> b/configs/platform-v7a/platformconfig index 61c1a34b8575..1cc9fc8297f6
> 100644
> --- a/configs/platform-v7a/platformconfig
> +++ b/configs/platform-v7a/platformconfig
> @@ -143,7 +143,7 @@ PTXCONF_KERNEL_CONFIG="kernelconfig"
>  PTXCONF_KERNEL_EXTRA_MAKEVARS=""
>  PTXCONF_DTC=y
>  PTXCONF_DTC_INSTALL_OFTREE=y
> -PTXCONF_DTC_OFTREE_DTS_PATH="${PTXDIST_PLATFORMCONFIGDIR}/dts:${KERNEL_DIR}
> /arch/${GENERIC_KERNEL_ARCH}/boot/dts"
> +PTXCONF_DTC_OFTREE_DTS_PATH="${PTXDIST_PLATFORMCONFIG_SUBDIR}/dts:${KERNEL
> _DIR}/arch/${GENERIC_KERNEL_ARCH}/boot/dts"
> PTXCONF_DTC_OFTREE_DTS="am335x-bone.dts am335x-boneblack.dts
> vexpress-v2p-ca9.dts bcm2836-rpi-2-b.dts imx6q-sabrelite.dts
> imx6sx-udoo-neo-full.dts imx6dl-riotboard.dts imx6q-nitrogen6x.dts
> imx6qp-nitrogen6_max.dts bcm2837-rpi-3-b.dts stm32mp157c-dk2.dts
> stm32mp157c-lxa-mc1.dts at91-sama5d27_som1_ek.dts
> at91-sama5d27_giantboard.dts" PTXCONF_DTC_EXTRA_ARGS=""
>  PTXCONF_HOST_DTC=y
> diff --git a/configs/platform-v8a/platformconfig
> b/configs/platform-v8a/platformconfig index 44b672571131..ecd33aacf3fd
> 100644
> --- a/configs/platform-v8a/platformconfig
> +++ b/configs/platform-v8a/platformconfig
> @@ -141,7 +141,7 @@ PTXCONF_KERNEL_CONFIG="kernelconfig"
>  PTXCONF_KERNEL_EXTRA_MAKEVARS=""
>  PTXCONF_DTC=y
>  PTXCONF_DTC_INSTALL_OFTREE=y
> -PTXCONF_DTC_OFTREE_DTS_PATH="${PTXDIST_PLATFORMCONFIGDIR}/dts:${KERNEL_DIR}
> /arch/${GENERIC_KERNEL_ARCH}/boot/dts"
> +PTXCONF_DTC_OFTREE_DTS_PATH="${PTXDIST_PLATFORMCONFIG_SUBDIR}/dts:${KERNEL
> _DIR}/arch/${GENERIC_KERNEL_ARCH}/boot/dts"
> PTXCONF_DTC_OFTREE_DTS="armada-3720-community.dts freescale/imx8mm-evk.dts
> freescale/imx8mp-evk.dts freescale/imx8mq-evk.dts"
> PTXCONF_DTC_EXTRA_ARGS=""
>  PTXCONF_HOST_DTC=y

Reviewed-by: Alexander Dahl <ada@thorsis.com>

Greets
Alex




_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

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

* Re: [DistroKit] [PATCH 1/3] platforms: make DTC_OFTREE_DTS_PATH layer-aware
  2020-12-06 21:48 [DistroKit] [PATCH 1/3] platforms: make DTC_OFTREE_DTS_PATH layer-aware Roland Hieber
                   ` (2 preceding siblings ...)
  2020-12-07  7:47 ` [DistroKit] [PATCH 1/3] platforms: make DTC_OFTREE_DTS_PATH layer-aware Alexander Dahl
@ 2021-01-15 12:33 ` Roland Hieber
  2021-01-15 12:52   ` Michael Olbrich
  2021-02-01 17:46 ` Robert Schwebel
  4 siblings, 1 reply; 9+ messages in thread
From: Roland Hieber @ 2021-01-15 12:33 UTC (permalink / raw)
  To: distrokit

Gentle ping, this series seems to have fallen through the cracks :-)

 - Roland

On Sun, Dec 06, 2020 at 10:48:15PM +0100, Roland Hieber wrote:
> This ports PTXdist commit 4f058f4c37fa9fb1465a:
> 
>     | commit 4f058f4c37fa9fb1465a77757a35c48e5e4a9179
>     | Author: Michael Olbrich <m.olbrich@pengutronix.de>
>     | Date:   2018-07-31 16:12:58
>     |
>     |     dtc: support layers in DTC_OFTREE_DTS_PATH by default
>     |
>     |     PTXDIST_PLATFORMCONFIG_SUBDIR is a relative path and will be searched in
>     |     all layers.
>     |
>     |     Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> Link: https://git.pengutronix.de/cgit/ptxdist/commit/?id=4f058f4c37fa9fb1465a
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> ---
>  configs/platform-mips/platformconfig | 2 +-
>  configs/platform-v7a/platformconfig  | 2 +-
>  configs/platform-v8a/platformconfig  | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/configs/platform-mips/platformconfig b/configs/platform-mips/platformconfig
> index c69fdc9feb61..258cb2a47f19 100644
> --- a/configs/platform-mips/platformconfig
> +++ b/configs/platform-mips/platformconfig
> @@ -108,7 +108,7 @@ PTXCONF_KERNEL_MD5="4d8b8af44c9d342624c036428da09ab6"
>  PTXCONF_KERNEL_LZOP=y
>  PTXCONF_DTC=y
>  PTXCONF_DTC_INSTALL_OFTREE=y
> -PTXCONF_DTC_OFTREE_DTS_PATH="${PTXDIST_PLATFORMCONFIGDIR}/dts:${KERNEL_DIR}/arch/${GENERIC_KERNEL_ARCH}/boot/dts"
> +PTXCONF_DTC_OFTREE_DTS_PATH="${PTXDIST_PLATFORMCONFIG_SUBDIR}/dts:${KERNEL_DIR}/arch/${GENERIC_KERNEL_ARCH}/boot/dts"
>  PTXCONF_DTC_OFTREE_DTS="qca/ar9331_dpt_module.dts mti/malta.dts"
>  PTXCONF_DTC_EXTRA_ARGS=""
>  PTXCONF_HOST_DTC=y
> diff --git a/configs/platform-v7a/platformconfig b/configs/platform-v7a/platformconfig
> index 61c1a34b8575..1cc9fc8297f6 100644
> --- a/configs/platform-v7a/platformconfig
> +++ b/configs/platform-v7a/platformconfig
> @@ -143,7 +143,7 @@ PTXCONF_KERNEL_CONFIG="kernelconfig"
>  PTXCONF_KERNEL_EXTRA_MAKEVARS=""
>  PTXCONF_DTC=y
>  PTXCONF_DTC_INSTALL_OFTREE=y
> -PTXCONF_DTC_OFTREE_DTS_PATH="${PTXDIST_PLATFORMCONFIGDIR}/dts:${KERNEL_DIR}/arch/${GENERIC_KERNEL_ARCH}/boot/dts"
> +PTXCONF_DTC_OFTREE_DTS_PATH="${PTXDIST_PLATFORMCONFIG_SUBDIR}/dts:${KERNEL_DIR}/arch/${GENERIC_KERNEL_ARCH}/boot/dts"
>  PTXCONF_DTC_OFTREE_DTS="am335x-bone.dts am335x-boneblack.dts vexpress-v2p-ca9.dts bcm2836-rpi-2-b.dts imx6q-sabrelite.dts imx6sx-udoo-neo-full.dts imx6dl-riotboard.dts imx6q-nitrogen6x.dts imx6qp-nitrogen6_max.dts bcm2837-rpi-3-b.dts stm32mp157c-dk2.dts stm32mp157c-lxa-mc1.dts at91-sama5d27_som1_ek.dts at91-sama5d27_giantboard.dts"
>  PTXCONF_DTC_EXTRA_ARGS=""
>  PTXCONF_HOST_DTC=y
> diff --git a/configs/platform-v8a/platformconfig b/configs/platform-v8a/platformconfig
> index 44b672571131..ecd33aacf3fd 100644
> --- a/configs/platform-v8a/platformconfig
> +++ b/configs/platform-v8a/platformconfig
> @@ -141,7 +141,7 @@ PTXCONF_KERNEL_CONFIG="kernelconfig"
>  PTXCONF_KERNEL_EXTRA_MAKEVARS=""
>  PTXCONF_DTC=y
>  PTXCONF_DTC_INSTALL_OFTREE=y
> -PTXCONF_DTC_OFTREE_DTS_PATH="${PTXDIST_PLATFORMCONFIGDIR}/dts:${KERNEL_DIR}/arch/${GENERIC_KERNEL_ARCH}/boot/dts"
> +PTXCONF_DTC_OFTREE_DTS_PATH="${PTXDIST_PLATFORMCONFIG_SUBDIR}/dts:${KERNEL_DIR}/arch/${GENERIC_KERNEL_ARCH}/boot/dts"
>  PTXCONF_DTC_OFTREE_DTS="armada-3720-community.dts freescale/imx8mm-evk.dts freescale/imx8mp-evk.dts freescale/imx8mq-evk.dts"
>  PTXCONF_DTC_EXTRA_ARGS=""
>  PTXCONF_HOST_DTC=y
> -- 
> 2.29.2
> 
> 
> _______________________________________________
> DistroKit mailing list
> DistroKit@pengutronix.de
> 

-- 
Roland Hieber, Pengutronix e.K.          | r.hieber@pengutronix.de     |
Steuerwalder Str. 21                     | https://www.pengutronix.de/ |
31137 Hildesheim, Germany                | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686         | Fax:   +49-5121-206917-5555 |

_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

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

* Re: [DistroKit] [PATCH 1/3] platforms: make DTC_OFTREE_DTS_PATH layer-aware
  2021-01-15 12:33 ` Roland Hieber
@ 2021-01-15 12:52   ` Michael Olbrich
  0 siblings, 0 replies; 9+ messages in thread
From: Michael Olbrich @ 2021-01-15 12:52 UTC (permalink / raw)
  To: Roland Hieber; +Cc: distrokit

On Fri, Jan 15, 2021 at 01:33:59PM +0100, Roland Hieber wrote:
> Gentle ping, this series seems to have fallen through the cracks :-)

If it helps: All 3 patches

Reviewed-by: Michael Olbrich <m.olbrich@pengutronix.de>

Michael

> On Sun, Dec 06, 2020 at 10:48:15PM +0100, Roland Hieber wrote:
> > This ports PTXdist commit 4f058f4c37fa9fb1465a:
> > 
> >     | commit 4f058f4c37fa9fb1465a77757a35c48e5e4a9179
> >     | Author: Michael Olbrich <m.olbrich@pengutronix.de>
> >     | Date:   2018-07-31 16:12:58
> >     |
> >     |     dtc: support layers in DTC_OFTREE_DTS_PATH by default
> >     |
> >     |     PTXDIST_PLATFORMCONFIG_SUBDIR is a relative path and will be searched in
> >     |     all layers.
> >     |
> >     |     Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> > 
> > Link: https://git.pengutronix.de/cgit/ptxdist/commit/?id=4f058f4c37fa9fb1465a
> > Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> > ---
> >  configs/platform-mips/platformconfig | 2 +-
> >  configs/platform-v7a/platformconfig  | 2 +-
> >  configs/platform-v8a/platformconfig  | 2 +-
> >  3 files changed, 3 insertions(+), 3 deletions(-)
> > 
> > diff --git a/configs/platform-mips/platformconfig b/configs/platform-mips/platformconfig
> > index c69fdc9feb61..258cb2a47f19 100644
> > --- a/configs/platform-mips/platformconfig
> > +++ b/configs/platform-mips/platformconfig
> > @@ -108,7 +108,7 @@ PTXCONF_KERNEL_MD5="4d8b8af44c9d342624c036428da09ab6"
> >  PTXCONF_KERNEL_LZOP=y
> >  PTXCONF_DTC=y
> >  PTXCONF_DTC_INSTALL_OFTREE=y
> > -PTXCONF_DTC_OFTREE_DTS_PATH="${PTXDIST_PLATFORMCONFIGDIR}/dts:${KERNEL_DIR}/arch/${GENERIC_KERNEL_ARCH}/boot/dts"
> > +PTXCONF_DTC_OFTREE_DTS_PATH="${PTXDIST_PLATFORMCONFIG_SUBDIR}/dts:${KERNEL_DIR}/arch/${GENERIC_KERNEL_ARCH}/boot/dts"
> >  PTXCONF_DTC_OFTREE_DTS="qca/ar9331_dpt_module.dts mti/malta.dts"
> >  PTXCONF_DTC_EXTRA_ARGS=""
> >  PTXCONF_HOST_DTC=y
> > diff --git a/configs/platform-v7a/platformconfig b/configs/platform-v7a/platformconfig
> > index 61c1a34b8575..1cc9fc8297f6 100644
> > --- a/configs/platform-v7a/platformconfig
> > +++ b/configs/platform-v7a/platformconfig
> > @@ -143,7 +143,7 @@ PTXCONF_KERNEL_CONFIG="kernelconfig"
> >  PTXCONF_KERNEL_EXTRA_MAKEVARS=""
> >  PTXCONF_DTC=y
> >  PTXCONF_DTC_INSTALL_OFTREE=y
> > -PTXCONF_DTC_OFTREE_DTS_PATH="${PTXDIST_PLATFORMCONFIGDIR}/dts:${KERNEL_DIR}/arch/${GENERIC_KERNEL_ARCH}/boot/dts"
> > +PTXCONF_DTC_OFTREE_DTS_PATH="${PTXDIST_PLATFORMCONFIG_SUBDIR}/dts:${KERNEL_DIR}/arch/${GENERIC_KERNEL_ARCH}/boot/dts"
> >  PTXCONF_DTC_OFTREE_DTS="am335x-bone.dts am335x-boneblack.dts vexpress-v2p-ca9.dts bcm2836-rpi-2-b.dts imx6q-sabrelite.dts imx6sx-udoo-neo-full.dts imx6dl-riotboard.dts imx6q-nitrogen6x.dts imx6qp-nitrogen6_max.dts bcm2837-rpi-3-b.dts stm32mp157c-dk2.dts stm32mp157c-lxa-mc1.dts at91-sama5d27_som1_ek.dts at91-sama5d27_giantboard.dts"
> >  PTXCONF_DTC_EXTRA_ARGS=""
> >  PTXCONF_HOST_DTC=y
> > diff --git a/configs/platform-v8a/platformconfig b/configs/platform-v8a/platformconfig
> > index 44b672571131..ecd33aacf3fd 100644
> > --- a/configs/platform-v8a/platformconfig
> > +++ b/configs/platform-v8a/platformconfig
> > @@ -141,7 +141,7 @@ PTXCONF_KERNEL_CONFIG="kernelconfig"
> >  PTXCONF_KERNEL_EXTRA_MAKEVARS=""
> >  PTXCONF_DTC=y
> >  PTXCONF_DTC_INSTALL_OFTREE=y
> > -PTXCONF_DTC_OFTREE_DTS_PATH="${PTXDIST_PLATFORMCONFIGDIR}/dts:${KERNEL_DIR}/arch/${GENERIC_KERNEL_ARCH}/boot/dts"
> > +PTXCONF_DTC_OFTREE_DTS_PATH="${PTXDIST_PLATFORMCONFIG_SUBDIR}/dts:${KERNEL_DIR}/arch/${GENERIC_KERNEL_ARCH}/boot/dts"
> >  PTXCONF_DTC_OFTREE_DTS="armada-3720-community.dts freescale/imx8mm-evk.dts freescale/imx8mp-evk.dts freescale/imx8mq-evk.dts"
> >  PTXCONF_DTC_EXTRA_ARGS=""
> >  PTXCONF_HOST_DTC=y
> > -- 
> > 2.29.2
> > 
> > 
> > _______________________________________________
> > DistroKit mailing list
> > DistroKit@pengutronix.de
> > 
> 
> -- 
> Roland Hieber, Pengutronix e.K.          | r.hieber@pengutronix.de     |
> Steuerwalder Str. 21                     | https://www.pengutronix.de/ |
> 31137 Hildesheim, Germany                | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686         | Fax:   +49-5121-206917-5555 |
> 
> _______________________________________________
> DistroKit mailing list
> DistroKit@pengutronix.de
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

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

* Re: [DistroKit] [PATCH 1/3] platforms: make DTC_OFTREE_DTS_PATH layer-aware
  2020-12-06 21:48 [DistroKit] [PATCH 1/3] platforms: make DTC_OFTREE_DTS_PATH layer-aware Roland Hieber
                   ` (3 preceding siblings ...)
  2021-01-15 12:33 ` Roland Hieber
@ 2021-02-01 17:46 ` Robert Schwebel
  4 siblings, 0 replies; 9+ messages in thread
From: Robert Schwebel @ 2021-02-01 17:46 UTC (permalink / raw)
  To: Roland Hieber; +Cc: distrokit

On Sun, Dec 06, 2020 at 10:48:15PM +0100, Roland Hieber wrote:
> This ports PTXdist commit 4f058f4c37fa9fb1465a:
> 
>     | commit 4f058f4c37fa9fb1465a77757a35c48e5e4a9179
>     | Author: Michael Olbrich <m.olbrich@pengutronix.de>
>     | Date:   2018-07-31 16:12:58
>     |
>     |     dtc: support layers in DTC_OFTREE_DTS_PATH by default
>     |
>     |     PTXDIST_PLATFORMCONFIG_SUBDIR is a relative path and will be searched in
>     |     all layers.
>     |
>     |     Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> Link: https://git.pengutronix.de/cgit/ptxdist/commit/?id=4f058f4c37fa9fb1465a
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> ---
>  configs/platform-mips/platformconfig | 2 +-
>  configs/platform-v7a/platformconfig  | 2 +-
>  configs/platform-v8a/platformconfig  | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)

Applied, thx.

rsc
-- 
Pengutronix e.K.                           | Dipl.-Ing. Robert Schwebel  |
Steuerwalder Str. 21                       | https://www.pengutronix.de/ |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-9    |

_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

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

* Re: [DistroKit] [PATCH 2/3] rpi: barebox: make BAREBOX_EXTRA_ENV_PATH layer-aware
  2020-12-06 21:48 ` [DistroKit] [PATCH 2/3] rpi: barebox: make BAREBOX_EXTRA_ENV_PATH layer-aware Roland Hieber
@ 2021-02-01 17:48   ` Robert Schwebel
  0 siblings, 0 replies; 9+ messages in thread
From: Robert Schwebel @ 2021-02-01 17:48 UTC (permalink / raw)
  To: Roland Hieber; +Cc: distrokit

On Sun, Dec 06, 2020 at 10:48:16PM +0100, Roland Hieber wrote:
> Since PTXdist commit 41cb4d9f9287d85ae11b (2018-07-24, Michael Olbrich:
> "barebox: support layers with BAREBOX_EXTRA_ENV_PATH"), this path is
> layer-aware and resolved relative to the platformconfig directory.
> 
> Link: https://git.pengutronix.de/cgit/ptxdist/commit/?id=41cb4d9f9287d85ae11b
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> ---
>  configs/platform-rpi/platformconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thx.

rsc
-- 
Pengutronix e.K.                           | Dipl.-Ing. Robert Schwebel  |
Steuerwalder Str. 21                       | https://www.pengutronix.de/ |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-9    |

_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

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

* Re: [DistroKit] [PATCH 3/3] rpi: image-boot-vfat: remove unused variables
  2020-12-06 21:48 ` [DistroKit] [PATCH 3/3] rpi: image-boot-vfat: remove unused variables Roland Hieber
@ 2021-02-01 17:49   ` Robert Schwebel
  0 siblings, 0 replies; 9+ messages in thread
From: Robert Schwebel @ 2021-02-01 17:49 UTC (permalink / raw)
  To: Roland Hieber; +Cc: distrokit

On Sun, Dec 06, 2020 at 10:48:17PM +0100, Roland Hieber wrote:
> The variables HEADER and START were apparently meant to be used as
> replacements in configs/platform-rpi/config/images/boot-vfat.config, but
> they are not used nowhere Furthermore, HEADER referenced a non-existent
> file, START used the non-existing Kconfig symbol IMAGE_BOOT_VFAT_START,
> and was not layer-aware by using PTXDIST_PLATFORMCONFIGDIR, and
> start.elf is also already referenced in FILES.
> 
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> ---
>  configs/platform-rpi/rules/image-boot-vfat.make | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)

Applied, thx.

rsc
-- 
Pengutronix e.K.                           | Dipl.-Ing. Robert Schwebel  |
Steuerwalder Str. 21                       | https://www.pengutronix.de/ |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-9    |

_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

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

end of thread, other threads:[~2021-02-01 17:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-06 21:48 [DistroKit] [PATCH 1/3] platforms: make DTC_OFTREE_DTS_PATH layer-aware Roland Hieber
2020-12-06 21:48 ` [DistroKit] [PATCH 2/3] rpi: barebox: make BAREBOX_EXTRA_ENV_PATH layer-aware Roland Hieber
2021-02-01 17:48   ` Robert Schwebel
2020-12-06 21:48 ` [DistroKit] [PATCH 3/3] rpi: image-boot-vfat: remove unused variables Roland Hieber
2021-02-01 17:49   ` Robert Schwebel
2020-12-07  7:47 ` [DistroKit] [PATCH 1/3] platforms: make DTC_OFTREE_DTS_PATH layer-aware Alexander Dahl
2021-01-15 12:33 ` Roland Hieber
2021-01-15 12:52   ` Michael Olbrich
2021-02-01 17:46 ` Robert Schwebel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox