* [Buildroot] [PATCH] package/python-pypng: add missing python3-zlib dependency
@ 2024-04-10 22:18 Romain Naour
2024-04-10 22:18 ` [Buildroot] [PATCH] support/testing: sync TestATFAllwinner with orangepi_zero_plus2_defconfig Romain Naour
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: Romain Naour @ 2024-04-10 22:18 UTC (permalink / raw)
To: buildroot; +Cc: Romain Naour, James Hilliard
png.py import zlib [1] so python3-zlib needs to be installed at
runtime.
[1] https://gitlab.com/drj11/pypng/-/blob/pypng-0.20220715.0/code/png.py?ref_type=tags#L185
Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/6477656971 (TestPythonPy3Qrcode)
Cc: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Romain Naour <romain.naour@smile.fr>
---
package/python-pypng/Config.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/python-pypng/Config.in b/package/python-pypng/Config.in
index c1ed405615..952b46c2c5 100644
--- a/package/python-pypng/Config.in
+++ b/package/python-pypng/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_PYTHON_PYPNG
bool "python-pypng"
+ select BR2_PACKAGE_PYTHON3_ZLIB # runtime
help
Pure Python library for saving and loading PNG images.
--
2.44.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [Buildroot] [PATCH] support/testing: sync TestATFAllwinner with orangepi_zero_plus2_defconfig
2024-04-10 22:18 [Buildroot] [PATCH] package/python-pypng: add missing python3-zlib dependency Romain Naour
@ 2024-04-10 22:18 ` Romain Naour
2024-04-11 4:36 ` Yann E. MORIN
2024-04-10 22:18 ` [Buildroot] [PATCH] support/testing: remove TestATFVexpress Romain Naour
` (2 subsequent siblings)
3 siblings, 1 reply; 7+ messages in thread
From: Romain Naour @ 2024-04-10 22:18 UTC (permalink / raw)
To: buildroot; +Cc: Romain Naour
u-boot-2021.04 seems to be broken when pylibfdt support is enabled
and the latest python3/setuptools are used.
Since the TestATFAllwinner is using bananapi_m64 as u-boot defconfig
but the Buildroot defconfig of this board was removed in 2022.11 [1]
update TestATFAllwinner to use a newer BSP. Use the one provided
by orangepi_zero_plus2_defconfig.
[1] daf3c6661f823e566b6310042884c36c1d73f1de
Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/6477656317 (TestATFAllwinner)
Signed-off-by: Romain Naour <romain.naour@smile.fr>
---
support/testing/tests/boot/test_atf.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/support/testing/tests/boot/test_atf.py b/support/testing/tests/boot/test_atf.py
index 4fcb9b241c..1995f83a54 100644
--- a/support/testing/tests/boot/test_atf.py
+++ b/support/testing/tests/boot/test_atf.py
@@ -34,15 +34,15 @@ class TestATFAllwinner(infra.basetest.BRTest):
BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64=y
BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y
- BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.5"
+ BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.9"
BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_a64"
# BR2_TARGET_ARM_TRUSTED_FIRMWARE_SSP is not set
BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
- BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04"
- BR2_TARGET_UBOOT_BOARD_DEFCONFIG="bananapi_m64"
+ BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.10"
+ BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_zero_plus2"
BR2_TARGET_UBOOT_NEEDS_DTC=y
BR2_TARGET_UBOOT_NEEDS_PYTHON3=y
BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
--
2.44.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [Buildroot] [PATCH] support/testing: remove TestATFVexpress
2024-04-10 22:18 [Buildroot] [PATCH] package/python-pypng: add missing python3-zlib dependency Romain Naour
2024-04-10 22:18 ` [Buildroot] [PATCH] support/testing: sync TestATFAllwinner with orangepi_zero_plus2_defconfig Romain Naour
@ 2024-04-10 22:18 ` Romain Naour
2024-04-11 4:36 ` Yann E. MORIN
2024-04-11 4:35 ` [Buildroot] [PATCH] package/python-pypng: add missing python3-zlib dependency Yann E. MORIN
2024-05-06 21:02 ` Peter Korsgaard
3 siblings, 1 reply; 7+ messages in thread
From: Romain Naour @ 2024-04-10 22:18 UTC (permalink / raw)
To: buildroot; +Cc: Romain Naour
TestATFVexpress is using vexpress_aemv8a_juno as as u-boot defconfig
but the Buildroot defconfig of this board was removed in 2022.11 [1]
Since both TestATFVexpress and TestATFAllwinner are now using mainline
ATF, we don't really need several ATF test anymore. Initially [2],
several runtime test were added to test ATF/U-Boot combinations when
ATF was provided by a vendor: vexpress (mainline), Allwinner and
Marvell.
Keep TestATFAllwinner as ATF mainline test.
[1] 347c1087388d7782e6865f112f195e6780d473a7
[2] 8cf3ce04e9c4a4c4685b80edd9e8e873fe44d8e8
Signed-off-by: Romain Naour <romain.naour@smile.fr>
---
support/testing/tests/boot/test_atf.py | 25 -------------------------
1 file changed, 25 deletions(-)
diff --git a/support/testing/tests/boot/test_atf.py b/support/testing/tests/boot/test_atf.py
index 1995f83a54..352725e721 100644
--- a/support/testing/tests/boot/test_atf.py
+++ b/support/testing/tests/boot/test_atf.py
@@ -1,31 +1,6 @@
import infra.basetest
-class TestATFVexpress(infra.basetest.BRTest):
- config = \
- """
- BR2_aarch64=y
- BR2_TOOLCHAIN_EXTERNAL=y
- BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64=y
- BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
- BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y
- BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/ARM-software/arm-trusted-firmware.git"
- BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="v2.5"
- BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="juno"
- BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP=y
- BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33=y
- BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_DTC=y
- BR2_TARGET_UBOOT=y
- BR2_TARGET_UBOOT_BOARDNAME="vexpress_aemv8a_juno"
- BR2_TARGET_UBOOT_CUSTOM_VERSION=y
- BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.07"
- BR2_TARGET_VEXPRESS_FIRMWARE=y
- """
-
- def test_run(self):
- pass
-
-
class TestATFAllwinner(infra.basetest.BRTest):
config = \
"""
--
2.44.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [Buildroot] [PATCH] package/python-pypng: add missing python3-zlib dependency
2024-04-10 22:18 [Buildroot] [PATCH] package/python-pypng: add missing python3-zlib dependency Romain Naour
2024-04-10 22:18 ` [Buildroot] [PATCH] support/testing: sync TestATFAllwinner with orangepi_zero_plus2_defconfig Romain Naour
2024-04-10 22:18 ` [Buildroot] [PATCH] support/testing: remove TestATFVexpress Romain Naour
@ 2024-04-11 4:35 ` Yann E. MORIN
2024-05-06 21:02 ` Peter Korsgaard
3 siblings, 0 replies; 7+ messages in thread
From: Yann E. MORIN @ 2024-04-11 4:35 UTC (permalink / raw)
To: Romain Naour; +Cc: James Hilliard, buildroot
Romain, All,
On 2024-04-11 00:18 +0200, Romain Naour spake thusly:
> png.py import zlib [1] so python3-zlib needs to be installed at
> runtime.
>
> [1] https://gitlab.com/drj11/pypng/-/blob/pypng-0.20220715.0/code/png.py?ref_type=tags#L185
>
> Fixes:
> https://gitlab.com/buildroot.org/buildroot/-/jobs/6477656971 (TestPythonPy3Qrcode)
>
> Cc: James Hilliard <james.hilliard1@gmail.com>
> Signed-off-by: Romain Naour <romain.naour@smile.fr>
Applied to master, thanks.
Regards,
Yann E. MORIN.
> ---
> package/python-pypng/Config.in | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/package/python-pypng/Config.in b/package/python-pypng/Config.in
> index c1ed405615..952b46c2c5 100644
> --- a/package/python-pypng/Config.in
> +++ b/package/python-pypng/Config.in
> @@ -1,5 +1,6 @@
> config BR2_PACKAGE_PYTHON_PYPNG
> bool "python-pypng"
> + select BR2_PACKAGE_PYTHON3_ZLIB # runtime
> help
> Pure Python library for saving and loading PNG images.
>
> --
> 2.44.0
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Buildroot] [PATCH] support/testing: sync TestATFAllwinner with orangepi_zero_plus2_defconfig
2024-04-10 22:18 ` [Buildroot] [PATCH] support/testing: sync TestATFAllwinner with orangepi_zero_plus2_defconfig Romain Naour
@ 2024-04-11 4:36 ` Yann E. MORIN
0 siblings, 0 replies; 7+ messages in thread
From: Yann E. MORIN @ 2024-04-11 4:36 UTC (permalink / raw)
To: Romain Naour; +Cc: buildroot
Romain, All,
On 2024-04-11 00:18 +0200, Romain Naour spake thusly:
> u-boot-2021.04 seems to be broken when pylibfdt support is enabled
> and the latest python3/setuptools are used.
>
> Since the TestATFAllwinner is using bananapi_m64 as u-boot defconfig
> but the Buildroot defconfig of this board was removed in 2022.11 [1]
> update TestATFAllwinner to use a newer BSP. Use the one provided
> by orangepi_zero_plus2_defconfig.
>
> [1] daf3c6661f823e566b6310042884c36c1d73f1de
>
> Fixes:
> https://gitlab.com/buildroot.org/buildroot/-/jobs/6477656317 (TestATFAllwinner)
>
> Signed-off-by: Romain Naour <romain.naour@smile.fr>
Applied to master, thanks.
Regards,
Yann E. MORIN.
> ---
> support/testing/tests/boot/test_atf.py | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/support/testing/tests/boot/test_atf.py b/support/testing/tests/boot/test_atf.py
> index 4fcb9b241c..1995f83a54 100644
> --- a/support/testing/tests/boot/test_atf.py
> +++ b/support/testing/tests/boot/test_atf.py
> @@ -34,15 +34,15 @@ class TestATFAllwinner(infra.basetest.BRTest):
> BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64=y
> BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
> BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y
> - BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.5"
> + BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.9"
> BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_a64"
> # BR2_TARGET_ARM_TRUSTED_FIRMWARE_SSP is not set
> BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y
> BR2_TARGET_UBOOT=y
> BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
> BR2_TARGET_UBOOT_CUSTOM_VERSION=y
> - BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04"
> - BR2_TARGET_UBOOT_BOARD_DEFCONFIG="bananapi_m64"
> + BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.10"
> + BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_zero_plus2"
> BR2_TARGET_UBOOT_NEEDS_DTC=y
> BR2_TARGET_UBOOT_NEEDS_PYTHON3=y
> BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
> --
> 2.44.0
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Buildroot] [PATCH] support/testing: remove TestATFVexpress
2024-04-10 22:18 ` [Buildroot] [PATCH] support/testing: remove TestATFVexpress Romain Naour
@ 2024-04-11 4:36 ` Yann E. MORIN
0 siblings, 0 replies; 7+ messages in thread
From: Yann E. MORIN @ 2024-04-11 4:36 UTC (permalink / raw)
To: Romain Naour; +Cc: buildroot
Romain, All,
On 2024-04-11 00:18 +0200, Romain Naour spake thusly:
> TestATFVexpress is using vexpress_aemv8a_juno as as u-boot defconfig
> but the Buildroot defconfig of this board was removed in 2022.11 [1]
>
> Since both TestATFVexpress and TestATFAllwinner are now using mainline
> ATF, we don't really need several ATF test anymore. Initially [2],
> several runtime test were added to test ATF/U-Boot combinations when
> ATF was provided by a vendor: vexpress (mainline), Allwinner and
> Marvell.
>
> Keep TestATFAllwinner as ATF mainline test.
>
> [1] 347c1087388d7782e6865f112f195e6780d473a7
> [2] 8cf3ce04e9c4a4c4685b80edd9e8e873fe44d8e8
>
> Signed-off-by: Romain Naour <romain.naour@smile.fr>
Applied to master, thanks.
Regards,
Yann E. MORIN.
> ---
> support/testing/tests/boot/test_atf.py | 25 -------------------------
> 1 file changed, 25 deletions(-)
>
> diff --git a/support/testing/tests/boot/test_atf.py b/support/testing/tests/boot/test_atf.py
> index 1995f83a54..352725e721 100644
> --- a/support/testing/tests/boot/test_atf.py
> +++ b/support/testing/tests/boot/test_atf.py
> @@ -1,31 +1,6 @@
> import infra.basetest
>
>
> -class TestATFVexpress(infra.basetest.BRTest):
> - config = \
> - """
> - BR2_aarch64=y
> - BR2_TOOLCHAIN_EXTERNAL=y
> - BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64=y
> - BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
> - BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y
> - BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/ARM-software/arm-trusted-firmware.git"
> - BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="v2.5"
> - BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="juno"
> - BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP=y
> - BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33=y
> - BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_DTC=y
> - BR2_TARGET_UBOOT=y
> - BR2_TARGET_UBOOT_BOARDNAME="vexpress_aemv8a_juno"
> - BR2_TARGET_UBOOT_CUSTOM_VERSION=y
> - BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.07"
> - BR2_TARGET_VEXPRESS_FIRMWARE=y
> - """
> -
> - def test_run(self):
> - pass
> -
> -
> class TestATFAllwinner(infra.basetest.BRTest):
> config = \
> """
> --
> 2.44.0
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Buildroot] [PATCH] package/python-pypng: add missing python3-zlib dependency
2024-04-10 22:18 [Buildroot] [PATCH] package/python-pypng: add missing python3-zlib dependency Romain Naour
` (2 preceding siblings ...)
2024-04-11 4:35 ` [Buildroot] [PATCH] package/python-pypng: add missing python3-zlib dependency Yann E. MORIN
@ 2024-05-06 21:02 ` Peter Korsgaard
3 siblings, 0 replies; 7+ messages in thread
From: Peter Korsgaard @ 2024-05-06 21:02 UTC (permalink / raw)
To: Romain Naour; +Cc: James Hilliard, buildroot
>>>>> "Romain" == Romain Naour <romain.naour@smile.fr> writes:
> png.py import zlib [1] so python3-zlib needs to be installed at
> runtime.
> [1] https://gitlab.com/drj11/pypng/-/blob/pypng-0.20220715.0/code/png.py?ref_type=tags#L185
> Fixes:
> https://gitlab.com/buildroot.org/buildroot/-/jobs/6477656971 (TestPythonPy3Qrcode)
> Cc: James Hilliard <james.hilliard1@gmail.com>
> Signed-off-by: Romain Naour <romain.naour@smile.fr>
Committed to 2024.02.x, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2024-05-06 21:02 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-10 22:18 [Buildroot] [PATCH] package/python-pypng: add missing python3-zlib dependency Romain Naour
2024-04-10 22:18 ` [Buildroot] [PATCH] support/testing: sync TestATFAllwinner with orangepi_zero_plus2_defconfig Romain Naour
2024-04-11 4:36 ` Yann E. MORIN
2024-04-10 22:18 ` [Buildroot] [PATCH] support/testing: remove TestATFVexpress Romain Naour
2024-04-11 4:36 ` Yann E. MORIN
2024-04-11 4:35 ` [Buildroot] [PATCH] package/python-pypng: add missing python3-zlib dependency Yann E. MORIN
2024-05-06 21:02 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox