08-27-2019 11:32 PM - edited 08-28-2019 09:47 PM
Dear Community Users,
I am Working on Zynq-7000 Customized Board. Actually, i have 3 Questions to ask. The Questions are
consider i have 2 Applications(app_1.elf and app_2.elf). The fsbl and bitstream is common for both applications. i created BOOT.bin file by using app_1.elf, fsbl.elf and bitstream. now i want to convert my app_2.elf into app_2.bin file in Baremetal OS .
NOTE :
I tried "arm-none-eabi-objcopy -O binary app_2.elf app_2.bin " this command and created .bin file but its not working.
Thanks in Advance
08-30-2019 09:18 AM
You can use the objcopy as you are doing. What doesnt work?How are you loading the applications? do they occupy the same memory region.
You might need to remove the vector section from the elf using the -R switch
09-06-2019 02:34 AM
Thank You for your replay.
Firstly, By using app_2.elf+.bit+fsbl.elf i created Boot.bin file .
In FSBL User Code, I can see the DataWordLength of the Application(app_2) and BitStream(.bit file) by fsbl_prints.
the Application DataWordLength= 0xA002
But, the Same Application file i am converted into bin file By using this "objcopy"command .the file size is different.