WP7609 Base legato system does not work when using openssl 3

I’m try to upgrade openssl to version 3.1 from 1.1.
I succeeded build yocto linux distro source.
But t threre is a problem that base legato system do not work.
Threre is no response these command.
“/mnt/legato/system/bin/cm data connect”

I ignored install swi_auth_wp packgae in swicert_gitbb.
Becuase swi_auth_wp requires libcrypto.so.1.1.
I can’t build it.

do_install_append() {
#cp -R --preserve=links ${S}/usr ${D}
}

  • WP7609 R17 firmware binary, Linux & Legato source code.
  • openssl_3.1.0.bb dwonload form yocto-project : poky/meta/recipes-connectivity/openssl
  • python3-m2crypto_0.38.0.bb download from openembedded · GitHub

================================================================

  1. openssl version
    OpenSSL 3.1.0 14 Mar 2023 (Library: OpenSSL 3.1.0 14 Mar 2023)

  2. make spk
    swicwe -o cnrf.cwe -c 9999999_9909287_SWI9X07Y_02.32.03.01_00_LGU_001.026_002.spk boot.cwe legato-squashfs.ubi.cwe tcwe yocto_wp76xx.4k.cwe
    Parsing input file 9999999_9909287_SWI9X07Y_02.32.03.01_00_LGU_001.026_002.spk
    Type Size(Exclude Header) Product Compress Version
    *SPKG 28690314 Y921 0 9999999_9909287_SWI9X07Y_02.32.03.01_00_LGU_001.026_002
    *BOOT 416772 Y921 0 SWI9X07Y_02.32.04.01 000000 CARMD-EV-SIGN01 2021/09/08 21:24:31
    HASH 6480 9X28 0 SWI9X07Y_02.32.04.01 000000 CARMD-EV-SIGN01 2021/09/08 21:24:31
    SBL1 409492 9X28 0 SWI9X07Y_02.32.04.01 000000 CARMD-EV-SIGN01 2021/09/08 21:24:31
    *MODM 28242132 Y921 0 SWI9X07Y_02.32.03.01 000000 CARMD-EV-SIGN01 2020/02/05 06:36:43
    HASH 6560 9X28 0 SWI9X07Y_02.32.03.01 000000 CARMD-EV-SIGN01 2020/02/05 06:36:43
    TZON 550652 9X28 0 SWI9X07Y_02.32.03.01 000000 CARMD-EV-SIGN01 2020/02/05 06:36:43
    QRPM 158200 9X28 0 SWI9X07Y_02.32.03.01 000000 CARMD-EV-SIGN01 2020/02/05 06:36:43
    DSP2 27525120 9X28 0 SWI9X07Y_02.32.03.01 000000 CARMD-EV-SIGN01 2020/02/05 06:36:43
    *FILE 30210 Y921 0 9999999_9909287_SWI9X07Y_02.32.03.01_00_LGU_001.026_002
    Parsed image is SPKG, finding components
    Found BOOT component
    Found MODM component
    Found FILE component
    Parsing input file boot.cwe
    Type Size(Exclude Header) Product Compress Version
    *BOOT 420904 Y921 0 SWI9X07Y_03.01.07.00 000000 AZUSW2-CTO-CRG-sign-production-wp76xx-3057 2023/03/20 0603/20/23
    HASH 6480 9X28 0 SWI9X07Y_03.01.07.00 000000 AZUSW2-CTO-CRG-sign-production-wp76xx-3057 2023/03/20 0603/20/23
    SBL1 413624 9X28 0 SWI9X07Y_03.01.07.00 000000 AZUSW2-CTO-CRG-sign-production-wp76xx-3057 2023/03/20 0603/20/23
    Parsed image is System Bootloader
    Parsing input file legato-squashfs.ubi.cwe
    Type Size(Exclude Header) Product Compress Version
    *APPL 7340432 Y921 0 21.05.2.rc2 58a7a1d jenkins 2023/03/16 14:42:28
    USER 7340032 9X28 0 21.05.2.rc2 58a7a1d jenkins 2023/03/16 14:42:28
    Parsed image is Legato/Linux
    Parsing input file tcwe
    file tcwe does not exist
    Error processing file tcwe, not a valid image, skipping file
    Parsing input file yocto_wp76xx.4k.cwe
    Type Size(Exclude Header) Product Compress Version
    *APPL 34513768 Y921 0 SWI9X07Y_03.01.07.00 2023/04/26 05:33:07
    SYST 23855104 9X28 0 SWI9X07Y_03.01.07.00 2023/04/26 05:33:07
    APPS 10657864 9X28 0 4.14.253 20230426032106
    4.14.253 20230426034055
    4.14.253 20230426043553
    4.14.253 20204/26/23
    Parsed image is Legato/Linux

Can you paste your openssl folder in /poky/meta/recipes-connectivity/ which include openssl3 here?

BTW, how about creating openssl3 folder in /poky/meta/recipes-connectivity/ so that you can have both openssl version 1.1 and version 3?

I created openssl3 folder in /poky/meta/recipes-connectivity/ and build it.
But only openssl 3 is available.

I gave up on using openssl3 and decided to use 1.1.1t

  1. openssl 1.1.1n to 1.1.1t patch
  1. download openssl 1.1.1t source

Thanks.