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.

Rebuild NSP omapl138 driver for EVMOMAPL137 device C6747

Other Parts Discussed in Thread: OMAPL138

I have this

http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ndk/nsp_1_10_00_03/exports/nsp_1_10_00_03/nsp_1_10_00_03_release_notes.html

And,The example in  nsp_1_10_01_06 .

I want to run the example

(nsp_1_10_01_06\packages\ti\ndk\examples\ndk_evm6748_elf_helloWorld )

on my platform EVMOMAPL137 and CCS 5.2.1 .The example is running on the EVMOMAPL138.

AND,I know I should rebuilt the driver for my C6747

But how to use the driver for C6747,(and I don’t know the meaning of that,it’s some function in c files)

ndk_2_0_0\packages\ti\ndk\src\hal\evmomapl137\eth_omapl137

and the driver for omap138 in

nsp_1_10_01_06\packages\ti\drv\omapl138

to build  driver for EVMOMAPL137 device 

 

THANKS.

  • Which version of BIOS are you using? Is it DSP/BIOS 5.x? Or are you using SYS/BIOS 6.x?

    If you are using some DSP/BIOS 5.x version, then you can just link directly against the driver library for the OMAPL137 that's shipped in ndk_2_0_0.

    If you are using SYS/BIOS 6.x, then you can't do this. You must rebuild the driver against SYS/BIOS 6.x.

    What you would need to do is update the OMAPL138 driver with any differences that you see in the OMAPL137 driver (i.e. diff ndk_2_0_0\packages\ti\ndk\src\hal\evmomapl137\eth_omapl137, remove any DSP/BIOS specific API calls (convert them to SYS/BIOS equivalents), update the package name (change all instances of OMAPL138 to OMAPL137) and rebuild it.

    The following thread contains a solution from another community member that has already done this work. Nikolay has attached his port to the thread.

    Please be aware that this is NOT a TI software product and we are not responsible for any possible harmful effects it may cause, nor are we able to support any issues you may have with it. That being said, it's on a public forum and you are free to download it, if you accept these risks:

    e2e.ti.com/.../601066

    Here are some other related threads, if you would rather try building it yourself:

    e2e.ti.com/.../134824

    e2e.ti.com/.../1602344

    Lastly, you should be aware of this issue, just in case you will use EDMA:

    processors.wiki.ti.com/.../Network_Developers_Kit_FAQ

    Steve