Forum Discussion
3 Replies
- Altera_Forum
Honored Contributor
Something like the following will generate a data item initialised with the bytes from a file - which might do what you want:
objcopy -I binary -O elf32-little -B nios2 --rename-section .data=.rodata,alloc,load,readonly,data,contents image.bmp image.o - Altera_Forum
Honored Contributor
Thanks for your reply dsl,
But can you give me an example about how to use this statment? - Altera_Forum
Honored Contributor
Hi,
Could u be able to load the image? Can you please share the code?