Re: [Xen-devel] xen on beagleboard-x15: fails to access PRCM MPU register

2019-06-28 Thread Stefano Stabellini
On Fri, 28 Jun 2019, Denis Obrezkov wrote: > Hi Iain, > > On 6/28/19 7:25 PM, Iain Hunter wrote: > > Hi Stefano, > > It was a patchset I'd circulated earlier in the GSoC process. > > Basically the partial port of Xen on X15 I'd done last year. The build > > script is the reference for which patche

Re: [Xen-devel] xen on beagleboard-x15: fails to access PRCM MPU register

2019-06-28 Thread Iain Hunter
Hi Denis, Agreed. I would continue as you are, just remembering that if you have an issue there might be a patch for it already and have a look at the patches. Iain On Fri, 28 Jun 2019 at 19:31, Denis Obrezkov wrote: > > Hi Iain, > > On 6/28/19 7:25 PM, Iain Hunter wrote: > > Hi Stefano, > > It w

Re: [Xen-devel] xen on beagleboard-x15: fails to access PRCM MPU register

2019-06-28 Thread Denis Obrezkov
Hi Iain, On 6/28/19 7:25 PM, Iain Hunter wrote: > Hi Stefano, > It was a patchset I'd circulated earlier in the GSoC process. > Basically the partial port of Xen on X15 I'd done last year. The build > script is the reference for which patches were actually used. > Iain I believe the reason we have

Re: [Xen-devel] xen on beagleboard-x15: fails to access PRCM MPU register

2019-06-28 Thread Iain Hunter
Hi Stefano, It was a patchset I'd circulated earlier in the GSoC process. Basically the partial port of Xen on X15 I'd done last year. The build script is the reference for which patches were actually used. Iain On Fri, 28 Jun 2019 at 17:02, Stefano Stabellini wrote: > > Hi Iain, > > Where is the

Re: [Xen-devel] xen on beagleboard-x15: fails to access PRCM MPU register

2019-06-28 Thread Stefano Stabellini
Hi Iain, Where is the patch you mentioned? Maybe you forgot to attach it to the email? Cheers, Stefano On Fri, 28 Jun 2019, Iain Hunter wrote: > Stefano, Denis, > > I achieved that with patch > patches/xen/0003-add-PRCM_MPU-to-memory-translation-for-AM572x.patch. > This just adds > .specific_

Re: [Xen-devel] xen on beagleboard-x15: fails to access PRCM MPU register

2019-06-28 Thread Iain Hunter
Stefano, Denis, I achieved that with patch patches/xen/0003-add-PRCM_MPU-to-memory-translation-for-AM572x.patch. This just adds .specific_mapping=omap5_specific_mapping to DRA7 platform. Iain On Fri, 28 Jun 2019 at 01:33, Stefano Stabellini wrote: > > Writing here a summary of the follow-up di

Re: [Xen-devel] xen on beagleboard-x15: fails to access PRCM MPU register

2019-06-27 Thread Stefano Stabellini
Writing here a summary of the follow-up discussion on IRC. This is due to a magic memory region, not described in the device tree, being accessed by Linux. The memory region is 0x48243400 - 0x48243400+512. To fix problems like this one, we have the platform specific files in xen: see the files un

Re: [Xen-devel] xen on beagleboard-x15: fails to access PRCM MPU register

2019-06-27 Thread Denis Obrezkov
CC'ed other GSoC mentors On 6/27/19 9:52 PM, Denis Obrezkov wrote: > Hello all, > > I have a failure when I am trying to boot Linux with Xen on bb-x15, here > is the log: > https://pastebin.com/BBAFPkVU > > and, as Julien (cc'ed) suggested here is the DT debug information for xen: > https://driv

[Xen-devel] xen on beagleboard-x15: fails to access PRCM MPU register

2019-06-27 Thread Denis Obrezkov
Hello all, I have a failure when I am trying to boot Linux with Xen on bb-x15, here is the log: https://pastebin.com/BBAFPkVU and, as Julien (cc'ed) suggested here is the DT debug information for xen: https://drive.google.com/open?id=15YTsCKYUTbG2i-siWezJXKWuG0H1VfQz So, what I was able to figur