Hello,
I just installed ubuntu-24.04-server-linux-5.15 (link of firmware below) on eMMC.
Is it possible to reduce the boot time (now about 26 sec to login prompt)?
I’m interested in the loading part before systemd services, for example:
usb, audio and i2c devices scanning, long pause on
scanning bus 0 for devices…
etc.
Now I don’t use display, do not need audio, i2c devices, but I have uart device
and LTE modem on ttyUSB0-3, tcp/ip services.
Are there safe recommendations for removing some things from the kernel
(video driver support and something like that)?
My uboot part: ~11 sec
kernel part: ~12 sec.
I can provide my full console log.
# uname -a
Linux Khadas 5.15.119 #1.6.9.1 SMP PREEMPT Thu Jun 20 09:22:43 CST 2024 aarch64 aarch64 aarch64 GNU/Linux
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04 LTS
Release: 24.04
Codename: noble
sorry I have skipped some parts:
bl2_stage_init 0x01
bl2_stage_init 0x81
hw id: 0x0000 - pwm id 0x01
bl2_stage_init 0xc1
bl2_stage_init 0x02
U-Boot 2015.01 (Jun 18 2024 - 21:39:35)
DRAM: 3.8 GiB
Relocation Offset is: d6ddf000
spi_post_bind(spifc): req_seq = 0
register usb cfg[0][1] = 00000000d7f27930
aml_i2c_init_port init regs for 0
emmc - EMMC sub system
Load dtb/amlogic/kvim3.dtb from eMMC (1:1) ...
108261 bytes read in 18 ms (5.7 MiB/s)
aml_i2c_init_port init regs for 0
fusb302_init: Device ID: 0x91
CC connected in 1 as UFP
fusb302 detect chip.port_num = 0
gpio: pin GPIOA_13 (gpio 77) value is 1
gpio: pin GPIOA_13 (gpio 77) value is 0
gpio: pin GPIOA_8 (gpio 72) value is 0
amlkey_init() enter!
calc 594097f9bd, store 594097f9bd
calc 594097f9bd, store 594097f9bd
do nothing
[EFUSE_MSG]keynum is 4
vpu: clk_level in dts: 7
vpu: vpu_power_on
vpu: set clk: 666667000Hz, readback: 666666667Hz(0x100)
vpu: vpu_module_init_config
vpp: vpp_init
vpp: vpp osd2 matrix rgb2yuv..............
hdr_func 4, hdr_process_select 0x20000001
hdr_func 1, hdr_process_select 0x1
hdr_func 2, hdr_process_select 0x1
cvbs: cpuid:0x29
vdac_gsw_init: 0x0
cvbs: find clk_path: 0x0
cvbs: find performance_pal config
LCD_RESET PIN: 0
lcd: lcd_debug_print flag: 0
lcd: detect mode: tablet, key_valid: 0
lcd: detect lcd_clk_path: 1
lcd: load config from dts
lcd_phy_probe
lcd: pinctrl_version: 2
lcd: use panel_type=mipi_0
lcd: bl: pinctrl_version: 2
lcd: bl: name: backlight_pwm, method: 1
lcd: bl: aml_bl_power_ctrl: 0
buff: 50335832343113211601
U-Boot 2015.01 (Jun 18 2024 - 21:39:35)
amlkey_init() enter!
amlkey_init() 59: already init!
[EFUSE_MSG]keynum is 4
[KM]Error:f[key_manage_query_size]L528:key[usid] not programed yet
mac address: c8:63:14:72:53:1b
[KM]Error:f[key_manage_query_size]L528:key[deviceid] not programed yet
hpd_state=1
do_hpd_detect: hdmimode=1080p60hz
do_hpd_detect: colorattribute=444,8bit
EDID BlockCount=0
edid blk0 checksum:0 ext_flag:0
set default vic
hdmitx: edid: change preferred_mode from 0 to 3
not find IEEEOUT
sink is DVI device
check sum valid
sink preferred_mode is 1280x1024p60hz[780]
hdr mode is 0
dv mode is ver:0 len: 0
hdr10+ mode is 0
EDID BlockCount=0
edid blk0 checksum:0 ext_flag:0
set default vic
hdmitx: edid: change preferred_mode from 0 to 3
not find IEEEOUT
sink is DVI device
check sum valid
read hdmichecksum: 0x00000000, hdmimode: 1080p60hz, colorattribute: 444,8bit
TV has changed, now crc: 0x2d000000
ubootenv hdmimode: 1080p60hz, cscd: 444,8bit, dv_type: 0, hdr_priority: 0
ubootenv best_output: 1, framerate_priority: 1
the resolveResolution mode [800x600p60hz] is not valid
the resolveResolution mode [852x480p60hz] is not valid
set HDMI to highest edid mode: 1080p60hz
ddr tsensor avg: 0x21d5, u_efuse: 0x814f
temp2: 48
device cool done
cfgload: start ...
cfgload: reading /boot.ini from mmc 0:1 ...
card out
** Bad device mmc 0 **
cfgload: no /boot.ini or empty file on mmc 0:1
cfgload: reading /boot/boot.ini from mmc 0:1 ...
card out
** Bad device mmc 0 **
cfgload: no /boot/boot.ini or empty file on mmc 0:1
cfgload: reading /boot.ini from mmc 1:1 ...
cfgload: no /boot.ini or empty file on mmc 1:1
cfgload: reading /boot/boot.ini from mmc 1:1 ...
cfgload: no /boot/boot.ini or empty file on mmc 1:1
cfgload: reading /boot/boot.ini from mmc 1:5 ...
** Invalid partition 5 **
cfgload: no /boot/boot.ini or empty file on mmc 1:5
cfgload: failed to read boot.ini on all partitions!
(Re)start USB...
USB0: USB3.0 XHCI init start
Register 3000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus 0 for devices... 4 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
USB device 0: unknown device
card out
co-phase 0x1, tx-dly 0, clock 40000000
co-phase 0x1, tx-dly 0, clock 40000000
co-phase 0x3, tx-dly 0, clock 400000
emmc/sd response timeout, cmd8, cmd->cmdarg=0x1aa, status=0x3ff2800
emmc/sd response timeout, cmd55, cmd->cmdarg=0x0, status=0x3ff2800
co-phase 0x3, tx-dly 0, clock 400000
co-phase 0x1, tx-dly 0, clock 40000000
[set_emmc_calc_fixed_adj][860]find fixed adj_delay=20
init_part() 282: PART_TYPE_DOS
[mmc_init] mmc init success
start dts,buffer=00000000d1dffd90,dt_addr=00000000d1dffd90
check_valid_dts: FDT_ERR_BADMAGIC
get_partition_from_dts() 82: ret -9
get_ptbl_from_dtb()-284: get partition table from dts faild
mmc_device_init()-1674: get partition table from dtb failed
get_ptbl_rsv()-509: magic faild MPT,
mmc_device_init()-1701: dtb&rsv are not exist, no LPT source
switch to partitions #0, OK
mmc1(part 0) is current device
1 2
Scanning mmc 1:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
222 bytes read in 6 ms (36.1 KiB/s)
Retrieving file: /splash.bmp
1: Default
Enter choice: 1: Default
Retrieving file: /initrd.img
27631678 bytes read in 771 ms (34.2 MiB/s)
Retrieving file: /Image
34941440 bytes read in 975 ms (34.2 MiB/s)
Retrieving file: /dtb/amlogic/kvim3.dtb
108261 bytes read in 17 ms (6.1 MiB/s)
Retrieving file: /dtb/amlogic/kvim3.dtb.overlay.env
14 bytes read in 20 ms (0 Bytes/s)
WARNING: 'fdt_overlays_dir' neither in running nor in imported env!
MIPI LCD not exist, disable lcd & touch panel nodes.
Setup PCIe/USB3.0 mode to USB3.0.
Setup DDR size to 4GB.
Retrieving file: /uEnv.txt
603 bytes read in 3 ms (196.3 KiB/s)
Import user vars: /uEnv.txt 603 bytes
append: root=UUID=2761ba27-6ca3-4f93-83a9-8dd072ca5047 rootflags=data=writeback rw rootfstype=ext4 loglevel=4 no_console_suspend earlycon=aml-uart,0xff803000 q
load dtb from 0x1000000 ......
## Flattened Device Tree blob at 20000000
Booting using the fdt blob at 0x20000000
remove env:hdr_policy=0
remove env:hdr_priority=
remove env:lcd_debug=0x00000000
remove env:dolby_vision_on=0
remove env:osd_reverse=0
reserving fdt memory region: addr=20000000 size=1b000
Loading Ramdisk to 3cda5000, end 3e7ff03e ... OK
Loading Device Tree to 000000001ffe2000, end 000000001fffffff ... OK
fdt_fixup_memory_banks, reg:0000000000000000
Enable kaslr
Starting kernel ...
uboot time: 11261226 us
[ 0.000000][0 T0 ..] 07400000 - 07500000, 1024 KB, ramoops@0x07400000
[ 0.000000][0 T0 ..] 04f00000 - 05000000, 1024 KB, linux,iotrace
[ 0.000000][0 T0 ..] 04e00000 - 04f00000, 1024 KB, linux,defendkey
[ 0.000000][0 T0 ..] 3e800000 - 3f000000, 8192 KB, linux,meson-fb
[ 0.000000][0 T0 ..] e8000000 - f0000000, 131072 KB, linux,isp_cma
[ 0.000000][0 T0 ..] 05000000 - 05400000, 4096 KB, linux,secmon
[ 0.000000][0 T0 ..] e4000000 - e8000000, 65536 KB, linux,adapt_cma
[ 0.000000][0 T0 ..] d1400000 - e4000000, 307200 KB, heap-gfx
[ 0.000000][0 T0 ..] cfc00000 - d1400000, 24576 KB, linux,ge2d_cma
[ 0.000000][0 T0 ..] cfc00000 - cfc00000, 0 KB, linux,ppmgr
[ 0.000000][0 T0 ..] bc800000 - cfc00000, 315392 KB, linux,codec_mm_cma
[ 0.000000][0 T0 ..] bb400000 - bc800000, 20480 KB, linux,vdin1_cma
[ 0.000000][0 T0 ..] Virtual kernel memory layout:
[ 0.000000][0 T0 ..] modules : 0xffffffc000000000 - 0xffffffc008000000 ( 128 MB)
[ 0.000000][0 T0 ..] vmalloc : 0xffffffc008000000 - 0xfffffffdf0000000 ( 247 GB)
[ 0.000000][0 T0 ..] .text : 0xffffffed08010000 - 0xffffffed08fc0000 ( 16064 KB) 0x10000
[ 0.000000][0 T0 ..] .rodata : 0xffffffed08fc0000 - 0xffffffed099b0000 ( 10176 KB) 0xfc0000
[ 0.000000][0 T0 ..] .init : 0xffffffed099b0000 - 0xffffffed09c80000 ( 2880 KB) 0xfc0000
[ 0.000000][0 T0 ..] .data : 0xffffffed09c80000 - 0xffffffed0a162a00 ( 5003 KB) 0x1c80000
[ 0.000000][0 T0 ..] .bss : 0xffffffed0a163000 - 0xffffffed0a2f3601 ( 1602 KB) 0x2163000
[ 0.000000][0 T0 ..] fixed : 0xfffffffdfdbf9000 - 0xfffffffdfe000000 ( 4124 KB)
[ 0.000000][0 T0 ..] PCI I/O : 0xfffffffdfe800000 - 0xfffffffdff800000 ( 16 MB)
[ 0.000000][0 T0 ..] vmemmap : 0xfffffffe00000000 - 0xffffffff00000000 ( 4 GB maximum)
[ 0.000000][0 T0 ..] 0xfffffffe00000000 - 0xfffffffe03c00000 ( 60 MB actual)
[ 0.000000][0 T0 ..] memory : 0xffffff8000000000 - 0xffffff80f0000000 ( 3840 MB) 0x0
[ 0.000000][0 T0 ..] offset : 0x2d00010000
[ 0.000000][0 T0 ..] [freertos]: rtos_reserved device node find error
[ 1.535477][4 T1 ..] slab_trace_module_init, create slabtrace failed
[ 3.228491][4 T151 ..] [memory-debug]: call ramdump_init() ret=-19
[ 3.325969][4 T127 ..] [mailbox]: mbox_pl_parse_dt 13
[ 3.361325][4 T137 ..] [efuse-unifykey]: can't get efuse_pattern_size, use default size0x400
[ 3.364363][4 T137 ..] efuse efuse: can't get reg resource
[ 3.370650][4 T137 ..] [efuse-unifykey]: failed to find match efuse key
[ 3.440951][4 T139 d.] genirq: Setting trigger mode 3 for irq 75 failed (meson_gpio_irq_set_type+0x0/0x170 [amlogic_gpio])
[ 3.525250][1 T150 ..] adc_keypad adc_keypad: Not find mbox channel byidx
[ 3.526622][1 T150 ..] [input]: mbox chan is NULL
[ 3.533763][3 T10 ..] adc_keypad adc_keypad: Not find mbox channel byidx
[ 3.539261][4 T10 ..] [input]: mbox chan is NULL
[ 3.701421][1 T10 ..] adc_keypad adc_keypad: Not find mbox channel byidx
[ 3.702842][1 T10 ..] [input]: mbox chan is NULL
[ 3.731109][0 T10 ..] adc_keypad adc_keypad: Not find mbox channel byidx
[ 3.732504][0 T10 ..] [input]: mbox chan is NULL
[ 3.742220][5 T125 ..] now in codec_mm_module_init
[ 3.743120][5 T125 ..] [tee]: tee_protect_mem open context failed
[ 3.751242][5 T125 ..] error: vout_meas_ctrl_init_dft: get fclk_div5 err!
[ 3.752432][3 T10 ..] adc_keypad adc_keypad: Not find mbox channel byidx
[ 3.762912][3 T10 ..] [input]: mbox chan is NULL
[ 3.767744][3 T10 ..] adc_keypad adc_keypad: Not find mbox channel byidx
[ 3.774316][3 T10 ..] [input]: mbox chan is NULL
[ 3.831126][3 T10 ..] adc_keypad adc_keypad: Not find mbox channel byidx
[ 3.832468][3 T10 ..] [input]: mbox chan is NULL
[ 3.910006][2 T10 ..] adc_keypad adc_keypad: Not find mbox channel byidx
[ 3.911392][2 T10 ..] [input]: mbox chan is NULL
[ 3.916699][2 T10 ..] adc_keypad adc_keypad: Not find mbox channel byidx
[ 3.917095][5 T125 ..] error: dummy_venc_clktree_probe: ret=0x8
[ 3.923170][2 T10 ..] [input]: mbox chan is NULL
[ 3.934529][2 T10 ..] adc_keypad adc_keypad: Not find mbox channel byidx
[ 3.940990][2 T10 ..] [input]: mbox chan is NULL
[ 3.945836][5 T125 ..] vout: error: aml_vout_get_dt_info: can't get vsync irq
[ 3.953744][5 T10 ..] adc_keypad adc_keypad: Not find mbox channel byidx
[ 3.960058][5 T10 ..] [input]: mbox chan is NULL
[ 3.965294][5 T10 ..] adc_keypad adc_keypad: Not find mbox channel byidx
[ 3.971853][5 T10 ..] [input]: mbox chan is NULL
[ 3.976954][3 T125 ..] amlogic_heap_secure_dma_buf_init: heap-secure not added in dts.
[ 3.977333][5 T10 ..] adc_keypad adc_keypad: Not find mbox channel byidx
[ 3.991689][5 T10 ..] [input]: mbox chan is NULL
[ 3.997219][5 T10 ..] adc_keypad adc_keypad: Not find mbox channel byidx
[ 4.003485][5 T10 ..] [input]: mbox chan is NULL
[ 4.008840][2 T125 ..] vdin0 get fclk_div5 err
[ 4.012947][2 T125 ..] vdin_drv_probe: vdin0 cannot get msr clk !!!
[ 4.019356][2 T125 ..] vpu: vpu: error: vpu_vmod_mem_pd_get: invalid vpu mod: 72
[ 4.027339][2 T125 ..] vdin1 get fclk_div5 err
[ 4.027418][5 T10 ..] adc_keypad adc_keypad: Not find mbox channel byidx
[ 4.031511][2 T125 ..] vdin_drv_probe: vdin1 cannot get msr clk !!!
[ 4.038407][5 T10 ..] [input]: mbox chan is NULL
[ 4.050268][5 T10 ..] adc_keypad adc_keypad: Not find mbox channel byidx
[ 4.050277][2 T125 ..] cur_dev->prevsync_support=0
[ 4.056597][5 T10 ..] [input]: mbox chan is NULL
[ 4.066841][5 T10 ..] adc_keypad adc_keypad: Not find mbox channel byidx
[ 4.066887][2 T125 ..] create amvideo_poll attribute (null) fail
[ 4.073338][5 T10 ..] [input]: mbox chan is NULL
[ 4.086635][5 T10 ..] adc_keypad adc_keypad: Not find mbox channel byidx
[ 4.091283][5 T10 ..] [input]: mbox chan is NULL
[ 4.096124][4 T125 ..] video_composer_module_init_1
[ 4.102112][4 T10 ..] adc_keypad adc_keypad: Not find mbox channel byidx
[ 4.108087][4 T10 ..] [input]: mbox chan is NULL
[ 4.122768][4 T10 ..] adc_keypad adc_keypad: Not find mbox channel byidx
[ 4.124105][4 T10 ..] [input]: mbox chan is NULL
[ 4.129509][4 T10 ..] adc_keypad adc_keypad: Not find mbox channel byidx
[ 4.135904][4 T10 ..] [input]: mbox chan is NULL
[ 4.141661][5 T125 ..] no match support_4k for amlvideo2.0, disable as default
[ 4.148357][5 T125 ..] no match support_4k for amlvideo2.1, disable as default
[ 4.148696][4 T10 ..] adc_keypad adc_keypad: Not find mbox channel byidx
[ 4.162417][4 T10 ..] [input]: mbox chan is NULL
[ 4.167722][4 T10 ..] adc_keypad adc_keypad: Not find mbox channel byidx
[ 4.169023][5 T125 ..] di_multi multi-di: IRQ aisr_irq not found
[ 4.174209][4 T10 ..] [input]: mbox chan is NULL
[ 4.185825][5 T125 ..] vpu: vpu: error: vpu_vmod_mem_pd_get: invalid vpu mod: 72
[ 4.193744][4 T10 ..] adc_keypad adc_keypad: Not find mbox channel byidx
[ 4.199693][4 T10 ..] [input]: mbox chan is NULL
[ 4.204699][5 T125 ..] cectx ff80023c.aocec: mbox_request_channel_byname() requires an "mbox-names" property
[ 4.214513][5 T125 ..] cectx ff80023c.aocec: Not find mbox channel byname
[ 4.225142][5 T10 ..] adc_keypad adc_keypad: Not find mbox channel byidx
[ 4.228392][5 T10 ..] [input]: mbox chan is NULL
[ 4.233946][5 T10 ..] adc_keypad adc_keypad: Not find mbox channel byidx
[ 4.240170][5 T10 ..] [input]: mbox chan is NULL
[ 4.246404][2 T10 ..] adc_keypad adc_keypad: Not find mbox channel byidx
[ 4.251960][2 T10 ..] [input]: mbox chan is NULL
[ 4.258088][2 T158 ..] mbox chan is NULL
[ 4.260865][2 T158 ..] mbox chan is NULL
[ 4.284035][3 T10 ..] adc_keypad adc_keypad: Not find mbox channel byidx
[ 4.285369][3 T10 ..] [input]: mbox chan is NULL
[ 4.322559][4 T125 ..] [thermal]: thermal: register cpucore failed
[ 4.323341][4 T125 ..] [thermal]: thermal: register cpucore failed
[ 4.329670][4 T125 ..] [thermal]: thermal: read num_of_pp failed
[ 4.339332][3 T150 ..] [usb]: call amlogic_new_c2_usb2_v2_driver_init() ret=-1
[ 4.343171][3 T150 ..] [usb]: call amlogic_new_c2_usb3_v2_driver_init() ret=-1
[ 4.350501][3 T150 ..] [usb]: call amlogic_cc_driver_init() ret=-1
[ 4.356991][3 T150 ..] [usb]: call amlogic_bc_driver_init() ret=-1
[ 4.363973][3 T150 ..] amlogic-new-usb3-v2 ffe09080.usb3phy: This is normal phy
[ 4.370984][3 T150 ..] amlogic-new-usb3-v2 ffe09080.usb3phy: Failed to get pcie_bgp
[ 4.378786][5 T10 ..] amlogic-new-usb2-v2 ffe09000.usb2phy: Not usb-phy-trim-reg
[ 4.386047][5 T10 ..] amlogic-new-usb2-v2 ffe09000.usb2phy: Not usb-phy-trim-reg
[ 4.386769][5 T10 ..] amlogic-new-usb2-v2 ffe09000.usb2phy: Not usb-phy-trim-reg
[ 4.401307][5 T10 ..] amlogic-new-usb2-v2 ffe09000.usb2phy: Not usb-phy-trim-reg
[ 4.420961][2 T123 ..] [drm:meson_of_init [aml_drm]] *ERROR* osd_ver parser failed, need fix it!!
[ 4.424962][2 T123 ..] [hdmitx:] *ERROR* meson_hdmitx_bind hdmi [0]
[ 4.431386][2 T123 ..] meson_dummyl_bind dummyl[0]
[ 4.438158][4 T127 ..] meson8b-dwmac ff3f0000.ethernet: Not find mbox channel byidx
[ 4.647807][3 T204 ..] [drm:meson_osd_plane_async_check [aml_drm]] *ERROR* plane visible state changed.
[ 5.960343][2 T373 ..] probe iq_dev for sensor: os08a10
[ 6.006882][4 T392 ..] config sensor os08a10 driver.
[ 6.009655][4 T392 ..] soc_sensor_probe: failed to get sensor name sub
[ 6.009662][4 T392 ..] config sensor sub imx290sub driver.
[ 6.010994][4 T392 ..] DEBUG: init mclock is 24 MHZ
[ 6.021749][1 T392 ..] arm_sensor_i2c_probe: start to probe
[ 6.032118][1 T392 ..] system_i2c_init:success to add i2c driver
[ 6.043499][5 T392 ..] system_i2c_read:failed to read reg data: rc -6, saddr 0x36
[ 6.053572][0 T392 ..] system_i2c_read:failed to read reg data: rc -6, saddr 0x36
[ 6.061101][2 T392 ..] system_i2c_read:failed to read reg data: rc -6, saddr 0x36
[ 6.067663][2 T392 ..] arm_sensor_i2c_remove: DEBUG: remove i2c sensor
[ 6.068447][2 T392 ..] DEBUG: init mclock is 24 MHZ
[ 6.069280][2 T392 ..] arm_sensor_i2c_probe: start to probe
[ 6.069428][0 T395 ..] [wireless]: [dhd] STATIC-MSG) bcmdhd_init_wlan_mem : 101.10.361.31 (wlan=r892223-20230427-1)
[ 6.072480][0 T395 ..] [wireless]: [dhd] STATIC-MSG) dhd_init_wlan_mem : prealloc ok for index 0: 3937280(3845K)
[ 6.106203][2 T392 ..] system_i2c_init:success to add i2c driver
[ 6.112443][2 T392 ..] system_i2c_read:failed to read reg data: rc -6, saddr 0x36
[ 6.120073][2 T392 ..] system_i2c_read:failed to read reg data: rc -6, saddr 0x36
[ 6.120489][2 T392 ..] system_i2c_read:failed to read reg data: rc -6, saddr 0x36
[ 6.120582][2 T392 ..] arm_sensor_i2c_remove: DEBUG: remove i2c sensor
[ 6.122067][4 T392 ..] arm_sensor_i2c_probe: start to probe
[ 6.147573][2 T392 ..] system_i2c_init:success to add i2c driver
[ 6.153862][2 T392 ..] system_i2c_read:failed to read reg data: rc -6, saddr 0x36
[ 6.154283][2 T392 ..] system_i2c_read:failed to read reg data: rc -6, saddr 0x36
[ 6.154338][2 T392 ..] arm_sensor_i2c_remove: DEBUG: remove i2c sensor
[ 6.154470][2 T392 ..] cannot get mclk_0 clk
[ 6.155230][2 T392 ..] arm_sensor_i2c_probe: start to probe
[ 6.155436][2 T392 ..] system_i2c_init:success to add i2c driver
[ 6.155855][2 T392 ..] system_i2c_read:failed to read reg data: rc -6, saddr 0x1a
[ 6.199697][4 T392 ..] system_i2c_read:failed to read reg data: rc -6, saddr 0x1a
[ 6.207323][2 T392 ..] system_i2c_read:failed to read reg data: rc -6, saddr 0x1a
[ 6.207396][2 T392 ..] arm_sensor_i2c_remove: DEBUG: remove i2c sensor
[ 6.207477][2 T392 ..] DEBUG: platform is G12B
[ 6.207496][2 T392 ..] DEBUG: init mclock is 24 MHZ
[ 6.208236][2 T392 ..] arm_sensor_i2c_probe: start to probe
[ 6.208421][2 T392 ..] system_i2c_init:success to add i2c driver
[ 6.208837][2 T392 ..] system_i2c_read:failed to read reg data: rc -6, saddr 0x1a
[ 6.250772][2 T392 ..] system_i2c_read:failed to read reg data: rc -6, saddr 0x1a
[ 6.258031][2 T392 ..] arm_sensor_i2c_remove: DEBUG: remove i2c sensor
[ 6.265405][2 T392 ..] DEBUG: cannot get 24m clk
[ 6.265410][2 T392 ..] set mclk fail
[ 6.266114][4 T392 ..] set reset fail
[ 6.267972][4 T392 ..] arm_sensor_i2c_probe: start to probe
[ 6.282896][4 T392 ..] system_i2c_init:success to add i2c driver
[ 6.289230][4 T392 ..] system_i2c_read:failed to read reg data: rc -6, saddr 0x36
[ 6.298461][2 T392 ..] system_i2c_read:failed to read reg data: rc -6, saddr 0x36
[ 6.298518][2 T392 ..] arm_sensor_i2c_remove: DEBUG: remove i2c sensor
[ 6.298657][2 T392 ..] DEBUG: cannot get 24m clk
[ 6.298659][2 T392 ..] set mclk fail
[ 6.299641][5 T392 ..] arm_sensor_i2c_probe: start to probe
[ 6.299853][5 T392 ..] system_i2c_init:success to add i2c driver
[ 6.300266][5 T392 ..] system_i2c_read:failed to read reg data: rc -6, saddr 0x10
[ 6.300669][5 T392 ..] system_i2c_read:failed to read reg data: rc -6, saddr 0x10
[ 6.300694][5 T392 ..] arm_sensor_i2c_remove: DEBUG: remove i2c sensor
[ 6.301427][5 T392 ..] cannot get mclk_0 clk
[ 6.302163][3 T392 ..] arm_sensor_i2c_probe: start to probe
[ 6.302332][3 T392 ..] system_i2c_init:success to add i2c driver
[ 6.303443][3 T392 ..] system_i2c_read:failed to read reg data: rc -6, saddr 0x36
[ 6.322156][5 T392 ..] system_i2c_read:failed to read reg data: rc -6, saddr 0x36
[ 6.322248][5 T392 ..] arm_sensor_i2c_remove: DEBUG: remove i2c sensor
[ 6.331549][5 T392 ..] arm_sensor_i2c_probe: start to probe
[ 6.403788][3 T392 ..] system_i2c_init:success to add i2c driver
[ 6.410097][3 T392 ..] system_i2c_read:failed to read reg data: rc -6, saddr 0x1a
[ 6.411446][5 T392 ..] system_i2c_read:failed to read reg data: rc -6, saddr 0x1a
[ 6.411502][5 T392 ..] arm_sensor_i2c_remove: DEBUG: remove i2c sensor
[ 6.411623][5 T392 ..] DEBUG: cannot get 24m clk
[ 6.411625][5 T392 ..] set mclk fail
[ 6.412335][5 T392 ..] arm_sensor_i2c_probe: start to probe
[ 6.412510][5 T392 ..] system_i2c_init:success to add i2c driver
[ 6.412920][5 T392 ..] system_i2c_read:failed to read reg data: rc -6, saddr 0x30
[ 6.413326][5 T392 ..] system_i2c_read:failed to read reg data: rc -6, saddr 0x30
[ 6.413351][5 T392 ..] arm_sensor_i2c_remove: DEBUG: remove i2c sensor
[ 6.414076][5 T392 ..] DEBUG: cannot get 24m clk
[ 6.414078][5 T392 ..] set mclk fail
[ 6.414756][5 T392 ..] arm_sensor_i2c_probe: start to probe
[ 6.414912][5 T392 ..] system_i2c_init:success to add i2c driver
[ 6.415322][5 T392 ..] system_i2c_read:failed to read reg data: rc -6, saddr 0x30
[ 6.415728][5 T392 ..] system_i2c_read:failed to read reg data: rc -6, saddr 0x30
[ 6.415758][5 T392 ..] arm_sensor_i2c_remove: DEBUG: remove i2c sensor
[ 6.423739][5 T392 ..] DEBUG: cannot get 24m clk
[ 6.437666][5 T392 ..] set mclk fail
[ 6.531567][3 T392 ..] arm_sensor_i2c_probe: start to probe
[ 6.536845][3 T392 ..] system_i2c_init:success to add i2c driver
[ 6.537284][3 T392 ..] system_i2c_read:failed to read reg data: rc -6, saddr 0x30
[ 6.537710][3 T392 ..] system_i2c_read:failed to read reg data: rc -6, saddr 0x30
[ 6.537764][3 T392 ..] arm_sensor_i2c_remove: DEBUG: remove i2c sensor
[ 6.538572][2 T392 ..] DEBUG: cannot get 24m clk
[ 6.538578][2 T392 ..] set mclk fail
[ 6.539311][2 T392 ..] arm_sensor_i2c_probe: start to probe
[ 6.539583][2 T392 ..] system_i2c_init:success to add i2c driver
[ 6.585746][3 T392 ..] system_i2c_read:failed to read reg data: rc -6, saddr 0x1a
[ 6.593601][3 T392 ..] system_i2c_read:failed to read reg data: rc -6, saddr 0x1a
[ 6.593702][3 T392 ..] arm_sensor_i2c_remove: DEBUG: remove i2c sensor
[ 6.616178][3 T392 ..] DEBUG: cannot get 24m clk
[ 6.617718][3 T392 ..] set mclk fail
[ 6.620743][3 T392 ..] arm_sensor_i2c_probe: start to probe
[ 6.626763][3 T392 ..] system_i2c_init:success to add i2c driver
[ 6.629939][3 T392 ..] system_i2c_read:failed to read reg data: rc -6, saddr 0x30
[ 6.640685][2 T392 ..] system_i2c_read:failed to read reg data: rc -6, saddr 0x30
[ 6.647957][2 T392 ..] arm_sensor_i2c_remove: DEBUG: remove i2c sensor
[ 6.678167][4 T392 ..] DEBUG: cannot get 24m clk
[ 6.679687][4 T392 ..] set mclk fail
[ 6.682696][4 T392 ..] arm_sensor_i2c_probe: start to probe
[ 6.682946][4 T392 ..] system_i2c_init:success to add i2c driver
[ 6.684755][5 T392 ..] system_i2c_read:failed to read reg data: rc -6, saddr 0x36
[ 6.694842][5 T392 ..] system_i2c_read:failed to read reg data: rc -6, saddr 0x36
[ 6.709807][5 T392 ..] arm_sensor_i2c_remove: DEBUG: remove i2c sensor
[ 6.717226][4 T392 ..] DEBUG: cannot get 24m clk
[ 6.717230][4 T392 ..] set mclk fail
[ 6.718179][3 T392 ..] arm_sensor_i2c_probe: start to probe
[ 6.731023][2 T392 ..] system_i2c_init:success to add i2c driver
[ 6.737338][5 T392 ..] system_i2c_read:failed to read reg data: rc -6, saddr 0x36
[ 6.737921][5 T392 ..] system_i2c_read:failed to read reg data: rc -6, saddr 0x36
[ 6.737990][5 T392 ..] arm_sensor_i2c_remove: DEBUG: remove i2c sensor
[ 6.831144][2 T395 ..] [wireless]: request_irq error ret=-22
[ 6.831210][2 T395 ..] [wireless]: dev_pm_set_wake_irq failed: -22
[ 6.891120][3 T395 ..] [dvb-ci]: aml_ci: Amlogic CI mode init
[ 6.958140][4 T395 ..] snd_spdif ff642000.audiobus:spdif: Can't retrieve suspend-clk-off
[ 6.962791][4 T395 ..] snd_spdif ff642000.audiobus:spdif_b: Can't retrieve suspend-clk-off
[ 6.971979][4 T395 ..] snd_tdm ff642000.audiobus:tdma: Can't retrieve suspend-clk-off
[ 6.978913][4 T395 ..] snd_tdm ff642000.audiobus:tdma: Can't get clk_src_cd
[ 6.986386][4 T395 ..] snd_tdm ff642000.audiobus:tdmb: Can't retrieve suspend-clk-off
[ 6.986448][4 T395 ..] snd_tdm ff642000.audiobus:tdmb: Can't get clk_src_cd
[ 7.006868][4 T395 ..] snd_tdm ff642000.audiobus:tdmc: Can't retrieve suspend-clk-off
[ 7.011636][4 T395 ..] snd_tdm ff642000.audiobus:tdmc: Can't get clk_src_cd
[ 7.050274][4 T395 ..] asoc-aml-card auge_sound: aml_card_dai_link_of, error dai-link idx:0, error getting codec dai, ret -517
[ 7.058553][5 T395 ..] asoc-aml-card auge_sound: parse dai_link-0 fail
[ 7.068885][5 T395 ..] asoc-aml-card auge_sound: aml_card_probe, aml_card_parse_of error -517 PROBE RETRY
[ 7.076365][5 T395 ..] [snd-soc]: aml_card_probe error ret:-517
[ 7.155263][1 T10 ..] asoc-aml-card auge_sound: aml_card_dai_link_of, error dai-link idx:0, error getting codec dai, ret -517
[ 7.174615][1 T10 ..] asoc-aml-card auge_sound: parse dai_link-0 fail
[ 7.181496][1 T10 ..] asoc-aml-card auge_sound: aml_card_probe, aml_card_parse_of error -517 PROBE RETRY
[ 7.195162][1 T10 ..] [snd-soc]: aml_card_probe error ret:-517
[ 7.202525][1 T10 ..] asoc-aml-card auge_sound: IRQ audio_exception64 not found
[ 7.481920][4 T449 ..] dw9714 4-000c: CY: success probe dw9714
[ 7.553488][4 T433 ..] mali ffe40000.bifrost: No OPPs found in device tree! Scaling timeouts using 100000 kHz
[ 7.726008][3 T464 ..] Amlogic A/V streaming port init
[ 7.784583][2 T576 ..] [drm:meson_osd_plane_async_check [aml_drm]] *ERROR* plane visible state changed.
[ 7.798344][2 T578 ..] [drm:meson_osd_plane_async_check [aml_drm]] *ERROR* plane visible state changed.
[ 7.827237][5 T585 ..] [drm:meson_osd_plane_async_check [aml_drm]] *ERROR* plane visible state changed.
[ 7.843807][1 T588 ..] [drm:meson_osd_plane_async_check [aml_drm]] *ERROR* plane visible state changed.
[ 7.939247][3 T443 ..] [dhd] _dhd_module_init: in Dongle Host Driver, version 101.10.361.34 (wlan=r892223-20230904-2)
[ 7.939247][3 T443 ..] drivers/net/wireless/bcmdhd compiled on Jun 17 2024 at 16:19:52
[ 7.939247][3 T443 ..]
[ 8.079990][2 T625 ..] [snd-soc]: aml_audio_set_spdif_mute(), no pinctrl
[ 8.083859][2 T625 ..] [snd-soc]: Fine spdif sysclk setting range(0~2000000), 122879384
[ 8.092030][2 T625 ..] [snd-soc]: aml_audio_set_spdif_mute(), no pinctrl
[ 8.092086][2 T625 ..] [snd-soc]: Fine spdif sysclk setting range(0~2000000), 6143970
[ 8.107150][2 T625 ..] [snd-soc]: out of value, fixed it
[ 8.182422][0 T631 dh] meson-gx-mmc ffe03000.sdio: 8 [0x1aa], TIMEOUT[0x2800]
[ 8.397879][4 T443 ..] [wireless]: [dhd] STATIC-MSG) bcmdhd_mem_prealloc : section 3, size 139264
[ 8.403850][4 T443 ..] [wireless]: [dhd] STATIC-MSG) bcmdhd_mem_prealloc : section 4, size 0
[ 8.421644][0 T443 ..] [wireless]: [dhd] STATIC-MSG) bcmdhd_mem_prealloc : section 7, size 33008
[ 8.431326][0 T443 ..] [wireless]: [dhd] STATIC-MSG) bcmdhd_mem_prealloc : section 0, size 10320
[ 8.432377][0 T443 ..] [wireless]: [dhd] STATIC-MSG) bcmdhd_mem_prealloc : section 5, size 65536
[ 8.433563][2 T443 ..] [wireless]: [dhd] STATIC-MSG) bcmdhd_mem_prealloc : section 19, size 65720
[ 8.433646][2 T443 ..] [wireless]: [dhd] STATIC-MSG) bcmdhd_mem_prealloc : section 20, size 262144
[ 8.433718][2 T443 ..] [wireless]: [dhd] STATIC-MSG) bcmdhd_mem_prealloc : section 22, size 65536
[ 8.457983][2 T443 ..] [wireless]: [dhd] STATIC-MSG) bcmdhd_mem_prealloc : section 15, size 4194304
[ 8.485532][2 T443 ..] [wireless]: [dhd] STATIC-MSG) bcmdhd_mem_prealloc : section 16, size 8192
[ 8.502648][5 T443 ..] [wireless]: [dhd] STATIC-MSG) bcmdhd_mem_prealloc : section 1, size 10300
[ 8.510935][5 T443 ..] [wireless]: [dhd] STATIC-MSG) bcmdhd_mem_prealloc : section 2, size 65536
[ 9.082343][2 T877 ..] [snd-soc]: aml_audio_set_spdif_mute(), no pinctrl
[ 9.085452][2 T877 ..] [snd-soc]: Fine spdif sysclk setting range(0~2000000), 122879384
[ 9.093671][2 T877 ..] [snd-soc]: aml_audio_set_spdif_mute(), no pinctrl
[ 9.093821][2 T877 ..] [snd-soc]: Fine spdif sysclk setting range(0~2000000), 6143970
[ 9.109216][2 T877 ..] [snd-soc]: out of value, fixed it
[ 11.065919][0 T0 dh] meson-gx-mmc ffe03000.sdio: 8 [0x1aa], TIMEOUT[0x2800]
[ 11.940497][4 T1122 ..] [drm:meson_osd_plane_async_check [aml_drm]] *ERROR* plane visible state changed.
Ubuntu 24.04 LTS Khadas ttyS0
Khadas login: