FoRUmS

This is a question of whether SweRVolfSoC can port the operating system  

 

my123
(@my123)
Eminent Member
Joined: 2 months ago
Posts: 27
17/04/2021 6:53 am  

   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!


ReplyQuote
RCWO
 RCWO
(@rcwo)
Member Admin
Joined: 2 years ago
Posts: 21
17/04/2021 1:04 pm  

@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.


ReplyQuote
ZubairLK
(@zubairlk)
New Member
Joined: 6 months ago
Posts: 1
17/04/2021 4:38 pm  
Posted by: @my123

   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

 

 


ReplyQuote
dchaver
(@dchaver)
Active Member
Joined: 6 months ago
Posts: 10
18/04/2021 9:39 am  

Hi @my123,

Let me add that it can be of interest to your goals to read Daniel Leon's Final Master Thesis, available at:

https://eprints.ucm.es/id/eprint/62106/1/DANIEL_LEON_GONZALEZ_DL_-_FPGA_Implementation_of_an_ad-hoc_RISC-V_SoC_for_Industrial_IoT__Graded__4286351_962908330.pdf

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


ReplyQuote
my123
(@my123)
Eminent Member
Joined: 2 months ago
Posts: 27
18/04/2021 10:38 am  

@rcwo

It’s awesome. I look forward to it.


ReplyQuote
my123
(@my123)
Eminent Member
Joined: 2 months ago
Posts: 27
18/04/2021 10:45 am  

@zubairlk

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.


ReplyQuote
my123
(@my123)
Eminent Member
Joined: 2 months ago
Posts: 27
18/04/2021 10:52 am  

@dchaver

Thank you very much, your reply is very useful to me, I think I can learn a lot from this paper


ReplyQuote