内容简介:I have been experimenting with running two systems at the same time on the RK3399 SoC.It all begun when I figured out how to switch to the A72 cpu for RISC OS. When the switch was done, the A53 cpu just continued to execute code.OK I thought why not give i
I have been experimenting with running two systems at the same time on the RK3399 SoC.
It all begun when I figured out how to switch to the A72 cpu for RISC OS. When the switch was done, the A53 cpu just continued to execute code.
OK I thought why not give it something to do!
My first step was to run some small programs.
It worked.
The second thing was switching that cpu to aarch32 and launch RISC OS on that cpu.
It worked quite well, but I can't really see the meaning on running two RISC OSes.
I decided that NetBSD would be the ideal system to run.
Technical details:
As mentioned the system boots up at the same time.
Some units in the SoC needs to be shared, most important the GIC. With GIC I do config it in RISC OS and give affinity to NetBSD for some devices.
The console is based on simplefb, and stores its framebuffer at a fixed physical address. My RISC OS client polls that area and create a sprite (RISC OS native bitmap format) with that area as buffer.
The keyboard works with another shared area. When a key is pressed in RISC OS I look up the scancode and write that to the keyboard RAM area.
Currently most normal keys , and shift key works. I would expect to have all mod keys working pretty soon.
Screenshot of X11 running DWM,xterm and Xemacs:
以上所述就是小编给大家介绍的《RISC OS and NetBSD running on same SoC》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!
猜你喜欢:本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。