All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 0/6] Fix gitlab CI build failure due to missing HOST_ dependencies
@ 2022-02-01 23:04 Giulio Benetti
  2022-02-01 23:04 ` [Buildroot] [PATCH v2 1/6] configs/bananapi_m2_ultra_defconfig: u-boot needs host python3 and host openssl Giulio Benetti
                   ` (6 more replies)
  0 siblings, 7 replies; 22+ messages in thread
From: Giulio Benetti @ 2022-02-01 23:04 UTC (permalink / raw)
  To: buildroot
  Cc: Eugen Hristev, Ludovic Desroches, Giulio Benetti, Lothar Felten,
	Thomas Petazzoni

This patchset fixes the gitlab build failure due to HOST_ dependencies(uboot/linux).

V1->V2:
* add missing host openssl for linux on microchip_sama7g5ek_mmc_defconfig/_dev_defconfig

Giulio Benetti (6):
  configs/bananapi_m2_ultra_defconfig: u-boot needs host python3 and
    host openssl
  configs/beaglev_defconfig: linux needs host openssl
  configs/microchip_sama5d2_icp_mmc_defconfig: linux needs host openssl
  configs/microchip_sama5d2_icp_mmc_dev_defconfig: linux needs host
    openssl
  configs/microchip_sama7g5ek_mmc_defconfig: add missing
    BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15 and host openssl for
    linux
  configs/microchip_sama7g5ek_mmc_dev_defconfig: add missing
    BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15 and host openssl for
    linux

 configs/bananapi_m2_ultra_defconfig             | 2 ++
 configs/beaglev_defconfig                       | 1 +
 configs/microchip_sama5d2_icp_mmc_defconfig     | 1 +
 configs/microchip_sama5d2_icp_mmc_dev_defconfig | 1 +
 configs/microchip_sama7g5ek_mmc_defconfig       | 2 ++
 configs/microchip_sama7g5ek_mmc_dev_defconfig   | 2 ++
 6 files changed, 9 insertions(+)

-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH v2 1/6] configs/bananapi_m2_ultra_defconfig: u-boot needs host python3 and host openssl
  2022-02-01 23:04 [Buildroot] [PATCH v2 0/6] Fix gitlab CI build failure due to missing HOST_ dependencies Giulio Benetti
@ 2022-02-01 23:04 ` Giulio Benetti
  2022-02-01 23:04 ` [Buildroot] [PATCH v2 2/6] configs/beaglev_defconfig: linux needs " Giulio Benetti
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 22+ messages in thread
From: Giulio Benetti @ 2022-02-01 23:04 UTC (permalink / raw)
  To: buildroot
  Cc: Eugen Hristev, Ludovic Desroches, Giulio Benetti, Lothar Felten,
	Thomas Petazzoni

Fixes:
https://gitlab.com/ymorin/buildroot/-/jobs/2035820967

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
---
 configs/bananapi_m2_ultra_defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configs/bananapi_m2_ultra_defconfig b/configs/bananapi_m2_ultra_defconfig
index 67ecec424c..2ec0e60e8d 100644
--- a/configs/bananapi_m2_ultra_defconfig
+++ b/configs/bananapi_m2_ultra_defconfig
@@ -19,7 +19,9 @@ BR2_TARGET_UBOOT_CUSTOM_VERSION=y
 BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="bananapi_m2_berry"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
+BR2_TARGET_UBOOT_NEEDS_PYTHON3=y
 BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
+BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
 BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
 BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin"
 BR2_PACKAGE_HOST_DOSFSTOOLS=y
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH v2 2/6] configs/beaglev_defconfig: linux needs host openssl
  2022-02-01 23:04 [Buildroot] [PATCH v2 0/6] Fix gitlab CI build failure due to missing HOST_ dependencies Giulio Benetti
  2022-02-01 23:04 ` [Buildroot] [PATCH v2 1/6] configs/bananapi_m2_ultra_defconfig: u-boot needs host python3 and host openssl Giulio Benetti
@ 2022-02-01 23:04 ` Giulio Benetti
  2022-02-01 23:04 ` [Buildroot] [PATCH v2 3/6] configs/microchip_sama5d2_icp_mmc_defconfig: " Giulio Benetti
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 22+ messages in thread
From: Giulio Benetti @ 2022-02-01 23:04 UTC (permalink / raw)
  To: buildroot
  Cc: Eugen Hristev, Ludovic Desroches, Giulio Benetti, Lothar Felten,
	Thomas Petazzoni

Fixes:
https://gitlab.com/ymorin/buildroot/-/jobs/2035820979

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
---
 configs/beaglev_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/beaglev_defconfig b/configs/beaglev_defconfig
index 70459bf3e8..79af8c2ece 100644
--- a/configs/beaglev_defconfig
+++ b/configs/beaglev_defconfig
@@ -16,6 +16,7 @@ BR2_LINUX_KERNEL_DEFCONFIG="starlight"
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="starfive/jh7100-beaglev-starlight"
 BR2_LINUX_KERNEL_INSTALL_TARGET=y
+BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
 BR2_TARGET_ROOTFS_EXT2=y
 BR2_TARGET_ROOTFS_EXT2_4=y
 # BR2_TARGET_ROOTFS_TAR is not set
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH v2 3/6] configs/microchip_sama5d2_icp_mmc_defconfig: linux needs host openssl
  2022-02-01 23:04 [Buildroot] [PATCH v2 0/6] Fix gitlab CI build failure due to missing HOST_ dependencies Giulio Benetti
  2022-02-01 23:04 ` [Buildroot] [PATCH v2 1/6] configs/bananapi_m2_ultra_defconfig: u-boot needs host python3 and host openssl Giulio Benetti
  2022-02-01 23:04 ` [Buildroot] [PATCH v2 2/6] configs/beaglev_defconfig: linux needs " Giulio Benetti
@ 2022-02-01 23:04 ` Giulio Benetti
  2022-02-01 23:06   ` Giulio Benetti
  2022-02-01 23:04 ` [Buildroot] [PATCH v2 4/6] configs/microchip_sama5d2_icp_mmc_dev_defconfig: " Giulio Benetti
                   ` (3 subsequent siblings)
  6 siblings, 1 reply; 22+ messages in thread
From: Giulio Benetti @ 2022-02-01 23:04 UTC (permalink / raw)
  To: buildroot
  Cc: Eugen Hristev, Ludovic Desroches, Giulio Benetti, Lothar Felten,
	Thomas Petazzoni

Fixes:
https://gitlab.com/ymorin/buildroot/-/jobs/2035821094

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
---
 configs/microchip_sama5d2_icp_mmc_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/microchip_sama5d2_icp_mmc_defconfig b/configs/microchip_sama5d2_icp_mmc_defconfig
index 4bb3625f83..27ea4970f1 100644
--- a/configs/microchip_sama5d2_icp_mmc_defconfig
+++ b/configs/microchip_sama5d2_icp_mmc_defconfig
@@ -12,6 +12,7 @@ BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,li
 BR2_LINUX_KERNEL_DEFCONFIG="sama5"
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d2_icp"
+BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
 BR2_TARGET_ROOTFS_EXT2=y
 BR2_TARGET_ROOTFS_EXT2_4=y
 BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH v2 4/6] configs/microchip_sama5d2_icp_mmc_dev_defconfig: linux needs host openssl
  2022-02-01 23:04 [Buildroot] [PATCH v2 0/6] Fix gitlab CI build failure due to missing HOST_ dependencies Giulio Benetti
                   ` (2 preceding siblings ...)
  2022-02-01 23:04 ` [Buildroot] [PATCH v2 3/6] configs/microchip_sama5d2_icp_mmc_defconfig: " Giulio Benetti
@ 2022-02-01 23:04 ` Giulio Benetti
  2022-02-01 23:04 ` [Buildroot] [PATCH v2 5/6] configs/microchip_sama7g5ek_mmc_defconfig: add missing BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15 and host openssl for linux Giulio Benetti
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 22+ messages in thread
From: Giulio Benetti @ 2022-02-01 23:04 UTC (permalink / raw)
  To: buildroot
  Cc: Eugen Hristev, Ludovic Desroches, Giulio Benetti, Lothar Felten,
	Thomas Petazzoni

Fixes:
https://gitlab.com/ymorin/buildroot/-/jobs/2035821096

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
---
 configs/microchip_sama5d2_icp_mmc_dev_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/microchip_sama5d2_icp_mmc_dev_defconfig b/configs/microchip_sama5d2_icp_mmc_dev_defconfig
index 052d9e032c..27d1d3409d 100644
--- a/configs/microchip_sama5d2_icp_mmc_dev_defconfig
+++ b/configs/microchip_sama5d2_icp_mmc_dev_defconfig
@@ -16,6 +16,7 @@ BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,li
 BR2_LINUX_KERNEL_DEFCONFIG="sama5"
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d2_icp"
+BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
 BR2_PACKAGE_LINUX_TOOLS_IIO=y
 BR2_PACKAGE_BZIP2=y
 BR2_PACKAGE_XZ=y
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH v2 5/6] configs/microchip_sama7g5ek_mmc_defconfig: add missing BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15 and host openssl for linux
  2022-02-01 23:04 [Buildroot] [PATCH v2 0/6] Fix gitlab CI build failure due to missing HOST_ dependencies Giulio Benetti
                   ` (3 preceding siblings ...)
  2022-02-01 23:04 ` [Buildroot] [PATCH v2 4/6] configs/microchip_sama5d2_icp_mmc_dev_defconfig: " Giulio Benetti
@ 2022-02-01 23:04 ` Giulio Benetti
  2022-02-06 10:50   ` Thomas Petazzoni via buildroot
  2022-02-01 23:04 ` [Buildroot] [PATCH v2 6/6] configs/microchip_sama7g5ek_mmc_dev_defconfig: " Giulio Benetti
  2022-02-06 10:51 ` [Buildroot] [PATCH v2 0/6] Fix gitlab CI build failure due to missing HOST_ dependencies Thomas Petazzoni via buildroot
  6 siblings, 1 reply; 22+ messages in thread
From: Giulio Benetti @ 2022-02-01 23:04 UTC (permalink / raw)
  To: buildroot
  Cc: Eugen Hristev, Ludovic Desroches, Giulio Benetti, Lothar Felten,
	Thomas Petazzoni

Fixes:
https://gitlab.com/ymorin/buildroot/-/jobs/2035821098

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
---
V1->V2:
* add host openssl linux
---
 configs/microchip_sama7g5ek_mmc_defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configs/microchip_sama7g5ek_mmc_defconfig b/configs/microchip_sama7g5ek_mmc_defconfig
index b1cd193829..df48c0880b 100644
--- a/configs/microchip_sama7g5ek_mmc_defconfig
+++ b/configs/microchip_sama7g5ek_mmc_defconfig
@@ -1,12 +1,14 @@
 BR2_arm=y
 BR2_cortex_a7=y
 BR2_ARM_FPU_NEON_VFPV4=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y
 BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
 BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/microchip/sama7g5ek/genimage.cfg"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_DEFCONFIG="sama7"
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama7g5ek"
+BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
 BR2_TARGET_ROOTFS_EXT2=y
 BR2_TARGET_ROOTFS_EXT2_4=y
 BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH v2 6/6] configs/microchip_sama7g5ek_mmc_dev_defconfig: add missing BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15 and host openssl for linux
  2022-02-01 23:04 [Buildroot] [PATCH v2 0/6] Fix gitlab CI build failure due to missing HOST_ dependencies Giulio Benetti
                   ` (4 preceding siblings ...)
  2022-02-01 23:04 ` [Buildroot] [PATCH v2 5/6] configs/microchip_sama7g5ek_mmc_defconfig: add missing BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15 and host openssl for linux Giulio Benetti
@ 2022-02-01 23:04 ` Giulio Benetti
  2022-02-06 10:50   ` Thomas Petazzoni via buildroot
  2022-02-06 10:51 ` [Buildroot] [PATCH v2 0/6] Fix gitlab CI build failure due to missing HOST_ dependencies Thomas Petazzoni via buildroot
  6 siblings, 1 reply; 22+ messages in thread
