On 28.04.21 09:39, 曹宏鹏 wrote: > 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 thing to check if you modified the configs: jailhouse config check configs/arm64/rpi4.cell Also check if Jailhouse issues any error on the kernel console. Then you may try setting CONFIG_TRACE_ERROR (see [1]) to get a pointer to root of the problem - if it is found by the hypervisor. Without seeing all your changes, it's hard to give more concrete suggestions. Jan [1] https://github.com/siemens/jailhouse/blob/master/Documentation/hypervisor-configuration.md -- 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/fa16458f-8b1b-8a08-f3f9-82a37ead5389%40web.de.
