Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] configs/imx8mmpico: uboot needs openssl
@ 2024-01-06 15:35 Julien Olivain
  2024-01-10 20:35 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 3+ messages in thread
From: Julien Olivain @ 2024-01-06 15:35 UTC (permalink / raw)
  To: buildroot; +Cc: Julien Olivain

Commit 78e8f383 "configs/imx8mmpico: bump bsp components to version
tn-kirkstone_5.15.71-2.2.0" bumped components, but forgot to add
BR2_TARGET_UBOOT_NEEDS_OPENSSL=y.

This commit adds it to the defconfig to fix the build.

Fixes:
- https://gitlab.com/buildroot.org/buildroot/-/jobs/5858180248

    In file included from tools/imagetool.h:24,
                     from tools/aisimage.c:7:
    include/image.h:1166:12: fatal error: openssl/evp.h: No such file or directory
     1166 | #  include <openssl/evp.h>
          |            ^~~~~~~~~~~~~~~

Signed-off-by: Julien Olivain <ju.o@free.fr>
---
 configs/imx8mmpico_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/imx8mmpico_defconfig b/configs/imx8mmpico_defconfig
index c402ea675d..711cdeb390 100644
--- a/configs/imx8mmpico_defconfig
+++ b/configs/imx8mmpico_defconfig
@@ -28,6 +28,7 @@ BR2_TARGET_UBOOT_CUSTOM_TARBALL=y
 BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,TechNexion,u-boot-tn-imx,tn-kirkstone_5.15.71-2.2.0_20230512)/u-boot-tn-imx-tn-kirkstone_5.15.71-2.2.0_20230512.tar.gz"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="Puck-imx8mm"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
+BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
 BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
 BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.bin"
 BR2_TARGET_UBOOT_SPL=y
-- 
2.43.0

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

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

* Re: [Buildroot] [PATCH 1/1] configs/imx8mmpico: uboot needs openssl
  2024-01-06 15:35 [Buildroot] [PATCH 1/1] configs/imx8mmpico: uboot needs openssl Julien Olivain
@ 2024-01-10 20:35 ` Thomas Petazzoni via buildroot
  2024-01-10 20:47   ` Julien Olivain
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-01-10 20:35 UTC (permalink / raw)
  To: Julien Olivain; +Cc: buildroot

Hello Julien,

On Sat,  6 Jan 2024 16:35:39 +0100
Julien Olivain <ju.o@free.fr> wrote:

> Commit 78e8f383 "configs/imx8mmpico: bump bsp components to version
> tn-kirkstone_5.15.71-2.2.0" bumped components, but forgot to add
> BR2_TARGET_UBOOT_NEEDS_OPENSSL=y.
> 
> This commit adds it to the defconfig to fix the build.
> 
> Fixes:
> - https://gitlab.com/buildroot.org/buildroot/-/jobs/5858180248
> 
>     In file included from tools/imagetool.h:24,
>                      from tools/aisimage.c:7:
>     include/image.h:1166:12: fatal error: openssl/evp.h: No such file or directory
>      1166 | #  include <openssl/evp.h>
>           |            ^~~~~~~~~~~~~~~
> 
> Signed-off-by: Julien Olivain <ju.o@free.fr>
> ---
>  configs/imx8mmpico_defconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/configs/imx8mmpico_defconfig b/configs/imx8mmpico_defconfig
> index c402ea675d..711cdeb390 100644
> --- a/configs/imx8mmpico_defconfig
> +++ b/configs/imx8mmpico_defconfig
> @@ -28,6 +28,7 @@ BR2_TARGET_UBOOT_CUSTOM_TARBALL=y
>  BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,TechNexion,u-boot-tn-imx,tn-kirkstone_5.15.71-2.2.0_20230512)/u-boot-tn-imx-tn-kirkstone_5.15.71-2.2.0_20230512.tar.gz"
>  BR2_TARGET_UBOOT_BOARD_DEFCONFIG="Puck-imx8mm"

This doesn't apply here, as this line doesn't match what we have in
Buildroot. Is this "Puck-imx8mm" normal? We have:

BR2_TARGET_UBOOT_BOARD_DEFCONFIG="pico-imx8mm"

Could you check this?

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] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] configs/imx8mmpico: uboot needs openssl
  2024-01-10 20:35 ` Thomas Petazzoni via buildroot
@ 2024-01-10 20:47   ` Julien Olivain
  0 siblings, 0 replies; 3+ messages in thread
From: Julien Olivain @ 2024-01-10 20:47 UTC (permalink / raw)
  To: Thomas Petazzoni; +Cc: buildroot

Hi Thomas,

On 10/01/2024 21:35, Thomas Petazzoni wrote:
> Hello Julien,
> 
> On Sat,  6 Jan 2024 16:35:39 +0100
> Julien Olivain <ju.o@free.fr> wrote:
> 
>> Commit 78e8f383 "configs/imx8mmpico: bump bsp components to version
>> tn-kirkstone_5.15.71-2.2.0" bumped components, but forgot to add
>> BR2_TARGET_UBOOT_NEEDS_OPENSSL=y.
>> 
>> This commit adds it to the defconfig to fix the build.
>> 
>> Fixes:
>> - https://gitlab.com/buildroot.org/buildroot/-/jobs/5858180248
>> 
>>     In file included from tools/imagetool.h:24,
>>                      from tools/aisimage.c:7:
>>     include/image.h:1166:12: fatal error: openssl/evp.h: No such file 
>> or directory
>>      1166 | #  include <openssl/evp.h>
>>           |            ^~~~~~~~~~~~~~~
>> 
>> Signed-off-by: Julien Olivain <ju.o@free.fr>
>> ---
>>  configs/imx8mmpico_defconfig | 1 +
>>  1 file changed, 1 insertion(+)
>> 
>> diff --git a/configs/imx8mmpico_defconfig 
>> b/configs/imx8mmpico_defconfig
>> index c402ea675d..711cdeb390 100644
>> --- a/configs/imx8mmpico_defconfig
>> +++ b/configs/imx8mmpico_defconfig
>> @@ -28,6 +28,7 @@ BR2_TARGET_UBOOT_CUSTOM_TARBALL=y
>>  BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call 
>> github,TechNexion,u-boot-tn-imx,tn-kirkstone_5.15.71-2.2.0_20230512)/u-boot-tn-imx-tn-kirkstone_5.15.71-2.2.0_20230512.tar.gz"
>>  BR2_TARGET_UBOOT_BOARD_DEFCONFIG="Puck-imx8mm"
> 
> This doesn't apply here, as this line doesn't match what we have in
> Buildroot. Is this "Puck-imx8mm" normal? We have:
> 
> BR2_TARGET_UBOOT_BOARD_DEFCONFIG="pico-imx8mm"
> 
> Could you check this?

Yes, this should be BR2_TARGET_UBOOT_BOARD_DEFCONFIG="pico-imx8mm".
This got mysteriously corrupted.  I'll send a v2 right away. Sorry about 
that.

> 
> Thanks!
> 
> Thomas
> --
> Thomas Petazzoni, co-owner and CEO, Bootlin
> Embedded Linux and Kernel engineering and training
> https://bootlin.com

Best regards,

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

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

end of thread, other threads:[~2024-01-10 20:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-06 15:35 [Buildroot] [PATCH 1/1] configs/imx8mmpico: uboot needs openssl Julien Olivain
2024-01-10 20:35 ` Thomas Petazzoni via buildroot
2024-01-10 20:47   ` Julien Olivain

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