From: Giulio Benetti @ 2022-02-01 23:04 UTC (permalink / raw)
  To: buildroot
  Cc: Eugen Hristev, Ludovic Desroches, Giulio Benetti, Lothar Felten,
	Thomas Petazzoni

Fixes:
https://gitlab.com/ymorin/buildroot/-/jobs/2035821100

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
---
V1->V2:
* add host openssl linux
---
 configs/microchip_sama7g5ek_mmc_dev_defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configs/microchip_sama7g5ek_mmc_dev_defconfig b/configs/microchip_sama7g5ek_mmc_dev_defconfig
index 3253bce401..d34192b66d 100644
--- a/configs/microchip_sama7g5ek_mmc_dev_defconfig
+++ b/configs/microchip_sama7g5ek_mmc_dev_defconfig
@@ -1,6 +1,7 @@
 BR2_arm=y
 BR2_cortex_a7=y
 BR2_ARM_FPU_NEON_VFPV4=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y
 BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
 BR2_PTHREAD_DEBUG=y
 BR2_TOOLCHAIN_BUILDROOT_CXX=y
@@ -11,6 +12,7 @@ BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_DEFCONFIG="sama7"
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama7g5ek"
+BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
 BR2_PACKAGE_LINUX_TOOLS_IIO=y
 BR2_PACKAGE_BZIP2=y
 BR2_PACKAGE_XZ=y
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH v2 3/6] configs/microchip_sama5d2_icp_mmc_defconfig: linux needs host openssl
  2022-02-01 23:04 ` [Buildroot] [PATCH v2 3/6] configs/microchip_sama5d2_icp_mmc_defconfig: " Giulio Benetti
@ 2022-02-01 23:06   ` Giulio Benetti
  0 siblings, 0 replies; 22+ messages in thread
From: Giulio Benetti @ 2022-02-01 23:06 UTC (permalink / raw)
  To: buildroot
  Cc: Eugen Hristev, Ludovic Desroches, Michael Nazzareno Trimarchi,
	Thomas Petazzoni, Lothar Felten

On 02/02/22 00:04, Giulio Benetti wrote:
> Fixes:
> https://gitlab.com/ymorin/buildroot/-/jobs/2035821094
> 
> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>

I've left back this:
Reviewed-by: Michael Trimarchi <michael@amarulasolutions.com>

Best regards
-- 
Giulio Benetti
Benetti Engineering sas

> ---
>   configs/microchip_sama5d2_icp_mmc_defconfig | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/configs/microchip_sama5d2_icp_mmc_defconfig b/configs/microchip_sama5d2_icp_mmc_defconfig
> index 4bb3625f83..27ea4970f1 100644
> --- a/configs/microchip_sama5d2_icp_mmc_defconfig
> +++ b/configs/microchip_sama5d2_icp_mmc_defconfig
> @@ -12,6 +12,7 @@ BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,li
>   BR2_LINUX_KERNEL_DEFCONFIG="sama5"
>   BR2_LINUX_KERNEL_DTS_SUPPORT=y
>   BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d2_icp"
> +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
>   BR2_TARGET_ROOTFS_EXT2=y
>   BR2_TARGET_ROOTFS_EXT2_4=y
>   BR2_TARGET_ROOTFS_EXT2_SIZE="120M"

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH v2 5/6] configs/microchip_sama7g5ek_mmc_defconfig: add missing BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15 and host openssl for linux
  2022-02-01 23:04 ` [Buildroot] [PATCH v2 5/6] configs/microchip_sama7g5ek_mmc_defconfig: add missing BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15 and host openssl for linux Giulio Benetti
@ 2022-02-06 10:50   ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 22+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-02-06 10:50 UTC (permalink / raw)
  To: Giulio Benetti; +Cc: Eugen Hristev, Ludovic Desroches, Lothar Felten, buildroot

On Wed,  2 Feb 2022 00:04:13 +0100
Giulio Benetti <giulio.benetti@benettiengineering.com> wrote:

> Fixes:
> https://gitlab.com/ymorin/buildroot/-/jobs/2035821098
> 
> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
> ---
> V1->V2:
> * add host openssl linux
> ---
>  configs/microchip_sama7g5ek_mmc_defconfig | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/configs/microchip_sama7g5ek_mmc_defconfig b/configs/microchip_sama7g5ek_mmc_defconfig
> index b1cd193829..df48c0880b 100644
> --- a/configs/microchip_sama7g5ek_mmc_defconfig
> +++ b/configs/microchip_sama7g5ek_mmc_defconfig
> @@ -1,12 +1,14 @@
>  BR2_arm=y
>  BR2_cortex_a7=y
>  BR2_ARM_FPU_NEON_VFPV4=y
> +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y

This will continue to break: the big problem in this defconfig is that
the kernel version is not defined as a fixed version.

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH v2 6/6] configs/microchip_sama7g5ek_mmc_dev_defconfig: add missing BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15 and host openssl for linux
  2022-02-01 23:04 ` [Buildroot] [PATCH v2 6/6] configs/microchip_sama7g5ek_mmc_dev_defconfig: " Giulio Benetti
@ 2022-02-06 10:50   ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 22+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-02-06 10:50 UTC (permalink / raw)
  To: Giulio Benetti; +Cc: Eugen Hristev, Ludovic Desroches, Lothar Felten, buildroot

On Wed,  2 Feb 2022 00:04:14 +0100
Giulio Benetti <giulio.benetti@benettiengineering.com> wrote:

> Fixes:
> https://gitlab.com/ymorin/buildroot/-/jobs/2035821100
> 
> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
> ---
> V1->V2:
> * add host openssl linux
> ---
>  configs/microchip_sama7g5ek_mmc_dev_defconfig | 2 ++
>  1 file changed, 2 insertions(+)

