[Letux-kernel] LetuxOS: Kernel: m-latest 5.11-rc2 successful
Andreas Kemnade
andreas at kemnade.info
Fri Jan 8 21:19:03 CET 2021
On Wed, 6 Jan 2021 22:54:34 +0100 (CET)
hns at goldelico.com (H. Nikolaus Schaller) wrote:
> KVERSION: v5.11-rc2 - http://www.kernel.org
> CONFIGS: arch/arm/configs/letux_defconfig arch/arm/configs/letux_lpae_defconfig arch/arm64/configs/letux_defconfig arch/mips/configs/letux_defconfig arch/x86/configs/letux_defconfig
>
> Infos
> =====
> Project Home: http://projects.goldelico.com/p/gta04-kernel/
> Issues: http://projects.goldelico.com/p/gta04-kernel/issues/
> Original: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/?h=v5.11-rc2
> Elixir: https://elixir.bootlin.com/linux/v5.11-rc2/source
>
> Downloads
> =========
> git: http://git.goldelico.com/?p=letux-kernel.git;a=shortlog;h=letux-5.11-rc2
> ARM: http://download.goldelico.com/letux-kernel/letux-5.11-rc2
> ARM-LPAE: http://download.goldelico.com/letux-kernel/letux-5.11-rc2-lpae
> ARM64: http://download.goldelico.com/letux-kernel/letux-5.11-rc2-arm64
> CI20: http://download.goldelico.com/letux-kernel/letux-5.11-rc2-ci20
> Mipsbook: http://download.goldelico.com/letux-kernel/letux-5.11-rc2-l400
>
> Recent CHANGES (http://download.goldelico.com/letux-kernel/letux-5.11-rc2/src/CHANGES)
> ==============
> letux-5.11-rc2 Wed Jan 6 20:19:48 CET 2021:
> * drm/ingenic: add missing plane format table for jz4780 (by hns at goldelico.com)
> * drm/ingenic: remove old dw_hdmi-jz4780.c (by hns at goldelico.com)
> * rootfs: fix X11 setup for Pandora and Pyra (by hns at goldelico.com)
> * kobolino: fix device tree aliases for mmc0 and mmc1 so that we can boot again (by Andreas Kemnade <andreas at kemnade.info>)
> * revert "media: omap3isp: Fix high idle current" because it seems to have no positive effect, just panics kernel if camera is connected (by hns at goldelico.com)
It has some effect on power consumption...
Testing without camera.
plain 5.11-rc2 init=/bin/bash
root@(none):/# idle-ser.sh
root@(none):/#
root@(none):/# modprobe omap_hdq
[ 134.932067] omap_hdq 480b2000.1w: OMAP HDQ Hardware Rev 0.5. Driver in Interrupt mode
[ 134.952392] w1_master_driver w1_bus_master1: Attaching one wire slave 01.000000000000 crc 3d
root@(none):/# [ 134.973419] bq27xxx_battery_setup
[ 134.985076] bq27xxx_battery_setup: dm_regs=00000000
[ 134.996978] bq27xxx_battery_settings
[ 135.000762] bq27xxx_battery_settings: power_supply_get_battery_info failed ret=0
w ot@(none):/# sleep 12 ; cat /sys/class/power_supply/bq27000-battery/current_now
36771
root@(none):/# modprobe omap3_isp
[ 177.433959] mc: Linux media interface: v0.10
[ 177.451843] videodev: Linux video capture interface: v2.00
[ 177.470855] omap3isp 480bc000.isp: parsing parallel interface
[ 177.487335] omap3isp 480bc000.isp: supply vdd-csiphy1 not found, using dummy regulator
[ 177.496459] omap3isp 480bc000.isp: supply vdd-csiphy2 not found, using dummy regulator
[ 177.505676] omap3isp 480bc000.isp: Revision 15.0 found
[ 177.511718] omap-iommu 480bd400.mmu: 480bd400.mmu: version 1.1
[ 177.534667] omap3isp 480bc000.isp: hist: using DMA channel dma0chan20
[ 177.541442] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP CCP2 was not initialized!
[ 177.562469] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP CSI2a was not initialized!
[ 177.572509] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP CCDC was not initialized!
[ 177.582397] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP preview was not initialized!
[ 177.592926] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP resizer was not initialized!
[ 177.603576] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP AEWB was not initialized!
[ 177.613281] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP AF was not initialized!
[ 177.622283] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP histogram was not initialized!
w ot@(none):/# sleep 12 ; cat /sys/class/power_supply/bq27000-battery/current_now
93177
root@(none):/# modprobe ov9655
[ 238.055694] omap3isp 480bc000.isp: isp_xclk_set_rate: cam_xclka set to 24685714 Hz (div 7)
[ 238.064575] ov9655 1-0030: ov9655_probe
[ 238.068664] ov9655 1-0030: supply dvdd not found, using dummy regulator
[ 238.076293] ov9655 1-0030: supply dovdd not found, using dummy regulator
[ 238.084991] ov9655 1-0030: __ov9655_set_power on=1
[ 238.224975] ov9655 1-0030: OV9655 read register 1c : ffffff87
[ 238.231323] ov9655 1-0030: OV9655 read register 1d : ffffff87
[ 238.239013] ov9655 1-0030: OV9655 not detected, can't read manufacturer id
[ 238.246429] ov9655 1-0030: __ov9655_set_power on=0
w ot@(none):/# sleep 12 ; cat /sys/class/power_supply/bq27000-battery/current_now
92998
root@(none):/# rmmod omap3_isc
rmmod: ERROR: Module omap3_isc is not currently loaded
root@(none):/# rmmod omap3_isp
[ 260.254119] omap3isp 480bc000.isp: OMAP3 ISP AEWB: all buffers were freed.
[ 260.264862] omap3isp 480bc000.isp: OMAP3 ISP AF: all buffers were freed.
[ 260.271911] omap3isp 480bc000.isp: OMAP3 ISP histogram: all buffers were freed.
w ot@(none):/# sleep 12 ; cat /sys/class/power_supply/bq27000-battery/current_now
32130
with that patch:
root@(none):/# mount -t proc none /proc/
root@(none):/# mount -t sysfs none /sys/
root@(none):/# /usr/local/bin/idle-ser.sh
root@(none):/# [ 34.419982] VAUX3: disabling
[ 34.423583] VDAC: disabling
[ 34.428619] VUSB1V5: disabling
[ 34.432739] VUSB1V8: disabling
[ 34.436492] VUSB3V1: disabling
root@(none):/#
root@(none):/#
root@(none):/# modprobe omap_hdq
[ 40.445251] omap_hdq 480b2000.1w: OMAP HDQ Hardware Rev 0.5. Driver in Interrupt mode
[ 40.462524] w1_master_driver w1_bus_master1: Attaching one wire slave 01.000000000000 crc 3d
root@(none):/# [ 40.483673] bq27xxx_battery_setup
[ 40.494842] bq27xxx_battery_setup: dm_regs=00000000
[ 40.507324] bq27xxx_battery_settings
[ 40.511077] bq27xxx_battery_settings: power_supply_get_battery_info failed ret=0
w ot@(none):/# sleep 12 ; cat /sys/class/power_supply/bq27000-battery/current_now
32665
root@(none):/# modprobe omap3_isp
[ 72.415405] mc: Linux media interface: v0.10
[ 72.443450] videodev: Linux video capture interface: v2.00
[ 72.462982] omap3isp 480bc000.isp: parsing parallel interface
[ 72.470184] omap3isp 480bc000.isp: supply vdd-csiphy1 not found, using dummy regulator
[ 72.484466] omap3isp 480bc000.isp: supply vdd-csiphy2 not found, using dummy regulator
[ 72.493103] omap3isp 480bc000.isp: Revision 15.0 found
[ 72.503601] omap-iommu 480bd400.mmu: 480bd400.mmu: version 1.1
[ 72.510711] omap3isp 480bc000.isp: hist: using DMA channel dma0chan20
[ 72.517791] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP CCP2 was not initialized!
[ 72.534484] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP CSI2a was not initialized!
[ 72.554199] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP CCDC was not initialized!
[ 72.570007] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP preview was not initialized!
[ 72.580474] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP resizer was not initialized!
[ 72.591156] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP AEWB was not initialized!
[ 72.600860] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP AF was not initialized!
[ 72.609863] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP histogram was not initialized!
w ot@(none):/# sleep 12 ; cat /sys/class/power_supply/bq27000-battery/current_now
32487
root@(none):/# modprobe ov9655
[ 92.427032] omap3isp 480bc000.isp: isp_xclk_set_rate: cam_xclka set to 24685714 Hz (div 7)
[ 92.436004] ov9655 1-0030: ov9655_probe
[ 92.440124] ov9655 1-0030: supply dvdd not found, using dummy regulator
[ 92.447753] ov9655 1-0030: supply dovdd not found, using dummy regulator
[ 92.456176] ov9655 1-0030: __ov9655_set_power on=1
[ 92.505126] omap-iommu 480bd400.mmu: 480bd400.mmu: version 1.1
[ 92.594482] ov9655 1-0030: OV9655 read register 1c : ffffff87
[ 92.600830] ov9655 1-0030: OV9655 read register 1d : ffffff87
[ 92.608520] ov9655 1-0030: OV9655 not detected, can't read manufacturer id
[ 92.615936] ov9655 1-0030: __ov9655_set_power on=0
w ot@(none):/# sleep 12 ; cat /sys/class/power_supply/bq27000-battery/current_now
hangs... not sure if it is related to the patch or just unveils a bug elsewhere...
never seen that effect before. I have seen that several times...
Disabling OMAP3_THERMAL in kernel config, doing the same
w ot@(none):/# sleep 12 ; cat /sys/class/power_supply/bq27000-battery/current_now
31594
root@(none):/#
OMAP3_THERMAL considered harmful. See my other mail.
Attached is the idle-ser.sh script used in this test.
Regards,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: idle-ser.sh
Type: application/x-shellscript
Size: 113 bytes
Desc: not available
URL: <http://lists.goldelico.com/pipermail/letux-kernel/attachments/20210108/bcf7738c/attachment-0001.bin>
More information about the Letux-kernel
mailing list