Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
19986 Discussions

AGFB014R24B2E2EV : Evaluation board not booting with eMMC memory

MK_086
Novice
1,076 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
823 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?


MK_086
Novice
813 Views

Hi,

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

 

Thanks

 

EBERLAZARE_I_Intel
795 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


MK_086
Novice
760 Views

Hi,

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

Thanks

 

EBERLAZARE_I_Intel
742 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?


MK_086
Novice
715 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

 

EBERLAZARE_I_Intel
711 Views

Hi,


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


EBERLAZARE_I_Intel
682 Views

Hi,


Just an update, I am still working on it.


EBERLAZARE_I_Intel
658 Views

Hi,


What is your Linux environment and version used?


EBERLAZARE_I_Intel
604 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.


EBERLAZARE_I_Intel
567 Views

Hi,


You can try with:


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


EBERLAZARE_I_Intel
547 Views

Hi,


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


MK_086
Novice
533 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.

MK_086
Novice
517 Views
Hi, above shared GitHub gsrd resulted the same issues. Thanks for your patience and waiting.
EBERLAZARE_I_Intel
476 Views

Hi,


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

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




MK_086
Novice
434 Views
Hi, yes after download bitbake
and default generation these files are getting generated.
EBERLAZARE_I_Intel
418 Views

Hi,


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


MK_086
Novice
399 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
EBERLAZARE_I_Intel
347 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?


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