Dear sir, > 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. > > > This means that the hypervisor memory region configured in rpi4.cell > does not match a memory reservation done via the device tree. It likely > overlaps RAM that is in use by Linux, thus can't be taken by the hypervisor.
> If you move the hypervisor memory region, make sure to adjust > https://github.com/siemens/jailhouse-images/blob/master/recipes-bsp/rpi-firmware/files/debian/jailhouse.dts > as well. Thanks for your advice again! From my perspective, whether it was caused by Linux version or not. And I execute 1.git clone https://github.com/siemens/linux.git 2.git checkout -b jailhouse-enabling/5.4-rpi 3.git reset --hard 57e5db56e9c9511c4371c61065334a689af60a72 //I want to clone this version 4.make menuconfig 5.make && make modules_install && make install However it is failed and still not to enable rpi4.cell. My solutions is right or not. By the way, according to your advice, I need to alter the jailhouse.dts right? If I can get your generous help, I will appreciate ! Yours sincerely, 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/2d145c5.8415.179558bd06b.Coremail.caohp19%40lzu.edu.cn.
