Forum Discussion
rshal2
Occasional Contributor
6 years agoHPS & FPGA boot independently
Hello, We are booting FPGA and HPS independently from each other, i.e. each side is responsible only only for itself. But I have some misunderstanding of this concept. But HPS is configured as par...
- 6 years ago
Hello Ran,
Yes you can. You need to get the uboot and preloader separately from yocto project compilation. Also make sure to keep device tree (dtb) clear from any FPGA related device.
HPS will help you to configure the pins, HPS-FPGA bridges, and help you to generate preloader and uboot later in SoC EDS.
Hope this might help.
thanks
rshal2
Occasional Contributor
6 years agoHi,
Thank you very much for the answer.
In our configuration there is no interaction between fpga and hps, (so fpga is configured independently from flash configuration device).
In such configuration, can I assume that even if I does not configure hps in platform designer, it should startup correctly ?
Thanks,
Ran
hsaee6
New Contributor
6 years agoHello i have a similar question may be someone can help me out.
We have a custom board and it has a CYCLONE V 5CSEBA5U23I7 on it.
on our custom board the HPS and the FPGA share the reset pin. both are getting the power on reset from the same source at the same time. e.g. when i switch on the FPGA boots from its own QSPI and the HPS loads the preloader from its own QSPI. both are power on independently.
i am not sure how to make the power on sequence.
the FPGA must need to boot first from the HPS if i am using H2F master and H2F lw bridge in the FPGA?
Here is what happens. when i power on my device i see that the H2F master and H2F lw bridges are not initialized automatically by the HPS. Although they exist in my QSYS project.
Then i manually initialize both bridges manually in the baremetal application in HPS firmware.
socfpga_bridge_setup(ALT_BRIDGE_LWH2F);
etc..
Now if i flash my program on the HPS and do a power on. the program on the HPS traps. and i think it traps because it does not see the H2F bridges.
but if i flash the *.sof on the FPGA and then start my HPS then every thing works perfect.
is there any one who can suggest me what should be the power on sequence required if i want to use the resources of the FPGA on the HPS?
many thanks.
We have a custom board and it has a CYCLONE V 5CSEBA5U23I7 on it.
on our custom board the HPS and the FPGA share the reset pin. both are getting the power on reset from the same source at the same time. e.g. when i switch on the FPGA boots from its own QSPI and the HPS loads the preloader from its own QSPI. both are power on independently.
i am not sure how to make the power on sequence.
the FPGA must need to boot first from the HPS if i am using H2F master and H2F lw bridge in the FPGA?
Here is what happens. when i power on my device i see that the H2F master and H2F lw bridges are not initialized automatically by the HPS. Although they exist in my QSYS project.
Then i manually initialize both bridges manually in the baremetal application in HPS firmware.
socfpga_bridge_setup(ALT_BRIDGE_LWH2F);
etc..
Now if i flash my program on the HPS and do a power on. the program on the HPS traps. and i think it traps because it does not see the H2F bridges.
but if i flash the *.sof on the FPGA and then start my HPS then every thing works perfect.
is there any one who can suggest me what should be the power on sequence required if i want to use the resources of the FPGA on the HPS?
many thanks.