Same problem as PATCH 5/6: the kernel version should be defined as a
fixed version.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH v2 0/6] Fix gitlab CI build failure due to missing HOST_ dependencies
  2022-02-01 23:04 [Buildroot] [PATCH v2 0/6] Fix gitlab CI build failure due to missing HOST_ dependencies Giulio Benetti
                   ` (5 preceding siblings ...)
  2022-02-01 23:04 ` [Buildroot] [PATCH v2 6/6] configs/microchip_sama7g5ek_mmc_dev_defconfig: " Giulio Benetti
@ 2022-02-06 10:51 ` Thomas Petazzoni via buildroot
  2022-02-06 11:26   ` [Buildroot] [PATCH v3 0/2] " Giulio Benetti
  6 siblings, 1 reply; 22+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-02-06 10:51 UTC (permalink / raw)
  To: Giulio Benetti; +Cc: Eugen Hristev, Ludovic Desroches, Lothar Felten, buildroot

On Wed,  2 Feb 2022 00:04:08 +0100
Giulio Benetti <giulio.benetti@benettiengineering.com> wrote:

>   configs/bananapi_m2_ultra_defconfig: u-boot needs host python3 and
>     host openssl
>   configs/beaglev_defconfig: linux needs host openssl
>   configs/microchip_sama5d2_icp_mmc_defconfig: linux needs host openssl
>   configs/microchip_sama5d2_icp_mmc_dev_defconfig: linux needs host
>     openssl

These four are applied.

>   configs/microchip_sama7g5ek_mmc_defconfig: add missing
>     BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15 and host openssl for
>     linux
>   configs/microchip_sama7g5ek_mmc_dev_defconfig: add missing
>     BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15 and host openssl for
>     linux

These two have issues, marked as Changes Requested.

Thanks!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH v3 0/2] Fix gitlab CI build failure due to missing HOST_ dependencies
  2022-02-06 10:51 ` [Buildroot] [PATCH v2 0/6] Fix gitlab CI build failure due to missing HOST_ dependencies Thomas Petazzoni via buildroot
@ 2022-02-06 11:26   ` Giulio Benetti
  2022-02-06 11:26     ` [Buildroot] [PATCH v3 1/2] configs/microchip_sama7g5ek_mmc_defconfig: set custom linux version to 5.15.21 and add host openssl for linux Giulio Benetti
                       ` (2 more replies)
  0 siblings, 3 replies; 22+ messages in thread
From: Giulio Benetti @ 2022-02-06 11:26 UTC (permalink / raw)
  To: buildroot
  Cc: Eugen Hristev, Ludovic Desroches, Giulio Benetti, Thomas Petazzoni

This patchset fixes the gitlab build failure due to HOST_ dependencies(uboot/linux).

V1->V2:
* add missing host openssl for linux on microchip_sama7g5ek_mmc_defconfig/_dev_defconfig
V2->V3:
* add specific custom linux version as suggested by Thomas

Giulio Benetti (2):
  configs/microchip_sama7g5ek_mmc_defconfig: set custom linux version to
    5.15.21 and add host openssl for linux
  configs/microchip_sama7g5ek_mmc_dev_defconfig: set custom linux
    version to 5.15.21 and add host openssl for linux

 configs/microchip_sama7g5ek_mmc_defconfig     | 4 ++++
 configs/microchip_sama7g5ek_mmc_dev_defconfig | 4 ++++
 2 files changed, 8 insertions(+)

-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH v3 1/2] configs/microchip_sama7g5ek_mmc_defconfig: set custom linux version to 5.15.21 and add host openssl for linux
  2022-02-06 11:26   ` [Buildroot] [PATCH v3 0/2] " Giulio Benetti
@ 2022-02-06 11:26     ` Giulio Benetti
  2022-02-06 12:16       ` Thomas Petazzoni via buildroot
  2022-02-06 11:26     ` [Buildroot] [PATCH v3 2/2] configs/microchip_sama7g5ek_mmc_dev_defconfig: " Giulio Benetti
  2022-02-12 22:17     ` [Buildroot] [PATCH v3 0/2] Fix gitlab CI build failure due to missing HOST_ dependencies Arnout Vandecappelle
  2 siblings, 1 reply; 22+ messages in thread
From: Giulio Benetti @ 2022-02-06 11:26 UTC (permalink / raw)
  To: buildroot
  Cc: Eugen Hristev, Ludovic Desroches, Giulio Benetti, Thomas Petazzoni

Fixes:
https://gitlab.com/ymorin/buildroot/-/jobs/2035821098

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
---
V1->V2:
* add host openssl linux
V2->V3:
* set custom linux version as suggested by Thomas
---
 configs/microchip_sama7g5ek_mmc_defconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configs/microchip_sama7g5ek_mmc_defconfig b/configs/microchip_sama7g5ek_mmc_defconfig
index b1cd193829..7ab81d1dd0 100644
--- a/configs/microchip_sama7g5ek_mmc_defconfig
+++ b/configs/microchip_sama7g5ek_mmc_defconfig
@@ -1,12 +1,16 @@
 BR2_arm=y
 BR2_cortex_a7=y
 BR2_ARM_FPU_NEON_VFPV4=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y
 BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
 BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/microchip/sama7g5ek/genimage.cfg"
 BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.21"
 BR2_LINUX_KERNEL_DEFCONFIG="sama7"
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama7g5ek"
+BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
 BR2_TARGET_ROOTFS_EXT2=y
 BR2_TARGET_ROOTFS_EXT2_4=y
 BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH v3 2/2] configs/microchip_sama7g5ek_mmc_dev_defconfig: set custom linux version to 5.15.21 and add host openssl for linux
  2022-02-06 11:26   ` [Buildroot] [PATCH v3 0/2] " Giulio Benetti
  2022-02-06 11:26     ` [Buildroot] [PATCH v3 1/2] configs/microchip_sama7g5ek_mmc_defconfig: set custom linux version to 5.15.21 and add host openssl for linux Giulio Benetti
@ 2022-02-06 11:26     ` Giulio Benetti
  2022-02-07  8:53       ` Eugen.Hristev--- via buildroot
  2022-02-12 22:17     ` [Buildroot] [PATCH v3 0/2] Fix gitlab CI build failure due to missing HOST_ dependencies Arnout Vandecappelle
  2 siblings, 1 reply; 22+ messages in thread
