Forum Discussion
27 Replies
- EBERLAZARE_I_Intel
Regular Contributor
Hi,
Thanks for the update, so may I know the current issue you are facing right now?
- MK_086
Occasional Contributor
Hi,
Detailed Steps for Custom_Rootfs 1)git clone -b kirkstone https://github.com/altera-opensource/gsrd-socfpga
2). agilex_fm61-gsrd-build.sh 3)build_default(Create build Workspace,Create Image staging area,bitbake,package)
4)created a directory named as files in /home/ubuntu/gsrd-socfpga/meta-intel-fpga-refdes/recipes-images/poky
5)Inside files directory created a c file.
Changes added in the gsrd-console-image.bb 1)FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
2)SRC_URI += "file://files/helloworld.c"
3)nfs_rootfs(){ cp /home/ubuntu/gsrd-socfpga/meta-intel-fpga-refdes/recipes-images/poky/files/helloworld.c ${IMAGE_ROOTFS}/home/root }
When the image loaded on the board there is no helloworld executable available.
Thanks
- EBERLAZARE_I_Intel
Regular Contributor
Hi,
Did you get any errors during the build?
So you were able to boot to Linux and the code is not there basically? Is that correct?
- MK_086
Occasional Contributor
Hi,
Right. The helloworld executable is not there.
Also, looking for options how to add the executables into the RFS.
Thanks - EBERLAZARE_I_Intel
Regular Contributor
Hi,
Ok, so let me check that again, just to be clear, you would want something like below correct?, but on your custom build RFS, where your custom/helloW C will be stored as well:
https://www.rocketboards.org/foswiki/Documentation/AgilexSoCGSRD#Display_Hello_World_Message
I will check with out internal team on that if that is correct.
- MK_086
Occasional Contributor
Hi,
As you mentioned one is about adding C Hello world and other is if we have a ready binaries how to add it in rfs.
Thanks - EBERLAZARE_I_Intel
Regular Contributor
Hi,
Thanks, I am still checking the steps on my side to test.
- EBERLAZARE_I_Intel
Regular Contributor
Hi,
I am still working on this issue, please allow me some time to work on it, I shall get back to you.
Thanks.
- EBERLAZARE_I_Intel
Regular Contributor
Hi,
I just got the build finished, apologies it took some time, however I currently do not have board access this week as we are having public holiday until Tuesday next week.
In the mean time, could you create another separate case with title, "run hello world in custom rootFS for agilex" etc as the case was for eMMC out of box booting.
- MK_086
Occasional Contributor
Done. Thanks
- EBERLAZARE_I_Intel
Regular Contributor
Hi,
Thanks for the update. As the initial question has been addressed, I now transition this thread to community support. If you have a new question, Please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.
p/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer or rate 4/5 survey.