[Letux-kernel] 4.16 onenand

H. Nikolaus Schaller hns at goldelico.com
Wed Apr 11 11:55:35 CEST 2018


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 v4l2_common bmp280 bmg160_core videodev at24 tsc2007 bmc150_magn_i2c bmc150_accel_i2c bmc150_magn bmc150_accel_core media leds_tca6507 industrialio_triggered_buffer bno055 kfifo_buf snd_soc_omap_mcbsp snd_soc_omap snd_pcm_dmaengine phy_twl4030_usb gpio_twl4030 musb_hdrc snd_soc_twl4030 twl4030_charger twl4030_vibra twl4030_pwrbutton twl4030_madc industrialio w2sg0004
[    7.905731]  gps_core w2cbw003_bluetooth ehci_omap omapdss omapdss_base cec
[    8.211975] CPU: 0 PID: 1143 Comm: udevd Not tainted 4.16.0-letux+ #2189
[    8.219024] Hardware name: Generic OMAP36xx (Flattened Device Tree)
[    8.225616] [<c010f584>] (unwind_backtrace) from [<c010b938>] (show_stack+0x10/0x14)
[    8.233734] [<c010b938>] (show_stack) from [<c06ed8f0>] (dump_stack+0x7c/0x9c)
[    8.241302] [<c06ed8f0>] (dump_stack) from [<c012da24>] (__warn+0xd8/0x108)
[    8.248596] [<c012da24>] (__warn) from [<c012da88>] (warn_slowpath_fmt+0x34/0x44)
[    8.256439] [<c012da88>] (warn_slowpath_fmt) from [<c0408bcc>] (refcount_sub_and_test+0x44/0x98)
[    8.265655] [<c0408bcc>] (refcount_sub_and_test) from [<c01154ec>] (arm_iommu_release_mapping+0x18/0x2c)
[    8.275573] [<c01154ec>] (arm_iommu_release_mapping) from [<c049ad18>] (driver_probe_device+0x1d0/0x318)
[    8.285491] [<c049ad18>] (driver_probe_device) from [<c049aee0>] (__driver_attach+0x80/0xa4)
[    8.294342] [<c049aee0>] (__driver_attach) from [<c04993cc>] (bus_for_each_dev+0x58/0x7c)
[    8.302886] [<c04993cc>] (bus_for_each_dev) from [<c049a264>] (bus_add_driver+0xcc/0x1e0)
[    8.311462] [<c049a264>] (bus_add_driver) from [<c049ba84>] (driver_register+0x9c/0xe0)
[    8.319854] [<c049ba84>] (driver_register) from [<c0102818>] (do_one_initcall+0xa8/0x14c)
[    8.328399] [<c0102818>] (do_one_initcall) from [<c01a2fb0>] (do_init_module+0x58/0x1d0)
[    8.336853] [<c01a2fb0>] (do_init_module) from [<c01a1de0>] (load_module+0xe04/0xfb0)
[    8.345062] [<c01a1de0>] (load_module) from [<c01a2164>] (SyS_finit_module+0x88/0x90)
[    8.353271] [<c01a2164>] (SyS_finit_module) from [<c0101000>] (ret_fast_syscall+0x0/0x54)
[    8.361816] Exception stack(0xee7a5fa8 to 0xee7a5ff0)
[    8.367095] 5fa0:                   b6d917d4 00051f40 0000000d b6d909f8 00000000 b6d9131c
[    8.375671] 5fc0: b6d917d4 00051f40 e19f0300 0000017b 00020000 00037f78 00050048 00055940
[    8.384216] 5fe0: beda5ee0 beda5ed0 b6d8ac4b b6e95a42
[    8.403442] ---[ end trace 439767de8008a839 ]---
[    8.591186] omapdrm omapdrm.0: DMM not available, disable DMM support
[    8.621246] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    8.630065] [drm] No driver support for vblank timestamp query.
[    8.646087] omapdrm omapdrm.0: Tiled buffers require DMM
[    8.713378] Console: switching to colour frame buffer device 60x40
[    8.790710] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
[    8.802917] cfg80211: Loading compiled-in X.509 certificates for regulatory database

It does not stop the device or X11 from booting so that I could not
yet relate this to any relevant device driver.

Unfortunately it does not tell which module/driver is being probed...
Could be the camera or something else.

BR,
Nikolaus

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.goldelico.com/pipermail/letux-kernel/attachments/20180411/71134b8a/attachment-0001.asc>


More information about the Letux-kernel mailing list