From: Giulio Benetti @ 2022-02-06 11:26 UTC (permalink / raw)
  To: buildroot
  Cc: Eugen Hristev, Ludovic Desroches, Giulio Benetti, Thomas Petazzoni

Fixes:
https://gitlab.com/ymorin/buildroot/-/jobs/2035821100

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
---
V1->V2:
* add host openssl linux
V2->V3:
* set custom linux version as suggested by Thomas
---
 configs/microchip_sama7g5ek_mmc_dev_defconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configs/microchip_sama7g5ek_mmc_dev_defconfig b/configs/microchip_sama7g5ek_mmc_dev_defconfig
index 3253bce401..c11ea2f518 100644
--- a/configs/microchip_sama7g5ek_mmc_dev_defconfig
+++ b/configs/microchip_sama7g5ek_mmc_dev_defconfig
@@ -1,6 +1,7 @@
 BR2_arm=y
 BR2_cortex_a7=y
 BR2_ARM_FPU_NEON_VFPV4=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y
 BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
 BR2_PTHREAD_DEBUG=y
 BR2_TOOLCHAIN_BUILDROOT_CXX=y
@@ -8,9 +9,12 @@ BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
 BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
 BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/microchip/sama7g5ek/genimage.cfg"
 BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.21"
 BR2_LINUX_KERNEL_DEFCONFIG="sama7"
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama7g5ek"
+BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
 BR2_PACKAGE_LINUX_TOOLS_IIO=y
 BR2_PACKAGE_BZIP2=y
 BR2_PACKAGE_XZ=y
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH v3 1/2] configs/microchip_sama7g5ek_mmc_defconfig: set custom linux version to 5.15.21 and add host openssl for linux
  2022-02-06 11:26     ` [Buildroot] [PATCH v3 1/2] configs/microchip_sama7g5ek_mmc_defconfig: set custom linux version to 5.15.21 and add host openssl for linux Giulio Benetti
@ 2022-02-06 12:16       ` Thomas Petazzoni via buildroot
  2022-02-06 14:25         ` Giulio Benetti
  0 siblings, 1 reply; 22+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-02-06 12:16 UTC (permalink / raw)
  To: Giulio Benetti; +Cc: Eugen Hristev, Ludovic Desroches, buildroot

On Sun,  6 Feb 2022 12:26:19 +0100
Giulio Benetti <giulio.benetti@benettiengineering.com> wrote:

> Fixes:
> https://gitlab.com/ymorin/buildroot/-/jobs/2035821098
> 
> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>

Did you actually test on HW that 5.15.21 was working? Shouldn't this be
done by the original submitter of the defconfig.

Eugen, Ludovic?

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH v3 1/2] configs/microchip_sama7g5ek_mmc_defconfig: set custom linux version to 5.15.21 and add host openssl for linux
  2022-02-06 12:16       ` Thomas Petazzoni via buildroot
@ 2022-02-06 14:25         ` Giulio Benetti
  2022-02-06 19:39           ` Eugen.Hristev--- via buildroot
  0 siblings, 1 reply; 22+ messages in thread
From: Giulio Benetti @ 2022-02-06 14:25 UTC (permalink / raw)
  To: Thomas Petazzoni; +Cc: Eugen Hristev, Ludovic Desroches, buildroot

Hi Thomas,

On 06/02/22 13:16, Thomas Petazzoni wrote:
> On Sun,  6 Feb 2022 12:26:19 +0100
> Giulio Benetti <giulio.benetti@benettiengineering.com> wrote:
> 
>> Fixes:
>> https://gitlab.com/ymorin/buildroot/-/jobs/2035821098
>>
>> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
> 
> Did you actually test on HW that 5.15.21 was working? 

Unfortunately I don't have board, so no.

> Shouldn't this be
> done by the original submitter of the defconfig.
> 
> Eugen, Ludovic?

It would be great to have it tested. Both, this and the 
microchip_sama7g5ek_mmc_dev_defconfig too.

Best regards
-- 
Giulio Benetti
Benetti Engineering sas
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH v3 1/2] configs/microchip_sama7g5ek_mmc_defconfig: set custom linux version to 5.15.21 and add host openssl for linux
  2022-02-06 14:25         ` Giulio Benetti
@ 2022-02-06 19:39           ` Eugen.Hristev--- via buildroot
  2022-02-06 19:51             ` Giulio Benetti
  0 siblings, 1 reply; 22+ messages in thread
From: Eugen.Hristev--- via buildroot @ 2022-02-06 19:39 UTC (permalink / raw)
  To: giulio.benetti, thomas.petazzoni; +Cc: Ludovic.Desroches, buildroot

On 2/6/22 4:25 PM, Giulio Benetti wrote:
> Hi Thomas,
> 
> On 06/02/22 13:16, Thomas Petazzoni wrote:
>> On Sun,  6 Feb 2022 12:26:19 +0100
>> Giulio Benetti <giulio.benetti@benettiengineering.com> wrote:
>>
>>> Fixes:
>>> https://gitlab.com/ymorin/buildroot/-/jobs/2035821098
>>>
>>> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
>>
>> Did you actually test on HW that 5.15.21 was working?
> 
> Unfortunately I don't have board, so no.
> 
>> Shouldn't this be
>> done by the original submitter of the defconfig.
>>
>> Eugen, Ludovic?

I can test it. Do you have a built already done with it on top that I 
could download ? (would certainly speed things up)

I do not really understand why we need to have a fixed kernel version.
This board works with latest LTS starting from 5.15. Can't buildroot 
just select that ?

And why just adding the missing dependency does not fix things.

(I remember buildroot had something like kernel latest version to pick up ).

Eugen

> 
> It would be great to have it tested. Both, this and the
> microchip_sama7g5ek_mmc_dev_defconfig too.
> 
> Best regards
> -- 
> Giulio Benetti
> Benetti Engineering sas

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH v3 1/2] configs/microchip_sama7g5ek_mmc_defconfig: set custom linux version to 5.15.21 and add host openssl for linux
  2022-02-06 19:39           ` Eugen.Hristev--- via buildroot
