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.

Ducati binary not loading on 3.0.31 kernel



I am trying to port Ducati to kitkat on blaze board.
ducati-m3-core0.xem3 is at system/vendor/firmware.

With 3.4.61 kernel, ducati binary is loading succesfully. But GUI response is very slow on Android kitkat.
Hence moved to 3.0.31 kernel for kitkat porting since gui response is fast.

But with 3.0.31 kernel, i am getting  error "omap-rproc omap-rproc.1: rproc_loader_cont: failed to load ducati-m3.bin"
Attached the corresponding log.

Please help me in resolving loading ducati with 3.0.31 kernel. Any changes are required in blaze_defconfig?

Additional info:
1) Both Kernels are cloned from omap git
2) RPMSG enabled

  • Different kernels have different versions of RPMSG driver and therefore same Ducati binary will not work across all kernels. You need to find out from your TI representative about the corresponding Ducati version for the kernel cmmit you are using..

  • Hi srinivas,

    I think the problem is with arch/arm/mach-omap2/remoteproc.c , here if you see line no 125 :  .firmware       = "ducati-m3.bin", which means it will be looking for a binary named ducati-m3.bin. What you can try is either change it to .firmware       = "ducati-m3-core0.xem3" or copy ducati-m3.bin (taken from ICS sources) to system/vendor /firmware

    I hope that will work.

    Also can you share , the steps you followed to bring ducati up with kitkat.. like which android port you used ,

    kernel , if any patches are required

    Thanks and regards

    Geo

  • Just renaming the file will not work. .bin and .xem3 are 2 different file formats. .bin is a TI proprietary format while xem3 is ELF. You will need to pick the remoteproc driver from the release where you are picking up Ducati.