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.

AM62P: APP image too large when pack using elf2rprc tools

Part Number: AM62P

Hello team

We are working on start  Autosar image in R5 core. we trid to parket the abs file to rprc file, but the input and output rprc /appimage file is too large.  we using MCU sdkAM62Px MCU+ SDK: Booting Tools 

The Autosar standard output file is much small than abs/elf files.  Can we support to pack the Motololar S19 file to rprc /appimage file? Or can we have some solution to decrease the rprc/appimage file size?

One more question is ,  if we have our own PCB which didn't want to seperate the emmc to boot area/ UDA, how can I do this? 

  • Hi,

    What is the size of your elf file and appimage file currently and how much size reduction do you expect for your appimage? 

    Can we support to pack the Motololar S19 file to rprc /appimage file

    We don't have any tools in MCU+SDK to support this.

    One more question is ,  if we have our own PCB which didn't want to seperate the emmc to boot area/ UDA, how can I do this? 

    Please create a separate E2E for this query.

    Best Regards,

    Meet.

  • Hello TI team

    My application abs/elf file size is about 24MB. the elf to s19 it's about 4M. it's too large for us.

    2.I will create a new query.

  • My application abs/elf file size is about 24MB

    The output RPRC file should be much smaller in size than this, could you let me know the size for the RPRC image generated.

  • Hello TI team

    This's the abs/ rprc infomation:

    uidk9830@w3d0001u:~/ti/mcu_plus_sdk_am62px_11_00_00_16/tools/boot/Autosar/board/am62px-sk$ file simple_can_demo.abs
    simple_can_demo.abs: ELF 32-bit LSB executable, ARM, LE8 version 1 (SYSV), statically linked, with debug_info, not stripped
    uidk9830@w3d0001u:~/ti/mcu_plus_sdk_am62px_11_00_00_16/tools/boot/Autosar/board/am62px-sk$ ls -l simple_can_demo.rprc
    -rw-rw-r-- 1 uidk9830 uidk9830 24760404 Nov  3 10:18 simple_can_demo.rprc
    uidk9830@w3d0001u:~/ti/mcu_plus_sdk_am62px_11_00_00_16/tools/boot/Autosar/board/am62px-sk$ ls -l simple_can_demo.abs
    -rw-rw-r-- 1 uidk9830 uidk9830 24760364 Nov  3 10:06 simple_can_demo.abs
    

  • We can't reduce the size for the RPRC file, you will have to try to reduce the size of .elf file only. You have not shared the size of the .elf/.out file, I only see the size for the RPRC file. What is the compiler optimization you are using? You can use -Os/release build to reduce the size to some extent.

  • Hello Thaker

    It's the same issue in which in AM62P: APP image generation / run issue. - Processors forum - Processors - TI E2E support forums

    1. I edit a makefile to generate a elf file to rprc, but the size became larger.... now I edit a another makefile which come from DDR demo in MCU, now we successfully to generate an appimage and bootloader can load.

    2. bootloader cannot load the mcu r5 appimage.

    So we are in here: edit the bootloader code to remove A53 app image load to let app run with error in that question. Our team didn't know the link parameter  to let the bootloader run it 

  • Hi Pu Jia,

    The concerned expert is out of office. Please expect a delay in response.

    Thanking you

    Yashraj

  • I edit a makefile to generate a elf file to rprc, but the size became larger.... now I edit a another makefile which come from DDR demo in MCU, now we successfully to generate an appimage and bootloader can load.

    If this issue is resolved, then please continue the discussion in the above shared thread. We can mark this thread as closed.

    Best Regards,

    Meet.

  • Yes, you can close it