@ 2022-02-06 19:51             ` Giulio Benetti
  2022-02-07  8:44               ` Eugen.Hristev--- via buildroot
  0 siblings, 1 reply; 22+ messages in thread
From: Giulio Benetti @ 2022-02-06 19:51 UTC (permalink / raw)
  To: Eugen.Hristev, thomas.petazzoni; +Cc: Ludovic.Desroches, buildroot

Hi Eugen, Thomas, Ludovic,

On 06/02/22 20:39, Eugen.Hristev@microchip.com wrote:
> On 2/6/22 4:25 PM, Giulio Benetti wrote:
>> Hi Thomas,
>>
>> On 06/02/22 13:16, Thomas Petazzoni wrote:
>>> On Sun,  6 Feb 2022 12:26:19 +0100
>>> Giulio Benetti <giulio.benetti@benettiengineering.com> wrote:
>>>
>>>> Fixes:
>>>> https://gitlab.com/ymorin/buildroot/-/jobs/2035821098
>>>>
>>>> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
>>>
>>> Did you actually test on HW that 5.15.21 was working?
>>
>> Unfortunately I don't have board, so no.
>>
>>> Shouldn't this be
>>> done by the original submitter of the defconfig.
>>>
>>> Eugen, Ludovic?
> 
> I can test it. Do you have a built already done with it on top that I
> could download ? (would certainly speed things up)

Here are the 2 links with the prebuilt images for both boards:
https://www.dropbox.com/s/av9vz28459hakjl/microchip_sama7g5ek_mmc_dev-sdcard.img?dl=0
https://www.dropbox.com/s/77t2tru95f6l0wk/microchip_sama7g5ek_mmc-sdcard.img?dl=0

> I do not really understand why we need to have a fixed kernel version.
> This board works with latest LTS starting from 5.15. Can't buildroot
> just select that ?

It can't because otherwise, once Buildroot Latest Linux version gets 
bumped(like 5.16 etc.), your defconfig will be built with a new and 
untested Linux version(i.e 5.16). So we need to set a specific version, 
test it, commit it, and in the future we can bump it, wait for a HW 
testing, commit it etc.

> And why just adding the missing dependency does not fix things.

Because that only chooses the "Custom kernel headers series" and not 
Linux version, so once Latest version is bumped(i.e. to 5.16) it won't 
be valid anymore. The point here is that this:
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15
is needed because of these:
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.21"

and these ^^^ allow us to have a stable, HW tested defconfig.

> (I remember buildroot had something like kernel latest version to pick up ).

That is not what we want because of above explanation. It can result in 
a non working defconfig.

Best regards
-- 
Giulio Benetti
Benetti Engineering sas
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH v3 1/2] configs/microchip_sama7g5ek_mmc_defconfig: set custom linux version to 5.15.21 and add host openssl for linux
  2022-02-06 19:51             ` Giulio Benetti
@ 2022-02-07  8:44               ` Eugen.Hristev--- via buildroot
  0 siblings, 0 replies; 22+ messages in thread
From: Eugen.Hristev--- via buildroot @ 2022-02-07  8:44 UTC (permalink / raw)
  To: giulio.benetti, thomas.petazzoni; +Cc: Ludovic.Desroches, buildroot

On 2/6/22 9:51 PM, Giulio Benetti wrote:
> Hi Eugen, Thomas, Ludovic,
> 
> On 06/02/22 20:39, Eugen.Hristev@microchip.com wrote:
>> On 2/6/22 4:25 PM, Giulio Benetti wrote:
>>> Hi Thomas,
>>>
>>> On 06/02/22 13:16, Thomas Petazzoni wrote:
>>>> On Sun,  6 Feb 2022 12:26:19 +0100
>>>> Giulio Benetti <giulio.benetti@benettiengineering.com> wrote:
>>>>
>>>>> Fixes:
>>>>> https://gitlab.com/ymorin/buildroot/-/jobs/2035821098
>>>>>
>>>>> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
>>>>
>>>> Did you actually test on HW that 5.15.21 was working?
>>>
>>> Unfortunately I don't have board, so no.
>>>
>>>> Shouldn't this be
>>>> done by the original submitter of the defconfig.
>>>>
>>>> Eugen, Ludovic?
>>
>> I can test it. Do you have a built already done with it on top that I
>> could download ? (would certainly speed things up)
> 
> Here are the 2 links with the prebuilt images for both boards:
> https://www.dropbox.com/s/av9vz28459hakjl/microchip_sama7g5ek_mmc_dev-sdcard.img?dl=0 
> 
> https://www.dropbox.com/s/77t2tru95f6l0wk/microchip_sama7g5ek_mmc-sdcard.img?dl=0 
> 
> 
>> I do not really understand why we need to have a fixed kernel version.
>> This board works with latest LTS starting from 5.15. Can't buildroot
>> just select that ?
> 
> It can't because otherwise, once Buildroot Latest Linux version gets
> bumped(like 5.16 etc.), your defconfig will be built with a new and
> untested Linux version(i.e 5.16). So we need to set a specific version,
> test it, commit it, and in the future we can bump it, wait for a HW
> testing, commit it etc.
> 
>> And why just adding the missing dependency does not fix things.
> 
> Because that only chooses the "Custom kernel headers series" and not
> Linux version, so once Latest version is bumped(i.e. to 5.16) it won't
> be valid anymore. The point here is that this:
> BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15
> is needed because of these:
> BR2_LINUX_KERNEL_CUSTOM_VERSION=y
> BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.21"
> 
> and these ^^^ allow us to have a stable, HW tested defconfig.
> 
>> (I remember buildroot had something like kernel latest version to pick 
>> up ).
> 
> That is not what we want because of above explanation. It can result in
> a non working defconfig.

