@casojie
overlayfs挂载除了overlay文件夹还要依赖其他文件夹,比如upper、workdir。光看根目录下是有overlay文件夹可能不行。。。。。。
帖子里提到的将根文件系统改为ext4格式和修改代码两种方式应该都可以正常挂载
或者您要是想手动格式的话,也可以在电脑上进行格式化,找u盘最后一个分区进行格式化
类似mkfs.ext4 /dev/sbd8
设备上格式化应该也可以,但是可能不能自动挂载,可能需要重启一下
@casojie
overlayfs挂载除了overlay文件夹还要依赖其他文件夹,比如upper、workdir。光看根目录下是有overlay文件夹可能不行。。。。。。
帖子里提到的将根文件系统改为ext4格式和修改代码两种方式应该都可以正常挂载
或者您要是想手动格式的话,也可以在电脑上进行格式化,找u盘最后一个分区进行格式化
类似mkfs.ext4 /dev/sbd8
设备上格式化应该也可以,但是可能不能自动挂载,可能需要重启一下
@casojie
overlayfs挂载失败是因为分区没有格式化,分区挂载失败,只读文件系统没法创建必要的文件夹,最终导致overlayfs挂载失败的吧
这个帖子里好像有挂载的方法
芒果d1h用sd卡烧录后创建文件夹一直Read-only file system
@xiaowen
是自己写了个ko吗?是不是需要自己写Makefile才能编译?
我自己写ko的Makefile如下,不知道有没有帮助
obj-m += xxx.o
CURRENT_PATH:=$(shell pwd)
LINUX_KERNEL:=$(shell uname -r)
KVERSION:=5.4
KDIR=/home/allwinner/tina-d1-h/out/d1-h-nezha/compile_dir/target/linux-d1-h-nezha/linux-5.4.61
#complie object
CC=riscv64-unknown-linux-gnu-gcc
all:
make -C $(KDIR) M=$(PWD) modules CROSS_COMPILE=riscv64-unknown-linux-gnu- ARCH=riscv
#clean
clean:
make -C $(KDIR) M=$(CURRENT_PATH) clean
@whycan
确认了一下,是800*480的,相关参数配置也是按照手册里进行的配置,附附件是厂家提供的手册,再麻烦帮忙看一下,多谢
ST7262_V0.6a_202003.pdf
@whycan
大佬,RGB显示屏配置完后,时钟是正常的,其余的DE/VSYNC/HSYNC都没有信号
已经检查了屏幕是参数配置,没发现什么问题
请问有没有什么怀疑点,或者调试方向?求指点
@lovexulu
原理图输出18bit RGB (RGB666)
时钟是稍微差了一点,但是也在范围内,我往上调了一点现象还是一样,也是自测模式
lvds是也注释了,也没有效果。。。。
测了一下信号,时钟是正常的,其余的DE/VSYNC/HSYNC都没有信号。。。。
@yteraa
大佬,现在显示屏一直显示纯色,而且很有规律,请问会不会是进入了什么测试模式?咱们这款CPU有类似的功能吗?
@yteraa
我对照了一下手册,lcd_hbp和lcd_vbp有点问题,修改后显示屏没有明显变化,还是之前的效果。
请问我修改后对照的参数有问题吗?
lcd_hbp:hsync back porch(pixel) + hsync plus width(pixel); =Thbp+Thw = 8+4 = 12
lcd_ht: hsync total cycle(pixel) = Th = 816
lcd_hspw:hsync plus width(pixel) = Thw = 4
lcd_vbp:vsync back porch(line) + vysnc plus width(line) = Tvbp +Tvw = 8+4 = 12
lcd_vt:vysnc total cycle(line) = Tv = 496
lcd_vspw: vysnc plus width(pixel) = Tvw = 4
@yteraa
这是开机默认的效果
这是随便修改一个colorbar后的效果(echo 2 > /sys/class/disp/disp/attr/colorbar)
@yteraa
大佬,求助一下,用了default_lcd驱动后屏幕有显示了,但是显示不正常
我查了一下显示屏的参数,都是按照手册中配置的,没发现有错误,但是还是显示不正常
请问有没有什么调试方法或者建议
@whycan
HS VS没有信号
应该是使用错了驱动,安装楼上的lcd_driver_name修改后不是黑屏了
@yteraa
使用的ST7262,不需要初始化的屏
使用这些设备树配置后屏幕有显示了,但是屏幕一直都是白、红、绿、蓝、黑纯色在不停的换,期间还伴随这闪屏,怀疑是测试模式,因此去修改了echo X > /sys/class/disp/disp/attr/colorbar,发现只有闪屏的频率发生了变化,其余的没有变化
请问知道这是什么原因吗?
&lcd0 {
lcd_driver_name = "default_lcd";
lcd_if = <0>;
lcd_x = <800>;
lcd_y = <480>;
lcd_width = <800>;
lcd_height = <480>;
lcd_dclk_freq = <25>;
lcd_pwm_used = <1>;
lcd_pwm_ch = <7>;
lcd_pwm_freq = <10000>;
lcd_pwm_pol = <1>;
lcd_hbp = <8>;
lcd_ht = <816>;
lcd_hspw = <4>;
lcd_vbp = <8>;
lcd_vt = <496>;
lcd_vspw = <4>;
lcd_lvds_if = <0>;
lcd_lvds_colordepth = <1>;
lcd_lvds_mode = <0>;
lcd_frm = <0>;
lcd_io_phase = <0x0000>;
lcd_gamma_en = <0>;
lcd_bright_curve_en = <0>;
lcd_cmap_en = <0>;
deu_mode = <0>;
lcdgamma4iep = <22>;
smart_color = <90>;
pinctrl-0 = <&rgb18_pins_a>;
pinctrl-1 = <&rgb18_pins_b>;
};
使用tina-d1-h linux系统,想调试RGB显示屏,配置完成后,显示屏黑屏(背光是外接的所以是有背光的)
把调试信息打开,发现有报错(disp 1 not support lcd output),不知道是不是这个原因导致黑屏的。求助一下帮忙看看这是什么问题,谢谢
配置:
&disp {
disp_init_enable = <1>;
disp_mode = <0>;
screen0_output_type = <1>;
screen0_output_mode = <4>;
screen1_output_type = <3>;
screen1_output_mode = <10>;
screen1_output_format = <0>;
screen1_output_bits = <0>;
screen1_output_eotf = <4>;
screen1_output_cs = <257>;
screen1_output_dvi_hdmi = <2>;
screen1_output_range = <2>;
screen1_output_scan = <0>;
screen1_output_aspect_ratio = <8>;
dev0_output_type = <1>;
dev0_output_mode = <4>;
dev0_screen_id = <0>;
dev0_do_hpd = <0>;
dev1_output_type = <4>;
dev1_output_mode = <10>;
dev1_screen_id = <1>;
dev1_do_hpd = <1>;
def_output_dev = <0>;
hdmi_mode_check = <1>;
fb0_format = <0>;
fb0_width = <0>;
fb0_height = <0>;
fb1_format = <0>;
fb1_width = <0>;
fb1_height = <0>;
chn_cfg_mode = <1>;
disp_para_zone = <1>;
/*VCC-LCD*/
/* dc1sw-supply = <®_dc1sw>;*/
/*VCC-DSI*/
/* eldo3-supply = <®_eldo3>;*/
/*VCC-PD*/
/* dcdc1-supply = <®_dcdc1>;*/
};
&lcd0 {
lcd_used = <1>;
lcd_driver_name = "default_panel";
lcd_if = <0>;
lcd_hv_if = <0>;
lcd_x = <800>;
lcd_y = <480>;
lcd_width = <108>;
lcd_height = <65>;
lcd_dclk_freq = <25>;
lcd_hbp = <12>;
lcd_ht = <816>;
lcd_hspw = <4>;
lcd_vbp = <12>;
lcd_vt = <496>;
lcd_vspw = <4>;
lcd_frm = <1>;
lcd_hv_clk_phase = <0>;
lcd_hv_sync_polarity= <0>;
lcd_io_phase = <0x0000>;
lcd_gamma_en = <0>;
lcd_bright_curve_en = <0>;
lcd_power = "vcc-lcd";
lcd_pin_power = "vcc-pd";
pinctrl-0 = <&rgb18_pins_a>;
pinctrl-1 = <&rgb18_pins_b>;
};
启动信息:
[214]HELLO! BOOT0 is starting!
[217]BOOT0 commit : 88480af
[219]set pll start
[221]fix vccio detect value:0xc0
[224]periph0 has been enabled
[227]set pll end
[229][pmu]: bus read error
[231]board init ok
[233]get_pmu_exist() = -1
[236]ddr_efuse_type: 0x0
[238]trefi:7.8ms
[240][AUTO DEBUG] single rank and full DQ!
[244]ddr_efuse_type: 0x0
[247]trefi:7.8ms
[249][AUTO DEBUG] rank 0 row = 15
[252][AUTO DEBUG] rank 0 bank = 8
[255][AUTO DEBUG] rank 0 page size = 2 KB
[259]DRAM BOOT DRIVE INFO: V0.33
[262]DRAM CLK = 792 MHz
[265]DRAM Type = 3 (2:DDR2,3:DDR3)
[268]DRAMC ZQ value: 0x7b7bfb
[271]DRAM ODT value: 0x42.
[273]ddr_efuse_type: 0x0
[276]DRAM SIZE =512 M
[278]dram_tpr4:0x0
[280]PLL_DDR_CTRL_REG:0xf8004100
[283]DRAM_CLK_REG:0xc0000000
[286][TIMING DEBUG] MR2= 0x18
[290]DRAM simple test OK.
[292]dram size =512
[294]card no is 0
[296]sdcard 0 line count 4
[298][mmc]: mmc driver ver 2021-04-2 16:45
[308][mmc]: Wrong media type 0x0
[311][mmc]: ***Try SD card 0***
[331][mmc]: HSSDR52/SDR25 4 bit
[334][mmc]: 50000000 Hz
[336][mmc]: 30436 MB
[338][mmc]: ***SD/MMC 0 init OK!!!***
[388]Loading boot-pkg Succeed(index=0).
[391]Entry_name = opensbi
[395]Entry_name = u-boot
[398]Entry_name = dtb
[401]mmc not para
[402]Jump to second Boot.
OpenSBI auto-t113-linux-V0.8-2-g053d088
____ _____ ____ _____
/ __ \ / ____| _ \_ _|
| | | |_ __ ___ _ __ | (___ | |_) || |
| | | | '_ \ / _ \ '_ \ \___ \| _ < | |
| |__| | |_) | __/ | | |____) | |_) || |_
\____/| .__/ \___|_| |_|_____/|____/_____|
| |
|_|
Platform Name : T-HEAD Xuantie Platform
Platform HART Features : RV64ACDFIMSUVX
Platform Max HARTs : 1
Current Hart : 0
Firmware Base : 0x41fc0400
Firmware Size : 75 KB
Runtime SBI Version : 0.2
MIDELEG : 0x0000000000000222
MEDELEG : 0x000000000000b1ff
PMP0 : 0x0000000041fc0000-0x0000000041fdffff (A)
PMP1 : 0x0000000040000000-0x000000007fffffff (A,R,W,X)
PMP2 : 0x0000000080000000-0x00000000bfffffff (A,R,W,X)
PMP3 : 0x0000000000020000-0x0000000000027fff (A,
U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology
[00.488]DRAM: 512 MiB
[00.490]Relocation Offset is: 1dee7000
[00.494]secure enable bit: 0
[00.497]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz
[00.503]flash init start
[00.505]workmode = 0,storage type = 1
[00.508][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00
[00.514][mmc]: get sdc_type fail and use default host:tm1.
[00.520][mmc]: can't find node "mmc0",will add new node
[00.525][mmc]: fdt err returned <no error>
[00.529][mmc]: Using default timing para
[00.532][mmc]: SUNXI SDMMC Controller Version:0x50310
[00.559][mmc]: card_caps:0x3000000a
[00.562][mmc]: host_caps:0x3000003f
[00.567]sunxi flash init ok
[00.570]line:703 init_clocks
[00.573]drv_disp_init
[00.584]drv_disp_init finish
[00.587]boot_gui_init:start
[00.590]set disp.dev2_output_type fail. using defval=0
[00.595]LCD open finish
[00.597]boot_gui_init:finish
partno erro : can't find partition bootloader
54 bytes read in 1 ms (52.7 KiB/s)
[00.616]bmp_name=bootlogo.bmp size 3072054
3072054 bytes read in 129 ms (22.7 MiB/s)
no support big size bmp[800x1280] on fb[800x480]
[00.758]show bmp on fb failed !-1
[00.770]Loading Environment from SUNXI_FLASH... OK
[00.790]out of usb burn from boot: not need burn key
[00.816]Item0 (Map) magic is bad
[00.819]the secure storage item0 copy0 magic is bad
[00.845]Item0 (Map) magic is bad
[00.848]the secure storage item0 copy1 magic is bad
[00.852]Item0 (Map) magic is bad
partno erro : can't find partition private
root_partition is rootfs
set root to /dev/mmcblk0p5
[00.865]update part info
[00.868]update bootcmd
[00.871]change working_fdt 0x5eaa6da0 to 0x5ea86da0
disable nand error: FDT_ERR_BADPATH
No reserved memory region found in source FDT
[00.900]update dts
noncached_alloc(): addr = 0x5eb12b40
noncached_alloc(): addr = 0x5eb12b80
noncached_alloc(): addr = 0x5ec8a040
noncached_alloc(): addr = 0x5ec8a880
phy_mode=rgmii, phy_interface=7
gmac: *** using ephy_clk ***
eth0
Warning: eth0 (eth0) using random MAC address - c2:f2:aa:b9:99:b2
Hit any key to stop autoboot: 0
dsp0:gpio init config fail
dsp0:sharespace config fail
dsp0 version is r528-tina-v1.0.0-release-37-g735b6b4-dirty
DSP0 start ok, img length 254860, booting from 0x400660
[04.194]no vendor_boot partition is found
Android's image name: d1-h-nezha
Detect comp gzip
[04.447]
Starting kernel ...
[04.450][mmc]: MMC Device 2 not found
[04.453][mmc]: mmc 2 not find, so not exit
** 531 printk messages dropped **
[ 0.207704] of_property_read_u32_array lcd0.lcd_hv_syuv_seq fail
[ 0.207925] [DISP] disp_sys_script_get_item,line:214:
[ 0.207930] of_property_read_u32_array lcd0.lcd_hv_syuv_fdly fail
[ 0.208350] [DISP] disp_sys_script_get_item,line:214:
[ 0.208355] of_property_read_u32_array lcd0.lcd_cmap_en fail
[ 0.208558] [DISP] disp_sys_script_get_item,line:214:
[ 0.208563] of_property_read_u32_array lcd0.lcd_xtal_freq fail
[ 0.208786] [DISP] disp_sys_script_get_item,line:222:
[ 0.208791] of_property_read_string lcd0.lcd_size fail
[ 0.209006] [DISP] disp_sys_script_get_item,line:222:
[ 0.209010] of_property_read_string lcd0.lcd_model_name fail
[ 0.209218] [DISP] lcd_clk_init,line:493:
[ 0.209221] lcd 0 clk init
[ 0.209463] [DISP] disp_init_hdmi,line:1052:
[ 0.209467] disp_init_hdmi
[ 0.209490] [DISP] disp_init_mgr,line:2933:
[ 0.209494] disp_init_mgr
[ 0.209507] [DISP] disp_init_mgr,line:2968:
[ 0.209512] mgr 0, 0x(____ptrval____)
[ 0.209526] [DISP] disp_init_mgr,line:2968:
[ 0.209529] mgr 1, 0x(____ptrval____)
[ 0.209541] [DISP] disp_init_lyr,line:758:
[ 0.209543] disp_init_lyr
[ 0.209584] [DISP] disp_init_enhance,line:701:
[ 0.209587] disp_init_enhance
[ 0.209599] [DISP] disp_init_smbl,line:396:
[ 0.209601] disp_init_smbl
[ 0.209619] [DISP] disp_init_connections,line:447:
[ 0.209622] disp_init_connections
[ 0.209632] [DISP] disp_get_layer_1,line:136:
[ 0.209636] disp0 layer0: 0,0,0
[ 0.209645] [DISP] disp_get_layer_1,line:136:
[ 0.209649] disp0 layer1: 0,0,1
[ 0.209657] [DISP] disp_get_layer_1,line:136:
[ 0.209662] disp0 layer2: 0,0,2
[ 0.209670] [DISP] disp_get_layer_1,line:136:
[ 0.209674] disp0 layer3: 0,0,3
[ 0.209682] [DISP] disp_get_layer_1,line:136:
[ 0.209687] disp0 layer4: 0,1,0
[ 0.209695] [DISP] disp_get_layer_1,line:136:
[ 0.209699] disp0 layer5: 0,1,1
[ 0.209708] [DISP] disp_get_layer_1,line:136:
[ 0.209712] disp0 layer6: 0,1,2
[ 0.209721] [DISP] disp_get_layer_1,line:136:
[ 0.209725] disp0 layer7: 0,1,3
[ 0.209735] [DISP] disp_device_set_manager,line:23:
[ 0.209738] device 0, mgr 0
[ 0.209747] [DISP] disp_get_smbl,line:37:
[ 0.209750] get smbl0 ok
[ 0.209760] [DISP] disp_get_layer_1,line:136:
[ 0.209765] disp1 layer8: 1,0,0
[ 0.209773] [DISP] disp_get_layer_1,line:136:
[ 0.209778] disp1 layer9: 1,0,1
[ 0.209787] [DISP] disp_get_layer_1,line:136:
[ 0.209791] disp1 layer10: 1,0,2
[ 0.209800] [DISP] disp_get_layer_1,line:136:
[ 0.209804] disp1 layer11: 1,0,3
[ 0.209813] [DISP] disp_get_smbl,line:37:
[ 0.209816] get smbl1 ok
[ 0.210016] [DISP] disp_lcd_set_panel_funs,line:2446:
[ 0.210024] lcd 0, driver_name default_panel, panel_name default_lcd
[ 0.210038] [DISP] disp_get_lcd,line:88:
[ 0.210041] disp 1 not support lcd output
[ 0.210048] [DISP] disp_lcd_set_panel_funs,line:2446:
[ 0.210053] lcd 0, driver_name default_panel, panel_name he0801a068
[ 0.210061] [DISP] disp_get_lcd,line:88:
[ 0.210064] disp 1 not support lcd output
[ 0.210071] [DISP] disp_lcd_set_panel_funs,line:2446:
[ 0.210076] lcd 0, driver_name default_panel, panel_name inet_dsi_panel
[ 0.210084] [DISP] disp_get_lcd,line:88:
[ 0.210086] disp 1 not support lcd output
[ 0.210094] [DISP] disp_lcd_set_panel_funs,line:2446:
[ 0.210098] lcd 0, driver_name default_panel, panel_name lq101r1sx03
[ 0.210106] [DISP] disp_get_lcd,line:88:
[ 0.210109] disp 1 not support lcd output
[ 0.210117] [DISP] disp_lcd_set_panel_funs,line:2446:
[ 0.210121] lcd 0, driver_name default_panel, panel_name WilliamLcd
[ 0.210129] [DISP] disp_get_lcd,line:88:
[ 0.210131] disp 1 not support lcd output
[ 0.210139] [DISP] disp_lcd_set_panel_funs,line:2446:
[ 0.210144] lcd 0, driver_name default_panel, panel_name CC08021801_310_800X1280
[ 0.210152] [DISP] disp_get_lcd,line:88:
[ 0.210154] disp 1 not support lcd output
[ 0.210162] [DISP] disp_lcd_set_panel_funs,line:2446:
[ 0.210166] lcd 0, driver_name default_panel, panel_name tft08006
[ 0.210174] [DISP] disp_get_lcd,line:88:
[ 0.210177] disp 1 not support lcd output
[ 0.210184] [DISP] disp_lcd_set_panel_funs,line:2446:
[ 0.210189] lcd 0, driver_name default_panel, panel_name bp101wx1
[ 0.210197] [DISP] disp_get_lcd,line:88:
[ 0.210199] disp 1 not support lcd output
[ 0.210207] [DISP] disp_lcd_set_panel_funs,line:2446:
[ 0.210211] lcd 0, driver_name default_panel, panel_name k101im2qa04
[ 0.210219] [DISP] disp_get_lcd,line:88:
[ 0.210222] disp 1 not support lcd output
[ 0.210230] [DISP] disp_lcd_set_panel_funs,line:2446:
[ 0.210234] lcd 0, driver_name default_panel, panel_name fx070
[ 0.210241] [DISP] disp_get_lcd,line:88:
[ 0.210244] disp 1 not support lcd output
[ 0.210252] [DISP] disp_lcd_set_panel_funs,line:2446:
[ 0.210256] lcd 0, driver_name default_panel, panel_name K080_IM2HYL802R_800X1280
[ 0.210264] [DISP] disp_get_lcd,line:88:
[ 0.210267] disp 1 not support lcd output
[ 0.210275] [DISP] disp_lcd_set_panel_funs,line:2446:
[ 0.210279] lcd 0, driver_name default_panel, panel_name K101_IM2BYL02_L_800X1280
[ 0.210287] [DISP] disp_get_lcd,line:88:
[ 0.210290] disp 1 not support lcd output
[ 0.210298] [DISP] disp_lcd_set_panel_funs,line:2446:
[ 0.210302] lcd 0, driver_name default_panel, panel_name super_lcd_driver
[ 0.210310] [DISP] disp_get_lcd,line:88:
[ 0.210313] disp 1 not support lcd output
[ 0.210321] [DISP] fb_init,line:2291:
[ 0.210323] [DISP] fb_init
[ 0.210337] [DISP] disp_boot_para_parse,line:1172:
[ 0.210341] [DISP] fb_base:0x0
[ 0.210367] [DISP] disp_fb_to_var,line:400:
[ 0.210375] fmt0 para: 32bpp, a(24,8),r(16,8),g(8,8),b(0,8)
[ 0.210387] display_fb_request,fb_id:0
[ 0.213431] [DISP] __disp_ion_alloc_coherent,line:1555:
[ 0.213438] ion map kernel, vaddr=0x(____ptrval____)
[ 0.213545] [DISP] fb_map_video_memory,line:115:
[ 0.213552] fb_map_video_memory(reserve),va=0x(____ptrval____), pa=0x(____ptrval____) size:0x2ee000
[ 0.220867] [DISP] Fb_map_kernel_logo,line:1806:
[ 0.220870] Fb_map_kernel_logo failed!
[ 0.225751] Freeing logo buffer memory: 1500K
[ 0.225767] [DISP] var_to_disp_fb,line:521:
[ 0.225775] format0,para:32bpp,a(24,8),r(16,8),g(8,8),b(0,8)
[ 0.225785] [DISP] disp_mgr_set_layer_config,line:1597:
[ 0.225788] mgr0, config 1 layers
[ 0.225797] [DISP] disp_mgr_set_layer_config,line:1604:
[ 0.225810] layer:ch1, layer0, format=0, size=<800,480>, crop=<0,0,800,480>,frame=<800,480>, en=1 addr[0xffc00000,0x0,0x0> alpha=<0,255>
[ 0.225823] [DISP] disp_get_layer,line:103:
[ 0.225827] 0,1,0, name=mgr0 chn1 lyr0
[ 0.225838] [DISP] disp_lyr_save_and_dirty_check,line:528:
[ 0.225849] layer:ch1, layer0, format=0, size=<800,480>, crop=<0,0,800,480>,frame=<800,480>, en=1 addr[0xffc00000,0x0,0x0>
[ 0.225859] [DISP] disp_mgr_apply,line:2442:
[ 0.225861] mgr 0 apply
[ 0.225873] [DISP] bsp_disp_shadow_protect,line:719:
[ 0.225877] sel=0, protect:1, cnt=1
[ 0.225890] [DISP] de_al_lyr_apply,line:485:
[ 0.225894] ch0 z 0 dis
[ 0.225902] [DISP] de_al_lyr_apply,line:485:
[ 0.225905] ch1 z 0 en
[ 0.225913] [DISP] de_al_lyr_apply,line:488:
[ 0.225916] pipe0 z 1 en
[ 0.225923] [DISP] de_al_lyr_apply,line:488:
[ 0.225926] pipe1 z 0 dis
[ 0.225935] [DISP] de_al_lyr_apply,line:503:
[ 0.225937] format[0]=0
[ 0.225957] [DISP] de_calc_overlay_scaler_para,line:178:
[ 0.225960] ovl_rect[0]=<0,0>
[ 0.225968] [DISP] de_calc_overlay_scaler_para,line:180:
[ 0.225973] bld_rect[0]=<0,0,0,0>
[ 0.225981] [DISP] de_calc_ovl_coord,line:389:
[ 0.225984] half_shift_xy=<20000,18,0>
[ 0.225993] [DISP] de_calc_ovl_coord,line:389:
[ 0.225996] half_shift_xy=<20000,18,0>
[ 0.226004] [DISP] de_rtmx_calc_chnrect,line:1982:
[ 0.226007] layernum=4, i=0
[ 0.226015] [DISP] de_rtmx_calc_chnrect,line:1984:
[ 0.226018] crop=<0,0,800,480>
[ 0.226026] [DISP] de_rtmx_calc_chnrect,line:1986:
[ 0.226030] layer=<0,0,800,480>
[ 0.226038] [DISP] de_rtmx_calc_chnrect,line:1995:
[ 0.226042] ovl_rect=<0,0,800,480>
[ 0.226050] [DISP] de_rtmx_calc_chnrect,line:1997:
[ 0.226054] bld_rect=<0,0,800,480>
[ 0.226061] [DISP] de_calc_overlay_scaler_para,line:178:
[ 0.226065] ovl_rect[1]=<800,480>
[ 0.226072] [DISP] de_calc_overlay_scaler_para,line:180:
[ 0.226077] bld_rect[1]=<0,0,800,480>
[ 0.226085] [DISP] de_calc_overlay_scaler_para,line:187:
[ 0.226092] fmt[0]=0, ovlw[0]=0,ovlh[0]=0, bld_rect[0].w=0, bld_rect[0].h=0
[ 0.226103] [DISP] de_vsu_set_para,line:274:
[ 0.226109] sel0, ch 0, en=0, in<0x0>,out<0x0>
[ 0.226132] [DISP] de_al_lyr_apply,line:713:
[ 0.226137] sel=0, pipe_rect[0]=<0,0,800,480>
[ 0.226146] [DISP] de_rtmx_set_route,line:1792:
[ 0.226151] sel0, pno0, zorder1, route:0x0
[ 0.226159] [DISP] de_rtmx_set_route,line:1796:
[ 0.226164] addr=0x(____ptrval____), reg=0x1
[ 0.226172] [DISP] de_al_lyr_apply,line:713:
[ 0.226177] sel=0, pipe_rect[1]=<0,0,0,0>
[ 0.226185] [DISP] de_rtmx_set_route,line:1792:
[ 0.226190] sel0, pno1, zorder0, route:0x1
[ 0.226197] [DISP] de_rtmx_set_route,line:1796:
[ 0.226201] addr=0x(____ptrval____), reg=0x1
[ 0.226236] [DISP] de_enhance_apply,line:204:
[ 0.226240] disp 0, en=0, sharp=0
[ 0.226256] [DISP] de_peak_enable,line:123:
[ 0.226260] sel=0, chno=0, en=0
[ 0.226274] [DISP] bsp_disp_shadow_protect,line:719:
[ 0.226278] sel=0, protect:0, cnt=0
[ 0.226576] [DISP] disp_mgr_sw_enable,line:2645:
[ 0.226581] mgr 0 enable
[ 0.226593] [DISP] disp_mgr_clk_enable,line:1055:
[ 0.226596] set DE rate to 300000000
[ 0.226618] [DISP] disp_mgr_clk_enable,line:1071:
[ 0.226621] mgr 0 clk enable
[ 0.226643] [DISP] disp_mgr_sw_enable,line:2693:
[ 0.226648] output res: 800 x 480, cs=0, range=1, interlace=0
[ 0.226664] [DISP] disp_mgr_apply,line:2442:
[ 0.226666] mgr 0 apply
[ 0.226676] [DISP] bsp_disp_shadow_protect,line:719:
[ 0.226680] sel=0, protect:1, cnt=1
[ 0.226689] disp_al_manager_apply ouput_type:1
[ 0.226698] [DISP] de_dcsc_apply,line:74:
[ 0.226703] sel=0, in_fmt=0, mode=0, out_fmt=0, mode=0, range=1
[ 0.226727] [DISP] de_al_lyr_apply,line:485:
[ 0.226730] ch0 z 0 dis
[ 0.226738] [DISP] de_al_lyr_apply,line:485:
[ 0.226742] ch1 z 0 en
[ 0.226749] [DISP] de_al_lyr_apply,line:488:
[ 0.226752] pipe0 z 1 en
[ 0.226759] [DISP] de_al_lyr_apply,line:488:
[ 0.226762] pipe1 z 0 dis
[ 0.226771] [DISP] de_al_lyr_apply,line:503:
[ 0.226773] format[0]=0
[ 0.226791] [DISP] de_calc_overlay_scaler_para,line:178:
[ 0.226795] ovl_rect[0]=<0,0>
[ 0.226804] [DISP] de_calc_overlay_scaler_para,line:180:
[ 0.226808] bld_rect[0]=<0,0,0,0>
[ 0.226816] [DISP] de_calc_ovl_coord,line:389:
[ 0.226820] half_shift_xy=<20000,18,0>
[ 0.226828] [DISP] de_calc_ovl_coord,line:389:
[ 0.226832] half_shift_xy=<20000,18,0>
[ 0.226839] [DISP] de_rtmx_calc_chnrect,line:1982:
[ 0.226842] layernum=4, i=0
[ 0.226850] [DISP] de_rtmx_calc_chnrect,line:1984:
[ 0.226854] crop=<0,0,800,480>
[ 0.226861] [DISP] de_rtmx_calc_chnrect,line:1986:
[ 0.226865] layer=<0,0,800,480>
[ 0.226873] [DISP] de_rtmx_calc_chnrect,line:1995:
[ 0.226877] ovl_rect=<0,0,800,480>
[ 0.226885] [DISP] de_rtmx_calc_chnrect,line:1997:
[ 0.226889] bld_rect=<0,0,800,480>
[ 0.226896] [DISP] de_calc_overlay_scaler_para,line:178:
[ 0.226900] ovl_rect[1]=<800,480>
[ 0.226907] [DISP] de_calc_overlay_scaler_para,line:180:
[ 0.226912] bld_rect[1]=<0,0,800,480>
[ 0.226920] [DISP] de_calc_overlay_scaler_para,line:187:
[ 0.226927] fmt[0]=0, ovlw[0]=0,ovlh[0]=0, bld_rect[0].w=0, bld_rect[0].h=0
[ 0.226938] [DISP] de_vsu_set_para,line:274:
[ 0.226943] sel0, ch 0, en=0, in<0x0>,out<0x0>
[ 0.226974] [DISP] de_al_lyr_apply,line:713:
[ 0.226979] sel=0, pipe_rect[0]=<0,0,800,480>
[ 0.226988] [DISP] de_rtmx_set_route,line:1792:
[ 0.226993] sel0, pno0, zorder1, route:0x0
[ 0.227001] [DISP] de_rtmx_set_route,line:1796:
[ 0.227006] addr=0x(____ptrval____), reg=0x1
[ 0.227014] [DISP] de_al_lyr_apply,line:713:
[ 0.227019] sel=0, pipe_rect[1]=<0,0,0,0>
[ 0.227027] [DISP] de_rtmx_set_route,line:1792:
[ 0.227031] sel0, pno1, zorder0, route:0x1
[ 0.227039] [DISP] de_rtmx_set_route,line:1796:
[ 0.227043] addr=0x(____ptrval____), reg=0x1
[ 0.227060] [DISP] bsp_disp_shadow_protect,line:719:
[ 0.227064] sel=0, protect:0, cnt=0
[ 0.227076] [DISP] disp_enhance_apply,line:126:
[ 0.227079] disp_enhance_apply, screen 0
[ 0.227087] [DISP] bsp_disp_shadow_protect,line:719:
[ 0.227091] sel=0, protect:1, cnt=1
[ 0.227099] [DISP] de_dcsc_apply,line:74:
[ 0.227105] sel=0, in_fmt=0, mode=0, out_fmt=0, mode=0, range=1
[ 0.227117] [DISP] de_enhance_apply,line:204:
[ 0.227122] disp 0, en=0, sharp=0
[ 0.227135] [DISP] de_peak_enable,line:123:
[ 0.227139] sel=0, chno=0, en=0
[ 0.227152] [DISP] bsp_disp_shadow_protect,line:719:
[ 0.227155] sel=0, protect:0, cnt=0
[ 0.227172] [DISP] disp_enhance_apply,line:126:
[ 0.227175] disp_enhance_apply, screen 0
[ 0.227184] [DISP] bsp_disp_shadow_protect,line:719:
[ 0.227187] sel=0, protect:1, cnt=1
[ 0.227195] [DISP] de_dcsc_apply,line:74:
[ 0.227200] sel=0, in_fmt=0, mode=0, out_fmt=0, mode=0, range=1
[ 0.227211] [DISP] de_enhance_apply,line:204:
[ 0.227215] disp 0, en=1, sharp=0
[ 0.227224] [DISP] de_peak_enable,line:123:
[ 0.227228] sel=0, chno=0, en=0
[ 0.227240] [DISP] bsp_disp_shadow_protect,line:719:
[ 0.227244] sel=0, protect:0, cnt=0
[ 0.227255] panel->lcd_dclk_freq:25 panel->lcd_dclk_freq:25 tcon_div 11
[ 0.227278] [DISP] lcd_clk_config,line:732:
[ 0.227289] disp 0, clk: pll(275000000),clk(275000000),dclk(25000000) dsi_rate(275000000)
[ 0.227289] clk real:pll(288000000),clk(288000000),dclk(26181818) dsi_rate(0)
[ 0.227310] panel->lcd_dclk_freq:25 panel->lcd_dclk_freq:25 tcon_div 11
[ 0.227318] [DISP] cal_real_frame_period,line:647:
[ 0.227322] lcd frame period:15458666
[ 0.227333] [DISP] disp_sys_register_irq,line:113:
[ 0.227340] disp_sys_register_irq, irqNo=30, Handler=0x(____ptrval____), pArg=0x(____ptrval____)
[ 0.227397] [DISP] disp_init,line:2441:
[ 0.227400] disp_init finish
[ 0.227476] [DISP] disp_probe,line:3118:
[ 0.227479] [DISP]disp_probe finish
[ 0.227874] [DISP]disp_module_init finish
[ 0.228725] sunxi_sid_init()551 - insmod ok
[ 0.229240] pwm-regulator: supplied by regulator-dummy
[ 0.235965] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator
[ 0.236534] uart uart0: get regulator failed
[ 0.236561] uart uart0: uart0 supply uart not found, using dummy regulator
[ 0.236871] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI
[ 0.236895] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n
[ 1.734767] printk: console [ttyS0] enabled
[ 1.740254] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator
[ 1.751653] uart uart1: get regulator failed
[ 1.756429] uart uart1: uart1 supply uart not found, using dummy regulator
[ 1.764492] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI
[ 1.774325] misc dump reg init
[ 1.778557] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9
[ 1.785804] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed
[ 1.793117] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed
[ 1.800510] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1)
[ 1.807041] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power.
[ 1.813972] sunxi-rfkill soc@3000000:rfkill@0: wlan clock[0] (32k-fanout1)
[ 1.821692] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=204 assert=1
[ 1.829511] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1
[ 1.837635] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled
[ 1.845281] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power.
[ 1.852041] sunxi-rfkill soc@3000000:rfkill@0: bt clock[0] (32k-fanout1)
[ 1.859543] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=210 assert=0
[ 1.867677] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10
[ 1.875303] [ADDR_MGT] addr_mgt_probe: success.
[ 1.881636] libphy: Fixed MDIO Bus: probed
[ 1.886207] CAN device driver interface
[ 1.891612] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator
[ 1.902918] sunxi gmac driver's version: 1.0.0
[ 1.908023] gmac-power0: NULL
[ 1.911372] gmac-power1: NULL
[ 1.914676] gmac-power2: NULL
[ 1.919193] Failed to alloc md5
[ 1.922785] eth0: Use random mac address
[ 1.927486] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.934854] sunxi-ehci: EHCI SUNXI driver
[ 1.939838] get ehci1-controller wakeup-source is fail.
[ 1.945854] sunxi ehci1-controller don't init wakeup source
[ 1.952148] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe00094f758, 0x:ffffffd00407a000, irq_no:31
[ 1.965705] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator
[ 1.978268] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator
[ 1.990484] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller
[ 1.997745] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1
[ 2.007563] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000
[ 2.040727] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00
[ 2.049386] hub 1-0:1.0: USB hub found
[ 2.053680] hub 1-0:1.0: 1 port detected
[ 2.058791] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 2.065779] sunxi-ohci: OHCI SUNXI driver
[ 2.070863] get ohci1-controller wakeup-source is fail.
[ 2.076798] sunxi ohci1-controller don't init wakeup source
[ 2.083051] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0009502b0
[ 2.093473] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator
[ 2.105983] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator
[ 2.118191] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller
[ 2.125460] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2
[ 2.135234] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400
[ 2.215617] hub 2-0:1.0: USB hub found
[ 2.219848] hub 2-0:1.0: 1 port detected
[ 2.225240] usbcore: registered new interface driver uas
[ 2.231404] usbcore: registered new interface driver usb-storage
[ 2.238161] usbcore: registered new interface driver ums-alauda
[ 2.244900] usbcore: registered new interface driver ums-cypress
[ 2.251704] usbcore: registered new interface driver ums-datafab
[ 2.258456] usbcore: registered new interface driver ums_eneub6250
[ 2.265449] usbcore: registered new interface driver ums-freecom
[ 2.272256] usbcore: registered new interface driver ums-isd200
[ 2.278918] usbcore: registered new interface driver ums-jumpshot
[ 2.285817] usbcore: registered new interface driver ums-karma
[ 2.292421] usbcore: registered new interface driver ums-onetouch
[ 2.299288] usbcore: registered new interface driver ums-realtek
[ 2.306090] usbcore: registered new interface driver ums-sddr09
[ 2.312796] usbcore: registered new interface driver ums-sddr55
[ 2.319466] usbcore: registered new interface driver ums-usbat
[ 2.326554] sunxi_gpadc_init,2151, success
[ 2.332060] sunxi-rtc 7090000.rtc: errata__fix_alarm_day_reg_default_value(): ALARM0_DAY_REG=0, set it to 1
[ 2.344249] sunxi-rtc 7090000.rtc: registered as rtc0
[ 2.349996] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T00:00:06 UTC (6)
[ 2.358913] sunxi-rtc 7090000.rtc: sunxi rtc probed
[ 2.364836] i2c /dev entries driver
[ 2.368843] IR NEC protocol handler initialized
[ 2.374586] sunxi cedar version 1.1
[ 2.378723] sunxi-cedar 1c0e000.ve: Adding to iommu group 0
[ 2.385009] VE: install start!!!
[ 2.385009]
[ 2.390468] VE: cedar-ve the get irq is 6
[ 2.390468]
[ 2.396849] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____)
[ 2.396849]
[ 2.408428] VE: install end!!!
[ 2.408428]
[ 2.413495] VE: sunxi_cedar_probe
[ 2.418723] sunxi-wdt 6011000.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 2.427858] Bluetooth: HCI UART driver ver 2.3
[ 2.432856] Bluetooth: HCI UART protocol H4 registered
[ 2.438582] Bluetooth: HCI UART protocol BCSP registered
[ 2.444523] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10
[ 2.451786] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1
[ 2.458150] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1
[ 2.464724] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled!
[ 2.464724]
[ 2.473389] [XR_BT_LPM] bluesleep_probe: uart_index(1)
[ 2.482126] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02)
[ 2.492090] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8
[ 2.498255] sunxi-mmc 4020000.sdmmc: No vmmc regulator found
[ 2.504599] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found
[ 2.511024] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found
[ 2.517428] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found
[ 2.523948] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found
[ 2.530450] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found
[ 2.536970] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found
[ 2.543913] sunxi-mmc 4020000.sdmmc: Got CD GPIO
[ 2.549411] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail
[ 2.556087] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.567218] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator
[ 2.587356] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.611715] sunxi-mmc 4020000.sdmmc: detmode:gpio irq
[ 2.617408] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.629639] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02)
[ 2.639700] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8
[ 2.645935] sunxi-mmc 4021000.sdmmc: No vmmc regulator found
[ 2.652318] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found
[ 2.658751] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.670321] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found
[ 2.676750] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found
[ 2.683372] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found
[ 2.689907] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found
[ 2.696472] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found
[ 2.703054] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed
[ 2.711751] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.724310] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.735478] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
[ 2.744398] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.755980] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.780254] sunxi-mmc 4021000.sdmmc: detmode:manually by software
[ 2.787848] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.799898] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator
[ 2.811264] sunxi_led_probe()1749 - start
[ 2.815847] sunxi_get_str_of_property()1595 - failed to get the string of propname led_regulator!
[ 2.825840] sunxi_register_led_classdev()1483 - led_classdev start
[ 2.832807] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.848651] sunxi_led_probe()1845 - finish
[ 2.853300] mmc0: host does not support reading read-only switch, assuming write-enable
[ 2.862948] usbcore: registered new interface driver usbhid
[ 2.869236] usbhid: USB HID core driver
[ 2.873594] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[ 2.885072] sunxi-mmc 4021000.sdmmc: card claims to support voltages below defined range
[ 2.894234] rpmsg_client_dsp_standby 3003000.msgbox.sunxi,dsp-power-msgbox.512.256: new channel: 0x200 -> 0x100!
[ 2.905742] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[ 2.919494] usbcore: registered new interface driver snd-usb-audio
[ 2.927219] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
[ 2.941648] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator
[ 2.952776] mmc0: new high speed SDHC card at address aaaa
[ 2.960290] sunxi-daudio 2034000.daudio: regulator missing or invalid
[ 2.968775] mmcblk0: mmc0:aaaa SD32G 29.7 GiB
[ 2.974547] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[ 2.986462] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:19, mic2gain:19 pa_msleep:120, pa_level:1, pa_pwr_level:1
[ 2.986462]
[ 3.003697] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[ 3.015387] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0
[ 3.026554] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
[ 3.040173] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished
[ 3.049759] mmc1: new high speed SDIO card at address 0001
[ 3.057182] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8
[ 3.062714] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present!
[ 3.075475] [SNDCODEC][sunxi_card_init][583]:card init finished
[ 3.084262] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok
[ 3.095455] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input1
[ 3.107515] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished
[ 3.115697] sunxi-rpaf-dsp soc@3000000:rpaf-dsp@203034c: register device finished!
[ 3.124206] sunxi-rpaf-dsp soc@3000000:rpaf-dsp@203034c: [rpaf_dsp0] probe finished!
[ 3.133246] rpmsg_hifi 3003000.msgbox.sunxi,dsp-msgbox.514.258: id:sunxi,dsp-msgbox new channel: 0x202 -> 0x102!
[ 3.144780] rpmsg_hifi 3003000.msgbox.sunxi,dsp-msgbox.514.258: rpmsg hifi[0] client driver is probed
[ 3.156629] NET: Registered protocol family 10
[ 3.163027] Segment Routing with IPv6
[ 3.167298] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 3.174718] NET: Registered protocol family 17
[ 3.179749] can: controller area network core (rev 20170425 abi 9)
[ 3.186811] NET: Registered protocol family 29
[ 3.191831] can: raw protocol (rev 20170425)
[ 3.196591] can: broadcast manager protocol (rev 20170425 t)
[ 3.202939] can: netlink gateway (rev 20190810) max_hops=1
[ 3.209346] Bluetooth: RFCOMM TTY layer initialized
[ 3.214891] Bluetooth: RFCOMM socket layer initialized
[ 3.220644] Bluetooth: RFCOMM ver 1.11
[ 3.225834] Loading compiled-in X.509 certificates
[ 3.233419] HDMI 2.0 driver init start!
[ 3.237714] [DISP] disp_boot_para_parse,line:1172:
[ 3.237718] [DISP] boot_disp:0x104
[ 3.246910] boot_hdmi=false
[ 3.250093] ERROR: pinctrl_get for HDMI2.0 DDC fail
[ 3.256886] [DISP] bsp_disp_set_hdmi_func,line:1340:
[ 3.256890] registered!!
[ 3.265551] HDMI2.0 module init end
[ 3.294388] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator
[ 3.320955] sunxi-i2c sunxi-i2c2: Bus error
[ 3.325691] sunxi-i2c sunxi-i2c2: engine-mode: bus state: 0x0, isn't idle
[ 3.333256] sunxi-i2c sunxi-i2c2: STOP failed!
[ 3.338242] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x38)
[ 3.345889] pcf857x: probe of 2-0038 failed with error -22
[ 3.352066] sunxi-i2c sunxi-i2c2: probe success
[ 3.361261] debugfs: Directory '2031000.dmic' with parent 'snddmic' already present!
[ 3.371390] sunxi-audio-card 2031060.sounddmic: dmic-hifi <-> 2031000.dmic mapping ok
[ 3.381519] debugfs: Directory '2034000.daudio' with parent 'sndhdmi' already present!
[ 3.392125] sunxi-audio-card 20340a0.sounddaudio2: 20340a4.hdmiaudio <-> 2034000.daudio mapping ok
[ 3.403386] get ehci0-controller wakeup-source is fail.
[ 3.409313] sunxi ehci0-controller don't init wakeup source
[ 3.415578] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe00094f390, 0x:ffffffd004bf6000, irq_no:2e
[ 3.429093] [sunxi-ehci0]: Not init ehci0
[ 3.434086] get ohci0-controller wakeup-source is fail.
[ 3.440020] sunxi ohci0-controller don't init wakeup source
[ 3.446302] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe00094fee8
[ 3.456702] [sunxi-ohci0]: Not init ohci0
[ 3.463360] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 3.474207] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 3.481792] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 3.491467] clk: Not disabling unused clocks
[ 3.496235] ALSA device list:
[ 3.499538] #0: audiocodec
[ 3.502871] cfg80211: failed to load regulatory.db
[ 3.508281] #1: snddmic
[ 3.511266] #2: sndhdmi
[ 3.514195] alloc_fd: slot 0 not NULL!
[ 3.523274] VFS: Mounted root (squashfs filesystem) readonly on device 179:5.
[ 3.534149] devtmpfs: mounted
[ 3.537619] Freeing unused kernel memory: 184K
[ 3.542696] This architecture does not have kernel memory protection.
[ 3.549894] Run /sbin/init as init process
[ 3.811857] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:3
[ 3.889433] [SNDCODEC][jack_interrupt][370]:KEY tempdata: 17
[ 3.895745] [SNDCODEC][jack_interrupt][436]:tempdata:0x11,Key data err:
[ 4.219882] init: Console is alive
[ 4.224052] init: - watchdog -
[ 4.227598] init: - preinit -
formating /dev/by-name/UDISK to ext4
/etc/preinit: line 1: mkfs.ext4: not found
[ 5.358700] mount_root: mounting /dev/root
[ 5.364253] mount_root: loading kmods from internal overlay
[ 5.474169] random: procd: uninitialized urandom read (4 bytes read)
[ 5.500017] block: attempting to load /etc/config/fstab
[ 5.526938] block: extroot: device not present, retrying in 5 seconds
[ 7.150720] hdmi_hpd_sys_config_release
[ 7.160721]
[ 7.160721] insmod_device_driver
[ 7.160721]
[ 7.167892] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator
[ 10.594919] block: extroot: cannot find device UDISK
[ 10.612063] procd: - early -
[ 10.615413] procd: - watchdog -
[ 10.671122] random: procd: uninitialized urandom read (4 bytes read)
[ 10.981013] procd: - watchdog -
[ 10.984798] procd: - ubus -
[ 10.988535] procd (1): /proc/116/oom_adj is deprecated, please use /proc/116/oom_score_adj instead.
[ 11.068513] random: ubusd: uninitialized urandom read (4 bytes read)
[ 11.246577] random: ubusd: uninitialized urandom read (4 bytes read)
[ 11.286636] procd: - init -
Please press Enter to activate this console.
[ 12.477355] fuse: init (API version 7.31)
[ 12.685716] file system registered
[ 12.772576] configfs-gadget 4100000.udc-controller: failed to start g1: -19
[ 12.837805] usbcore: registered new interface driver uvcvideo
[ 12.882353] USB Video Class driver (1.1.1)
[ 13.101534] read descriptors
[ 13.133479] read strings
[ 13.291513] sunxi_set_cur_vol_work()397 WARN: get power supply failed
[ 13.377959] android_work: sent uevent USB_STATE=CONNECTED
[ 13.414404] configfs-gadget gadget: high-speed config #1: c
[ 13.420803] android_work: sent uevent USB_STATE=CONFIGURED
[ 15.401733] random: fast init done
[ 15.492396] ======== XRADIO WIFI OPEN ========
[ 15.500337] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31
[ 15.507499] [XRADIO] Allocated hw_priv @ (____ptrval____)
[ 15.515489] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1
[ 15.533721] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success
[ 15.739268] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 15.835544] [XRADIO] Detect SDIO card 1
[ 17.920833] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success
[ 18.028171] [XRADIO] Remove SDIO card 1
[ 18.042495] [SBUS_ERR] sdio probe timeout!
[ 18.047060] [XRADIO_ERR] sbus_sdio_init failed
[ 18.053185] xradio_core_init failed (-110)!
[ 18.137002] xt_time: kernel timezone is -0000
[ 18.153490] Error: Driver 'gt9xxnew_ts' is already registered, aborting...
[ 19.388542] ======== XRADIO WIFI OPEN ========
[ 19.394124] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31
[ 19.400962] [XRADIO] Allocated hw_priv @ (____ptrval____)
[ 19.410838] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1
[ 19.436461] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success
[ 19.654877] [XRADIO] Detect SDIO card 1
[ 21.680935] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success
[ 21.788199] [XRADIO] Remove SDIO card 1
[ 21.802525] [SBUS_ERR] sdio probe timeout!
[ 21.807088] [XRADIO_ERR] sbus_sdio_init failed
[ 21.813224] xradio_core_init failed (-110)!
kmodloader done
Trying to connect to SWUpdate...
[ 24.474555] [SNDCODEC][sunxi_card_hw_params][620]:stream_flag: 0
[ 33.760754] usb1-vbus: disabling
BusyBox v1.27.2 () built-in shell (ash)
_____ _ __ _
|_ _||_| ___ _ _ | | |_| ___ _ _ _ _
| | _ | || | | |__ | || || | ||_'_|
| | | || | || _ | |_____||_||_|_||___||_,_|
|_| |_||_|_||_|_| Tina is Based on OpenWrt!
----------------------------------------------
Tina Linux (Neptune, 61CC0487)
----------------------------------------------
root@TinaLinux:/#
root@TinaLinux:/#
首先我想实现一下系统运行的状态下更换显示屏(热插拔),因为更换了屏幕,所以显示屏的相关参数都需要修改。但是fb_fix_screeninfo默认不支持修改。
我想到的方法是将整个模块退出,修改参数,重新初始化显示模块。但是发现退出模块有问题,会打印堆栈。(直接调用disp_module_exit函数进行退出)
请问我这个思路可行吗?或者大家有什么其他方法吗?(使用的硬件是哪吒开发板,全志D1的cpu。软件是linux 5.4)
[ 111.483761] lcd_panel_fun[0].cfg_close_flow is NULL
[ 111.494336] BUG: scheduling while atomic: lcdconfig/673/0x00000002
[ 111.501266] Modules linked in: cmd_server(O) xt_time xt_multiport xt_mark xt_mac xt_limit xt_comment xt_TCPMSS xt_LOG iptable_filter ipt_REJECT uvcvideo videobuf2_vmalloc videobuf2_memops fuse
[ 111.520413] Preemption disabled at:
[ 111.520430] [<ffffffdf80cba17a>] lcd_status_set+0x66/0xd2 [cmd_server]
[ 111.531635] CPU: 0 PID: 673 Comm: lcdconfig Tainted: G O 5.4.61 #48
[ 111.540069] Call Trace:
[ 111.542826] [<ffffffe0000303ce>] walk_stackframe+0x0/0xa0
[ 111.548848] [<ffffffe0000305b0>] show_stack+0x2a/0x34
[ 111.554516] [<ffffffe000644cd2>] dump_stack+0x20/0x28
[ 111.560155] [<ffffffe00004dfda>] __schedule_bug+0x92/0xa4
[ 111.566205] [<ffffffe00065a4a8>] __schedule+0x2e0/0x384
[ 111.572053] [<ffffffe00065a57e>] schedule+0x32/0xb4
[ 111.577493] [<ffffffe00065da94>] schedule_timeout+0x12a/0x228
[ 111.583930] [<ffffffe000277658>] disp_delay_ms+0x22/0x2c
[ 111.589852] [<ffffffe00027409a>] disp_mgr_disable+0x96/0x1de
[ 111.596195] [<ffffffe00027192c>] disp_lcd_disable+0x182/0x388
[ 111.602632] [<ffffffe000261a8c>] disp_shutdown+0x54/0x72
[ 111.608553] [<ffffffe000267448>] disp_remove+0x30/0x1c6
[ 111.614406] [<ffffffe00030321a>] platform_drv_remove+0x1c/0x34
[ 111.620917] [<ffffffe000301db4>] device_release_driver_internal+0xb4/0x12a
[ 111.628609] [<ffffffe000301e96>] driver_detach+0x3c/0xb2
[ 111.634553] [<ffffffe000300d44>] bus_remove_driver+0x40/0x8a
[ 111.640863] [<ffffffe000302486>] driver_unregister+0x22/0x48
[ 111.647196] [<ffffffe0003032c0>] platform_driver_unregister+0x10/0x18
[ 111.654400] [<ffffffe000261fbc>] my_disp_exit+0x1a/0x4c
[ 111.660231] [<ffffffdf80cba18a>] lcd_status_set+0x76/0xd2 [cmd_server]
[ 111.667537] [<ffffffdf80cba230>] switch_cmd+0x1c/0x7e [cmd_server]
[ 111.674453] [<ffffffdf80cba2be>] recv_cmd_msg+0x2c/0x36 [cmd_server]
[ 111.681572] [<ffffffe0004d9a76>] netlink_unicast+0x10c/0x16a
[ 111.687884] [<ffffffe0004d9c22>] netlink_sendmsg+0x14e/0x2aa
[ 111.694229] [<ffffffe000491c3e>] ____sys_sendmsg+0x120/0x152
[ 111.700539] [<ffffffe000491cbc>] ___sys_sendmsg+0x4c/0x70
[ 111.706584] [<ffffffe0004928d6>] __sys_sendmsg+0x32/0x66
[ 111.712526] [<ffffffe00049291c>] sys_sendmsg+0x12/0x1a
[ 111.718256] [<ffffffe00002f00a>] ret_from_syscall+0x0/0xe
[ 111.724758] [DISP] display_fb_release,line:2204:
[ 111.724763] invalid paras fb_id:0 in display_fb_release
[ 111.735758] ------------[ cut here ]------------
[ 111.740922] WARNING: CPU: 0 PID: 673 at drivers/video/fbdev/core/fbmem.c:1681 unlink_framebuffer+0x16/0xb0
[ 111.751682] Modules linked in: cmd_server(O) xt_time xt_multiport xt_mark xt_mac xt_limit xt_comment xt_TCPMSS xt_LOG iptable_filter ipt_REJECT uvcvideo videobuf2_vmalloc videobuf2_memops fuse
[ 111.770810] CPU: 0 PID: 673 Comm: lcdconfig Tainted: G W O 5.4.61 #48
[ 111.779246] sepc: ffffffe00025e3be ra : ffffffe00025eb86 sp : ffffffe01d743950
[ 111.787295] gp : ffffffe00091d3bc tp : ffffffe01d602040 t0 : ffffffe00092a930
[ 111.795343] t1 : 0000000000000064 t2 : 0000000000000009 s0 : ffffffe01d743980
[ 111.803391] s1 : ffffffe01dc8d000 a0 : ffffffe01dc8d000 a1 : 000000000000000a
[ 111.811439] a2 : 00000000000000e6 a3 : ffffffe000888ea0 a4 : 0000000000000000
[ 111.819486] a5 : 0000000000000000 a6 : 00000000000001b0 a7 : 0000000000000000
[ 111.827535] s2 : 000000000000001f s3 : ffffffe00093b4d8 s4 : fffffffffffff000
[ 111.835582] s5 : 0000000000000002 s6 : 0000000000000000 s7 : fffffffffffff000
[ 111.843630] s8 : 0000000000000008 s9 : 000000002966f6b0 s10: ffffffffffffffff
[ 111.851678] s11: 000000000000002d t3 : ffffffe000926b00 t4 : 0000000000002fb0
[ 111.859725] t5 : 0000000000002fb0 t6 : ffffffe000927092
[ 111.865642] sstatus: 0000000200000100 sbadaddr: 0000000000000000 scause: 0000000000000003
[ 111.874755] ---[ end trace d9a44024af58bd5d ]---
[ 111.879906] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000
[ 111.889697] Oops [#1]
[ 111.892223] Modules linked in: cmd_server(O) xt_time xt_multiport xt_mark xt_mac xt_limit xt_comment xt_TCPMSS xt_LOG iptable_filter ipt_REJECT uvcvideo videobuf2_vmalloc videobuf2_memops fuse
[ 111.911341] CPU: 0 PID: 673 Comm: lcdconfig Tainted: G W O 5.4.61 #48
[ 111.919777] sepc: ffffffe000261060 ra : ffffffe00025eb9c sp : ffffffe01d743980
[ 111.927825] gp : ffffffe00091d3bc tp : ffffffe01d602040 t0 : ffffffe00092a930
[ 111.935873] t1 : 0000000000000064 t2 : 0000000000000009 s0 : ffffffe01d7439a0
[ 111.943920] s1 : ffffffe01dc8d000 a0 : ffffffe01dc8d298 a1 : 000000000000000a
[ 111.951968] a2 : 00000000000000e6 a3 : ffffffe000888ea0 a4 : 0000000000000000
[ 111.960016] a5 : 0000000000000000 a6 : 00000000000001b0 a7 : 0000000000000000
[ 111.968064] s2 : ffffffe01dc8d000 s3 : ffffffe00093b5f0 s4 : fffffffffffff000
[ 111.976112] s5 : 0000000000000002 s6 : 0000000000000000 s7 : fffffffffffff000
[ 111.984159] s8 : 0000000000000008 s9 : 000000002966f6b0 s10: ffffffffffffffff
[ 111.992207] s11: 000000000000002d t3 : ffffffe000926b00 t4 : 0000000000002fb0
[ 112.000254] t5 : 0000000000002fb0 t6 : ffffffe000927092
[ 112.006170] sstatus: 0000000200000100 sbadaddr: 0000000000000000 scause: 000000000000000d
[ 112.015370] ---[ end trace d9a44024af58bd5e ]---
[ 112.020520] note: lcdconfig[673] exited with preempt_count 1
Segmentation fault
cfg_close_flow 初始化中有注册,应该不是空指针。另外将调用处删除后打印一样的堆栈信息,并且调用处有判断空指针,应该和那个空函数指针没关系)