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.

AM3359: PRU-Firmware build and rebuild

Part Number: AM3359

Hi Community,

In <PDK>/packages/ti/drv/icss_emac  have firmware directory in which two directory icss_switch and icss_dualemac.

So my question is in icss_dualemac directory there is bin folder in which default binaries are already availabl.

1.icss_dualemac_PRU1.bin

2.icss_dualemac_PRU0.bin

a. What is this binaries ? How to use this binaries if this is firmware.

b.How to modify/rebuild this binaries ?

c. How to flash this binaries on board (Application of binaries).

Note : I have tried according to instruction but got below msg

make firm
make firmcores SOC=am335x
make[1]: Entering directory '/media/Data/TI-Data/ti-processor-sdk-rtos/pdk_am335x_1_0_15/packages/ti/drv/icss_emac'
make[1]: Nothing to be done for 'firmcores'.
make[1]: Leaving directory '/media/Data/TI-Data/ti-processor-sdk-rtos/pdk_am335x_1_0_15/packages/ti/drv/icss_emac'

Regards,

Pankaj

  • Pankaj,

    The binaries are for PRU ICSS dual mac functionality and used in the icss_emac PDK examples.

    It's supposed to rebuild the binaries as you were trying 'make firm' but somehow this is broken in the release. If you try PDK 1.0.14 from PRSDK v5.3, you can see the binaries are rebuilt. I will file a ticket for this.

    To flash the application on board, you need create app file with pdkAppImageCreate.bat as below, also flash MLO to the board.

    ${PDK_INSTALL_PATH}/pdkAppImageCreate.bat ${PDK_INSTALL_PATH} ${CG_TOOL_ROOT} ${PROJECT_LOC}/${ConfigName} ${ProjName} AM335x arm

    Regards,

    Garrett

  • Hi Garrett,

    Yes, you are right, it is broken somehow.

    I have tried with other version PRSDK and its rebuilding.

    Regards,

    Pankaj