08-08-2011 03:11 AM
I want to run the jpeg code on the microblaze processor .
i find a message posted in this forum says : to run an application with a kernel you have to use a cross compiler and not EDK.
For that i follow this link to have the gnu tool for the microblze.
After downloding and setting the path of the tool i use the command : "mb-linux-g++ timer.cpp jpgd.cpp jpge.cpp tga2jpg.cpp"
With this command i obtaon the file a.out.
how to obtain the file .elf?
Thnks in advance
08-09-2011 03:42 AM
Please run the command "mb-linux-objdump -a a.out".This will give you clear information on the file format.
08-09-2011 03:58 AM
I run this command and i obtain this result: file format elf-32 microblze
But normally to van download the elf file to the xilinx board i must have .elf file , IS this true
08-09-2011 04:08 AM
Your result shows that the obtain a.out is an elf file itself.you should be able to run this on the board.
You can start with simple example like hello_world program.If you are using multiple cpp files then better to have Makefile to do proper linking of all the cpp files.go through some tutorials on Makefiles to do so.
08-09-2011 04:56 AM
ok i will test a simple hello exemple
but the jpeg is a multithread application and requires a kernel to be implemented.
have you a link or idea hiw to download my elf file with a kernel for the microblaze?
08-09-2011 09:02 PM
08-12-2011 02:39 AM
i look for the link you send me.
The problem i find the configuration and the build of the linux and not include the build of the application .
i can't understand how to include the elf file of the application to test it with the linux on the processor