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.

DM8168 firmware size question

I use DVRRDK_02.80.00.10. I untar "nfs_DM816x_EVM.tar.gz" and found the size of firmware is as below
-rwxr-xr-x 1 50363 3355   766198 2012-05-25 18:08 target/rfs_816x/opt/dvr_rdk/ti816x/firmware/dvr_rdk_fw_c6xdsp.xe674
-rwxr-xr-x 1 50363 3355  2356197 2012-05-25 18:08 target/rfs_816x/opt/dvr_rdk/ti816x/firmware/dvr_rdk_fw_m3video.xem3
-rwxr-xr-x 1 50363 3355  2144247 2012-05-25 18:08 target/rfs_816x/opt/dvr_rdk/ti816x/firmware/dvr_rdk_fw_m3vpss.xem3

after compiling the source with "make –s sys_all", I got the firmwares and found the size
-rw-r--r-- 1 root root 11354147 2012-06-27 21:08 dvr_rdk/bin/ti816x/firmware/dvr_rdk_fw_c6xdsp.xe674
-rw-r--r-- 1 root root 12804561 2012-06-27 21:08 dvr_rdk/bin/ti816x/firmware/dvr_rdk_fw_m3video.xem3
-rw-r--r-- 1 root root 16269403 2012-06-27 21:08 dvr_rdk/bin/ti816x/firmware/dvr_rdk_fw_m3vpss.xem3

I'm not sure if its related to debug info so I check following
-rw-r--r-- 1 root root 11354147 2012-06-27 21:01 dvr_rdk/build/dvr_rdk/bin/ti816x-evm/dvr_rdk_c6xdsp_debug.xe674
-rw-r--r-- 1 root root 12804561 2012-06-27 21:08 dvr_rdk/build/dvr_rdk/bin/ti816x-evm/dvr_rdk_m3video_release.xem3
-rw-r--r-- 1 root root 16269403 2012-06-27 21:04 dvr_rdk/build/dvr_rdk/bin/ti816x-evm/dvr_rdk_m3vpss_release.xem3

my question is: How to generate the same firmwares in original filesystem? Any bodies know that?

  • This is not an issue. The release binaries have symbols stripped which is done during file system update. The /bin/* or build/* are the binaries with original size.

    Please refer the Makefile.

  • Hi Sivagamy:

    you say The /bin/* or build/* are the binaries with original size.

    The release binaries have symbols stripped which is done during file system update,

    how to do this, this can be done using Makefile?

    could you give me more details ?

    best regards

    xavier

  • The release binaries have symbols stripped which is done during file system update,

    how to do this, this can be done using Makefile?

    - make fsupdate.

    could you give me more details ?

    -pls check the item "fsupdate" inside Makefile.  just kie below

    fsupdate:
            @echo "-------- Copying binaries to [ $(TARGET_FS) ] --------"
            cp $(KERNELDIR)/drivers/video/ti81xx/vpss/vpss.ko $(TARGET_FS_DIR)/kermod/.
            cp $(KERNELDIR)/drivers/video/ti81xx/ti81xxfb/ti81xxfb.ko $(TARGET_FS_DIR)/kermod/.
            cp $(KERNELDIR)/drivers/video/ti81xx/ti81xxhdmi/ti81xxhdmi.ko $(TARGET_FS_DIR)/kermod/.
    ifeq ($(PLATFORM),ti816x-evm)
            cp $(syslink_PATH)/packages/ti/syslink/bin/TI816X/syslink.ko $(TARGET_FS_DIR)/kermod/.
            -mkdir -p $(TARGET_FS)/opt/dvr_rdk/ti816x
            cp -R $(TARGET_FS_DIR)/* $(TARGET_FS)/opt/dvr_rdk/ti816x/.
            chmod 755 $(TARGET_FS)/opt/dvr_rdk/ti816x/*.sh
            $(STRIP470) $(TARGET_FS)/opt/dvr_rdk/ti816x/firmware/dvr_rdk_fw_m3video.xem3
            $(STRIP470) $(TARGET_FS)/opt/dvr_rdk/ti816x/firmware/dvr_rdk_fw_m3vpss.xem3
            $(STRIP6x)  $(TARGET_FS)/opt/dvr_rdk/ti816x/firmware/dvr_rdk_fw_c6xdsp.xe674
            chmod 755   $(TARGET_FS)/opt/dvr_rdk/ti816x/firmware/*.*
    endif