Hi Iain, There was an attempt [1] to run Xen on DRA7-evm board which uses the same SoC family that's on the X15 board. However it is based on an old u-boot and kernel.
I'd be nice if you could share patches/instructions if you manage to get this working on mainline u-boot. :) [1] - https://wiki.xenproject.org/wiki/User:Xen_intruction_setup_for_dra7xx-evm_board -- cheers, -roger Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki On 01/02/18 17:58, drhunte...@gmail.com wrote: > Thanks for your comments. I have today tracked the paging problem down to a > need to flush the TLBs before enabling the MMU. This was done via the > TLBIALLH. > At the moment I've done in in xen head.s but maybe better to be done as part > of u-boot as it seems to be an AM57xx uboot problem rather than a generic xen > one. > Iain > > On Wednesday, 31 January 2018 22:09:04 UTC, Hee-cheol Yang wrote: > > Hello I've tried similar job in exynos and ARM Fastmodel simulator, > facing similar issue. > > In my experiences, many issues are related to ARM TZ, not VE. Many > firmwares such as BL0 disable MMU functionality for hypervisor in Secure > world and jump to Normal world before they pass the processor's control to > bootloader like uboot. > So you need to check whether the TZ settings are done correctly. > > Most SOC vendors provide such firmware in binary. For example, You can > get Xen for Exynos firmware in Xen wiki. Also, please check this repository : > > https://github.com/hcyang1012/ARM_Hypervisor > <https://github.com/hcyang1012/ARM_Hypervisor> > > I'm not sure TI supports such functionality. But it is worth to check it. > > Best regards > Heecheol Yang > > 삼성 갤럭시 스마트폰에서 보냈습니다. > > > -------- 원본 이메일 -------- > 보낸 사람: drhun...@gmail.com <javascript:> > 날짜: 18/2/1 오전 6:44 (GMT+09:00) > 받은 사람: BeagleBoard <beagl...@googlegroups.com <javascript:>> > 제목: [beagleboard] X15 - running xen hypervisor > > Hi, > I am trying to get xen hypervisor to run on an X15 but I have a prefetch > abort when the first instruction at a virtual address is fetched. The paging > tables appear to be being setup correctly. > > I am using u-boot v2017.01 to boot the xen image. u-boot by default is in > hypervisor mode with LPAE enabled which is as far as I can see what xen needs. > > So, to my questions. > - Has anyone tried this before? > - does anyone know of a reason why after running u-boot the A15 would be > in hypervisor mode but have some side effect that means just writing to HTTBR > and HSCTLR is not sufficient to get the MMU functioning correctly? > > Thanks, Iain > > -- > For more options, visit http://beagleboard.org/discuss > <https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fbeagleboard.org%2Fdiscuss&data=02%7C01%7C%7C6493a703abaf4096233808d568f3df99%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636530318985402106&sdata=KqFciQLSJbxxnrNvv36un0vQRl4V827cqE7%2BdnB7%2B2c%3D&reserved=0> > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to beagleboard...@googlegroups.com <javascript:>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beagleboard/7475a00d-e52e-44e6-b00c-de3ef10cff93%40googlegroups.com > > <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fbeagleboard%2F7475a00d-e52e-44e6-b00c-de3ef10cff93%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=02%7C01%7C%7C6493a703abaf4096233808d568f3df99%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636530318985402106&sdata=1ShdqCiTnlXA6so3X2ZvGlO4ad1dc6Zi9hi3vCASwTE%3D&reserved=0>. > For more options, visit https://groups.google.com/d/optout > <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout&data=02%7C01%7C%7C6493a703abaf4096233808d568f3df99%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636530318985402106&sdata=67nJHARSPSL2aUOig5AcapaIewpoiC9LSYLocGQQN2k%3D&reserved=0>. > > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to beagleboard+unsubscr...@googlegroups.com > <mailto:beagleboard+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beagleboard/32db26c7-4cc7-484d-98a9-3ea7129a33f9%40googlegroups.com > > <https://groups.google.com/d/msgid/beagleboard/32db26c7-4cc7-484d-98a9-3ea7129a33f9%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/c1083d1e-e9ec-dc38-fae8-21009c18d943%40ti.com. For more options, visit https://groups.google.com/d/optout.