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 firmware from android build does not work

  We are building our AFS from the 4AJ.2.1 release.  However, when booting the images, we see the message below on the console and android will not start.   If I replace the ducati-m3.bin file with the version from the pre-built images or from ./hardware/ti/omap4xxx/domx/Ducati_binary/etc/firmware/ducati-m3.bin, then the firmware loads and android will start. 

  I have discovered that the ducati-m3.bin installed during the build process is not from the hardware/ti directory

-rwxrwxr-x 1 jhane jhane 1388356 Jan 16 11:19 ./hardware/ti/domx/Ducati_binary/etc/firmware/ducati-m3.bin
-rwxrwxr-x 1 jhane jhane 1388356 Jan 16 12:07 ./hardware/ti/omap4xxx/domx/Ducati_binary/etc/firmware/ducati-m3.bin
-rw-r--r-- 1 jhane jhane 6852688 Jan 16 12:50 ./out/target/product/blaze_tablet/system/vendor/firmware/ducati-m3.bin
-rw-r--r-- 1 jhane jhane 6852688 Jul 18 09:53 ./out/target/product/blaze_tablet/obj/FAKE/ti-ducati.untarred_intermediates/ducati-m3.bin
-rw-r--r-- 1 jhane jhane 6852688 Jan 16 12:33 ./out/target/product/blaze_tablet/obj/FAKE/ducati-m3.bin_intermediates/ducati-m3.bin
 

and instead is coming from the ducati_blaze_tablet.tgz in device/ti/proprietary-open/omap4

Until we start building our own ducati firmware I need to use the pre-built version.  I'm trying to figure out what is going on here and how to get a working copy of the ducati firmware into my build.

thank you,

jeff

==========

console messages

shell@android:/ $ [   32.756622] omap-rproc omap-rproc.1: rproc_watchdog_isr
[   32.762207] omap-rproc omap-rproc.1: rproc_mmu_fault_isr
[   32.768005] omap-iommu omap-iommu.0: ducati: errs:0x00000002 da:0x8054e570 pgd:0xc79e2014 *pgd:pxb3800802
[   32.778533] dump_ipu_registers: REGISTER DUMP FOR REMOTEPROC ipu
[   32.803833] dump_ipu_registers: PC is at 003d820a
[   32.820648] dump_ipu_registers: LR is at 002be3d9
[   32.825805] dump_ipu_registers: pc : [<003d820a>]    lr : [<002be3d9>]    psr: a1000038
[   32.825805] sp : 8054e6c8  ip : 00000000  fp : 00000001
[   32.859680] dump_ipu_registers: r10: 00000001  r9 : 002375a1  r8 : 00000000
[   32.867340] dump_ipu_registers: r7 : 0000000f  r6 : 8054e728  r5 : ffffffff  r4 : 00000000
[   32.890930] dump_ipu_registers: r3 : 00000000  r2 : 00000000  r1 : ffffffff  r0 : bebdffff
[   32.906585] dump_ipu_registers: Flags: NzCv  IRQs on  FIQs on
[   32.913146] _event_notify: remoteproc: ipu has crashed
[   32.929992] rpmsg_rproc_error: Fatal error in ipu
[   32.935211] rpmsg_rproc_error: Fatal error in ipu
[   32.953430] omap_rpmsg_mbox_callback: ipu has just crashed !
[   32.959655] omap_rpmsg_mbox_callback: ipu has just crashed !
[   32.977355] rpmsg_reset_work: reseting virtio device 8
[   32.983154] rpmsg_resmgr rpmsg12: Enter rprm_remove
[   33.001342] rpmsg_reset_work: reseting virtio device 9
[   33.007019] rpmsg_resmgr rpmsg14: Enter rprm_remove
[   33.012878] rproc_reset_poolmem: invalid pool
[   33.017761] omap-rproc omap-rproc.1: stopped remote processor ipu
[   33.025390] omap-rproc omap-rproc.1: powering up ipu
[   33.031280] virtio_rpmsg_bus virtio10: rpmsg backend virtproc probed successfully
[   33.048797] virtio_rpmsg_bus virtio11: rpmsg backend virtproc probed successfully
[   33.085784] omap-rproc omap-rproc.1: Loaded BIOS image ducati-m3.bin, size 6852688
[   33.124847] omap-rproc omap-rproc.1: remote processor ipu is now up
[   33.143280] omap_rpmsg_mbox_callback: received echo reply from ipu !
[   33.156555] omap_rpmsg_mbox_callback: received echo reply from ipu !
[   33.163360] omap_rpmsg_mbox_callback: received echo reply from ipu !
[   33.179992] omap_rpmsg_mbox_callback: received echo reply from ipu !
[   38.292572] omap-rproc omap-rproc.1: rproc_watchdog_isr
[   38.298217] omap-rproc omap-rproc.1: rproc_mmu_fault_isr
[   38.303985] omap-iommu omap-iommu.0: ducati: errs:0x00000002 da:0x8054e518 pgd:0xc79e2014 *pgd:pxb3800802
[   38.314544] dump_ipu_registers: REGISTER DUMP FOR REMOTEPROC ipu
[   38.332824] dump_ipu_registers: PC is at 003d820a
[   38.338073] dump_ipu_registers: LR is at 002be3d9
[   38.343261] dump_ipu_registers: pc : [<003d820a>]    lr : [<002be3d9>]    psr: a1000038
[   38.343261] sp : 8054e6c8  ip : 00000000  fp : 00000001
[   38.357849] dump_ipu_registers: r10: 00000001  r9 : 002375a1  r8 : 00000000
[   38.365661] dump_ipu_registers: r7 : 0000000f  r6 : 8054e728  r5 : ffffffff  r4 : 00000000
[   38.374725] dump_ipu_registers: r3 : 00000000  r2 : 00000000  r1 : ffffffff  r0 : bebdffff
[   38.383758] dump_ipu_registers: Flags: NzCv  IRQs on  FIQs on
[   38.390350] _event_notify: remoteproc: ipu has crashed
[   38.395996] rpmsg_rproc_error: Fatal error in ipu
[   38.401214] rpmsg_rproc_error: Fatal error in ipu
[   38.406402] omap_rpmsg_mbox_callback: ipu has just crashed !
[   38.412658] omap_rpmsg_mbox_callback: ipu has just crashed !
[   38.419219] rpmsg_reset_work: reseting virtio device 10
[   38.425354] rpmsg_resmgr rpmsg15: Enter rprm_remove
[   38.432434] rpmsg_reset_work: reseting virtio device 11
[   38.438690] rpmsg_resmgr rpmsg17: Enter rprm_remove
[   38.444580] rproc_reset_poolmem: invalid pool
[   38.449737] omap-rproc omap-rproc.1: stopped remote processor ipu
[   38.457397] omap-rproc omap-rproc.1: powering up ipu
[   38.463653] virtio_rpmsg_bus virtio12: rpmsg backend virtproc probed successfully
[   38.473510] virtio_rpmsg_bus virtio13: rpmsg backend virtproc probed successfully
[   38.520202] omap-rproc omap-rproc.1: Loaded BIOS image ducati-m3.bin, size 6852688
[   38.557586] omap-rproc omap-rproc.1: remote processor ipu is now up
[   38.576049] omap_rpmsg_mbox_callback: received echo reply from ipu !
[   38.586791] omap_rpmsg_mbox_callback: received echo reply from ipu !
[   38.593597] omap_rpmsg_mbox_callback: received echo reply from ipu !
[   38.593597] omap_rpmsg_mbox_callback: received echo reply from ipu !