Approach to implement Bao onto Renesas RZ/T2M hardware. #177
Replies: 4 comments 5 replies
-
Hey @pmittireddy. We have ran Bao on that board before and I can get you the fork we have used to do so. However, there is a major issue with that platform. Despite being a dual-core system and, in principle, that would allow Bao to run a dual-guest configuration, the truth is one should look at that platform as two single-core systems consolidated. This is because each core is completely separate from each other and has its own separate GIC. Therefore Bao is not fully equipped to take advantage of this board at the moment. We have ran Bao on only one of the cores and used a WIP version of Bao that allows multiple guests to run on a single CPU. To solve this (because this kind of configuration seems to be present in other R52-based systems) we are looking at ways to configure Bao as a multikernel and deploy multiple Bao instances aware of each other in the same system. However this is still really an idea. The most straightforward way to use Bao (as it is) in this platform, would be to deploy two Bao instances (one in each core) with different platform description configurations that would partition the available memory a priori between the two. This would limit some Bao functionality. For example, communication between the guests would not work. It would be possible to make some ad hoc modifications for it to work. At the moment we are not actively working on this. But let me know if you are interested in exploring this yourself. We will be more than happy to provide any assistance. |
Beta Was this translation helpful? Give feedback.
-
Hi @josecm and bao-hypervisor team,
I am currently working on a project that involves adding a runtime monitoring service that takes predicted actions in case of fault occurrences. The idea is to ensure fault-tolerance by utilizing the Bao hypervisor, creating two virtual machines (VMs) where the actual RTOS software will run on one VM, and a bare-metal monitor will run in another VM. The hardware platform I am targeting for this implementation is having ARM Cortex-R52.
Given your experience, I would appreciate your guidance on how to approach this project, particularly if you have worked with this hardware before. Additionally, if you have any relevant implementation code or documentation, I would be grateful if you could share them, as they would greatly assist in the development process .
I also appreciate the offer to share the fork of the Bao that allows multiple guests to run on a single CPU on renesas RZ/T2M, as that aligns with my current project objectives.
Thank you for your time and support.
|
Beta Was this translation helpful? Give feedback.
-
Hi @AfonsoSantos96 ,
Thanks for sharing the work implemented on RZ/T2M and the detailed update!
I cloned the fork repository [Bao scheduler on Renesas RZ/T2M<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_AfonsoSantos96_bao-2Dhypervisor_tree_exp_sched&d=DwMFaQ&c=nKjWec2b6R0mOyPaz7xtfQ&r=UszTRzBdebBAgkRzX3RelxP_-cdTF-xEtDtESyol-kw&m=eEvBXJ3D0rjvbNJ76sFma8K9n7jJJ3qMMB8J022ctrNIn1vrJRoYA8-8HOnSesUJ&s=t5Rj7fspITx09kp6YHvD71I2RBWstmkJGR_izMMg3JM&e=>]
i used this make command : make PLATFORM=rzt2m CONFIG=rzt2m
I was getting the error:
Makefile:50: /home/test/bao-hypervisor/ci/ci.mk: No such file or directory
make: *** No rule to make target '/home/test/bao-hypervisor/ci/ci.mk'. Stop.
Could you please assist me in resolving this issue? Thanks again for the support!
|
Beta Was this translation helpful? Give feedback.
-
Hi @AfonsoSantos96 and @josecm, I really appreciate the help you have extended so far. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hi ,
I request your assistance to port Bao onto Renesas RZ/T2M hardware in creating 2 isolated VMs (Baremetal + RTOS).
Beta Was this translation helpful? Give feedback.
All reactions