please choosego to mobile | Continue to access the PC version
View: 12409|Reply: 3

Hypervisor/Virtualization on Orange Pi mini 2

[Copy link]

2

threads

7

posts

30

credits

Novice

Rank: 1

credits
30
Published in 2015-8-10 18:39:00 | Show all floors |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| Published in 2017-1-31 17:23:20 | Show all floors
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
Published in 2018-11-6 17:22:05 | Show all floors
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
Published in 2018-11-6 17:25:31 | Show all floors
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 need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list