This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/AM5728: Jailhouse issues

Part Number: AM5728


Tool/software: TI-RTOS

UART_BasicExample_idkAM572x_armExampleProject.bin (using sysbios and compiled by Code Composer Studio)running on idkAM572x normal and NO jailhouse.

start address is 0x80000000.

BUT!when i runing it on jailhouse,it dont work.

root@am57xx-evm:/usr/share/jailhouse/examples# modprobe jailhouse
root@am57xx-evm:/usr/share/jailhouse/examples# jailhouse enable /usr/share/jailhouse/examples/am57xx-evm.cell

Initializing Jailhouse hypervisor v0.7 (220-g2ad429b) on CPU 1
Code location: 0xf0000040
Page pool usage after early setup: mem 30/4072, remap 32/131072
Initializing processors:
CPU 1... OK
CPU 0... OK
Page pool usage after late setup: mem 40/4072, remap 38/131072
Activating hypervisor
[ 1410.844912] The Jailhouse is opening.
root@am57xx-evm:/usr/share/jailhouse/examples# ls
UART_BasicExample_idkAM572x_armExampleProject.bin
am572x-rtos-icss.cell
am572x-rtos-pruss.cell
am57xx-evm-ti-app.cell
am57xx-evm.cell
am57xx-pdk-leddiag.cell
linux-loader.bin
rtos-loader.bin

root@am57xx-evm:/usr/share/jailhouse/examples# jailhouse cell create am572x-rtos-icss.cell 
Created cell "AM572X-IDK-ICSS"
Page pool usage after cell creation: mem 57/4072, remap 38/131072
[ 1633.024508] Created Jailhouse cell "AM572X-IDK-ICSS"
root@am57xx-evm:/usr/share/jailhouse/examples# jailhouse cell load 1 linux-loader.bin -a 0 -s "kernel=0x80000000" -a 0x100 UART_BasicExample_idkAM572x_armExampleProject.bin -a 0x80000000
Cell "AM572X-IDK-ICSS" can be loaded
root@am57xx-evm:/usr/share/jailhouse/examples# jailhouse cell start 1 
StUnhandled data write at 0xfffffc00(4)
FATAL: unhandled trap (exception class 0x24)
pc=0x80000024 cpsr=0x600001d3 hsr=0x93800045
r0=0x00000000 r1=0xffffffff r2=0x00000000 r3=0x80000000 
r4=0x00000000 r5=0x00000000 r6=0x00000000 r7=0x00000000 
r8=0x00000000 r9=0x00000000 r10=0x00000000 r11=0x00000000 
r12=0x00000000 r13=0x00000000 r14=0x00000000 
Parking CPU 1 (Cell: "AM572X-IDK-ICSS")

i want to ask,what should i do to let the ccs project running on the jailhouse?