Notifications
Clear all

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

 

(@my123)
Eminent Member
Joined: 3 years ago
Posts: 43
Topic starter  

   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!


   
Quote
RCWO
 RCWO
(@rcwo)
Member Admin Registered
Joined: 5 years ago
Posts: 59
 

@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)
Member Admin
Joined: 3 years ago
Posts: 6
 
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)
Member Admin
Joined: 3 years ago
Posts: 81
 

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


   
ReplyQuote
(@my123)
Eminent Member
Joined: 3 years ago
Posts: 43
Topic starter  

@rcwo

It’s awesome. I look forward to it.


   
ReplyQuote
(@my123)
Eminent Member
Joined: 3 years ago
Posts: 43
Topic starter  

@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)
Eminent Member
Joined: 3 years ago
Posts: 43
Topic starter  

@dchaver

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


   
ReplyQuote