Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
View: 5062|Reply: 3

Hypervisor/Virtualization on Orange Pi mini 2

[Copy link]

2

Threads

7

Posts

30

Credits

Novice

Rank: 1

Credits
30
Post time 2015-8-10 18:39:00 | Show all posts |Read mode
Hi All,

I working on porting Xen to Orange Pi 2(Allwinner H3) board.
When I try to boot xen on it, Shows following message.

- UART enabled -
- CPU  booting -
- Xen must be entered in NS Hyp mode -
- Boot failed -

I assume that all allwinner core enable(start from internal ROM firmware) in hyp mode and following code
checks for hyp mode in u-boot( in arch/arm/cpu/armv7/start.S)

         mrs     r0, cpsr
         and     r1, r0, #0x1f           @ mask mode bits
         teq     r1, #0x1a               @ test for HYP mode
         bicne   r0, r0, #0x1f           @ clear all mode bits
         orrne   r0, r0, #0x13           @ set SVC mode
         orr     r0, r0, #0xc0           @ disable FIQ and IRQ
         msr     cpsr,r0

But H3 SoC not start from HYP mode unlike AllWinner A20 start in HYP. Is any specific different in booting of A20 and H3 before boot0 and u-boot start.

Can anyone help/guide me to enter into hyp mode in Allwinner H3 SoC based board?

Is any specific procedure to enter into HYP mode? i.e TI OMAP5 based device require special SMC instruction to enter into HYP mode.

I am stuck at this point because it link with SoC internal information.

Thanks and Regards,
Bharat Gohil

2

Threads

7

Posts

30

Credits

Novice

Rank: 1

Credits
30
 Author| Post time 2017-1-31 17:23:20 | Show all posts
Hello All

I had successfully run Xen hypervisor on orangePI PC boards.
Please find log at xen mailing list

https://lists.gt.net/xen/devel/432131

Regards,
Bharat

0

Threads

2

Posts

8

Credits

Novice

Rank: 1

Credits
8
Post time 2018-11-6 17:22:05 | Show all posts
Edited by balaji at 2018-11-6 17:29
ghl.bhrt replied at 2017-1-31 17:23
Hello All

I had successfully run Xen hypervisor on orangePI PC boards.

Hi Bharat Gohil,
                            Can you Please kindly share the packages of Uboot and Xen Porting Modification for Orange Pie
and could be greatfull if You can share and manual Documents for Porting

Thanks & Regards,
Balaji Vivek.


0

Threads

2

Posts

8

Credits

Novice

Rank: 1

Credits
8
Post time 2018-11-6 17:25:31 | Show all posts
Hi Bharat,
                     Can you share me the Uboot source code  link and Xen ported Packages for Orange Pie and also
any manual documents to port Xen on to Orange Pie

Thanks & Regards,
Balaji Vivek.
You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2019-8-19 22:36 GMT+8 , Processed in 0.026424 second(s), 23 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list