I'm testing rpmsg user-space test application with the latest GLSDK image (VERSION: 7_03_00_03)
and I got the same kernel panic with it.
The problem seems to be in the kernel side and rpmsg_proto code because
I get the following error to dmesg:
[ 37.285252] rpmsg_proto rpmsg3: unexpected inbound message (from 51)
[ 37.291678] Unable to handle kernel NULL pointer dereference at
virtual address 00000008
[ 37.299832] pgd = c0004000
[ 37.302551] [00000008] *pgd=00000000
[ 37.306151] Internal error: Oops: 17 [#1] PREEMPT SMP ARM
The system hangs after that message.
This is what I did:
1. Extract boot-dra7xx-evm.tar.gz to boot partition and
arago-glsdk-multimedia-image-dra7xx-evm.tar.gz to root partition from
GLSDK's filesystem subdirectory to SD card. You can also use GLSDK's SD
card creator mksdboot.sh.
2. Run 'make ipc_ipu' in GLSDK directory to create ping_rpmsg firmware.
3. Copy
$GLSDK/component-sources/ipc_3_40_00_06/packages/ti/ipc/tests/bin/ti_platforms_evmDRA7XX_ipu1/ping_rpmsg.xem4
to /lib/firmware/dra7-ipu1-fw.xem4 of the SD-card's root file system.
4. Make ipc test binaries for linux. Root Makefile lacks support for
them so I made them inside ipc package. Yocto compiles the same
ping_rpmsg binary so this step is not required if Yocto is built.
5. If ipc test binaries are made, copy
$GLSDK/component-sources/ipc_3_40_00_06//linux/src/tests/ping_rpmsg to
/usr/bin directory of the SD-card's root file system.
5. Or alternatively, copy
$GLSDK/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/dra7xx_evm-linux-gnueabi/ti-ipc/3.40.00.06-r0/packages-split/ti-ipc-test/usr/bin/ping_rpmsg
to /usr/bin directory of the SD-card's root file system.
6. Boot to the SD-card.
7. Run ping_rpmsg
Is this known issues or i'm doing something wrong on the procedure?
Regards