Thanks Jan,

actually mem=3840M is the only thing required to get the demo running.
device tree and CMA=32M reservations do not bring anything visible.
I haven't fully investigated but I'll do.

FF

On Wed, 6 May 2020 at 07:05, Jan Kiszka <[email protected]> wrote:

> On 05.05.20 19:42, François Ozog wrote:
> > Hi
> >
> > Trying to revive memories to play with Jailhouse on a Macchiatobin.
> >
> > I've got my FDT reservation as described in configs/arm64/macchiatobin.c:
> > 100000000-13fffffff : System RAM
> >    139800000-13effffff : reserved
> >    13f2e3000-13f342fff : reserved
> >    13f343000-13f743fff : reserved
> >    13f744000-13f7c3fff : reserved
> >    13f7c6000-13f7c7fff : reserved
> >    13f7c8000-13f7c8fff : reserved
> >    13f7c9000-13f7cffff : reserved
> >    13f7d0000-13f7d0fff : reserved
> >    13f7d1000-13f7d1fff : reserved
> >    13f7d2000-13fffffff : reserved
> > 800000000-83fffffff : reserved
> >
> > When I launch:
> > sudo tools/jailhouse enable configs/arm64/macchiatobin.cell
> >
> > The module says:
> > jailhouse: request_mem_region failed for hypervisor memory.
> > jailhouse: Did you reserve the memory with "memmap=" or "mem="?
> >
> > hypervisor is at 0x13fc00000 as per the config which seems fine.
> > The reserved memory as per the config does not exist as it is beyond
> > physical RAM. I moved it at 2G (80000000-83ffffff) but still the same
> > thing.
> >
> > That's certainly an obvious issue but.... if you could help me...
> >
>
> I don't have that board in reach to check how reservation looks like in
> the good case, but you can get an image that is supposed to work from
> jailhouse-images. Or pick up patterns from there, like the reservation
> via "mem=3840M" [1]. Maybe start you system with that setting and
> compare the reservations.
>
> Jan
>
> [1]
>
> https://github.com/siemens/jailhouse-images/blob/master/wic/macchiatobin.wks
>
> --
> Siemens AG, Corporate Technology, CT RDA IOT SES-DE
> Corporate Competence Center Embedded Linux
>


-- 
François-Frédéric Ozog | *Director Linaro Edge & Fog Computing Group*
T: +33.67221.6485
[email protected] | Skype: ffozog

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/CAHFG_%3DV8wf0zMUk5VZHYbAReARFCoJ6m_1kcCDNxkp7-01Vukw%40mail.gmail.com.

Reply via email to