[Letux-kernel] 4.16 isp / camera module madness

Andreas Kemnade andreas at kemnade.info
Thu Apr 12 12:58:32 CEST 2018


On Thu, 12 Apr 2018 08:52:32 +0200
"H. Nikolaus Schaller" <hns at goldelico.com> wrote:

> Hi,
> 
> > Am 11.04.2018 um 22:18 schrieb Andreas Kemnade <andreas at kemnade.info>:
> > 
> > On Wed, 11 Apr 2018 11:55:35 +0200
> > "H. Nikolaus Schaller" <hns at goldelico.com> wrote:
> >   
> >> Hi all,
> >>   
> >>> Am 10.04.2018 um 22:37 schrieb Andreas Kemnade <andreas at kemnade.info>:
> >>> 
> >>> On Tue, 10 Apr 2018 16:06:54 +0200
> >>> "H. Nikolaus Schaller" <hns at goldelico.com> wrote:
> >>> 
> >>> [...]    
> >>>> 
> >>>> This commit has the following message:
> >>>> 
> >>>> commit bdaca9345d41fd9420995469d27603ea62054691
> >>>> Author: Ladislav Michl <ladis at linux-mips.org>
> >>>> Date:   Fri Jan 12 14:16:57 2018 +0100
> >>>> 
> >>>>   mtd: onenand: omap2: Decouple DMA enabling from INT pin availability
> >>>> 
> >>>>   INT pin (gpio_irq) is not really needed for DMA but only for notification
> >>>>   when a command that needs wait has completed. DMA memcpy can be still used
> >>>>   even without gpio_irq available, so enable it unconditionally.
> >>>> 
> >>>>   Signed-off-by: Ladislav Michl <ladis at linux-mips.org>
> >>>>   Reviewed-by: Peter Ujfalusi <peter.ujfalusi at ti.com>
> >>>>   Tested-by: Tony Lindgren <tony at atomide.com>
> >>>>   Tested-by: Aaro Koskinen <aaro.koskinen at iki.fi>
> >>>>   Acked-by: Roger Quadros <rogerq at ti.com>
> >>>>   Signed-off-by: Boris Brezillon <boris.brezillon at free-electrons.com>
> >>>> 
> >>>> 
> >>>> This is a really hot candidate!
> >>>>   
> >>> reproducable here.    
> >> 
> >> it looks as we have a solution now!
> >> 
> >> I will spend some more minutes for testing and then finally
> >> I can rebuilt & update/release our letux-4.16 for the GTA04A5.
> >> 
> >> This will also include the missing EHCI/offmode stuff.
> >> 
> >> There was only one minor issue in the boot log:
> >> 
> >> [    7.456390] omap-twl4030 sound: twl4030-hifi <-> 49022000.mcbsp mapping ok
> >> [    7.539764] asoc-simple-card sound_telephony: gtm601 <-> 49026000.mcbsp mapping ok
> >> [    7.555938] ov9655 1-0030: OV9655 read register 1c : ffffff87
> >> [    7.575683] ov9655 1-0030: OV9655 read register 1d : ffffff87
> >> [    7.581695] ov9655 1-0030: OV9655 not detected, can't read manufacturer id
> >> [    7.619445] pps pps0: new PPS source pps.-1
> >> [    7.623901] pps pps0: Registered IRQ 165 as PPS source
> >> [    7.647369] clk_unregister: unregistering prepared clock: cam_xclka
> >> [    7.654144] ------------[ cut here ]------------
> >> [    7.774383] WARNING: CPU: 0 PID: 1143 at lib/refcount.c:187 refcount_sub_and_test+0x44/0x98
> >> [    7.825897] refcount_t: underflow; use-after-free.
> >> [    7.830932] Modules linked in: pps_gpio panel_tpo_td028ttec1 snd_soc_simple_card snd_soc_simple_card_utils snd_soc_omap_twl4030 pps_core encoder_opa362 wwan_on_off snd_soc_gtm601 pwm_omap_dmtimer connector_analog_tv generic_adc_battery pwm_bl extcon_gpio omap3_isp(+) wlcore_sdio videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 bq27xxx_battery_hdq bq27xxx_battery videobuf2_common omap2430 omap_hdq ov9655 v4l2_fwnode bmg160_i2c bmp280_i2c   
> > 
> > There is a (+) for omap3_isp. Maybe that is a hint?  
> 
> Interesting!
> 
> > 
> > I cannot reproduce it on my gta04a5.  
> 
> Do you have a camera installed?
> I guess it has something to do with 

I have a camera in my gta04a4. I can retry there.


Regrrds,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.goldelico.com/pipermail/letux-kernel/attachments/20180412/a5de6699/attachment.asc>


More information about the Letux-kernel mailing list