内容简介: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》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!
猜你喜欢:本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
JavaScript语言精粹
道格拉斯•克罗克福德 (Douglas Crockford) / 赵泽欣、鄢学鹍 / 电子工业出版社 / 2012-9-1 / 49.00元
JavaScript 曾是“世界上最被误解的语言”,因为它担负太多的特性,包括糟糕的交互和失败的设计,但随着Ajax 的到来,JavaScript“从最受误解的编程语言演变为最流行的语言”,这除了幸运之外,也证明了它其实是一门优秀的语言。Douglas Crockford 在本书中剥开了JavaScript 沾污的外衣,抽离出一个具有更好可靠性、可读性和可维护性的JavaScript 子集,让你看......一起来看看 《JavaScript语言精粹》 这本书的介绍吧!