Booting Linux on physical CPU 0x0
Linux version 5.15.21 (br-user@73343cda1592) 
(arm-buildroot-linux-uclibcgnueabihf-gcc.br_real (Buildroot 
2021.11-1538-g036577d6b5) 10.3.0, GNU ld (GNU Binutils) 2.36.1) #1 Sun 
Feb 6 14:40:03 UTC 2022
CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c53c7d


# cat /etc/os-release
NAME=Buildroot
VERSION=2021.11-1538-g036577d6b5
ID=buildroot
VERSION_ID=2022.02-git
PRETTY_NAME="Buildroot 2022.02-git"
#


It looks to boot fine.

Tested-by: Eugen Hristev <eugen.hristev@microchip.com>

> 
> Best regards
> -- 
> Giulio Benetti
> Benetti Engineering sas

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH v3 2/2] configs/microchip_sama7g5ek_mmc_dev_defconfig: set custom linux version to 5.15.21 and add host openssl for linux
  2022-02-06 11:26     ` [Buildroot] [PATCH v3 2/2] configs/microchip_sama7g5ek_mmc_dev_defconfig: " Giulio Benetti
@ 2022-02-07  8:53       ` Eugen.Hristev--- via buildroot
  0 siblings, 0 replies; 22+ messages in thread
From: Eugen.Hristev--- via buildroot @ 2022-02-07  8:53 UTC (permalink / raw)
  To: giulio.benetti, buildroot; +Cc: Ludovic.Desroches, thomas.petazzoni

On 2/6/22 1:26 PM, Giulio Benetti wrote:
> Fixes:
> https://gitlab.com/ymorin/buildroot/-/jobs/2035821100
> 
> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
> ---
> V1->V2:
> * add host openssl linux
> V2->V3:
> * set custom linux version as suggested by Thomas
> ---
>   configs/microchip_sama7g5ek_mmc_dev_defconfig | 4 ++++
>   1 file changed, 4 insertions(+)
> 
> diff --git a/configs/microchip_sama7g5ek_mmc_dev_defconfig b/configs/microchip_sama7g5ek_mmc_dev_defconfig
> index 3253bce401..c11ea2f518 100644
> --- a/configs/microchip_sama7g5ek_mmc_dev_defconfig
> +++ b/configs/microchip_sama7g5ek_mmc_dev_defconfig
> @@ -1,6 +1,7 @@
>   BR2_arm=y
>   BR2_cortex_a7=y
>   BR2_ARM_FPU_NEON_VFPV4=y
> +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y
>   BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
>   BR2_PTHREAD_DEBUG=y
>   BR2_TOOLCHAIN_BUILDROOT_CXX=y
> @@ -8,9 +9,12 @@ BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
>   BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
>   BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/microchip/sama7g5ek/genimage.cfg"
>   BR2_LINUX_KERNEL=y
> +BR2_LINUX_KERNEL_CUSTOM_VERSION=y
> +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.21"
>   BR2_LINUX_KERNEL_DEFCONFIG="sama7"
>   BR2_LINUX_KERNEL_DTS_SUPPORT=y
>   BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama7g5ek"
> +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
>   BR2_PACKAGE_LINUX_TOOLS_IIO=y
>   BR2_PACKAGE_BZIP2=y
>   BR2_PACKAGE_XZ=y
> --
> 2.25.1
> 

Hi,

This one boots , but it has a small problem

Here is the log :

Waiting for root device /dev/mmcblk1p2...
mmc1: new SDHC card at address aaaa
mmcblk1: mmc1:aaaa SL16G 14.8 GiB
  mmcblk1: p1 p2
EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: 
(null). Quota mode: disabled.
VFS: Mounted root (ext4 filesystem) on device 179:2.
devtmpfs: mounted
Freeing unused kernel image (initmem) memory: 1024K
Run /sbin/init as init process
mmc0: new MMC card at address 0001
mmcblk0: mmc0:0001 S40004 3.64 GiB
  mmcblk0: p1
mmcblk0boot0: mmc0:0001 S40004 4.00 MiB
mmcblk0boot1: mmc0:0001 S40004 4.00 MiB
mmcblk0rpmb: mmc0:0001 S40004 4.00 MiB, chardev (246:0)
EXT4-fs (mmcblk1p2): re-mounted. Opts: (null). Quota mode: disabled.
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Populating /dev using udev: udevd[101]: starting version 3.2.11
random: udevd: uninitialized urandom read (16 bytes read)
random: udevd: uninitialized urandom read (16 bytes read)
random: udevd: uninitialized urandom read (16 bytes read)
udevd[102]: starting eudev-3.2.11
done
Saving random seed: OK
Starting system message bus: done
Starting iptables: OK
Starting bluetoothd: OK
Starting network: OK
urandom_read: 5 callbacks suppressed
random: bluetoothd: uninitialized urandom read (4 bytes read)
LDO2: disabling
VDDOUT25: disabling




^C^C


^Z


random: crng init done
ssh-keygen: generating new host keys: RSA DSA ECDSA ED25519
Starting sshd: OK

Welcome to Buildroot
buildroot login:


It takes a few minutes before crng init done.

I remember such problem was caused by libjitterentropy .

Even so, it looks like a different problem, so,

Tested-by: Eugen Hristev <eugen.hristev@microchip.com>

Eugen


