Post Go back to editing

Linux Add-in 1.3.0 Released

Hi all,

we are pleased to announce that the 1.3.0 release of the Linux add-in is now available on analog.com.

The add-in can be downloaded from the following page: https://www.analog.com/en/design-center/processors-and-dsp/evaluation-and-development-software/linuxaddin.html

The update contains the following key changes:

  • Support for newer revision ADSP-SC589, ADSP-SC584, ADSP-SC573 EZ-KITs
  • Improved support for USB

Please note:

  • This release does not contain updates to the u-Boot, Buildroot and Linux kernel components
  • This update removes support for some earlier revisions of the ADSP-SC573 EZ-KITs
  • Newer revision ADSP-SC573 and ADSP-SC589 EZ-KITs contain different Ethernet PHY parts on the EZ-KIT.
    This may require you to rebuild the out-of-the-box examples in order to use them.

For more details please refer to the Release Note  for the release.

Regards,

Dave



Removed priority.
[edited by: daveG at 2:19 PM (GMT 0) on 24 Jun 2020]
Parents
  • I tried the 1.3.0 and it was not possible to compile the buildroot part.

    Error acured at  output/host/usr/bin/automake  

    # substitute_ac_subst_variables ($TEXT)
    # -------------------------------------
    # Replace any occurrence of ${FOO} in $TEXT by @FOO@ if FOO is an AC_SUBST
    # variable.
    sub substitute_ac_subst_variables
    {
    my ($text) = @_;
    $text =~ s/\${([^ \t=:+{}]+)}/substitute_ac_subst_variables_worker ($1)/ge;
    return $text;
    }


    Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /home/peter/pmg/buildroot/output/host/usr/bin/automake

  • Hi ,

    May i ask what's your Ubuntu version?

    If it is Ubuntu 18.04, we will meet error with automake package, please refer to this page: https://ez.analog.com/dsp/software-and-development-tools/linux-for-adsp-sc5xx-processors/w/documents/14051/how-to-build-linux-addin-1-3-0-on-ubuntu-18-04 .

    If it is not Ubuntu 18.04, could you please make sure what's your Linux PC version? And what's your target board? ADSP-SC589-EZKIT?

    Thanks,

    Best regards,

    HuanFeng

  • Thank you for fast reply - I am running  Ubuntu 18.04 at a board similar to sc589-ezkit with DP83867 PHY.

    I try this patch and give response immediately after main run is completed.

  • next stop at make was there:

    /home/peter/pmg/buildroot/output/host/usr/bin/arm-linux-gnueabi-gcc -pthread -o pound pound.o http.o config.o svc.o -lssl -lcrypto -lresolv -ldl -lz -lm

    svc.o: In function `get_dh512':

    svc.c:(.text+0x1edc): undefined reference to `DH_set0_pqg'

    svc.o: In function `get_dh2048':

    svc.c:(.text+0x1f70): undefined reference to `DH_set0_pqg'

    collect2: Fehler: ld gab 1 als Ende-Status zurück

    Makefile:43: recipe for target 'pound' failed

    make[1]: *** [pound] Error 1

    make[1]: Verzeichnis „/home/peter/pmg/buildroot/output/build/pound-2.7“ wird verlassen

    package/pkg-generic.mk:184: recipe for target '/home/peter/pmg/buildroot/output/build/pound-2.7/.stamp_built' failed

    make: *** [/home/peter/pmg/buildroot/output/build/pound-2.7/.stamp_built] Error 2

    the function 'DH_set0_pqg' was at no file inside of buildroot

  • investigations guided me to changes from openssl1.0.2  --> openssl1.1.0 

    I could resolve the problem by editing downloaded files during first run, but I think this is not the way for future.

  • Thanks for your reply, Yes you are right. Actually we are updating the Linux kernel/uboot in our Linux-addin 1.4.0 release, so we would solve this issue in the next release.

    So you edit the download version from 1.0.2 to 1.1.0 in buildroot/package/openssl/openssl.mk and then the error disappears? Since we didn't meet this error when we build the linux addin in Ubuntu 18.04.

    Thanks,

    HuanFeng

  • After error stop I added the missing function to dh512.h and dh.h  from wiki.openssl.org / openSSL1.1.0 changes

    I know, that this is not the best way, but my app doesn't need an openssl application and any way, which helps to got forward shoukd be used

    from wiki.openssl.org:

    int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g)
     {
        /* If the fields p and g in d are NULL, the corresponding input
         * parameters MUST be non-NULL.  q may remain NULL.
         */
        if ((dh->p == NULL && p == NULL)
            || (dh->g == NULL && g == NULL))
            return 0;
    
        if (p != NULL) {
            BN_free(dh->p);
            dh->p = p;
        }
        if (q != NULL) {
            BN_free(dh->q);
            dh->q = q;
        }
        if (g != NULL) {
            BN_free(dh->g);
            dh->g = g;
        }
    
        if (q != NULL) {
            dh->length = BN_num_bits(q);
        }
    
        return 1;
     }
    
  • I didn't edit the openssl.mk file. I tried today without success .

    I satisfied only the C-language error check.

  • A fix for this error is present as patch 0001-fix-openssl-1.0.2.patch on the buildroot repo under package/pound/

Reply Children
No Data