Hi, I have done a bulk-update of all our kernels at http://projects.goldelico.com/p/gta04-kernel/
We now have:
letux-4.20-rc3 letux-4.19.3 letux-4.18.20 letux-4.14.82
The main change is that upstream stable v4.18 is now EOL so our "latest" (almsot stable) kernel is now letux-4.19.3.
There are also some minor fixes and tweaks as can be seen in the CHANGES and it appears that 4.19.3 is indeed stable enough (at least in the tests I have done) and can be recommended to be used.
All kernels 4.18 and later now use the modern serdev based bluetooth so that hciattach is no longer needed.
For the Pyra we even have an aess capble audio driver - but aess firmware doesn't load because the data format is not compatible to the firmware loader. The driver then falls back to non-aess mode where you can use aplay/play.
Please let us know if you find issues.
What is still unsolved is the Pyra DSI panel regression with 4.20 kernels. The panel simply is not enabled by the omapdrm/dss core and hence not programmed... And remains black. All DPI panels on the other devices supported by Letux OS work (for L3704 even better than ever because we fixed a bug in xorg.conf).
So I'd like to ask everyone who has a Pyra and kernel experience to flash an SD card with the letux-4.20-rc3 kernel and help to find what is going wrong. It might still be a missing bit in the panel driver (drivers/gpu/drm/omapdrm/displays/panel-boe-w677l.c) or someething changed in the dss core.
BR and thanks, Nikolaus
Hi,
On Thu, 22 Nov 2018 10:59:02 +0100 "H. Nikolaus Schaller" hns@goldelico.com wrote:
Hi, I have done a bulk-update of all our kernels at http://projects.goldelico.com/p/gta04-kernel/
We now have:
letux-4.20-rc3 letux-4.19.3 letux-4.18.20 letux-4.14.82
The main change is that upstream stable v4.18 is now EOL so our "latest" (almsot stable) kernel is now letux-4.19.3.
There are also some minor fixes and tweaks as can be seen in the CHANGES and it appears that 4.19.3 is indeed stable enough (at least in the tests I have done) and can be recommended to be used.
All kernels 4.18 and later now use the modern serdev based bluetooth so that hciattach is no longer needed.
For the Pyra we even have an aess capble audio driver - but aess firmware doesn't load because the data format is not compatible to the firmware loader. The driver then falls back to non-aess mode where you can use aplay/play.
Please let us know if you find issues.
What is still unsolved is the Pyra DSI panel regression with 4.20 kernels. The panel simply is not enabled by the omapdrm/dss core and hence not programmed... And remains black. All DPI panels on the other devices supported by Letux OS work (for L3704 even better than ever because we fixed a bug in xorg.conf).
So I'd like to ask everyone who has a Pyra and kernel experience to flash an SD card with the letux-4.20-rc3 kernel and help to find what is going wrong. It might still be a missing bit in the panel driver (drivers/gpu/drm/omapdrm/displays/panel-boe-w677l.c) or someething changed in the dss core.
I just got this one: [ 11.231470] omapdss_dsi 58004000.encoder: connect [ 11.236470] panel-btl507212-w677l 58004000.encoder:lcd: connect [ 11.242948] panel-btl507212-w677l 58004000.encoder:lcd: connect() [ 11.249505] panel-btl507212-w677l 58004000.encoder:lcd: connect() ok [ 11.252746] random: crng init done [ 11.258114] DISPC: dispc_runtime_get [ 11.263913] DSS: dss_restore_context [ 11.268519] DSS: context restored [ 11.272199] DISPC: fifo(0) threshold (bytes), old 20352/20464, new 32640/32752 [ 11.279988] DISPC: fifo(1) threshold (bytes), old 32640/32752, new 32640/32752 [ 11.287767] DISPC: fifo(2) threshold (bytes), old 32640/32752, new 32640/32752 [ 11.295458] DISPC: fifo(3) threshold (bytes), old 32640/32752, new 32640/32752 [ 11.303192] DISPC: fifo(4) threshold (bytes), old 32640/32752, new 0/128 [ 11.310511] DISPC: dispc_ovl_setup 0, pa 0xfd97b000, pa_uv 0x00000000, sw 1, 0,0, 1x1 -> 0x0, cmode 34325258, rot 1, chan 0 repl 1 [ 11.323059] DISPC: scrw 1, width 1 [ 11.326745] DISPC: offset0 0, offset1 0, row_inc 1, pix_inc 1 [ 11.332990] DISPC: 0,0 1x1 -> 1x1 [ 11.336585] DISPC: dispc_enable_plane 0, 1 [ 11.341107] DISPC: lck = 192000000 (1) [ 11.345174] DISPC: pck = 96000000 (2) [ 11.349157] DISPC: channel 0 xres 8 yres 1 [ 11.353591] DISPC: pck 16000000 [ 11.356976] DISPC: hsync_len 8 hfp 4 hbp 4 vsw 1 vfp 1 vbp 1 [ 11.363186] DISPC: vsync_level -1 hsync_level -1 data_pclk_edge 1 de_level 1 sync_pclk_edge 1 [ 11.372585] DISPC: hsync 666666Hz, vsync 166666Hz [ 11.378025] DISPC: dispc_enable_plane 0, 0 [ 11.382388] DISPC: dispc_restore_context [ 11.386805] DISPC: context restored [ 11.390694] DISPC: dispc_restore_gamma_tables() [ 11.395512] DISPC: dispc_mgr_write_gamma_table: channel 0 [ 11.401651] DISPC: dispc_mgr_write_gamma_table: channel 1 [ 11.407654] DISPC: dispc_mgr_write_gamma_table: channel 2 [ 11.413479] DISPC: dispc_mgr_write_gamma_table: channel 3 [ 11.419398] DISPC: dispc_runtime_put [ 11.423345] DISPC: dispc_save_context [ 11.427530] DISPC: context saved [ 11.431217] DSS: dss_save_context [ 11.434903] DSS: context saved [ 11.435315] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 11.445263] [drm] No driver support for vblank timestamp query. [ 11.455763] panel-btl507212-w677l 58004000.encoder:lcd: get_timings() in = dsi.0 0 (null) [ 11.465284] panel-btl507212-w677l 58004000.encoder:lcd: check_timings() in = dsi.0 0 (null) [ 11.475285] ------------[ cut here ]------------ [ 11.480633] WARNING: CPU: 0 PID: 1312 at /home/andi/gta04/pyra-kernel/drivers/gpu/drm/omapdrm/omap_gem.c:239 omap_gem_attach_pages+0x40/0x20c [omapdrm] [ 11.495242] Modules linked in: omapdrm(+) drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops snd_soc_omap_hdmi_audio wl18xx wlcore mac80211 panel_boe_w677l snd_soc_dmic cfg80211 dwc3 snd_soc_omap_abe_twl6040 snd_soc_simple_a [ 11.585249] CPU: 0 PID: 1312 Comm: udevd Tainted: G W 4.20.0-rc3-letux+ #1 [ 11.593822] Hardware name: Generic OMAP5 (Flattened Device Tree) [ 11.600135] [<c01110e4>] (unwind_backtrace) from [<c010c664>] (show_stack+0x10/0x14) [ 11.608272] [<c010c664>] (show_stack) from [<c0846c58>] (dump_stack+0x90/0xc4) [ 11.615852] [<c0846c58>] (dump_stack) from [<c01332ec>] (__warn+0xf0/0x110) [ 11.623161] [<c01332ec>] (__warn) from [<c013341c>] (warn_slowpath_null+0x38/0x44) [ 11.631139] [<c013341c>] (warn_slowpath_null) from [<bf6f060c>] (omap_gem_attach_pages+0x40/0x20c [omapdrm]) [ 11.641540] [<bf6f060c>] (omap_gem_attach_pages [omapdrm]) from [<bf6f0860>] (_omap_gem_pin+0x88/0x174 [omapdrm]) [ 11.652371] [<bf6f0860>] (_omap_gem_pin [omapdrm]) from [<bf6f1b28>] (omap_gem_new+0x2b0/0x320 [omapdrm]) [ 11.662473] [<bf6f1b28>] (omap_gem_new [omapdrm]) from [<bf6f4c30>] (omap_fbdev_create+0xb0/0x364 [omapdrm]) [ 11.672885] [<bf6f4c30>] (omap_fbdev_create [omapdrm]) from [<bf6c7274>] (__drm_fb_helper_initial_config_and_unlock+0x2b0/0x3b8 [drm_kms_helper]) [ 11.686634] [<bf6c7274>] (__drm_fb_helper_initial_config_and_unlock [drm_kms_helper]) from [<bf6f5048>] (omap_fbdev_init+0xa8/0xf4 [omapdrm]) [ 11.700002] [<bf6f5048>] (omap_fbdev_init [omapdrm]) from [<bf6ed9c8>] (pdev_probe+0x524/0x644 [omapdrm]) [ 11.710072] [<bf6ed9c8>] (pdev_probe [omapdrm]) from [<c0577c1c>] (platform_drv_probe+0x48/0x94) [ 11.719291] [<c0577c1c>] (platform_drv_probe) from [<c0575b88>] (really_probe+0x1f0/0x2c0) [ 11.727966] [<c0575b88>] (really_probe) from [<c0575ee4>] (driver_probe_device+0x140/0x15c) [ 11.736736] [<c0575ee4>] (driver_probe_device) from [<c0575f94>] (__driver_attach+0x94/0xd0) [ 11.745600] [<c0575f94>] (__driver_attach) from [<c0574178>] (bus_for_each_dev+0x64/0xa0) [ 11.754181] [<c0574178>] (bus_for_each_dev) from [<c05750f0>] (bus_add_driver+0x170/0x1d8) [ 11.762849] [<c05750f0>] (bus_add_driver) from [<c0576ec4>] (driver_register+0xb4/0xf8) [ 11.771249] [<c0576ec4>] (driver_register) from [<c0577cdc>] (__platform_register_drivers+0x40/0x7c) [ 11.780835] [<c0577cdc>] (__platform_register_drivers) from [<c010317c>] (do_one_initcall+0x170/0x3d8) [ 11.790606] [<c010317c>] (do_one_initcall) from [<c01d476c>] (do_init_module+0x58/0x1cc) [ 11.799102] [<c01d476c>] (do_init_module) from [<c01d344c>] (load_module+0x19dc/0x207c) [ 11.807497] [<c01d344c>] (load_module) from [<c01d3d1c>] (sys_finit_module+0x94/0xb4) [ 11.815714] [<c01d3d1c>] (sys_finit_module) from [<c0101000>] (ret_fast_syscall+0x0/0x28) [ 11.824294] Exception stack(0xeca51fa8 to 0xeca51ff0) [ 11.829591] 1fa0: b6d927d4 00051fa8 0000000e b6d919f8 00000000 b6d9231c [ 11.838175] 1fc0: b6d927d4 00051fa8 7ee5fb00 0000017b 00020000 00037f78 00050048 000604a8 [ 11.846751] 1fe0: befbeee0 befbeed0 b6d8bc4b b6e96a42 [ 11.854386] irq event stamp: 50573 [ 11.858172] hardirqs last enabled at (50597): [<c086492c>] _raw_spin_unlock_irq+0x24/0x60 [ 11.867071] hardirqs last disabled at (50610): [<c085df98>] __schedule+0x150/0xa14 [ 11.875688] softirqs last enabled at (50634): [<c01022cc>] __do_softirq+0x1a4/0x5a4 [ 11.884299] softirqs last disabled at (50665): [<c013acac>] irq_exit+0xc0/0x174 [ 11.892386] ---[ end trace 3f5161c65e9a8c6b ]---
Regards, Andreas