_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH v3 0/2] Fix gitlab CI build failure due to missing HOST_ dependencies
  2022-02-06 11:26   ` [Buildroot] [PATCH v3 0/2] " Giulio Benetti
  2022-02-06 11:26     ` [Buildroot] [PATCH v3 1/2] configs/microchip_sama7g5ek_mmc_defconfig: set custom linux version to 5.15.21 and add host openssl for linux Giulio Benetti
  2022-02-06 11:26     ` [Buildroot] [PATCH v3 2/2] configs/microchip_sama7g5ek_mmc_dev_defconfig: " Giulio Benetti
@ 2022-02-12 22:17     ` Arnout Vandecappelle
  2022-02-13  7:51       ` Eugen.Hristev--- via buildroot
  2 siblings, 1 reply; 22+ messages in thread
From: Arnout Vandecappelle @ 2022-02-12 22:17 UTC (permalink / raw)
  To: Giulio Benetti, buildroot
  Cc: Eugen Hristev, Ludovic Desroches, Thomas Petazzoni



On 06/02/2022 12:26, Giulio Benetti wrote:
> This patchset fixes the gitlab build failure due to HOST_ dependencies(uboot/linux).
> 
> V1->V2:
> * add missing host openssl for linux on microchip_sama7g5ek_mmc_defconfig/_dev_defconfig
> V2->V3:
> * add specific custom linux version as suggested by Thomas
> 
> Giulio Benetti (2):
>    configs/microchip_sama7g5ek_mmc_defconfig: set custom linux version to
>      5.15.21 and add host openssl for linux
>    configs/microchip_sama7g5ek_mmc_dev_defconfig: set custom linux
>      version to 5.15.21 and add host openssl for linux

  Both applied to master, thanks.

  The entropy issue can be resolved later.

  Regards,
  Arnout

> 
>   configs/microchip_sama7g5ek_mmc_defconfig     | 4 ++++
>   configs/microchip_sama7g5ek_mmc_dev_defconfig | 4 ++++
>   2 files changed, 8 insertions(+)
> 
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH v3 0/2] Fix gitlab CI build failure due to missing HOST_ dependencies
  2022-02-12 22:17     ` [Buildroot] [PATCH v3 0/2] Fix gitlab CI build failure due to missing HOST_ dependencies Arnout Vandecappelle
@ 2022-02-13  7:51       ` Eugen.Hristev--- via buildroot
  0 siblings, 0 replies; 22+ messages in thread
From: Eugen.Hristev--- via buildroot @ 2022-02-13  7:51 UTC (permalink / raw)
  To: arnout; +Cc: giulio.benetti, Ludovic.Desroches, thomas.petazzoni, buildroot

On 2/13/22 12:17 AM, Arnout Vandecappelle wrote:
> On 06/02/2022 12:26, Giulio Benetti wrote:
>> This patchset fixes the gitlab build failure due to HOST_ 
>> dependencies(uboot/linux).
>>
>> V1->V2:
>> * add missing host openssl for linux on 
>> microchip_sama7g5ek_mmc_defconfig/_dev_defconfig
>> V2->V3:
>> * add specific custom linux version as suggested by Thomas
>>
>> Giulio Benetti (2):
>>    configs/microchip_sama7g5ek_mmc_defconfig: set custom linux version to
>>      5.15.21 and add host openssl for linux
>>    configs/microchip_sama7g5ek_mmc_dev_defconfig: set custom linux
>>      version to 5.15.21 and add host openssl for linux
> 
>   Both applied to master, thanks.
> 
>   The entropy issue can be resolved later.

I already sent another patch to fix that. Please have a look.
Thanks !

Eugen

> 
>   Regards,
>   Arnout
> 
>>
>>   configs/microchip_sama7g5ek_mmc_defconfig     | 4 ++++
>>   configs/microchip_sama7g5ek_mmc_dev_defconfig | 4 ++++
>>   2 files changed, 8 insertions(+)
>>

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2022-02-13  7:51 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-01 23:04 [Buildroot] [PATCH v2 0/6] Fix gitlab CI build failure due to missing HOST_ dependencies Giulio Benetti
2022-02-01 23:04 ` [Buildroot] [PATCH v2 1/6] configs/bananapi_m2_ultra_defconfig: u-boot needs host python3 and host openssl Giulio Benetti
2022-02-01 23:04 ` [Buildroot] [PATCH v2 2/6] configs/beaglev_defconfig: linux needs " Giulio Benetti
2022-02-01 23:04 ` [Buildroot] [PATCH v2 3/6] configs/microchip_sama5d2_icp_mmc_defconfig: " Giulio Benetti
2022-02-01 23:06   ` Giulio Benetti
2022-02-01 23:04 ` [Buildroot] [PATCH v2 4/6] configs/microchip_sama5d2_icp_mmc_dev_defconfig: " Giulio Benetti
2022-02-01 23:04 ` [Buildroot] [PATCH v2 5/6] configs/microchip_sama7g5ek_mmc_defconfig: add missing BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15 and host openssl for linux Giulio Benetti
2022-02-06 10:50   ` Thomas Petazzoni via buildroot
2022-02-01 23:04 ` [Buildroot] [PATCH v2 6/6] configs/microchip_sama7g5ek_mmc_dev_defconfig: " Giulio Benetti
2022-02-06 10:50   ` Thomas Petazzoni via buildroot
2022-02-06 10:51 ` [Buildroot] [PATCH v2 0/6] Fix gitlab CI build failure due to missing HOST_ dependencies Thomas Petazzoni via buildroot
2022-02-06 11:26   ` [Buildroot] [PATCH v3 0/2] " Giulio Benetti
2022-02-06 11:26     ` [Buildroot] [PATCH v3 1/2] configs/microchip_sama7g5ek_mmc_defconfig: set custom linux version to 5.15.21 and add host openssl for linux Giulio Benetti
2022-02-06 12:16       ` Thomas Petazzoni via buildroot
2022-02-06 14:25         ` Giulio Benetti
2022-02-06 19:39           ` Eugen.Hristev--- via buildroot
2022-02-06 19:51             ` Giulio Benetti
2022-02-07  8:44               ` Eugen.Hristev--- via buildroot
2022-02-06 11:26     ` [Buildroot] [PATCH v3 2/2] configs/microchip_sama7g5ek_mmc_dev_defconfig: " Giulio Benetti
2022-02-07  8:53       ` Eugen.Hristev--- via buildroot
2022-02-12 22:17     ` [Buildroot] [PATCH v3 0/2] Fix gitlab CI build failure due to missing HOST_ dependencies Arnout Vandecappelle
2022-02-13  7:51       ` Eugen.Hristev--- via buildroot

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.