Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20704 Discussions

AGFB014R24B2E2EV : Evaluation board not booting with eMMC memory

MK_086
Novice
2,720 Views

Dear Experts,

 

We received the new AGFB014R24B2E2EV Eval board when we switched on the board the HPS Linux running was noticed on UART when Out of box experience daughter card was plugged in. No prints are seen when the NAND daughter card is plugged in and the eMMC flash boot option is chosen.

 

Please help.

 

Thanks

 

0 Kudos
27 Replies
EBERLAZARE_I_Intel
2,072 Views

Hi,


Just to check again, when you mention select eMMC as boot option do you mean setting the jumper on the daughter card?


Check the jumper Settings (for eMMC):

https://www.rocketboards.org/foswiki/Projects/AgilexSoCWithEMMCStorageOnHPS#Prerequisites


Can you confirm that the eMMC is active with above pins setup? And that still no prints?


0 Kudos
MK_086
Novice
2,062 Views

Hi,

We verified the jumper settings as per manual but still no prints observed on the UART.

 

Thanks

 

0 Kudos
EBERLAZARE_I_Intel
2,044 Views

Hi,


Okay with the jumper settings set to eMMC, are you able to do the same steps as you did with the NAND using ARM DS debugger? And run the following steps:

https://www.rocketboards.org/foswiki/Projects/AgilexSoCWithEMMCStorageOnHPS#Writing_the_eMMC_Image


0 Kudos
MK_086
Novice
2,009 Views

Hi,

eMMC U-Boot, Linux is working when we program through ARM DS. However, custom RFS is not getting generated & program.

Thanks

 

0 Kudos
EBERLAZARE_I_Intel
1,991 Views

Hi,


So is the eMMC flash is now booting using all default settings?


I guess, may I know the steps that you run to build the customer RFS?


0 Kudos
MK_086
Novice
1,964 Views

Hi,

Yes, eMMC flash image is booting.

We are trying to follow the instructions for custom RFS:

Customizing/modify the Rootfs recipe in: recipes-images/poky/gsrd-console-image.bb 

  1. add your c file in recipes-images/poky/files (mkdir)
  2. In recipes-images/poky/gsrd-console-image.bb, add the followings 
    1. FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
    2. SRC_URI:append="<CFILE>"
  3. Add this under nfs_rootfs() function:
    1. cp ${WORKDIR}/<CFILE> ${IMAGE_ROOTFS}/home/root
  4. Run bitbake_build and see if the c program in present in the compiled rfs by launching it on the board

 

Not seen the 'recipes-images/poky/gsrd-console-image.bb' files in the GSRD setup. Is it possible to share full path of it? 

 

Also,

As per the website - https://www.rocketboards.org/foswiki/Projects/AgilexSoCWithEMMCStorageOnHPS#Writing_the_eMMC_Image there is a seperate option to Build Rootfs:

-Any steps available to add our files to this rootfs compilation?

 

Thanks

 

0 Kudos
EBERLAZARE_I_Intel
1,960 Views

Hi,


Thanks for the update, let me check this. Might take a few days, I need to validate the steps on my side.


0 Kudos
EBERLAZARE_I_Intel
1,931 Views

Hi,


Just an update, I am still working on it.


0 Kudos
EBERLAZARE_I_Intel
1,907 Views

Hi,


What is your Linux environment and version used?


0 Kudos
EBERLAZARE_I_Intel
1,853 Views

Hi,


Yea, I am having issues as well with the git clone repo, let me check on our side on this issue. By default, before you run bitbake, you may change/set your settings/configs in then run the bitbake to take affect.


0 Kudos
EBERLAZARE_I_Intel
1,816 Views

Hi,


You can try with:


git clone -b kirkstone https://github.com/altera-opensource/gsrd-socfpga


0 Kudos
EBERLAZARE_I_Intel
1,796 Views

Hi,


Are you still having issues? Any update from your side?


0 Kudos
MK_086
Novice
1,782 Views

Hello,

We are facing certain download issues from GitHub.

Please allow us a few more days and get back on this. 

Thanks for your patience.

0 Kudos
MK_086
Novice
1,766 Views
Hi, above shared GitHub gsrd resulted the same issues. Thanks for your patience and waiting.
0 Kudos
EBERLAZARE_I_Intel
1,725 Views

Hi,


After doing the git clone, could you locate this?:

yocto\gsrd-socfpga\meta-intel-fpga-refdes\recipes-images\poky




0 Kudos
MK_086
Novice
1,683 Views
Hi, yes after download bitbake
and default generation these files are getting generated.
0 Kudos
EBERLAZARE_I_Intel
1,667 Views

Hi,


Thanks for the update, so may I know the current issue you are facing right now?


0 Kudos
MK_086
Novice
1,648 Views
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
0 Kudos
EBERLAZARE_I_Intel
1,596 Views

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?


0 Kudos
MK_086
Novice
1,578 Views
Hi,
Right. The helloworld executable is not there.
Also, looking for options how to add the executables into the RFS.
Thanks
0 Kudos
Reply