Ralf. I faced another problem.
I modified the non-root cell for RAM.
------------------------------------------------------
/*RAM*/ {
.phys_start = 0xfbff0000,
.virt_start = 0x0,
.size = 0x10000,
.flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_WRITE |
JAILHOUSE_MEM_EXECUTE | JAILHOUSE_MEM_DMA |
JAILHOUSE_MEM_LOADABLE,
},
/* RAM */ {
.phys_start = 0xf0000000,
.virt_start = 0xf0000000, //virt_start=0x80000000 is tested as well
.size = 0x1fff0000,
.flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_WRITE |
JAILHOUSE_MEM_EXECUTE | JAILHOUSE_MEM_DMA |
JAILHOUSE_MEM_LOADABLE,
},
------------------------------------------------------
And I write "mem=1792M vmalloc=512M" in /boot/extlinux/extlinux.conf
1792M = (2048+1792)*2^20 = 0xf0000000
So, when kernel is booting, it show me memory limit to 1792M
After modifying configurations, I typed the command
(sudo jailhouse cell linux configs/jetson-tx1-linux-demo.cell Image -d
configs/dts/inmate-jetson-tx1.dtb -c "console=ttyS0,115200")
But, I only read the exception messages.
----------------------------------------------
Unhandled data write at oxfbff0000(1)
FATAL:unhandled trap (exception class 0x24)
...
...
Parking CPU 1 (Cell : "Jetson-TX1")
----------------------------------------------
I guess that it has memory crash for linux-inmate loader and root-cell.
Um...
And, this is another question.
I understood "mem= " role but what is vmalloc?
non-root cell use vmalloc for making cell?
Thank you for answering each and every time.
--
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].
For more options, visit https://groups.google.com/d/optout.