Dear sir,
> Dear sir,
> Last year, I used the rapi-linux-demo.cell to launch a second cell on my 
Raspberry Pi 4 model B. And the memory size of second cell was about 184M.
> However, that is not enough to me to execute some test on it. So I try to 
change the size of the cell in the rpi-linux-demo.c, but it failed (maybe 
occupied
>  other's memory, I don't know). A good news is, someone fixed this 
problem. The demo can provide 1G memory size, and I git clone the new project.
>
> BUT when I executed the operations same with before, I can not build the 
jailhouse
>
> my operations is:
> 1. git clone https://github.com/siemens/jailhouse.git
> 2. sudo make && make modules_install && make install
> 3. sudo insmod driver/jailhouse.ko
> 4. sudo jailhouse enable configs/arm64/rpi4.cell
>
> The 4th step is failed, the error is:
> JAILHOUSE_ENABLE: Invalid argument
>
> I don't know why it occurs. Because there are two project on my Raspberry 
(one is new, the other is cloned in last year ), the old one can run properly.
> If I can get your generous help, I will appreciate.
>

First of all, thanks for Jan give me advice. I accept his advice and obtain 
some information.
(NOTE: I just used the new project and I never changed the configs/arm64/rpi4.c)
when I execute 
jailhouse enable rpi4.c
the error is 
 JAILHOUSE_ENABLE: Invalid argument
and then I see some information from the putty
jailhouse:request_mem_region failed for hypervisor memory 
I don't know whether this error caused or not. Because I can run successfully 
using old project and it also warn this problem. And I execute the followed 
command
sudo jailhouse config check configs/arm64/rpi4.cell 
the message is:

Reading configuration set:
  Root cell:     Raspberry-Pi4 (configs/arm64/rpi4.cell)
Overlapping memory regions inside cell: None
Overlapping memory regions with hypervisor: None
Missing PCI MMCONFIG interceptions: None
Missing resource interceptions for architecture arm64: None

So what should I do ? If I can get your generous help , I will appreciate.

Yours,
Hongpeng Cao. 

-- 
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/3f44dbbd.3c81.17920bc1642.Coremail.caohp19%40lzu.edu.cn.

Reply via email to