FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
6388 Discussions

configure the Agilex 5 FPGA using the Linux device tree

K606
New Contributor I
294 Views

I have been stuck on a similar issue to this post (I am also using an Agilex 5 device):

Solved: Agilex 5 - configure FPGA from running linux via dt-overlay - Intel Community

I get to the end of the docs page as linked in the post above, and find this warning:

root@localhost:~# mkdir /sys/kernel/config/device-tree/overlays/0
root@localhost:~# echo overlay.dtb > /sys/kernel/config/device-tree/overlays/0/path
[  233.562309] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /soc/base_fpga_region/firmware-name
[  233.573389] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /soc/base_fpga_region/config-complete-timeout-us
root@localhost:~# 

I then execute the following:

rmdir /sys/kernel/config/device-tree/overlays/0
mkdir /sys/kernel/config/device-tree/overlays/0
scp host@192.168.1.1:/home/user/Desktop/GHRD/output_files/g_t_hps.core.rbf /lib/firmware/overlay.rbf
cd /lib/firmware/
echo overlay.dtb > /sys/kernel/config/device-tree/overlays/0/path

But there is no change in the LED pattern output on the board: i.e. the FPGA is not re-configured.

 

Could someone explain? Maybe I have misunderstood the flow for this?

 

Many thanks,

K

Labels (1)
0 Kudos
1 Solution
K606
New Contributor I
253 Views

Misread the docs!

Solved by:

cd /lib/firmware/ between the mkdir and echo commands

View solution in original post

0 Kudos
2 Replies
K606
New Contributor I
254 Views

Misread the docs!

Solved by:

cd /lib/firmware/ between the mkdir and echo commands

0 Kudos
BoonBengT_Altera
Moderator
208 Views

Hi @K606,


Good to know that you managed to overcome this, with no further clarification on this thread, it will be transitioned to community support for further help on doubts in this thread. 


Please login to ‘ https://supporttickets.intel.com/s/?language=en_US’, 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.

Thank you for the questions and as always pleasure having you here.


Best Wishes

BB


Reply