Dear Mr. Robert, we need to port an operating system on SweRVolfSoC to enable TCP communication, such as the FreeRTOS operating system, so I wonder if SweRVolfSoC supports the porting of an operating system?
If SweRVolfSoC supports the porting of operating system, does Imagination University have any instructions or labs just like RVfpga Teaching materials on the porting of operating system?
By the way, I seem to have found a demo about porting FreeRTOS on RVfpga https://docs.platformio.org/en/latest/frameworks/freertos.html#digilent . But there is little information about how to porting FreeRTOS on RVfpga.
Thank you a lot!
@my123
Good News!
Our next materials "RVfpga-SoC" - An Introduction to SoC Design with RISC-V will focus on exactly this area.
- We will guide you to build a system and then run the Zephyr RTOS on the SoC.
- We are in beta-testing now, with the materials due for release next month.
Dear Mr. Robert, we need to port an operating system on SweRVolfSoC to enable TCP communication, such as the FreeRTOS operating system, so I wonder if SweRVolfSoC supports the porting of an operating system?
If SweRVolfSoC supports the porting of operating system, does Imagination University have any instructions or labs just like RVfpga Teaching materials on the porting of operating system?
By the way, I seem to have found a demo about porting FreeRTOS on RVfpga https://docs.platformio.org/en/latest/frameworks/freertos.html#digilent . But there is little information about how to porting FreeRTOS on RVfpga.
Thank you a lot!
Hi @my123,
First question. Any particular reason for using FreeRTOS and not Zephyr?
The RVfpga-SoC course will show how to run Zephyr.
It is based on the original SweRVolf work here https://github.com/chipsalliance/Cores-SweRVolf
If you would like to port to a different operating system like FreeRTOS, my recommendation would be look at the Zephyr implementation closely.
The zephyr board support files for SwerVolf are here https://github.com/chipsalliance/Cores-SweRVolf/tree/master/zephyr
That would probably be the best reference.
An extra note on TCP support, this is not just a software challenge.
You will need to add hardware support in the SoC for the physical layer interface. i.e. an Ethernet IP core alongside the Ethernet controller
Thanks
ZubairLK
Hi @my123,
Let me add that it can be of interest to your goals to read Daniel Leon's Final Master Thesis, available at:
[link no longer exists]
Although we could finally not include Ethernet support due to time constraints, and we opted for a different approach based on an NRF radio-enabled border router, Section 5.6 of the thesis provides some instructions on how to support Ethernet.
Best regards
Daniel
It does not matter what operating system is used. The main purpose is to implement Ethernet by porting the operating system. At present, it is still difficult for me to port and use the operating system.
Thank you very much, your reply is very useful to me, I think I can learn a lot from this paper