nardhini Posted August 22, 2018 Share Posted August 22, 2018 Hi, I have two question regarding adding an application into Petalinux file system. I created an application called receiver using SDK. And, ran the following command to create the application in PetaLinux. $ petalinux-create -t apps --template install --name receiver --enable 1. Is it enough if I replace 'receiver' file under 'files' folder with 'receiver.elf'? 2. Makefile is not found under files folder. Is there a way to generate it? Makefile is created for other templates like C and C++, it is not created for install. Link to comment Share on other sites More sharing options...
sbobrowicz Posted August 23, 2018 Share Posted August 23, 2018 @nardhini What version of petalinux are you using? I'm not super up to date on using the petalinux-create command, so I probably won't be able to answer your question right off the top of my head. You might want to hedge your bets here and also post your question on the Xilinx embedded linux forum to ensure you get the fastest possible response: https://forums.xilinx.com/t5/Embedded-Linux/bd-p/ELINUX Link to comment Share on other sites More sharing options...
nardhini Posted August 28, 2018 Author Share Posted August 28, 2018 Hi @sbobrowicz, I am using PetaLinux v2017.4. I did post the query in Xilinx Embedded Linux forum and got it solved. On 8/22/2018 at 12:09 PM, nardhini said: Makefile is not found under files folder. Is there a way to generate it? About the Makefile, it doesn't get generated for 'install' template, only for C and C++ it gets generated. Link to comment Share on other sites More sharing options...
jpeyron Posted August 28, 2018 Share Posted August 28, 2018 Hi @nardhini, I am glad to hear that you got it resolved. Thank you for sharing what you found. cheers, Jon Link to comment Share on other sites More sharing options...
Question
nardhini
Hi,
I have two question regarding adding an application into Petalinux file system. I created an application called receiver using SDK. And, ran the following command to create the application in PetaLinux.
$ petalinux-create -t apps --template install --name receiver --enable
1. Is it enough if I replace 'receiver' file under 'files' folder with 'receiver.elf'?
2. Makefile is not found under files folder. Is there a way to generate it?
Makefile is created for other templates like C and C++, it is not created for install.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.