This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-AM62A: Build error - Matrix GUI Browser

Expert 7150 points
Part Number: PROCESSOR-SDK-AM62A


Hello Experts,

I'm seeing build error during Matrix GUI Browser. I followed https://software-dl.ti.com/processor-sdk-linux-rt/esd/AM62AX/08_06_00_45/exports/docs/linux/Overview/Top_Level_Makefile.html

I see the attached error after "make" command. Did I miss something?



Best regards,
Ken

  • Hi Ken,

    I was able to re-create the issue with a simple 'make' and it fails the same way as you reported. Looking closer, it looks like the 'example-applications/matrix-gui-browser-2.0' folder is missing from the SDK. This folder was there on other SDKs, like the AM62x SDK. I'm not sure why it's not there on AM62Ax but I can look into this more if you need that particular project.

    At any rate, the expectation is that 'make' can successfully build whatever is part of the AM62A SDK - which currently it cannot, so that means there's a bug and I'll file an internal bug report to get this fixed.

    If you just want to build all the AM62Ax SDK components using 'make' you can get this going by removing all references to 'matrix-gui-browser' from the top-level Makefile as follows (at a minimum you'll need to remove the references from the all:, clean: and install: make targets, the removal of the associated make rules is optional):

    a0797059@dasso:~/ti/ti-processor-sdk-linux-am62axx-evm-08.06.00.45
    $ diff Makefile.bak Makefile
    12,14c12,14
    < all: linux matrix-gui arm-benchmarks am-sysinfo oprofile-example matrix-gui-browser refresh-screen qt-tstat u-boot-spl linux-dtbs cryptodev sysfw-image ti-ipc linux-fitimage
    < clean: linux_clean matrix-gui_clean arm-benchmarks_clean am-sysinfo_clean oprofile-example_clean matrix-gui-browser_clean refresh-screen_clean qt-tstat_clean u-boot-spl_clean linux-dtbs_clean cryptodev_clean sysfw-image_clean ti-ipc_clean linux-fitimage_clean
    < install: linux_install matrix-gui_install arm-benchmarks_install am-sysinfo_install oprofile-example_install matrix-gui-browser_install refresh-screen_install qt-tstat_install u-boot-spl_install linux-dtbs_install cryptodev_install sysfw-image_install ti-ipc_install linux-fitimage_install
    ---
    > all: linux matrix-gui arm-benchmarks am-sysinfo oprofile-example refresh-screen qt-tstat u-boot-spl linux-dtbs cryptodev sysfw-image ti-ipc linux-fitimage
    > clean: linux_clean matrix-gui_clean arm-benchmarks_clean am-sysinfo_clean oprofile-example_clean refresh-screen_clean qt-tstat_clean u-boot-spl_clean linux-dtbs_clean cryptodev_clean sysfw-image_clean ti-ipc_clean linux-fitimage_clean
    > install: linux_install matrix-gui_install arm-benchmarks_install am-sysinfo_install oprofile-example_install refresh-screen_install qt-tstat_install u-boot-spl_install linux-dtbs_install cryptodev_install sysfw-image_install ti-ipc_install linux-fitimage_install
    128,151d127
    < # matrix-gui-browser build targets
    < matrix-gui-browser:
    <       @echo =================================
    <       @echo    Building Matrix GUI Browser
    <       @echo =================================
    <       @cd example-applications; cd `find . -maxdepth 1 -type d -name "*matrix-gui-browser*"`; make -f Makefile.build release
    <
    < matrix-gui-browser_clean:
    <       @echo =================================
    <       @echo    Cleaning Matrix GUI Browser
    <       @echo =================================
    <       @cd example-applications; cd `find . -maxdepth 1 -type d -name "*matrix-gui-browser*"`; make -f Makefile.build clean
    <
    < matrix-gui-browser_install:
    <       @echo ===================================================
    <       @echo   Installing Matrix GUI Browser - Release version
    <       @echo ===================================================
    <       @cd example-applications; cd `find . -maxdepth 1 -type d -name "*matrix-gui-browser*"`; make -f Makefile.build install
    <
    < matrix-gui-browser_install_debug:
    <       @echo =================================================
    <       @echo   Installing Matrix GUI Browser - Debug Version
    <       @echo =================================================
    <       @cd example-applications; cd `find . -maxdepth 1 -type d -name "*matrix-gui-browser*"`; make -f Makefile.build install_debug

    Regards, Andreas

  • Hello Andreas,

    Thank you for your response. After the modification, the Matrix GUI Browser error was disappeared. However, I face another error. Can you please look into it?



    Best regards,
    Ken 

  • Hi Ken,

    you are correct, there are additional errors that are happening, when re-doing the build just now I saw those as well (the last build looked like it worked, but in fact it didn't complete). I found there are additional targets the Makefile tries to build which do not apply to AM62A which are the refresh-screen and qt-tstat targets, but even after removing those the next thing that is failing is the linux-fitimage target. I've not had time to fully debug/repair this particular target yet.

    But clearly this points to that the Makefile should currently not be used in a "make all" (same as just "make") capacity, but rather only to build individual targets such as U-Boot, or the Linux Kernel. I filed an internal bug (https://jira.itg.ti.com/browse/SITSW-2567) to get this investigated/improved for future SDK releases.

    For the meantime, rather than you trying to repair that Makefile, I recommend sticking to only building individual make targets as needed. Please let me know if you have issues or need help building any specific component, and I can provide some guidance there.

    Regards, Andreas