Hello All,
I am working on a custom board based on OMAP4460. The Android release used is 4AI-1.4.
We want to increase the memory allocated for ducati by 10MB.
In the kernel we made the following change, in the file arch/arm/mach-omap2/omap4_ion.h
#define PHYS_ADDR_DUCATI_SIZE (SZ_1M * 105) to (SZ_1M * 115).
But after making the change we are observing the following crash
[ 11.196807] omap-rproc omap-rproc.1: Loaded BIOS image ducati-m3.bin, size 5572820
[ 11.206054] omap-rproc omap-rproc.1: BIOS image version is 2
[ 11.248413] omap_hwmod: ipu: failed to hardreset
[ 11.253631] omap-iommu omap-iommu.0: ducati: version 2.1
[ 11.266448] omap-rproc omap-rproc.1: remote processor ipu is now up
[ 11.282104] omap_rpmsg_mbox_callback: received echo reply from ipu !
[ 11.288848] omap-rproc omap-rproc.1: rproc_mmu_fault_isr
[ 11.294708] omap-iommu omap-iommu.0: ducati: errs:0x00000002 da:0x1a800008 pgd:0xe896c6a0 *pgd:px00000000
[ 11.305053] omap_rpmsg_mbox_callback: received echo reply from ipu !
[ 11.311859] omap_rpmsg_mbox_callback: received echo reply from ipu !
[ 11.318664] omap_rpmsg_mbox_callback: received echo reply from ipu !
[ 11.325439] omap_rpmsg_mbox_callback: ipu has just crashed !
[ 11.331542] dump_ipu_registers: REGISTER DUMP FOR REMOTEPROC ipu
[ 11.337951] dump_ipu_registers: PC is at f7bff9e4
[ 11.343017] dump_ipu_registers: LR is at bbdfd1be
[ 11.348022] dump_ipu_registers: pc : [<f7bff9e4>] lr : [<bbdfd1be>] psr: fffdd3cf
[ 11.348022] sp : f7bedbf8 ip : dff9fdbf fp : 7b7f5ebf
[ 11.362335] dump_ipu_registers: r10: db9fdf9d r9 : ffffdfff r8 : f3ffff8f
[ 11.370239] dump_ipu_registers: r7 : bbfffd69 r6 : 7dfd9f5f r5 : f7d8ffaf r4 : 9fffbfdd
[ 11.379516] dump_ipu_registers: r3 : ffffff9f r2 : fbddf97d r1 : bfffffd3 r0 : efbeebff
[ 11.388366] dump_ipu_registers: Flags: NZCV IRQs off FIQs off
[ 11.395019] _event_notify: remoteproc: ipu has crashed
[ 11.400512] rpmsg_rproc_error: Fatal error in ipu
[ 11.406127] rpmsg_rproc_error: Fatal error in ipu
[ 11.411132] omap_rpmsg_mbox_callback: ipu has just crashed !
[ 11.417388] rpmsg_reset_work: reseting virtio device 0
[ 11.423126] rpmsg_resmgr rpmsg0: Enter rprm_remove
[ 11.429412] rpmsg_reset_work: reseting virtio device 1
[ 11.435119] rpmsg_resmgr rpmsg2: Enter rprm_remove
[ 11.440368] rproc_reset_poolmem: invalid pool
[ 11.447235] omap-rproc omap-rproc.1: stopped remote processor ipu
[ 11.454315] omap-rproc omap-rproc.1: powering up ipu
[ 11.460205] virtio_rpmsg_bus virtio2: rpmsg backend virtproc probed successfully
[ 11.469207] virtio_rpmsg_bus virtio3: rpmsg backend virtproc probed successfully
[ 11.479309] init: cannot find '/system/bin/setup_fs', disabling 'setup_fs'
Is there any other change required in the kernel to increase memory allocated for ducati ?
Thank you for your time.
Any pointers will be helpful.
Thanks and Regards,
Sanjay