On Mon, Aug 10, 2015 at 3:38 PM, Bharat Gohil <[email protected]> wrote:
> Bamvor Jian Zhang <bjzhang@...> writes:
>
>>
>> hi, list
>>
>> i have successful run xen on a sun7i(A20) STB, it should be work on cb2
> and cb3(AKA cubietruck) and
>> sun6i(A31). and i write a wiki here:
> http://wiki.xen.org/wiki/Xen_ARMv7_with_Virtualization_Extensions/Allwinner.
>> maybe someone is interested in try this.
>>
>> BTW: i fail in try the ehci, does anyone has successful exprience about
> this on sun7i?
>>
>> thanks
>>
>> bamvor
>>
>>
>
> Hi,
>
> 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 in hyp mode and following code
> checks for hyp mode in u-boot( in start.S)

HYP mode requires PSCI and HYP support in U-boot. Last I checked we don't
support the H3 yet.

>
>         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 didn't works for me.
>
> Can you help/guide me to enter into hyp mode in Allwinner H3 based board?
>
> I am stuck at this point because it link with SOC manufacture.
>
> Thanks and Regards,
> Bharat Gohil
>
>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "linux-sunxi" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to