build failure (DEVKIT=icicle-kit-es) #63
-
I am getting following build error while doing a make all for icicle-kit-es. make[1]: Entering directory '/home/luo/multicore/polarfire-soc-buildroot-sdk/work/buildroot_build'
Have anyone ever had such problems? |
Beta Was this translation helpful? Give feedback.
Replies: 13 comments
-
Hi, apologies for the delay getting back to you. Can you provide some more information on your setup? |
Beta Was this translation helpful? Give feedback.
-
Thank you for your reply. I fix it by rebuild riscv-gnu-toolchain.Now linux has been booted. |
Beta Was this translation helpful? Give feedback.
-
Just speaking generally, are you tied to using the E51? It would be far easier to run Linux, for example, on U54-1, -2, and -3 and put FreeRTOS on U54-4. |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for your reply. If I want to run FreeRTOS on U54-4,how to do it. I learned a few ways by reading ‘’OpenAMP Framework for Zynq Devices‘’.I came up with a similar plan.Using OpenAMP framework remoteproc stop u54_4, u54_4 unloaded from Linux and is setup to execute the FreeRTOS. What method do you use?Looking forward to your reply. |
Beta Was this translation helpful? Give feedback.
-
Hi, You could use the HSS payload generator to load a bare metal or FreeRTOS application on U54-4. In this way you would have two entries in the HSS YAML file, one for U-boot which will run Linux (on U54-1, -2 and -3), and a second entry which loads an ELF file on U54-4. For detailed information, please refer to the HSS payload documentation. We also have a YouTube playlist explaining how to run a bare metal application from the DDR. A similar AMP example configuration (Linux + FreeRTOS) will be integrated to our Yocto and Buildroot environments as part of our next release. |
Beta Was this translation helpful? Give feedback.
-
Thank you for your prompt reply. I will try to bulid the AMP system as you suggest.Thanks again. |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
Hi @louflyxidian, can you explain a bit more what you mean by this, and we can see if what you want is supported? The OpenSBI is actually available on all U54s, it is the HSS super loop that runs on the E51. |
Beta Was this translation helpful? Give feedback.
-
Hi @griffini , thank you for your reply. Maybe what I said is not clear. I want to know whether u54s can run HSS which include openSBI service, and boot to run linux by themself, I want to run bare metal apps or FreeRTOS on e51, because when e51 runs HSS, it is in a loop and can only be used to switch from S mode to M mode. So I want to release e51 to do other things. |
Beta Was this translation helpful? Give feedback.
-
Hi @vfalanis , I use hss to boot a bare metal application(mpfs-blinky). But when it jump to 0x08030000,the minicom appear messy codes as shown below. &2����������������������������������������������������������������������������� In u54_1_application function, the code is I set the baut rate to 115200. I don't know why the minicom(or putty) output is incorrect. Can you give me some advise? |
Beta Was this translation helpful? Give feedback.
-
Hi, Could you please use the mpfs-gpio example available on the polarfire-soc-bare-metal-examples repository? The mpfs-gpio-interrupt example project is the up to date version which can be used to test GPIOs on the Icicle Kit. |
Beta Was this translation helpful? Give feedback.
-
@vfalanis |
Beta Was this translation helpful? Give feedback.
-
Hi, At the moment there is no direct way to do a reboot request from E51 to an individual U54 core. This is something that will be implemented as part of the next HSS (hart software services) release. |
Beta Was this translation helpful? Give feedback.
Thank you for your reply. I fix it by rebuild riscv-gnu-toolchain.Now linux has been booted.
I have another question. After u54s running linux, I want to boot freertos on e51, what should I do? Can you give me some advices, thank you.