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.

sys bios issue with omap5432

Other Parts Discussed in Thread: SYSBIOS

Hi

I'm trying to build DSP sw for the OMAP5432 DSP, but I get sysbios configuration error:

Note, I'm using 6.34.02.18 version of sys/bios

I looks like TimerSupport.xs doesn't support OMAP5432, or what do you think?

js: "C:/dsp_toolchain/3/sysbios/packages/ti/sysbios/family/c64p/tesla/TimerSupport.xs", line 87: TypeError: Cannot read property "suspendMux1Addr" from undefined (C:/dsp_toolchain/3/sysbios/packages/ti/sysbios/family/c64p/tesla/TimerSupport.xs#87)
    "C:/dsp_toolchain/3/sysbios/packages/ti/sysbios/timers/dmtimer/Timer.xs", line 1251
    "C:/dsp_toolchain/3/sysbios/packages/ti/sysbios/hal/Timer.xs", line 53
    "C:/dsp_toolchain/3/sysbios/packages/ti/sysbios/knl/Clock.xs", line 69
    "C:/dsp_toolchain/3/sysbios/packages/ti/sysbios/knl/Task.xs", line 111
    "C:/dsp_toolchain/3/sysbios/packages/ti/sysbios/knl/Swi.xs", line 58
    "C:/dsp_toolchain/3/sysbios/packages/ti/sysbios/family/c64p/Hwi.xs", line 108
    "C:/dsp_toolchain/3/sysbios/packages/ti/sysbios/hal/Hwi.xs", line 59
    "C:/dsp_toolchain/3/sysbios/packages/ti/sysbios/gates/GateHwi.xs", line 42
    "C:/dsp_toolchain/3/sysbios/packages/ti/sysbios/xdcruntime/Settings.xs", line 94
    "C:/dsp_toolchain/3/sysbios/packages/ti/sysbios/BIOS.xs", line 228
    "C:/dsp_toolchain/3/sysbios/packages/ti/sysbios/utils/Load.xs", line 63
xdctools\gmake.exe: *** [package/cfg/MIB_DSP_pe64T.xdl] Error 1
js: "C:/dsp_toolchain/3/xdctools/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.

  • I'll file a bug to cover this.

    In the meantime, I think you can manually edit the referenced "TimerSupport.xs" file to include OMAP5432 support as follows:

    Change this:

            "ti.catalog.c6000": {
                "OMAP4430": {
                    suspendMux1Addr: 0x49002294
                },
            },

    to this:

            "ti.catalog.c6000": {
                "OMAP4430": {
                    suspendMux1Addr: 0x49002294
                },

                "OMAP5430": {
                    suspendMux1Addr: 0x49002294
                },
            },

    Alan

  • Thanks for your tip, Alan, it worked

    However, I get a similar issue with the cache for the C64T. Any ideas?

    BR

    Niklas

    make all
    [  1%] Generating CMakeFiles/sysbios/compiler.opt, CMakeFiles/sysbios/linker.cmd
    Unicache is not supported for the specified device (OMAP5430).
    The following devices within the ti.catalog.c6000 catalog are supported:
        OMAP4430
    js: "C:/dsp_toolchain/3/sysbios/packages/ti/sysbios/hal/unicache/Cache.xs", line 189: Error: Unicache unsupported on device!
        "C:/Switch2ELF/VAG_MIB20_STD_DSP/MIB_DSP.cfg", line 139
        "./package/cfg/MIB_DSP_pe64T.cfg", line 185
        "./package/cfg/MIB_DSP_pe64T.cfg", line 264
        "./package/cfg/MIB_DSP_pe64T.cfg", line 172
    gmake.exe: *** [package/cfg/MIB_DSP_pe64T.xdl] Error 1
    js: "C:/dsp_toolchain/3/xdctools/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    make[2]: *** [CMakeFiles/sysbios/compiler.opt] Error 1
    make[1]: *** [CMakeFiles/sysbios.dir/all] Error 2

  • Oops.

    In hal/unicache/Cache.xs, change this:

        deviceTable["ti.catalog.c6000.nda"]["Tesla"] =
                deviceTable["ti.catalog.c6000"]["OMAP4430"];

    to this:

        deviceTable["ti.catalog.c6000.nda"]["Tesla"] =
                deviceTable["ti.catalog.c6000"]["OMAP4430"];

        deviceTable["ti.catalog.c6000]["OMAP5430"] =
                deviceTable["ti.catalog.c6000"]["OMAP4430"];

    You'll probably have to make the exact same change to the ti/sysbios/hal/ammu/AMMU.xs file.

    Alan

  • Hi Alan

    Yes, I had to do the same for AMMU.xs.

    One question though, should it be

        deviceTable["ti.catalog.c6000]["OMAP5430"] =
                deviceTable["ti.catalog.c6000"]["OMAP4430"];

    as you said, or

        deviceTable["ti.catalog.c6000]["OMAP5430"] =
                deviceTable["ti.catalog.c6000"]["OMAP5430"];

    BR

    Niklas

  • The statement is saying that the entry in the device table for OMAP5430 is the same as the entry in the table for OMAP4430.

    Therefore the syntax should be:

        deviceTable["ti.catalog.c6000]["OMAP5430"] =
                deviceTable["ti.catalog.c6000"]["OMAP4430"];

    Alan