RISC OS and NetBSD running on same SoC

栏目: IT技术 · 发布时间: 5年前

内容简介: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

以上所述就是小编给大家介绍的《RISC OS and NetBSD running on same SoC》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Node.js:来一打 C++ 扩展

Node.js:来一打 C++ 扩展

死月 / 电子工业出版社 / 2018-6-1 / 109

Node.js 作为近几年新兴的一种编程运行时,托 V8 引擎的福,在作为后端服务时有比较高的运行效率,在很多场景下对于我们的日常开发足够用了。不过,它还为开发者开了一个使用C++ 开发 Node.js 原生扩展的口子,让开发者进行项目开发时有了更多的选择。 《Node.js:来一打 C++ 扩展》以 Chrome V8 的知识作为基础,配合 GYP 的一些内容,将教会大家如何使用 Node......一起来看看 《Node.js:来一打 C++ 扩展》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具