您尚未登录。

楼主 # 2022-06-27 09:35:32

yixiuge
会员
注册时间: 2022-04-07
已发帖子: 40
积分: 50

收到小智SW106开发板到手,试着玩一玩

board.dts 部分配置:

disp init configuration

disp_mode             (0:screen0<screen0,fb0>)
screenx_output_type   (0:none; 1:lcd; 2:tv; 3:hdmi;5:vdpo)
screenx_output_mode   (used for hdmi output, 0:480i 1:576i 2:480p 3:576p 4:720p50)
                      (5:720p60 6:1080i50 7:1080i60 8:1080p24 9:1080p50 10:1080p60)
screenx_output_format (for hdmi, 0:RGB 1:yuv444 2:yuv422 3:yuv420)
screenx_output_bits   (for hdmi, 0:8bit 1:10bit 2:12bit 2:16bit)
screenx_output_eotf   (for hdmi, 0:reserve 4:SDR 16:HDR10 18:HLG)
screenx_output_cs     (for hdmi, 0:undefined  257:BT709 260:BT601  263:BT2020)
screenx_output_dvi_hdmi (for hdmi, 0:undefined 1:dvi mode 2:hdmi mode)
screen0_output_range   (for hdmi, 0:default 1:full 2:limited)
screen0_output_scan    (for hdmi, 0:no data 1:overscan 2:underscan)
screen0_output_aspect_ratio  (for hdmi, 8-same as original picture 9-4:3 10-16:9 11-14:9)
fbx format            (4:RGB655 5:RGB565 6:RGB556 7:ARGB1555 8:RGBA5551 9:RGB888 10:ARGB8888 12:ARGB4444)
fbx pixel sequence    (0:ARGB 1:BGRA 2:ABGR 3:RGBA)
fb0_scaler_mode_enable(scaler mode enable, used FE)
fbx_width,fbx_height  (framebuffer horizontal/vertical pixels, fix to output resolution while equal 0)
lcdx_backlight        (lcd init backlight,the range:[0,256],default:197
lcdx_yy               (lcd init screen bright/contrast/saturation/hue, value:0~100, default:50/50/57/50)
lcd0_contrast         (LCD contrast, 0~100)
lcd0_saturation       (LCD saturation, 0~100)
lcd0_hue              (LCD hue, 0~100)
framebuffer software rotation setting:
disp_rotation_used:   (0:disable; 1:enable,you must set fbX_width to lcd_y,
set fbX_height to lcd_x)
degreeX:              (X:screen index; 0:0 degree; 1:90 degree; 3:270 degree)
degreeX_Y:            (X:screen index; Y:layer index 0~15; 0:0 degree; 1:90 degree; 3:270 degree)
devX_output_type : config output type in bootGUI framework in UBOOT-2018.
                                   (0:none; 1:lcd; 2:tv; 4:hdmi;)
devX_output_mode : config output resolution(see include/video/sunxi_display2.h) of bootGUI framework in UBOOT-2018
devX_screen_id   : config display index of bootGUI framework in UBOOT-2018
devX_do_hpd      : whether do hpd detectation or not in UBOOT-2018
chn_cfg_mode     : Hardware DE channel allocation config. 0:single display with 6
                                   channel, 1:dual display with 4 channel in main display and 2 channel in second
                   display, 2:dual display with 3 channel in main display and 3 channel in second
                   in display.
----------------------------------------------------------------------------------*/
                disp: disp@06000000 {
                        disp_init_enable         = <1>;
                        disp_mode                = <3>;

                        screen0_output_type      = <1>;
                        screen0_output_mode      = <4>;

                        screen0_output_format    = <0>;
                        screen0_output_bits      = <0>;
                        screen0_output_eotf      = <4>;
                        screen0_output_cs        = <257>;
                        screen0_output_dvi_hdmi  = <2>;
                        screen0_output_range     = <2>;
                        screen0_output_scan      = <0>;
                        screen0_output_aspect_ratio = <8>;

                        screen1_output_type      = <1>;
                        screen1_output_mode      = <4>;

                        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         = <1>;
                        dev1_output_mode         = <4>;
                        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 = <>;
                        /*VCC-DSI*/
                        eldo3-supply = <>;
                        /*VCC-PD*/
                        dcdc1-supply = <>;
                        status        = "okay";
                };
/*----------------------------------------------------------------------------------
;lcd0 configuration

;lcd_if:               0:hv(sync+de); 1:8080; 2:ttl; 3:lvds; 4:dsi; 5:edp; 6:extend dsi
;lcd_hv_if             0:Parallel RGB; 8:Serial RGB; 10:Dummy RGB; 11: RGB Dummy;12:CCIR656
;lcd_hv_clk_phase      0:0 degree;1:90 degree;2:180 degree;3:270 degree
;lcd_hv_sync_polarity  0:vs low,hs low; 1:vs high,hslow; 2:vs low,hs high; 3:vs high,hs high
;lcd_hv_syuv_seq       0:YUYV; 1:YVYU; 2:UYVY; 3:VYUY
;lcd_cpu_if            0:18bit/1 cycle parallel(RGB666); 4:16bit/1cycle parallel (RGB565)
;                      6:18bit/3 cycle parallel(RGB666); 7:16bit/2cycle parallel (RGB565)
;lcd_cpu_te            0:frame auto trigger; 1:frame triggered by te rising edge; 2:frame triggered by te falling edge;
;lcd_dsi_if            0:video mode; 1: Command mode; 2:video burst mode
;lcd_dsi_te            0:frame auto trigger; 1:frame triggered by te rising edge; 2:frame triggered by te falling edge;
;lcd_x:                lcd horizontal resolution
;lcd_y:                lcd vertical resolution
;lcd_width:            width of lcd in mm
;lcd_height:           height of lcd in mm
;lcd_dclk_freq:        in MHZ unit
;lcd_pwm_freq:         in HZ unit
;lcd_pwm_pol:          lcd backlight PWM polarity
;lcd_pwm_max_limit     lcd backlight PWM max limit(<=255)
;lcd_hbp:              hsync back porch(pixel) + hsync plus width(pixel);
;lcd_ht:               hsync total cycle(pixel)
;lcd_vbp:              vsync back porch(line) + vysnc plus width(line)
;lcd_vt:               vysnc total cycle(line)
;lcd_hspw:             hsync plus width(pixel)
;lcd_vspw:             vysnc plus width(pixel)
;lcd_lvds_if:          0:single link;  1:dual link(odd and even); 2:dual link(same pixel)
;lcd_lvds_colordepth:  0:8bit; 1:6bit
;lcd_lvds_mode:        0:NS mode; 1:JEIDA mode
;lcd_frm:              0:disable; 1:enable rgb666 dither; 2:enable rgb656 dither
;lcd_io_phase:         0:noraml; 1:intert phase(0~3bit: vsync phase; 4~7bit:hsync phase;
;                      8~11bit:dclk phase; 12~15bit:de phase)
;lcd_gamma_en          lcd gamma correction enable
;lcd_bright_curve_en   lcd bright curve correction enable
;lcd_cmap_en           lcd color map function enable
;deu_mode              0:smoll lcd screen; 1:large lcd screen(larger than 10inch)
;lcdgamma4iep:         Smart Backlight parameter, lcd gamma vale * 10;
;                      decrease it while lcd is not bright enough; increase while lcd is too bright
;smart_color           90:normal lcd screen 65:retina lcd screen(9.7inch)
;Pin setting for special function ie.LVDS, RGB data or vsync
;   name(donot care) = port:PD12<pin function><pull up or pull down><drive ability><output level>
;Pin setting for gpio:
;   lcd_gpio_X     = port:PD12<pin function><pull up or pull down><drive ability><output level>
;Pin setting for backlight enable pin
;   lcd_bl_en     = port:PD12<pin function><pull up or pull down><drive ability><output level>
;fsync setting, pulse to csi
;lcd_fsync_en          (0:disable fsync,1:enable)
;lcd_fsync_act_time    (active time of fsync, unit:pixel)
;lcd_fsync_dis_time    (disactive time of fsync, unit:pixel)
;lcd_fsync_pol         (0:positive;1:negative)
;gpio config: <&pio for cpu or &r_pio for cpus, port, port num, pio function,
pull up or pull down(default 0), driver level(default 1), data>
;For dual link lvds: use lvds2link_pins_a  and lvds2link_pins_b instead
;For rgb24: use rgb24_pins_a  and rgb24_pins_b instead
;For lvds1: use lvds1_pins_a  and lvds1_pins_b instead
;For lvds0: use lvds0_pins_a  and lvds0_pins_b instead
;----------------------------------------------------------------------------------*/
                lcd0: lcd0@01c0c000 {
                        lcd_used                = <1>;
                        lcd_driver_name         = "default_lcd";

                        lcd_if                  = <3>;
                        lcd_hv_if               = <0>;

                        lcd_width               = <70>;
                        lcd_height              = <72>;
                        lcd_x                   = <1024>;
                        lcd_y                   = <768>;
                        lcd_dclk_freq           = <65>;
                        lcd_hbp                 = <160>;
                        lcd_ht                  = <1344>;
                        lcd_hspw                = <10>;
                        lcd_vbp                 = <29>;
                        lcd_vt                  = <806>;
                        lcd_vspw                = <5>;

                        lcd_lvds_ch             = <0>;
                        lcd_lvds_mode           = <1>;
                        lcd_lvds_bitwidth       = <0>;
                        lcd_lvds_io_cross       = <0>;
                        lcd_backlight           = <50>;
                        lcd_pwm_used            = <1>;
                        lcd_pwm_ch              = <7>;
                        lcd_pwm_freq            = <20000>;
                        lcd_pwm_pol             = <1>;
                        lcd_bright_curve_en = <0>;

                        lcd_frm                 = <1>;
                        lcd_io_phase            = <0x0000>;
                        lcd_gamma_en            = <0>;
                        lcd_cmap_en             = <0>;
                        lcd_hv_clk_phase        = <1>;
                        lcd_hv_sync_polarity= <0>;
                        lcd_rb_swap         = <0>;

                        //lcd_bl_en           = <&pio PI 7 1 1 3 1>;
/*
                        lcd_gpio_0              = <&pio PJ 16 1 1 3 1>;//reset
                        lcd_gpio_1              = <&pio PJ 17 1 1 3 1>;//cs
                        lcd_gpio_2              = <&pio PC  2 1 1 3 1>;//sdi
                        lcd_gpio_3              = <&pio PC 12 1 1 3 1>;//scl
*/
                        lcd_pin_power;
                        lcd_power;

                        pinctrl-0                       = <&lvds0_pins_a>;
                        pinctrl-1                       = <&lvds0_pins_b>;

                        status = "okay";
                };

                lcd1: lcd1@01c0c001 {
                        lcd_used                = <1>;
                        lcd_driver_name         = "st7701s_rgb";

                        lcd_if                  = <0>;
                        lcd_hv_if               = <0>;

                        lcd_width               = <70>;
                        lcd_height              = <72>;
                        lcd_x                   = <480>;
                        lcd_y                   = <480>;
                        lcd_dclk_freq           = <11>;
                        lcd_hbp                 = <60>;
                        lcd_ht                  = <612>;
                        lcd_hspw                = <12>;
                        lcd_vbp                 = <18>;
                        lcd_vt                  = <520>;
                        lcd_vspw                = <4>;

                        lcd_backlight           = <250>;// 0 ~ 255
                        lcd_pwm_used            = <1>;
                        lcd_pwm_ch              = <8>;
                        lcd_pwm_freq            = <20000>;
                        lcd_pwm_pol             = <1>;
                        lcd_pwm_max_limit   = <255>;
                        lcd_bright_curve_en = <0>;

                        lcd_frm                 = <1>;
                        lcd_io_phase            = <0x0000>;
                        lcd_gamma_en            = <0>;
                        lcd_cmap_en             = <0>;
                        lcd_hv_clk_phase        = <1>;
                        lcd_hv_sync_polarity= <0>;
                        lcd_rb_swap         = <0>;

                        //lcd_bl_en           = <&pio PI 7 1 1 3 1>;
                        lcd_gpio_0              = <&pio PJ 16 1 1 3 1>;//reset
                        lcd_gpio_1              = <&pio PJ 17 1 1 3 1>;//cs
                        lcd_gpio_2              = <&pio PC  2 1 1 3 1>;//sdi
                        lcd_gpio_3              = <&pio PC 12 1 1 3 1>;//scl

/*
                        lcd_gpio_2              = <&r_pio PL 2 1 1 3 1>;//sdi
                        lcd_gpio_3              = <&r_pio PL 3 1 1 3 1>;//scl
*/
                        lcd_pin_power;
                        lcd_power;

                        pinctrl-0                       = <&rgb18_pins_c>;
                        pinctrl-1                       = <&rgb18_pins_d>;

                        status = "okay";
                };

日志:

[37]HELLO! BOOT0 is starting!
[40]BOOT0 commit : dc54be6
[43]set pll start
[45]periph0 has been enabled
[48]set pll end
[50][pmu]: bus read error
[52][pmu]: bus read error
[60]vaild para:1  select dram para0
[63]board init ok
[65]DRAM BOOT DRIVE INFO: V0.19
[68]the chip id is 0x2400
[71]the chip id is 0x2400
[73]the chip id is 0x2400
[76]the chip id is 0x2400
[79]the chip id is 0x2400
[81]chip id check OK
[83]DRAM_VCC set to 1100 mv
[86]DRAM CLK =792 MHZ
[88]DRAM Type =8 (3:DDR3,4:DDR4,7:LPDDR3,8:LPDDR4)
[96]DRAM SIZE =1024 MBytes, para1 = 30fa, para2 = 4000000, dram_tpr13 = 6063
[109]DRAM simple test OK.
[111]dram size =1024
[113]chipid = 53002400
[115]nsi init ok 2020-4-7
[119]card no is 2
[120]sdcard 2 line count 8
[123][mmc]: mmc driver ver 2020-05-25 09:40
[133][mmc]: Wrong media type 0x0
[136][mmc]: ***Try SD card 2***
[140][mmc]: mmc 2 cmd 8 timeout, err 100
[144][mmc]: mmc 2 cmd 8 err 100
[147][mmc]: mmc 2 send if cond failed
[152][mmc]: mmc 2 cmd 55 timeout, err 100
[156][mmc]: mmc 2 cmd 55 err 100
[159][mmc]: mmc 2 send app cmd failed
[163][mmc]: ***Try MMC card 2***
[187][mmc]: RMCA OK!
[189][mmc]: mmc 2 bias 4
[192][mmc]: MMC 5.1
[194][mmc]: HSSDR52/SDR25 8 bit
[197][mmc]: 50000000 Hz
[200][mmc]: 14910 MB
[202][mmc]: ***SD/MMC 2 init OK!!!***
[258]Loading boot-pkg Succeed(index=0).
[262]Entry_name        = u-boot
[269]Entry_name        = monitor
[273]Entry_name        = scp
[281]set arisc reset to de-assert state
[285]Entry_name        = dtb
[288]tunning data addr:0x4a0003e8
[292]Jump to second Boot.
NOTICE:  BL3-1: v1.0(debug):cc1f5d7
NOTICE:  BL3-1: Built : 10:23:25, 2020-04-08
NOTICE:  BL3-1 commit: 8
ERROR:   Error initializing runtime service tspd_fast
NOTICE:  BL3-1: Preparing for EL3 exit to normal world
NOTICE:  BL3-1: Next image address = 0x4a000000
NOTICE:  BL3-1: Next image spsr = 0x1d3

U-Boot 2018.05 (Apr 17 2022 - 05:02:05 +0000) Allwinner Technology

[00.370]CPU:   Allwinner Family
[00.373]Model: sun50iw10
I2C:   ready
[00.619]DRAM:  1 GiB
[00.622]Relocation Offset is: 35f13000
[00.652]secure enable bit: 0
[00.654][ARISC] :arisc initialize
[00.659][ARISC ERROR] :get [allwinner,sunxi-hwspinlock] device node error
CACHE: Misaligned operation at range [7ffa6d88, 7ffa70a0]
[00.671][ARISC] :arisc para ok
[SCP] :sunxi-arisc driver begin startup 2
[SCP] :0x1
[SCP] :arisc version: [ca79327ac09021f1a13c79dd97da281c7be9a63arid-]
[SCP] :arisc startup ready
[SCP] :arisc startup notify message feedback
[SCP] :send hard sync feedback message: 0x900200
[SCP] :sunxi-arisc driver v1.10 is starting
[00.702][ARISC] :sunxi-arisc driver startup succeeded
[00.708]pmu_axp81X_probe pmic_bus_read fail
[00.712]pmu_axp858_probe pmic_bus_read fail
[00.716]PMU: no found
[00.718]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=400Mhz
[00.725]init_clocks:finish
[00.727]not need merged sunxi overlay
[00.730]drv_disp_init
request pwm success, pwm7:pwm7:0x300a000.
request pwm success, pwm8:pwm8:0x300a000.
[00.769]drv_disp_init finish
[00.777]gic: sec monitor mode
[00.779]flash init start
[00.781]workmode = 0,storage type = 2
[00.785][mmc]: mmc driver ver uboot2018:2020-5-25 9:26:00-20201021190
[00.799][mmc]: SUNXI SDMMC Controller Version:0x50300
[00.824][mmc]: Best spd md: 2-HSDDR52/DDR50, freq: 2-50000000, Bus width: 8
[00.830]sunxi flash init ok
[00.834]Loading Environment from SUNXI_FLASH... OK
[00.842]no secure os for keybox operation
[00.845]try to burn key
[00.848]out of usb burn from boot: not need burn key
[00.853]boot_gui_init:start
[00.857]set disp.dev2_output_type fail. using defval=0
[00.862]disp 0, clk: pll(455000000),clk(455000000),dclk(65000000) dsi_rate(455000000)
     clk real:pll(456000000),clk(456000000),dclk(65142857) dsi_rate(0)
[00.879]switch device: sel=0, type=1, mode=4, format=0, bits=0, eotf=4, cs=260
[00.886]boot_gui_init:finish
[00.889]bmp_name=bootlogo.bmp
partno erro : can't find partition bootloader
691254 bytes read in 9 ms (73.2 MiB/s)
[00.915]read item0 copy0
[00.917]Item0 (Map) magic is bad
[00.920]the secure storage item0 copy0 magic is bad
[00.925]Item0 (Map) magic is bad
[00.927]the secure storage item0 copy1 magic is bad
[00.932]Item0 (Map) magic is bad
[00.935]the secure storage map is empty
[00.939]no item name device_unlock in the map
[00.943]no item name fastboot_status_flag in the map
[00.947]sunxi secure storage has no flag
[00.953][mmc]: delete mmc-hs400-1_8v from dtb
[00.957][mmc]: delete mmc-hs20[00.959]soc ic_ver:0x0, qa_val:0x0, markid:0x53002400 dclk[0-9999]
0-1_8v from dtb
[00.967][mmc]: get max-frequency ok 50000000 Hz
[00.973](weak)update dtb dram start
[00.977]update dtb dram  end
[00.979]update dts
[00.981]no item name snum in the map
partno erro : can't find partition private
[00.991]no item name mac in the map
partno erro : can't find partition private
[01.001]no item name wifi_mac in the map
partno erro : can't find partition private
[01.012]no item name bt_mac in the map
partno erro : can't find partition private
[01.022]no item name specialstr in the map
partno erro : can't find partition private
[01.035]update part info
[01.038]key 0
[01.041]no misc partition is found
[01.044]update bootcmd
[01.046]serial num is: 0c001415a0c086d218d
Hit any key to stop autoboot:  0
[01.059]partinfo: name boot, start 0x22000, size 0x10000
[01.068]LCD open finish
[01.229]in boot normal mode,pass normal para to cmdline
[01.235]android.hardware = sun50iw10p1
[01.238]androidboot.dtbo_idx  can't findAndroid's image name: sun50i_arm64
[01.307]Starting kernel ...

[01.310][mmc]: mmc exit start
[01.329][mmc]: mmc 2 exit ok
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.170 (whycan@ubuntu) (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05) ) #9 SMP PREEMPT Sun Jun 26 21:55:05 CST 2022
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] disp reserve base 0x7bf61080 ,size 0x300000
[    0.000000] cma: Reserved 8 MiB at 0x000000007f800000
[    0.000000] On node 0 totalpages: 262144
[    0.000000]   DMA zone: 4096 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 262144 pages, LIFO batch:31
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 21 pages/cpu @ffffffc03f70b000 s45696 r8192 d32128 u86016
[    0.000000] pcpu-alloc: s45696 r8192 d32128 u86016 alloc=21*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 258048
[    0.000000] Kernel command line: earlyprintk=sunxi-uart,0x05000000 initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p4 init=/init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:boot@mmcblk0p3:rootfs@mmcblk0p4:klog@mmcblk0p5:UDISK@mmcblk0p6 cma=8M snum=0c001415a0c086d218d mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.serialno=0c001415a0c086d218d androidboot.hardware=sun50iw10p1 boot_type=2 androidboot.boot_type=2 androidboot.secure_os_exist=0 androidboot.trustchain=false gpt=1 uboot_message=2018.05(04/17/2022-05:02:05) disp_reserve=3145728,0x7bf61080 bootreason=unknow
[    0.000000] log_buf_len individual max cpu contribution: 4096 bytes
[    0.000000] log_buf_len total cpu_extra contributions: 12288 bytes
[    0.000000] log_buf_len min size: 16384 bytes
[    0.000000] log_buf_len: 32768 bytes
[    0.000000] early log buf free: 14220(86%)
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.000000] Memory: 988592K/1048576K available (6590K kernel code, 1310K rwdata, 2020K rodata, 448K init, 267K bss, 51792K reserved, 8192K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000   (   250 GB)
[    0.000000]       .text : 0xffffff8008080000 - 0xffffff80086f0000   (  6592 KB)
[    0.000000]     .rodata : 0xffffff80086f0000 - 0xffffff80088f0000   (  2048 KB)
[    0.000000]       .init : 0xffffff80088f0000 - 0xffffff8008960000   (   448 KB)
[    0.000000]       .data : 0xffffff8008960000 - 0xffffff8008aa7808   (  1311 KB)
[    0.000000]        .bss : 0xffffff8008aa7808 - 0xffffff8008aea4c8   (   268 KB)
[    0.000000]     fixed   : 0xffffffbefe7fb000 - 0xffffffbefec00000   (  4116 KB)
[    0.000000]     PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000   (    16 MB)
[    0.000000]     vmemmap : 0xffffffbf00000000 - 0xffffffc000000000   (     4 GB maximum)
[    0.000000]               0xffffffbf00000000 - 0xffffffbf01000000   (    16 MB actual)
[    0.000000]     memory  : 0xffffffc000000000 - 0xffffffc040000000   (  1024 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 64.
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000004] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.008201] Console: colour dummy device 80x25
[    0.012413] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.022619] pid_max: default: 32768 minimum: 301
[    0.027668] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.033897] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.043989] sched-energy: CPU device node has no sched-energy-costs
[    0.047280] Invalid sched_group_energy for CPU0
[    0.051748] CPU0: update cpu_capacity 1024
[    0.067887] ASID allocator initialised with 32768 entries
[    0.124101] Detected VIPT I-cache on CPU1
[    0.124154] Invalid sched_group_energy for CPU1
[    0.124158] CPU1: update cpu_capacity 1024
[    0.124161] CPU1: Booted secondary processor [410fd034]
[    0.152143] Detected VIPT I-cache on CPU2
[    0.152174] Invalid sched_group_energy for CPU2
[    0.152176] CPU2: update cpu_capacity 1024
[    0.152179] CPU2: Booted secondary processor [410fd034]
[    0.180207] Detected VIPT I-cache on CPU3
[    0.180236] Invalid sched_group_energy for CPU3
[    0.180238] CPU3: update cpu_capacity 1024
[    0.180241] CPU3: Booted secondary processor [410fd034]
[    0.180315] Brought up 4 CPUs
[    0.230951] SMP: Total of 4 processors activated.
[    0.235640] CPU features: detected feature: 32-bit EL0 Support
[    0.241445] CPU features: detected feature: Kernel page table isolation (KPTI)
[    0.251498] CPU: All CPU(s) started at EL1
[    0.252726] alternatives: patching kernel code
[    0.257629] Invalid sched_group_energy for CPU3
[    0.261643] Invalid sched_group_energy for Cluster3
[    0.266492] Invalid sched_group_energy for CPU2
[    0.270999] Invalid sched_group_energy for Cluster2
[    0.275851] Invalid sched_group_energy for CPU1
[    0.280358] Invalid sched_group_energy for Cluster1
[    0.285211] Invalid sched_group_energy for CPU0
[    0.289718] Invalid sched_group_energy for Cluster0
[    0.295713] devtmpfs: initialized
[    0.541959] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.546086] futex hash table entries: 1024 (order: 5, 131072 bytes)
[    0.552930] atomic64_test: passed
[    0.555589] pinctrl core: initialized pinctrl subsystem
[    0.565572] NET: Registered protocol family 16
[    0.569471] dump_class_init,861, success
[    0.572746] sunxi iommu: irq = 8
[    0.573529] vdso: 2 pages (1 code @ ffffff80086f7000, 1 data @ ffffff8008964000)
[    0.581010] DMA: preallocated 256 KiB pool for atomic allocations
[    0.597850] sun50iw10p1-r-pinctrl r_pio: initialized sunXi PIO driver
[    0.673205] sun50iw10p1-pinctrl pio: initialized sunXi PIO driver
[    0.686192] iommu: Adding device 1c0e000.ve to group 0
[    0.704462] iommu: Adding device 6000000.disp to group 0
[    0.707036] iommu: Adding device 6480000.g2d to group 0
[    0.723364] iommu: Adding device csi0 to group 0
[    0.724591] iommu: Adding device csi1 to group 0
[    0.729903] iommu: Adding device 2108000.tdm to group 0
[    0.733332] iommu: Adding device 2100000.isp to group 0
[    0.738586] iommu: Adding device 2102000.isp to group 0
[    0.743365] iommu: Adding device 2110000.scaler to group 0
[    0.748905] iommu: Adding device 2110400.scaler to group 0
[    0.754307] iommu: Adding device 2110800.scaler to group 0
[    0.759738] iommu: Adding device 2110c00.scaler to group 0
[    0.847317] pwm module init!
[    0.857738] sunxi-pm debug v3.10
[    0.864311] SCSI subsystem initialized
[    0.866419] usbcore: registered new interface driver usbfs
[    0.868222] usbcore: registered new interface driver hub
[    0.873428] usbcore: registered new device driver usb
[    0.878811] sunxi_i2c_adap_init()2649 - init
[    0.883689] sunxi_i2c_probe()2372 - [i2c5] twi_drv_used = 0
[    0.888016] sunxi_i2c_probe()2379 - [i2c5] twi_pkt_interval = 0
[    0.893918] twi5 supply twi not found, using dummy regulator
[    0.899786] twi_request_gpio()458 - [i2c5] init name: (null)
[    0.907235] media: Linux media interface: v0.10
[    0.909914] Linux video capture interface: v2.00
[    0.916642] ion_parse_dt_heap_common: id 0 type 0 name sys_user align 1000
[    0.921751] ion_parse_dt_heap_common: id 4 type 4 name cma align 1000
[    0.928126] ion_parse_dt_heap_common: id 6 type 6 name secure align 1000
[    0.935082] ion_heap_create: Invalid heap type 6
[    0.939309] Advanced Linux Sound Architecture Driver Initialized.
[    0.947808] Bluetooth: Core ver 2.22
[    0.948536] NET: Registered protocol family 31
[    0.952843] Bluetooth: HCI device and connection manager initialized
[    0.959195] Bluetooth: HCI socket layer initialized
[    0.964049] Bluetooth: L2CAP socket layer initialized
[    0.969191] Bluetooth: SCO socket layer initialized
[    0.976530] clocksource: Switched to clocksource arch_sys_counter
[    1.032582] udc_init,0
[    1.032996] NET: Registered protocol family 2
[    1.061013] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    1.062500] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[    1.069113] TCP: Hash tables configured (established 8192 bind 8192)
[    1.075402] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    1.081185] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    1.088242] NET: Registered protocol family 1
[    1.092576] Unpacking initramfs...
[    1.299711] Freeing initrd memory: 2544K
[    1.307211] workingset: timestamp_bits=61 max_order=18 bucket_order=0
[    1.398046] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.400045] ntfs: driver 2.1.32 [Flags: R/W].
[    1.411615] io scheduler noop registered
[    1.411659] io scheduler deadline registered
[    1.416295] io scheduler cfq registered (default)
[    1.425081] [DISP]disp_module_init
[    1.427235] [DISP] disp_init,line:2260:
[    1.427272] smooth display screen:0 type:1 mode:4
[    1.510409] screen_id=0, output_type=1, lcd_reg=1,hdmi_reg=0
[    1.511160] [DISP] lcd_clk_config,line:665:[    1.513685] [DISP]disp_module_init finish

[    1.518434] disp 0, clk: pll(455000000),clk(455000000),dclk(65000000) dsi_rate(455000000)
[    1.518434]      clk real:pll(456000000),clk(456000000),dclk(65142857) dsi_rate(0)
[    1.536803] uart uart0: get regulator failed
[    1.538528] uart0 supply uart not found, using dummy regulator
[    1.544908] uart0: ttyS0 at MMIO 0x5000000 (irq = 349, base_baud = 1500000) is a SUNXI
[    1.552245] sw_console_▒[    1.560162] console [ttyS0] enabled
[    1.560162] console [ttyS0] enabled
[    1.564122] bootconsole [earlycon0] disabled
[    1.564122] bootconsole [earlycon0] disabled
[    1.574605] uart uart1: get regulator failed
[    1.581431] uart1 supply uart not found, using dummy regulator
[    1.588551] uart1: ttyS1 at MMIO 0x5000400 (irq = 350, base_baud = 1500000) is a SUNXI
[    1.600035] misc dump reg init
[    1.607375] [drm] Initialized
[    1.611493] Unable to detect cache hierarchy for CPU 0
[    1.617455] [NAND][NE] Not found valid nand node on dts
[    1.623815] sunxi-bt soc@03000000:bt@0: Missing bt_power.
[    1.629913] sunxi-bt soc@03000000:bt@0: bt_power_name ((null))
[    1.636496] sunxi-bt soc@03000000:bt@0: Missing bt_io_regulator.
[    1.643263] sunxi-bt soc@03000000:bt@0: io_regulator_name ((null))
[    1.650260] sunxi-bt soc@03000000:bt@0: bt_rst gpio=357  mul-sel=1  pull=-1  drv_level=-1  data=0
[    1.660420] sunxi-bt soc@03000000:bt@0: devm_pinctrl_get() failed!
[    1.668969] sunxi-wlan soc@03000000:wlan@0: wlan_busnum (1)
[    1.675254] sunxi-wlan soc@03000000:wlan@0: Missing wlan_power.
[    1.681924] sunxi-wlan soc@03000000:wlan@0: wlan_power_name ((null))
[    1.689082] sunxi-wlan soc@03000000:wlan@0: Missing wlan_io_regulator.
[    1.696439] sunxi-wlan soc@03000000:wlan@0: io_regulator_name ((null))
[    1.703822] sunxi-wlan soc@03000000:wlan@0: wlan_regon gpio=362  mul-sel=1  pull=-1  drv_level=-1  data=0
[    1.714640] sunxi-wlan soc@03000000:wlan@0: get gpio chip_en failed
[    1.721702] sunxi-wlan soc@03000000:wlan@0: get gpio power_en failed
[    1.728875] sunxi-wlan soc@03000000:wlan@0: wlan_hostwake gpio=359  mul-sel=1  pull=-1  drv_level=-1  data=0
[    1.733094] [DISP] disp_device_attached_and_enable,line:223:
[    1.733094] attached ok, mgr0<-->dev0
[    1.733104] [DISP] disp_device_attached_and_enable,line:236:
[    1.733104] type:1,mode:4,fmt:rgb,bits:8bits,eotf:4,cs:260 dvi_hdmi:2, range:2 scan:0 ratio:8
[    1.733109] screen_id=1, output_type=1, lcd_reg=1,hdmi_reg=0
[    1.733900] [DISP] lcd_clk_config,line:665:
[    1.733901] disp 1, clk: pll(176000000),clk(176000000),dclk(11000000) dsi_rate(176000000)
[    1.733901]      clk real:pll(288000000),clk(288000000),dclk(18000000) dsi_rate(0)
[    1.733962] =====================LCD_open_flow
[    1.733966] drivers/video/fbdev/sunxi/disp2/disp/lcd/st7701s_rgb.c LCD_open_flow line 158: 11111111111111111111111111
[    1.733970] =====================LCD_power_on
[    1.733974] drivers/video/fbdev/sunxi/disp2/disp/lcd/st7701s_rgb.c LCD_power_on line 189: 11111111111111111111111111
[    1.829180] sunxi-wlan soc@03000000:wlan@0: clk not config
[    1.835364] sunxi-wlan soc@03000000:wlan@0: dcxo not config
[    1.841737] sunxi-wlan soc@03000000:wlan@0: pinctrl_lookup_state(default) failed! return ffffffffffffffed
[    1.854652] [ADDR_MGT] addr_mgt_probe: success.
[    1.863115] libphy: Fixed MDIO Bus: probed
[    1.867766] tun: Universal TUN/TAP device driver, 1.6
[    1.873461] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    1.883901] gmac-power0: NULL
[    1.887267] gmac-power1: NULL
[    1.890611] gmac-power2: NULL
[    1.897214] PPP generic driver version 2.4.2
[    1.902989] PPP BSD Compression module registered
[    1.908308] PPP Deflate Compression module registered
[    1.914057] PPP MPPE Compression module registered
[    1.919461] NET: Registered protocol family 24
[    1.924543] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.932364] get ehci0-controller, regulator_io is no nocare
[    1.938647] get ehci0-controller wakeup-source is fail.
[    1.944863] sunxi ehci0-controller don't init wakeup source
[    1.951162] [sunxi-ehci0]: probe, pdev->name: 5101000.ehci0-controller, sunxi_ehci: 0xffffff8008adc048, 0x:ffffff8008b03000, irq_no:161
[    1.964873] [sunxi-ehci0]: Not init ehci0
[    1.969608] get ehci1-controller, regulator_io is no nocare
[    1.976372] [sunxi-ehci1]: probe, pdev->name: 5200000.ehci1-controller, sunxi_ehci: 0xffffff8008adc758, 0x:ffffff8008b0d000, irq_no:163
[    1.990134] 5200000.ehci1-controller supply drvvbus not found, using dummy regulator
[    1.999136] sunxi-ehci 5200000.ehci1-controller: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.009404] sunxi-ehci 5200000.ehci1-controller: new USB bus registered, assigned bus number 1
[    2.020102] sunxi-ehci 5200000.ehci1-controller: irq 355, io mem 0xffffff80088f0458
[    2.044547] sunxi-ehci 5200000.ehci1-controller: USB 0.0 started, EHCI 1.00
[    2.056145] hub 1-0:1.0: USB hub found
[    2.060470] hub 1-0:1.0: 1 port detected
[    2.067484] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.072542] =====================LCD_panel_init
[    2.080093] get ohci0-controller, regulator_io is no nocare
[    2.086375] get ohci0-controller wakeup-source is fail.
[    2.092590] sunxi ohci0-controller don't init wakeup source
[    2.099018] [sunxi-ohci0]: probe, pdev->name: 5101000.ohci0-controller, sunxi_ohci: 0xffffff8008adc3d0
[    2.109496] [sunxi-ohci0]: Not init ohci0
[    2.114281] get ohci1-controller, regulator_io is no nocare
[    2.121153] [sunxi-ohci1]: probe, pdev->name: 5200000.ohci1-controller, sunxi_ohci: 0xffffff8008adcae0
[    2.131687] 5200000.ohci1-controller supply drvvbus not found, using dummy regulator
[    2.140697] sunxi-ohci 5200000.ohci1-controller: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    2.150594] sunxi-ohci 5200000.ohci1-controller: new USB bus registered, assigned bus number 2
[    2.160565] sunxi-ohci 5200000.ohci1-controller: irq 356, io mem 0xffffff80088f0458
[    2.236148] hub 2-0:1.0: USB hub found
[    2.240480] hub 2-0:1.0: 1 port detected
[    2.247871] usbcore: registered new interface driver uas
[    2.254242] usbcore: registered new interface driver usb-storage
[    2.261195] usbcore: registered new interface driver ums-alauda
[    2.268055] usbcore: registered new interface driver ums-cypress
[    2.274996] usbcore: registered new interface driver ums-datafab
[    2.281958] usbcore: registered new interface driver ums_eneub6250
[    2.289101] usbcore: registered new interface driver ums-freecom
[    2.296070] usbcore: registered new interface driver ums-isd200
[    2.302914] usbcore: registered new interface driver ums-jumpshot
[    2.309960] usbcore: registered new interface driver ums-karma
[    2.316720] usbcore: registered new interface driver ums-onetouch
[    2.323865] usbcore: registered new interface driver ums-realtek
[    2.330833] usbcore: registered new interface driver ums-sddr09
[    2.337688] usbcore: registered new interface driver ums-sddr55
[    2.344547] usbcore: registered new interface driver ums-usbat
[    2.351428] usb_serial_number:20080411
[    2.357055] sunxikbd_key_init: key0 vol= 210 code= 115
[    2.362869] sunxikbd_key_init: key1 vol= 410 code= 114
[    2.368671] sunxikbd_key_init: key2 vol= 590 code= 139
[    2.374460] sunxikbd_key_init: key3 vol= 750 code= 28
[    2.380161] sunxikbd_key_init: key4 vol= 880 code= 102
[    2.387337] input: sunxi-keyboard as /devices/virtual/input/input0
[    2.396025] sun50iw10p1-pinctrl pio: pin PH3 already requested by gmac0; cannot claim for ir0
[    2.405645] sun50iw10p1-pinctrl pio: pin-227 (ir0) status -22
[    2.412145] sun50iw10p1-pinctrl pio: could not request pin 227 (PH3) from group PH3  on device pio
[    2.416532] =====================LCD_bl_open
[    2.416537] drivers/video/fbdev/sunxi/disp2/disp/lcd/st7701s_rgb.c LCD_bl_open line 215: 11111111111111111111111111
[    2.417113] [DISP] disp_device_attached_and_enable,line:223:
[    2.417113] attached ok, mgr1<-->dev1
[    2.417123] [DISP] disp_device_attached_and_enable,line:236:
[    2.417123] type:1,mode:0,fmt:rgb,bits:8bits,eotf:4,cs:257 dvi_hdmi:2, range:2 scan:0 ratio:8
[    2.465268] sunxi-ir-tx ir0: Error applying setting, reverse things back
[    2.472925] sunxi-ir-tx: probe of ir0 failed with error -22
[    2.481148] sunxi_gpadc_init,1536, success
[    2.487473] input: sunxi-gpadc0 as /devices/virtual/input/input1
[    2.497441] sunxi-rtc rtc: rtc core: registered sunxi-rtc as rtc0
[    2.504612] sunxi-rtc rtc: RTC enabled
[    2.509351] i2c /dev entries driver
[    2.514483] IR NEC protocol handler initialized
[    2.519600] IR RC5(x/sz) protocol handler initialized
[    2.525323] IR RC6 protocol handler initialized
[    2.530440] IR JVC protocol handler initialized
[    2.535547] IR Sony protocol handler initialized
[    2.540751] IR SANYO protocol handler initialized
[    2.546068] IR Sharp protocol handler initialized
[    2.551371] IR MCE Keyboard/mouse protocol handler initialized
[    2.557947] IR XMP protocol handler initialized
[    2.563469] usbcore: registered new interface driver uvcvideo
[    2.569947] USB Video Class driver (1.1.1)
[    2.574565] sunxi cedar version 0.1
[    2.578799] VE: install start!!!
[    2.578799]
[    2.584312] cedar_ve: cedar-ve the get irq is 347
[    2.590838] VE: get debugfs_mpp_root is NULL, please check mpp
[    2.590838]
[    2.599096] VE: sunxi ve debug register driver failed!
[    2.599096]
[    2.608134] Bluetooth: HCI UART driver ver 2.3
[    2.613188] Bluetooth: HCI UART protocol H4 registered
[    2.618989] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    2.629477] sunxi-mmc sdc2: SD/MMC/SDIO Host Controller Driver(v3.46 2020-6-1 11:33-202006021635)
[    2.639767] sunxi-mmc sdc2: No vmmc regulator found
[    2.645300] sunxi-mmc sdc2: No vqmmc regulator found
[    2.650904] sunxi-mmc sdc2: No vdmmc regulator found
[    2.656504] sunxi-mmc sdc2: No vd33sw regulator found
[    2.662206] sunxi-mmc sdc2: No vd18sw regulator found
[    2.667909] sunxi-mmc sdc2: No vq33sw regulator found
[    2.673604] sunxi-mmc sdc2: No vq18sw regulator found
[    2.680177] sunxi-mmc sdc2: set host busy
[    2.684808] mmc:failed to get gpios
[    2.689495] sunxi-mmc sdc2: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.716549] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.744558] sunxi-mmc sdc2: detmode:alway in(non removable)
[    2.744579] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.752993] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.754082] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.764981] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.765068] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.778046] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.823087] sun50iw10p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0
[    2.832536] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.843453] sun50iw10p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0
[    2.852949] sun50iw10p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:uart0
[    2.862377] sun50iw10p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0
[    2.871828] sun50iw10p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:uart0
[    2.881277] sun50iw10p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0
[    2.891038] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing MMC-HS(SDR20) dt B
[    2.902232] sunxi-mmc sdc0: SD/MMC/SDIO Host Controller Driver(v3.46 2020-6-1 11:33-202006021635)
[    2.902289] sunxi-mmc sdc2: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing MMC-HS(SDR20) dt B
[    2.902603] sunxi-mmc sdc2: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS(SDR20) dt B
[    2.912270] sunxi-mmc sdc2: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 8 timing MMC-DDR52 dt B
[    2.912549] mmc0: new DDR MMC card at address 0001
[    2.914962] mmcblk0: mmc0:0001 AJTD4R 14.6 GiB
[    2.915499] random: fast init done
[    2.919740] mmcblk0boot0: mmc0:0001 AJTD4R partition 1 4.00 MiB
[    2.924381] mmcblk0boot1: mmc0:0001 AJTD4R partition 2 4.00 MiB
[    2.929061] mmcblk0rpmb: mmc0:0001 AJTD4R partition 3 4.00 MiB
[    2.932324]  mmcblk0: p1 p2 p3 p4 p5 p6
[    2.983532] sunxi-mmc sdc0: ***ctl-spec-caps*** 8
[    2.988900] sunxi-mmc sdc0: No vmmc regulator found
[    2.994400] sunxi-mmc sdc0: No vqmmc regulator found
[    2.999993] sunxi-mmc sdc0: No vdmmc regulator found
[    3.005590] sunxi-mmc sdc0: No vd33sw regulator found
[    3.011279] sunxi-mmc sdc0: No vd18sw regulator found
[    3.016971] sunxi-mmc sdc0: No vq33sw regulator found
[    3.022655] sunxi-mmc sdc0: No vq18sw regulator found
[    3.029315] sunxi-mmc sdc0: set host busy
[    3.033923] sunxi-mmc sdc0: Got CD GPIO
[    3.039119] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    3.049428] sunxi-mmc sdc0: no vqmmc,Check if there is regulator
[    3.072549] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    3.100932] sunxi-mmc sdc0: detmode:gpio irq
[    3.106864] sunxi-mmc sdc1: SD/MMC/SDIO Host Controller Driver(v3.46 2020-6-1 11:33-202006021635)
[    3.116988] sunxi-mmc sdc1: ***ctl-spec-caps*** 8
[    3.122345] sunxi-mmc sdc1: No vmmc regulator found
[    3.127840] sunxi-mmc sdc1: No vqmmc regulator found
[    3.133434] sunxi-mmc sdc1: No vdmmc regulator found
[    3.139026] sunxi-mmc sdc1: No vd33sw regulator found
[    3.144714] sunxi-mmc sdc1: No vd18sw regulator found
[    3.150404] sunxi-mmc sdc1: No vq33sw regulator found
[    3.150408] sunxi-mmc sdc1: No vq18sw regulator found
[    3.151257] sunxi-mmc sdc1: set host busy
[    3.151363] mmc:failed to get gpios
[    3.151389] sunxi-mmc sdc1: min-frequency:400000
[    3.152117] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    3.152139] sunxi-mmc sdc1: no vqmmc,Check if there is regulator
[    3.168550] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    3.188556] sunxi-mmc sdc1: detmode:manually by software
[    3.191028] usbcore: registered new interface driver usbhid
[    3.191031] usbhid: USB HID core driver
[    3.194049] codec supply avcc not found, using dummy regulator
[    3.194300] [sunxi_internal_codec_probe]: audiocodec avcc set vol failed
[    3.194310] codec supply cpvin not found, using dummy regulator
[    3.194504] [sunxi_internal_codec_probe]: audiocodec cpvin set vol failed
[    3.195168] sunxi-internal-codec codec: pa_power_always_on get failed and set it off.
[    3.195175] digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_power_always_on:0
[    3.195183] adcdrc_cfg:0, adchpf_cfg:0, dacdrc_cfg:0, dachpf:0
[    3.195354] sunxi-internal-codec codec: [sunxi_internal_codec_probe] codec probe finished.
[    3.197128] [sunxi_card_init] card init finished.
[    3.197567] Audio: [soc_new_pcm] -> 2699
[    3.197572] Audio: [soc_new_pcm] -> 2718
[    3.198311] Audio: [soc_new_pcm] -> 2746
[    3.199586] sunxi-codec-machine sndcodec: sun50iw10codec <-> codec mapping ok
[    3.203383] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    3.205593] input: sun50iw10-codec sunxi Audio Jack as /devices/platform/soc/sndcodec/sound/card0/input2
[    3.206730] [audio] hp_detect_case: 0
[    3.207218] sunxi-codec-machine sndcodec: [sunxi_card_dev_probe] register card finished.
[    3.207775] u32 classifier
[    3.207778]     Actions configured
[    3.207785] Netfilter messages via NETLINK v0.30.
[    3.208889] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
[    3.210407] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    3.212285] ctnetlink v0.93: registering with nfnetlink.
[    3.215702] sunxi-mmc sdc1: card claims to support voltages below defined range
[    3.241051] ip_tables: (C) 2000-2006 Netfilter Core Team
[    3.248561] Initializing XFRM netlink socket
[    3.255379] NET: Registered protocol family 10
[    3.261743] NET: Registered protocol family 17
[    3.262740] 8021q: 802.1Q VLAN Support v1.8
[    3.303973] get usb_detect_mode is fail, 22
[    3.311888] sunxi-rtc rtc: setting system clock to 1970-01-01 00:00:04 UTC (4)
[    3.312626] usb1-vbus: disabling
[    3.312632] vdd_3v3: disabling
[    3.312636] ALSA device list:
[    3.312640]   #0: sun50iw10-codec
[    3.312998] Freeing unused kernel memory: 448K
[    3.411653] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[    3.411792] sunxi-mmc sdc1: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[    3.421084] sunxi-mmc sdc1: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
[    3.480983] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[    3.481484] mmc2: new high speed SDIO card at address 0001
[/init]: getty is ttyS0
[/init]: RootDevice is "/dev/mmcblk0p4" , GPT_SUPPORT=1
[/init]: Try to load EMMC ...
e2fsck 1.42.12 (29-Aug-2014)
/dev/mmcblk0p4: recovering journal
Setting free inodes count to 8007 (was 8021)
Setting free blocks count to 4107 (was 4116)
/dev/mmcblk0p4: clean, 1209/9216 files, 32757/368[    3.568993] EXT4-fs (mmcblk0p4): barriers disabled
64 blocks
[    3.579243] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: noauto_da_alloc,barrier=0,data=ordered
mount: mounting proc on /proc failed: Device or resource busy
mount: mounting sysfs on /sys fa[    3.725695] EXT4-fs (mmcblk0p4): re-mounted. Opts: nobarrier,noauto_da_alloc,data=ordered
iled: Device or resource busy
insmod: can't insert '/lib/modules/4.9.170/disp.ko': No such file or directory
boot-res device: /dev/mmcblk0p1
[    3.777093] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.

login[908]: root login on 'ttyS0'
nand activated #0
[    3.948973] get ctp_power is fail, -22
[    3.953298] sunxi_ctp_startup: ctp_power_io is invalid.
[    3.959228] get ctp_gesture_wakeup fail, no gesture wakeup
[    3.965421] 5-0014 supply ctp not found, using dummy regulator
[    4.116759] sunxi_i2c_do_xfer()1923 - [i2c5] incomplete xfer (status: 0x20, dev addr: 0x14)
[    4.126338] sunxi_i2c_do_xfer()1923 - [i2c5] incomplete xfer (status: 0x20, dev addr: 0x14)
[    4.135947] sunxi_i2c_do_xfer()1923 - [i2c5] incomplete xfer (status: 0x20, dev addr: 0x14)
[    4.145525] sunxi_i2c_do_xfer()1923 - [i2c5] incomplete xfer (status: 0x20, dev addr: 0x14)
[    4.155096] sunxi_i2c_do_xfer()1923 - [i2c5] incomplete xfer (status: 0x20, dev addr: 0x14)
[    4.164514] <<-GTP-ERROR->> I2C Read: 0x8140, 6 bytes failed, errcode: -70! Process reset.
[    4.280579] <<-GTP-ERROR->> GTP read version failed
[    4.286082] Read version failed.
[    4.313694] input: gt9xxnew_ts as /devices/virtual/input/input3
script_fetch device name is ft6236
[    9.776542]
[    9.776542] insmod_device_driver
[    9.776542]
-------swith to adb....
[    9.976461] file system registered
init adb main
[   10.016993] read descriptors
Handling main()
[   10.020482] read strings
Time out,can not find tp event num /dev/input/event
camera activated #0
camera not activated
root@dragonboard:~# dragonboard(msg): core: parse script /boot/test_config.fex...
dragonboard(debug): the length of script is 10137
dragonboard(debug): script shmid = 0
dragonboard(msg): core: init script...
dragonboard(debug): script: main key count #23
dragonboard(msg): script: V1.0.0
dragonboard(msg): core: init view...
dragonboard(msg): core: parse test case from script...
dragonboard(msg): core: total test cases #10
dragonboard(msg): core: total test cases_auto #6
dragonboard(msg): core: total test cases_manual #4
dragonboard(debug): view: init...
dragonboard(msg): directfb view init...
dragonboard(msg): disp_output_type=1

   ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.11 |~~~~~~~~~~~~~~~~~~~~~~~~~~
        (c) 2001-2010  The world wide DirectFB Open Source Community
        (c) 2000-2004  Convergence (integrated media) GmbH
      ----------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2012-05-04 09:52)
(*) Direct/Memcpy: Using libc memcpy()
(*) DirectFB/FBDev: Found '' (ID 0) with frame buffer at 0xff800000, 6144k (MMIO 0x00000000, 0k)
(*) Direct/Thread: Started 'Keyboard Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(*) FBDev/Mode: Setting 1024x768 RGB32
(*) FBDev/Mode: Switched to 1024x768 (virtual 1024x768) at 32 bit (RGB32), pitch 4096
(!) [ 1015:    0.000] --> Caught signal 7 (at 0xf7121000, non-existent physical address) <--
 (!!!)  *** WARNING [still objects in 'Layer Region Pool'] *** [object.c:241 in fusion_object_pool_destroy()]
 (!!!)  *** WARNING [still objects in 'Layer Context Pool'] *** [object.c:241 in fusion_object_pool_destroy()]
 (!!!)  *** WARNING [still objects in 'Surface Pool'] *** [object.c:241 in fusion_object_pool_destroy()]
-------swith to adb done!
[   11.187035] sunxi_set_cur_vol_work()403 WARN: get power supply failed
[   11.277497] android_work: sent uevent USB_STATE=CONNECTED
[   11.283598] sunxi_set_cur_vol_work()403 WARN: get power supply failed
[   11.408143] configfs-gadget gadget: high-speed config #1: c
[   11.414666] android_work: sent uevent USB_STATE=CONFIGURED
[   12.494920] adbd (1023): /proc/1023/oom_adj is deprecated, please use /proc/1023/oom_score_adj instead.
[   13.520402] random: crng init done

root@dragonboard:~#
root@dragonboard:~#

ST7701 显示屏上面有启动画面,但是比较乱,进入Linux后白屏,

cat /dev/urandom > /dev/fb0   ST7701无反应
cat /dev/urandom > /dev/fb1   ST7701有雪花

离线

楼主 #1 2022-06-27 09:46:51

yixiuge
会员
注册时间: 2022-04-07
已发帖子: 40
积分: 50

Re: 收到小智SW106开发板到手,试着玩一玩

修改了 board.dts disp 节点 一点点:

/*----------------------------------------------------------------------------------
disp init configuration

disp_mode             (0:screen0<screen0,fb0>)
screenx_output_type   (0:none; 1:lcd; 2:tv; 3:hdmi;5:vdpo)
screenx_output_mode   (used for hdmi output, 0:480i 1:576i 2:480p 3:576p 4:720p50)
                      (5:720p60 6:1080i50 7:1080i60 8:1080p24 9:1080p50 10:1080p60)
screenx_output_format (for hdmi, 0:RGB 1:yuv444 2:yuv422 3:yuv420)
screenx_output_bits   (for hdmi, 0:8bit 1:10bit 2:12bit 2:16bit)
screenx_output_eotf   (for hdmi, 0:reserve 4:SDR 16:HDR10 18:HLG)
screenx_output_cs     (for hdmi, 0:undefined  257:BT709 260:BT601  263:BT2020)
screenx_output_dvi_hdmi (for hdmi, 0:undefined 1:dvi mode 2:hdmi mode)
screen0_output_range   (for hdmi, 0:default 1:full 2:limited)
screen0_output_scan    (for hdmi, 0:no data 1:overscan 2:underscan)
screen0_output_aspect_ratio  (for hdmi, 8-same as original picture 9-4:3 10-16:9 11-14:9)
fbx format            (4:RGB655 5:RGB565 6:RGB556 7:ARGB1555 8:RGBA5551 9:RGB888 10:ARGB8888 12:ARGB4444)
fbx pixel sequence    (0:ARGB 1:BGRA 2:ABGR 3:RGBA)
fb0_scaler_mode_enable(scaler mode enable, used FE)
fbx_width,fbx_height  (framebuffer horizontal/vertical pixels, fix to output resolution while equal 0)
lcdx_backlight        (lcd init backlight,the range:[0,256],default:197
lcdx_yy               (lcd init screen bright/contrast/saturation/hue, value:0~100, default:50/50/57/50)
lcd0_contrast         (LCD contrast, 0~100)
lcd0_saturation       (LCD saturation, 0~100)
lcd0_hue              (LCD hue, 0~100)
framebuffer software rotation setting:
disp_rotation_used:   (0:disable; 1:enable,you must set fbX_width to lcd_y,
set fbX_height to lcd_x)
degreeX:              (X:screen index; 0:0 degree; 1:90 degree; 3:270 degree)
degreeX_Y:            (X:screen index; Y:layer index 0~15; 0:0 degree; 1:90 degree; 3:270 degree)
devX_output_type : config output type in bootGUI framework in UBOOT-2018.
                                   (0:none; 1:lcd; 2:tv; 4:hdmi;)
devX_output_mode : config output resolution(see include/video/sunxi_display2.h) of bootGUI framework in UBOOT-2018
devX_screen_id   : config display index of bootGUI framework in UBOOT-2018
devX_do_hpd      : whether do hpd detectation or not in UBOOT-2018
chn_cfg_mode     : Hardware DE channel allocation config. 0:single display with 6
                                   channel, 1:dual display with 4 channel in main display and 2 channel in second
                   display, 2:dual display with 3 channel in main display and 3 channel in second
                   in display.
----------------------------------------------------------------------------------*/
                disp: disp@06000000 {
                        disp_init_enable         = <1>;
                        disp_mode                = <3>;

                        screen0_output_type      = <1>;
                        screen0_output_mode      = <4>;

                        screen0_output_format    = <0>;
                        screen0_output_bits      = <0>;
                        screen0_output_eotf      = <4>;
                        screen0_output_cs        = <257>;
                        screen0_output_dvi_hdmi  = <2>;
                        screen0_output_range     = <2>;
                        screen0_output_scan      = <0>;
                        screen0_output_aspect_ratio = <8>;

                        screen1_output_type      = <1>;
                        screen1_output_mode      = <4>;

                        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           = <1>;
                        dev0_do_hpd              = <0>;

                        dev1_output_type         = <1>;
                        dev1_output_mode         = <4>;
                        dev1_screen_id           = <0>;
                        dev1_do_hpd              = <0>;

                        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 = <>;
                        /*VCC-DSI*/
                        eldo3-supply = <>;
                        /*VCC-PD*/
                        dcdc1-supply = <>;
                        status        = "okay";
                };
/*----------------------------------------------------------------------------------
;lcd0 configuration

;lcd_if:               0:hv(sync+de); 1:8080; 2:ttl; 3:lvds; 4:dsi; 5:edp; 6:extend dsi
;lcd_hv_if             0:Parallel RGB; 8:Serial RGB; 10:Dummy RGB; 11: RGB Dummy;12:CCIR656
;lcd_hv_clk_phase      0:0 degree;1:90 degree;2:180 degree;3:270 degree
;lcd_hv_sync_polarity  0:vs low,hs low; 1:vs high,hslow; 2:vs low,hs high; 3:vs high,hs high
;lcd_hv_syuv_seq       0:YUYV; 1:YVYU; 2:UYVY; 3:VYUY
;lcd_cpu_if            0:18bit/1 cycle parallel(RGB666); 4:16bit/1cycle parallel (RGB565)
;                      6:18bit/3 cycle parallel(RGB666); 7:16bit/2cycle parallel (RGB565)
;lcd_cpu_te            0:frame auto trigger; 1:frame triggered by te rising edge; 2:frame triggered by te falling edge;
;lcd_dsi_if            0:video mode; 1: Command mode; 2:video burst mode
;lcd_dsi_te            0:frame auto trigger; 1:frame triggered by te rising edge; 2:frame triggered by te falling edge;
;lcd_x:                lcd horizontal resolution
;lcd_y:                lcd vertical resolution
;lcd_width:            width of lcd in mm
;lcd_height:           height of lcd in mm
;lcd_dclk_freq:        in MHZ unit
;lcd_pwm_freq:         in HZ unit
;lcd_pwm_pol:          lcd backlight PWM polarity
;lcd_pwm_max_limit     lcd backlight PWM max limit(<=255)
;lcd_hbp:              hsync back porch(pixel) + hsync plus width(pixel);
;lcd_ht:               hsync total cycle(pixel)
;lcd_vbp:              vsync back porch(line) + vysnc plus width(line)
;lcd_vt:               vysnc total cycle(line)
;lcd_hspw:             hsync plus width(pixel)
;lcd_vspw:             vysnc plus width(pixel)
;lcd_lvds_if:          0:single link;  1:dual link(odd and even); 2:dual link(same pixel)
;lcd_lvds_colordepth:  0:8bit; 1:6bit
;lcd_lvds_mode:        0:NS mode; 1:JEIDA mode
;lcd_frm:              0:disable; 1:enable rgb666 dither; 2:enable rgb656 dither
;lcd_io_phase:         0:noraml; 1:intert phase(0~3bit: vsync phase; 4~7bit:hsync phase;
;                      8~11bit:dclk phase; 12~15bit:de phase)
;lcd_gamma_en          lcd gamma correction enable
;lcd_bright_curve_en   lcd bright curve correction enable
;lcd_cmap_en           lcd color map function enable
;deu_mode              0:smoll lcd screen; 1:large lcd screen(larger than 10inch)
;lcdgamma4iep:         Smart Backlight parameter, lcd gamma vale * 10;
;                      decrease it while lcd is not bright enough; increase while lcd is too bright
;smart_color           90:normal lcd screen 65:retina lcd screen(9.7inch)
;Pin setting for special function ie.LVDS, RGB data or vsync
;   name(donot care) = port:PD12<pin function><pull up or pull down><drive ability><output level>
;Pin setting for gpio:
;   lcd_gpio_X     = port:PD12<pin function><pull up or pull down><drive ability><output level>
;Pin setting for backlight enable pin
;   lcd_bl_en     = port:PD12<pin function><pull up or pull down><drive ability><output level>
;fsync setting, pulse to csi
;lcd_fsync_en          (0:disable fsync,1:enable)
;lcd_fsync_act_time    (active time of fsync, unit:pixel)
;lcd_fsync_dis_time    (disactive time of fsync, unit:pixel)
;lcd_fsync_pol         (0:positive;1:negative)
;gpio config: <&pio for cpu or &r_pio for cpus, port, port num, pio function,
pull up or pull down(default 0), driver level(default 1), data>
;For dual link lvds: use lvds2link_pins_a  and lvds2link_pins_b instead
;For rgb24: use rgb24_pins_a  and rgb24_pins_b instead
;For lvds1: use lvds1_pins_a  and lvds1_pins_b instead
;For lvds0: use lvds0_pins_a  and lvds0_pins_b instead
;----------------------------------------------------------------------------------*/
                lcd0: lcd0@01c0c000 {
                        lcd_used                = <1>;
                        lcd_driver_name         = "default_lcd";

                        lcd_if                  = <3>;
                        lcd_hv_if               = <0>;

                        lcd_width               = <70>;
                        lcd_height              = <72>;
                        lcd_x                   = <1024>;
                        lcd_y                   = <768>;
                        lcd_dclk_freq           = <65>;
                        lcd_hbp                 = <160>;
                        lcd_ht                  = <1344>;
                        lcd_hspw                = <10>;
                        lcd_vbp                 = <29>;
                        lcd_vt                  = <806>;
                        lcd_vspw                = <5>;

                        lcd_lvds_ch             = <0>;
                        lcd_lvds_mode           = <1>;
                        lcd_lvds_bitwidth       = <0>;
                        lcd_lvds_io_cross       = <0>;
                        lcd_backlight           = <50>;
                        lcd_pwm_used            = <1>;
                        lcd_pwm_ch              = <7>;
                        lcd_pwm_freq            = <20000>;
                        lcd_pwm_pol             = <1>;
                        lcd_bright_curve_en = <0>;

                        lcd_frm                 = <1>;
                        lcd_io_phase            = <0x0000>;
                        lcd_gamma_en            = <0>;
                        lcd_cmap_en             = <0>;
                        lcd_hv_clk_phase        = <1>;
                        lcd_hv_sync_polarity= <0>;
                        lcd_rb_swap         = <0>;

                        //lcd_bl_en           = <&pio PI 7 1 1 3 1>;
/*
                        lcd_gpio_0              = <&pio PJ 16 1 1 3 1>;//reset
                        lcd_gpio_1              = <&pio PJ 17 1 1 3 1>;//cs
                        lcd_gpio_2              = <&pio PC  2 1 1 3 1>;//sdi
                        lcd_gpio_3              = <&pio PC 12 1 1 3 1>;//scl
*/
                        lcd_pin_power;
                        lcd_power;

                        pinctrl-0                       = <&lvds0_pins_a>;
                        pinctrl-1                       = <&lvds0_pins_b>;

                        status = "okay";
                };

                lcd1: lcd1@01c0c001 {
                        lcd_used                = <1>;
                        lcd_driver_name         = "st7701s_rgb";

                        lcd_if                  = <0>;
                        lcd_hv_if               = <0>;

                        lcd_width               = <70>;
                        lcd_height              = <72>;
                        lcd_x                   = <480>;
                        lcd_y                   = <480>;
                        lcd_dclk_freq           = <11>;
                        lcd_hbp                 = <60>;
                        lcd_ht                  = <612>;
                        lcd_hspw                = <12>;
                        lcd_vbp                 = <18>;
                        lcd_vt                  = <520>;
                        lcd_vspw                = <4>;

                        lcd_backlight           = <250>;// 0 ~ 255
                        lcd_pwm_used            = <1>;
                        lcd_pwm_ch              = <8>;
                        lcd_pwm_freq            = <20000>;
                        lcd_pwm_pol             = <1>;
                        lcd_pwm_max_limit   = <255>;
                        lcd_bright_curve_en = <0>;

                        lcd_frm                 = <1>;
                        lcd_io_phase            = <0x0000>;
                        lcd_gamma_en            = <0>;
                        lcd_cmap_en             = <0>;
                        lcd_hv_clk_phase        = <1>;
                        lcd_hv_sync_polarity= <0>;
                        lcd_rb_swap         = <0>;

                        //lcd_bl_en           = <&pio PI 7 1 1 3 1>;
                        lcd_gpio_0              = <&pio PJ 16 1 1 3 1>;//reset
                        lcd_gpio_1              = <&pio PJ 17 1 1 3 1>;//cs
                        lcd_gpio_2              = <&pio PC  2 1 1 3 1>;//sdi
                        lcd_gpio_3              = <&pio PC 12 1 1 3 1>;//scl

/*
                        lcd_gpio_2              = <&r_pio PL 2 1 1 3 1>;//sdi
                        lcd_gpio_3              = <&r_pio PL 3 1 1 3 1>;//scl
*/
                        lcd_pin_power;
                        lcd_power;

                        pinctrl-0                       = <&rgb18_pins_c>;
                        pinctrl-1                       = <&rgb18_pins_d>;

                        status = "okay";
                };

这是修改的地方:

                        dev0_output_type         = <1>;
                        dev0_output_mode         = <4>;
                        dev0_screen_id           = <1>;
                        dev0_do_hpd              = <0>;

                        dev1_output_type         = <1>;
                        dev1_output_mode         = <4>;
                        dev1_screen_id           = <0>;
                        dev1_do_hpd              = <0>;

dev0_screen_id           0 改 1
dev1_screen_id           1 改 0

日志:

[37]HELLO! BOOT0 is starting!
[40]BOOT0 commit : dc54be6
[43]set pll start
[45]periph0 has been enabled
[48]set pll end
[50][pmu]: bus read error
[52][pmu]: bus read error
[60]vaild para:1  select dram para0
[63]board init ok
[65]DRAM BOOT DRIVE INFO: V0.19
[68]the chip id is 0x2400
[71]the chip id is 0x2400
[73]the chip id is 0x2400
[76]the chip id is 0x2400
[79]the chip id is 0x2400
[81]chip id check OK
[83]DRAM_VCC set to 1100 mv
[86]DRAM CLK =792 MHZ
[88]DRAM Type =8 (3:DDR3,4:DDR4,7:LPDDR3,8:LPDDR4)
[96]DRAM SIZE =1024 MBytes, para1 = 30fa, para2 = 4000000, dram_tpr13 = 6063
[109]DRAM simple test OK.
[111]dram size =1024
[113]chipid = 53002400
[115]nsi init ok 2020-4-7
[119]card no is 2
[120]sdcard 2 line count 8
[123][mmc]: mmc driver ver 2020-05-25 09:40
[133][mmc]: Wrong media type 0x0
[136][mmc]: ***Try SD card 2***
[140][mmc]: mmc 2 cmd 8 timeout, err 100
[144][mmc]: mmc 2 cmd 8 err 100
[147][mmc]: mmc 2 send if cond failed
[152][mmc]: mmc 2 cmd 55 timeout, err 100
[156][mmc]: mmc 2 cmd 55 err 100
[159][mmc]: mmc 2 send app cmd failed
[163][mmc]: ***Try MMC card 2***
[187][mmc]: RMCA OK!
[189][mmc]: mmc 2 bias 4
[192][mmc]: MMC 5.1
[194][mmc]: HSSDR52/SDR25 8 bit
[197][mmc]: 50000000 Hz
[200][mmc]: 14910 MB
[202][mmc]: ***SD/MMC 2 init OK!!!***
[258]Loading boot-pkg Succeed(index=0).
[262]Entry_name        = u-boot
[269]Entry_name        = monitor
[273]Entry_name        = scp
[281]set arisc reset to de-assert state
[285]Entry_name        = dtb
[288]tunning data addr:0x4a0003e8
[292]Jump to second Boot.
NOTICE:  BL3-1: v1.0(debug):cc1f5d7
NOTICE:  BL3-1: Built : 10:23:25, 2020-04-08
NOTICE:  BL3-1 commit: 8
ERROR:   Error initializing runtime service tspd_fast
NOTICE:  BL3-1: Preparing for EL3 exit to normal world
NOTICE:  BL3-1: Next image address = 0x4a000000
NOTICE:  BL3-1: Next image spsr = 0x1d3

U-Boot 2018.05 (Apr 17 2022 - 05:02:05 +0000) Allwinner Technology

[00.371]CPU:   Allwinner Family
[00.374]Model: sun50iw10
I2C:   ready
[00.625]DRAM:  1 GiB
[00.628]Relocation Offset is: 35f13000
[00.658]secure enable bit: 0
[00.661][ARISC] :arisc initialize
[00.666][ARISC ERROR] :get [allwinner,sunxi-hwspinlock] device node error
CACHE: Misaligned operation at range [7ffa6d88, 7ffa70a0]
[00.677][ARISC] :arisc para ok
[SCP] :sunxi-arisc driver begin startup 2
[SCP] :0x1
[SCP] :arisc version: [ca79327ac09021f1a13c79dd97da281c7be9a63arid-]
[SCP] :arisc startup ready
[SCP] :arisc startup notify message feedback
[SCP] :send hard sync feedback message: 0x900200
[SCP] :sunxi-arisc driver v1.10 is starting
[00.708][ARISC] :sunxi-arisc driver startup succeeded
[00.714]pmu_axp81X_probe pmic_bus_read fail
[00.718]pmu_axp858_probe pmic_bus_read fail
[00.722]PMU: no found
[00.724]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=400Mhz
[00.731]init_clocks:finish
[00.733]not need merged sunxi overlay
[00.736]drv_disp_init
request pwm success, pwm7:pwm7:0x300a000.
request pwm success, pwm8:pwm8:0x300a000.
[00.775]drv_disp_init finish
[00.783]gic: sec monitor mode
[00.785]flash init start
[00.787]workmode = 0,storage type = 2
[00.791][mmc]: mmc driver ver uboot2018:2020-5-25 9:26:00-20201021190
[00.805][mmc]: SUNXI SDMMC Controller Version:0x50300
[00.830][mmc]: Best spd md: 2-HSDDR52/DDR50, freq: 2-50000000, Bus width: 8
[00.836]sunxi flash init ok
[00.840]Loading Environment from SUNXI_FLASH... OK
[00.848]no secure os for keybox operation
[00.851]try to burn key
[00.854]out of usb burn from boot: not need burn key
[00.859]boot_gui_init:start
[00.863]set disp.dev2_output_type fail. using defval=0
[00.868]ST7701 =====================LCD_open_flow
[00.873]disp 1, clk: pll(176000000),clk(176000000),dclk(11000000) dsi_rate(176000000)
     clk real:pll(288000000),clk(288000000),dclk(18000000) dsi_rate(0)
[00.886]ST7701 =====================LCD_open_flow
[00.891]ST7701 =====================LCD_power_on
[01.199]switch device: sel=1, type=1, mode=4, format=0, bits=0, eotf=4, cs=260
[01.206]boot_gui_init:finish
[01.208]bmp_name=bootlogo.bmp
partno erro : can't find partition bootloader
[01.219]ST7701 =====================LCD_open_flow
[01.223]2022-06-19 22:37 build ST7701 =====================LCD_panel_init
[01.229]2022-06-19 22:37 build ST7701 =====================LCD_panel_init
[01.236]2022-06-19 22:37 build ST7701 =====================LCD_panel_init
[01.242]2022-06-19 22:37 build ST7701 =====================LCD_panel_init
[01.249]2022-06-19 22:37 build ST7701 =====================LCD_panel_init
[01.255]2022-06-19 22:37 build ST7701 =====================LCD_panel_init
691254 bytes read in 244 ms (2.7 MiB/s)
[01.470]read item0 copy0
[01.473]Item0 (Map) magic is bad
[01.475]the secure storage item0 copy0 magic is bad
[01.480]Item0 (Map) m[01.482]ST7701 =====================LCD_open_flow
[01.486]soc ic_ver:0x0, qa_val:0x0, markid:0x53002400 dclk[0-9999]
agic is bad
[01.493]the secure storage item0 copy1 magic is bad
[01.498]Item0 (Map) magic is bad
[01.501]the secure storage map is empty
[01.504]no item name device_unlock in the map
[01.508]no item name fastboot_status_flag in the map
[01.513]sunxi secure storage has no flag
[01.519][mmc]: delete mmc-hs400-1_8v from dtb
[01.523][mmc]: delete mmc-hs200-1_8v from dtb
[01.527][mmc]: get max-frequency ok 50000000 Hz
[01.533](weak)update dtb dram start
[01.537]update dtb dram  end
[01.539]update dts
[01.541]no item name snum in the map
partno erro : can't find partition private
[01.551]no item name mac in the map
partno erro : can't find partition private
[01.561]no item name wifi_mac in the map
partno erro : can't find partition private
[01.571]no item name bt_mac in the map
partno erro : can't find partition private
[01.581]no item name specialstr in the map
partno erro : can't find partition private
[01.592]ST7701 =====================LCD_open_flow
[01.596]ST7701 =====================LCD_bl_open
[01.604]ST7701 =====================LCD_open_flow
[01.608]ST7701 =====================LCD_open_flow
[01.612]LCD open finish
[01.616]update part info
[01.619]key 0
[01.622]no misc partition is found
[01.625]update bootcmd
[01.627]serial num is: 0c001415a0c086d218d
Hit any key to stop autoboot:  0
[01.640]partinfo: name boot, start 0x22000, size 0x10000
[01.805]in boot normal mode,pass normal para to cmdline
[01.810]android.hardware = sun50iw10p1
[01.814]androidboot.dtbo_idx  can't findAndroid's image name: sun50i_arm64
[01.883]Starting kernel ...

[01.885][mmc]: mmc exit start
[01.905][mmc]: mmc 2 exit ok
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.170 (whycan@ubuntu) (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05) ) #9 SMP PREEMPT Sun Jun 26 21:55:05 CST 2022
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] disp reserve base 0x7bf61080 ,size 0x300000
[    0.000000] cma: Reserved 8 MiB at 0x000000007f800000
[    0.000000] On node 0 totalpages: 262144
[    0.000000]   DMA zone: 4096 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 262144 pages, LIFO batch:31
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 21 pages/cpu @ffffffc03f70b000 s45696 r8192 d32128 u86016
[    0.000000] pcpu-alloc: s45696 r8192 d32128 u86016 alloc=21*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 258048
[    0.000000] Kernel command line: earlyprintk=sunxi-uart,0x05000000 initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p4 init=/init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:boot@mmcblk0p3:rootfs@mmcblk0p4:klog@mmcblk0p5:UDISK@mmcblk0p6 cma=8M snum=0c001415a0c086d218d mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.serialno=0c001415a0c086d218d androidboot.hardware=sun50iw10p1 boot_type=2 androidboot.boot_type=2 androidboot.secure_os_exist=0 androidboot.trustchain=false gpt=1 uboot_message=2018.05(04/17/2022-05:02:05) disp_reserve=3145728,0x7bf61080 bootreason=unknow
[    0.000000] log_buf_len individual max cpu contribution: 4096 bytes
[    0.000000] log_buf_len total cpu_extra contributions: 12288 bytes
[    0.000000] log_buf_len min size: 16384 bytes
[    0.000000] log_buf_len: 32768 bytes
[    0.000000] early log buf free: 14220(86%)
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.000000] Memory: 988592K/1048576K available (6590K kernel code, 1310K rwdata, 2020K rodata, 448K init, 267K bss, 51792K reserved, 8192K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000   (   250 GB)
[    0.000000]       .text : 0xffffff8008080000 - 0xffffff80086f0000   (  6592 KB)
[    0.000000]     .rodata : 0xffffff80086f0000 - 0xffffff80088f0000   (  2048 KB)
[    0.000000]       .init : 0xffffff80088f0000 - 0xffffff8008960000   (   448 KB)
[    0.000000]       .data : 0xffffff8008960000 - 0xffffff8008aa7808   (  1311 KB)
[    0.000000]        .bss : 0xffffff8008aa7808 - 0xffffff8008aea4c8   (   268 KB)
[    0.000000]     fixed   : 0xffffffbefe7fb000 - 0xffffffbefec00000   (  4116 KB)
[    0.000000]     PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000   (    16 MB)
[    0.000000]     vmemmap : 0xffffffbf00000000 - 0xffffffc000000000   (     4 GB maximum)
[    0.000000]               0xffffffbf00000000 - 0xffffffbf01000000   (    16 MB actual)
[    0.000000]     memory  : 0xffffffc000000000 - 0xffffffc040000000   (  1024 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 64.
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000004] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.008202] Console: colour dummy device 80x25
[    0.012414] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.022619] pid_max: default: 32768 minimum: 301
[    0.027665] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.033898] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.043982] sched-energy: CPU device node has no sched-energy-costs
[    0.047280] Invalid sched_group_energy for CPU0
[    0.051749] CPU0: update cpu_capacity 1024
[    0.067889] ASID allocator initialised with 32768 entries
[    0.124100] Detected VIPT I-cache on CPU1
[    0.124152] Invalid sched_group_energy for CPU1
[    0.124156] CPU1: update cpu_capacity 1024
[    0.124159] CPU1: Booted secondary processor [410fd034]
[    0.152144] Detected VIPT I-cache on CPU2
[    0.152177] Invalid sched_group_energy for CPU2
[    0.152179] CPU2: update cpu_capacity 1024
[    0.152182] CPU2: Booted secondary processor [410fd034]
[    0.180208] Detected VIPT I-cache on CPU3
[    0.180237] Invalid sched_group_energy for CPU3
[    0.180239] CPU3: update cpu_capacity 1024
[    0.180242] CPU3: Booted secondary processor [410fd034]
[    0.180315] Brought up 4 CPUs
[    0.230952] SMP: Total of 4 processors activated.
[    0.235641] CPU features: detected feature: 32-bit EL0 Support
[    0.241446] CPU features: detected feature: Kernel page table isolation (KPTI)
[    0.251467] CPU: All CPU(s) started at EL1
[    0.252726] alternatives: patching kernel code
[    0.257624] Invalid sched_group_energy for CPU3
[    0.261644] Invalid sched_group_energy for Cluster3
[    0.266493] Invalid sched_group_energy for CPU2
[    0.270999] Invalid sched_group_energy for Cluster2
[    0.275851] Invalid sched_group_energy for CPU1
[    0.280359] Invalid sched_group_energy for Cluster1
[    0.285212] Invalid sched_group_energy for CPU0
[    0.289719] Invalid sched_group_energy for Cluster0
[    0.295710] devtmpfs: initialized
[    0.541840] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.545968] futex hash table entries: 1024 (order: 5, 131072 bytes)
[    0.552807] atomic64_test: passed
[    0.555471] pinctrl core: initialized pinctrl subsystem
[    0.565438] NET: Registered protocol family 16
[    0.569299] dump_class_init,861, success
[    0.572679] sunxi iommu: irq = 8
[    0.573483] vdso: 2 pages (1 code @ ffffff80086f7000, 1 data @ ffffff8008964000)
[    0.580935] DMA: preallocated 256 KiB pool for atomic allocations
[    0.597736] sun50iw10p1-r-pinctrl r_pio: initialized sunXi PIO driver
[    0.672207] sun50iw10p1-pinctrl pio: initialized sunXi PIO driver
[    0.685099] iommu: Adding device 1c0e000.ve to group 0
[    0.703331] iommu: Adding device 6000000.disp to group 0
[    0.705866] iommu: Adding device 6480000.g2d to group 0
[    0.722257] iommu: Adding device csi0 to group 0
[    0.723492] iommu: Adding device csi1 to group 0
[    0.728754] iommu: Adding device 2108000.tdm to group 0
[    0.732235] iommu: Adding device 2100000.isp to group 0
[    0.737456] iommu: Adding device 2102000.isp to group 0
[    0.742280] iommu: Adding device 2110000.scaler to group 0
[    0.747760] iommu: Adding device 2110400.scaler to group 0
[    0.753185] iommu: Adding device 2110800.scaler to group 0
[    0.758660] iommu: Adding device 2110c00.scaler to group 0
[    0.846693] pwm module init!
[    0.856899] sunxi-pm debug v3.10
[    0.863280] SCSI subsystem initialized
[    0.865254] usbcore: registered new interface driver usbfs
[    0.867215] usbcore: registered new interface driver hub
[    0.872402] usbcore: registered new device driver usb
[    0.877775] sunxi_i2c_adap_init()2649 - init
[    0.882674] sunxi_i2c_probe()2372 - [i2c5] twi_drv_used = 0
[    0.886989] sunxi_i2c_probe()2379 - [i2c5] twi_pkt_interval = 0
[    0.892881] twi5 supply twi not found, using dummy regulator
[    0.898755] twi_request_gpio()458 - [i2c5] init name: (null)
[    0.906214] media: Linux media interface: v0.10
[    0.908888] Linux video capture interface: v2.00
[    0.915604] ion_parse_dt_heap_common: id 0 type 0 name sys_user align 1000
[    0.920726] ion_parse_dt_heap_common: id 4 type 4 name cma align 1000
[    0.927092] ion_parse_dt_heap_common: id 6 type 6 name secure align 1000
[    0.934085] ion_heap_create: Invalid heap type 6
[    0.938248] Advanced Linux Sound Architecture Driver Initialized.
[    0.946765] Bluetooth: Core ver 2.22
[    0.947507] NET: Registered protocol family 31
[    0.951808] Bluetooth: HCI device and connection manager initialized
[    0.958166] Bluetooth: HCI socket layer initialized
[    0.963011] Bluetooth: L2CAP socket layer initialized
[    0.968167] Bluetooth: SCO socket layer initialized
[    0.975474] clocksource: Switched to clocksource arch_sys_counter
[    1.031966] udc_init,0
[    1.032377] NET: Registered protocol family 2
[    1.051973] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    1.053459] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[    1.060079] TCP: Hash tables configured (established 8192 bind 8192)
[    1.066362] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    1.072146] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    1.079207] NET: Registered protocol family 1
[    1.083522] Unpacking initramfs...
[    1.290632] Freeing initrd memory: 2544K
[    1.298073] workingset: timestamp_bits=61 max_order=18 bucket_order=0
[    1.388434] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.390423] ntfs: driver 2.1.32 [Flags: R/W].
[    1.401817] io scheduler noop registered
[    1.401860] io scheduler deadline registered
[    1.406430] io scheduler cfq registered (default)
[    1.415162] [DISP]disp_module_init
[    1.417461] [DISP] disp_init,line:2260:
[    1.417500] smooth display screen:1 type:1 mode:4
[    1.497251] screen_id=0, output_type=1, lcd_reg=1,hdmi_reg=0
[    1.497997] [DISP] lcd_clk_config,line:665:[    1.500622] [DISP]disp_module_init finish

[    1.505291] disp 0, clk: pll(455000000),clk(455000000),dclk(65000000) dsi_rate(455000000)
[    1.505291]      clk real:pll(456000000),clk(456000000),dclk(65142857) dsi_rate(0)
[    1.524101] uart uart0: get regulator failed
[    1.525370] uart0 supply uart not found, using dummy regulator
[    1.531906] uart0: ttyS0 at MMIO 0x5000000 (irq = 349, base_baud = 1500000) is a SUNXI
[    1.539078] sw_console_▒[    1.547005] console [ttyS0] enabled
[    1.547005] console [ttyS0] enabled
[    1.550990] bootconsole [earlycon0] disabled
[    1.550990] bootconsole [earlycon0] disabled
[    1.561430] uart uart1: get regulator failed
[    1.568271] uart1 supply uart not found, using dummy regulator
[    1.575374] uart1: ttyS1 at MMIO 0x5000400 (irq = 350, base_baud = 1500000) is a SUNXI
[    1.586855] misc dump reg init
[    1.594182] [drm] Initialized
[    1.598291] Unable to detect cache hierarchy for CPU 0
[    1.604258] [NAND][NE] Not found valid nand node on dts
[    1.610610] sunxi-bt soc@03000000:bt@0: Missing bt_power.
[    1.616714] sunxi-bt soc@03000000:bt@0: bt_power_name ((null))
[    1.623291] sunxi-bt soc@03000000:bt@0: Missing bt_io_regulator.
[    1.630064] sunxi-bt soc@03000000:bt@0: io_regulator_name ((null))
[    1.637059] sunxi-bt soc@03000000:bt@0: bt_rst gpio=357  mul-sel=1  pull=-1  drv_level=-1  data=0
[    1.647222] sunxi-bt soc@03000000:bt@0: devm_pinctrl_get() failed!
[    1.655787] sunxi-wlan soc@03000000:wlan@0: wlan_busnum (1)
[    1.662072] sunxi-wlan soc@03000000:wlan@0: Missing wlan_power.
[    1.668742] sunxi-wlan soc@03000000:wlan@0: wlan_power_name ((null))
[    1.675900] sunxi-wlan soc@03000000:wlan@0: Missing wlan_io_regulator.
[    1.683258] sunxi-wlan soc@03000000:wlan@0: io_regulator_name ((null))
[    1.690640] sunxi-wlan soc@03000000:wlan@0: wlan_regon gpio=362  mul-sel=1  pull=-1  drv_level=-1  data=0
[    1.701459] sunxi-wlan soc@03000000:wlan@0: get gpio chip_en failed
[    1.708521] sunxi-wlan soc@03000000:wlan@0: get gpio power_en failed
[    1.715695] sunxi-wlan soc@03000000:wlan@0: wlan_hostwake gpio=359  mul-sel=1  pull=-1  drv_level=-1  data=0
[    1.720044] [DISP] disp_device_attached_and_enable,line:223:
[    1.720044] attached ok, mgr0<-->dev0
[    1.720054] [DISP] disp_device_attached_and_enable,line:236:
[    1.720054] type:1,mode:0,fmt:rgb,bits:8bits,eotf:4,cs:257 dvi_hdmi:2, range:2 scan:0 ratio:8
[    1.720060] screen_id=1, output_type=1, lcd_reg=1,hdmi_reg=0
[    1.720860] [DISP] lcd_clk_config,line:665:
[    1.720861] disp 1, clk: pll(176000000),clk(176000000),dclk(11000000) dsi_rate(176000000)
[    1.720861]      clk real:pll(288000000),clk(288000000),dclk(18000000) dsi_rate(0)
[    1.720922] =====================LCD_open_flow
[    1.720926] drivers/video/fbdev/sunxi/disp2/disp/lcd/st7701s_rgb.c LCD_open_flow line 158: 11111111111111111111111111
[    1.720930] =====================LCD_power_on
[    1.720934] drivers/video/fbdev/sunxi/disp2/disp/lcd/st7701s_rgb.c LCD_power_on line 189: 11111111111111111111111111
[    1.815988] sunxi-wlan soc@03000000:wlan@0: clk not config
[    1.822173] sunxi-wlan soc@03000000:wlan@0: dcxo not config
[    1.828546] sunxi-wlan soc@03000000:wlan@0: pinctrl_lookup_state(default) failed! return ffffffffffffffed
[    1.841450] [ADDR_MGT] addr_mgt_probe: success.
[    1.849939] libphy: Fixed MDIO Bus: probed
[    1.854565] tun: Universal TUN/TAP device driver, 1.6
[    1.860253] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    1.870689] gmac-power0: NULL
[    1.874049] gmac-power1: NULL
[    1.877395] gmac-power2: NULL
[    1.883864] PPP generic driver version 2.4.2
[    1.889655] PPP BSD Compression module registered
[    1.894968] PPP Deflate Compression module registered
[    1.900696] PPP MPPE Compression module registered
[    1.906099] NET: Registered protocol family 24
[    1.911169] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.918987] get ehci0-controller, regulator_io is no nocare
[    1.925266] get ehci0-controller wakeup-source is fail.
[    1.931497] sunxi ehci0-controller don't init wakeup source
[    1.937780] [sunxi-ehci0]: probe, pdev->name: 5101000.ehci0-controller, sunxi_ehci: 0xffffff8008adc048, 0x:ffffff8008b13000, irq_no:161
[    1.951482] [sunxi-ehci0]: Not init ehci0
[    1.956221] get ehci1-controller, regulator_io is no nocare
[    1.962996] [sunxi-ehci1]: probe, pdev->name: 5200000.ehci1-controller, sunxi_ehci: 0xffffff8008adc758, 0x:ffffff8008b1d000, irq_no:163
[    1.976753] 5200000.ehci1-controller supply drvvbus not found, using dummy regulator
[    1.985742] sunxi-ehci 5200000.ehci1-controller: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.996009] sunxi-ehci 5200000.ehci1-controller: new USB bus registered, assigned bus number 1
[    2.010708] sunxi-ehci 5200000.ehci1-controller: irq 355, io mem 0xffffff80088f0458
[    2.031493] sunxi-ehci 5200000.ehci1-controller: USB 0.0 started, EHCI 1.00
[    2.043148] hub 1-0:1.0: USB hub found
[    2.047496] hub 1-0:1.0: 1 port detected
[    2.054456] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.059482] =====================LCD_panel_init
[    2.067015] get ohci0-controller, regulator_io is no nocare
[    2.073293] get ohci0-controller wakeup-source is fail.
[    2.079491] sunxi ohci0-controller don't init wakeup source
[    2.085926] [sunxi-ohci0]: probe, pdev->name: 5101000.ohci0-controller, sunxi_ohci: 0xffffff8008adc3d0
[    2.096410] [sunxi-ohci0]: Not init ohci0
[    2.101162] get ohci1-controller, regulator_io is no nocare
[    2.108045] [sunxi-ohci1]: probe, pdev->name: 5200000.ohci1-controller, sunxi_ohci: 0xffffff8008adcae0
[    2.118577] 5200000.ohci1-controller supply drvvbus not found, using dummy regulator
[    2.127629] sunxi-ohci 5200000.ohci1-controller: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    2.137499] sunxi-ohci 5200000.ohci1-controller: new USB bus registered, assigned bus number 2
[    2.147458] sunxi-ohci 5200000.ohci1-controller: irq 356, io mem 0xffffff80088f0458
[    2.223115] hub 2-0:1.0: USB hub found
[    2.227451] hub 2-0:1.0: 1 port detected
[    2.234813] usbcore: registered new interface driver uas
[    2.241180] usbcore: registered new interface driver usb-storage
[    2.248134] usbcore: registered new interface driver ums-alauda
[    2.254977] usbcore: registered new interface driver ums-cypress
[    2.261920] usbcore: registered new interface driver ums-datafab
[    2.268872] usbcore: registered new interface driver ums_eneub6250
[    2.276014] usbcore: registered new interface driver ums-freecom
[    2.282959] usbcore: registered new interface driver ums-isd200
[    2.289806] usbcore: registered new interface driver ums-jumpshot
[    2.296854] usbcore: registered new interface driver ums-karma
[    2.303625] usbcore: registered new interface driver ums-onetouch
[    2.310796] usbcore: registered new interface driver ums-realtek
[    2.317745] usbcore: registered new interface driver ums-sddr09
[    2.324615] usbcore: registered new interface driver ums-sddr55
[    2.331481] usbcore: registered new interface driver ums-usbat
[    2.338359] usb_serial_number:20080411
[    2.343968] sunxikbd_key_init: key0 vol= 210 code= 115
[    2.349764] sunxikbd_key_init: key1 vol= 410 code= 114
[    2.355555] sunxikbd_key_init: key2 vol= 590 code= 139
[    2.361348] sunxikbd_key_init: key3 vol= 750 code= 28
[    2.367041] sunxikbd_key_init: key4 vol= 880 code= 102
[    2.374188] input: sunxi-keyboard as /devices/virtual/input/input0
[    2.382830] sun50iw10p1-pinctrl pio: pin PH3 already requested by gmac0; cannot claim for ir0
[    2.392441] sun50iw10p1-pinctrl pio: pin-227 (ir0) status -22
[    2.398921] sun50iw10p1-pinctrl pio: could not request pin 227 (PH3) from group PH3  on device pio
[    2.407478] =====================LCD_bl_open
[    2.407483] drivers/video/fbdev/sunxi/disp2/disp/lcd/st7701s_rgb.c LCD_bl_open line 215: 11111111111111111111111111
[    2.408055] [DISP] disp_device_attached_and_enable,line:223:
[    2.408055] attached ok, mgr1<-->dev1
[    2.408065] [DISP] disp_device_attached_and_enable,line:236:
[    2.408065] type:1,mode:4,fmt:rgb,bits:8bits,eotf:4,cs:260 dvi_hdmi:2, range:2 scan:0 ratio:8
[    2.452005] sunxi-ir-tx ir0: Error applying setting, reverse things back
[    2.459657] sunxi-ir-tx: probe of ir0 failed with error -22
[    2.467858] sunxi_gpadc_init,1536, success
[    2.474165] input: sunxi-gpadc0 as /devices/virtual/input/input1
[    2.484012] sunxi-rtc rtc: rtc core: registered sunxi-rtc as rtc0
[    2.491120] sunxi-rtc rtc: RTC enabled
[    2.495862] i2c /dev entries driver
[    2.500952] IR NEC protocol handler initialized
[    2.506063] IR RC5(x/sz) protocol handler initialized
[    2.511756] IR RC6 protocol handler initialized
[    2.516858] IR JVC protocol handler initialized
[    2.521964] IR Sony protocol handler initialized
[    2.527165] IR SANYO protocol handler initialized
[    2.532467] IR Sharp protocol handler initialized
[    2.537765] IR MCE Keyboard/mouse protocol handler initialized
[    2.544335] IR XMP protocol handler initialized
[    2.549831] usbcore: registered new interface driver uvcvideo
[    2.556309] USB Video Class driver (1.1.1)
[    2.560923] sunxi cedar version 0.1
[    2.565129] VE: install start!!!
[    2.565129]
[    2.570642] cedar_ve: cedar-ve the get irq is 347
[    2.577147] VE: get debugfs_mpp_root is NULL, please check mpp
[    2.577147]
[    2.585381] VE: sunxi ve debug register driver failed!
[    2.585381]
[    2.594399] Bluetooth: HCI UART driver ver 2.3
[    2.599413] Bluetooth: HCI UART protocol H4 registered
[    2.605211] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    2.615610] sunxi-mmc sdc2: SD/MMC/SDIO Host Controller Driver(v3.46 2020-6-1 11:33-202006021635)
[    2.625893] sunxi-mmc sdc2: No vmmc regulator found
[    2.631396] sunxi-mmc sdc2: No vqmmc regulator found
[    2.636990] sunxi-mmc sdc2: No vdmmc regulator found
[    2.642586] sunxi-mmc sdc2: No vd33sw regulator found
[    2.648277] sunxi-mmc sdc2: No vd18sw regulator found
[    2.653970] sunxi-mmc sdc2: No vq33sw regulator found
[    2.654170] random: fast init done
[    2.663491] sunxi-mmc sdc2: No vq18sw regulator found
[    2.670026] sunxi-mmc sdc2: set host busy
[    2.674641] mmc:failed to get gpios
[    2.679322] sunxi-mmc sdc2: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.707493] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.735503] sunxi-mmc sdc2: detmode:alway in(non removable)
[    2.735525] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.743907] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.744997] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.755861] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.755947] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.768809] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.813637] sun50iw10p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0
[    2.823051] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.833947] sun50iw10p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0
[    2.833958] sun50iw10p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:uart0
[    2.833969] sun50iw10p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0
[    2.833980] sun50iw10p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:uart0
[    2.833991] sun50iw10p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0
[    2.834731] sunxi-mmc sdc0: SD/MMC/SDIO Host Controller Driver(v3.46 2020-6-1 11:33-202006021635)
[    2.834884] sunxi-mmc sdc0: ***ctl-spec-caps*** 8
[    2.834945] sunxi-mmc sdc0: No vmmc regulator found
[    2.834950] sunxi-mmc sdc0: No vqmmc regulator found
[    2.834954] sunxi-mmc sdc0: No vdmmc regulator found
[    2.834959] sunxi-mmc sdc0: No vd33sw regulator found
[    2.834963] sunxi-mmc sdc0: No vd18sw regulator found
[    2.834967] sunxi-mmc sdc0: No vq33sw regulator found
[    2.834972] sunxi-mmc sdc0: No vq18sw regulator found
[    2.835803] sunxi-mmc sdc0: set host busy
[    2.835883] sunxi-mmc sdc0: Got CD GPIO
[    2.836760] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.836784] sunxi-mmc sdc0: no vqmmc,Check if there is regulator
[    2.855496] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.875940] sunxi-mmc sdc0: detmode:gpio irq
[    2.875961] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[    2.878092] sunxi-mmc sdc1: SD/MMC/SDIO Host Controller Driver(v3.46 2020-6-1 11:33-202006021635)
[    2.878214] sunxi-mmc sdc1: ***ctl-spec-caps*** 8
[    2.878272] sunxi-mmc sdc1: No vmmc regulator found
[    2.878277] sunxi-mmc sdc1: No vqmmc regulator found
[    2.878281] sunxi-mmc sdc1: No vdmmc regulator found
[    2.878286] sunxi-mmc sdc1: No vd33sw regulator found
[    2.878290] sunxi-mmc sdc1: No vd18sw regulator found
[    2.878294] sunxi-mmc sdc1: No vq33sw regulator found
[    2.878299] sunxi-mmc sdc1: No vq18sw regulator found
[    2.879118] sunxi-mmc sdc1: set host busy
[    2.879220] mmc:failed to get gpios
[    2.879247] sunxi-mmc sdc1: min-frequency:400000
[    2.879949] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.879972] sunxi-mmc sdc1: no vqmmc,Check if there is regulator
[    2.891067] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing MMC-HS(SDR20) dt B
[    2.896396] sunxi-mmc sdc2: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing MMC-HS(SDR20) dt B
[    2.899494] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.901908] sunxi-mmc sdc2: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS(SDR20) dt B
[    2.918817] sunxi-mmc sdc2: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 8 timing MMC-DDR52 dt B
[    2.919500] sunxi-mmc sdc1: detmode:manually by software
[    2.922040] usbcore: registered new interface driver usbhid
[    2.922043] usbhid: USB HID core driver
[    2.925022] codec supply avcc not found, using dummy regulator
[    2.925232] [sunxi_internal_codec_probe]: audiocodec avcc set vol failed
[    2.925242] codec supply cpvin not found, using dummy regulator
[    2.925454] [sunxi_internal_codec_probe]: audiocodec cpvin set vol failed
[    2.926127] sunxi-internal-codec codec: pa_power_always_on get failed and set it off.
[    2.926134] digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_power_always_on:0
[    2.926142] adcdrc_cfg:0, adchpf_cfg:0, dacdrc_cfg:0, dachpf:0
[    2.926330] sunxi-internal-codec codec: [sunxi_internal_codec_probe] codec probe finished.
[    2.928176] [sunxi_card_init] card init finished.
[    2.928587] Audio: [soc_new_pcm] -> 2699
[    2.928591] Audio: [soc_new_pcm] -> 2718
[    2.929273] Audio: [soc_new_pcm] -> 2746
[    2.930332] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.930368] mmc0: new DDR MMC card at address 0001
[    2.931750] sunxi-codec-machine sndcodec: sun50iw10codec <-> codec mapping ok
[    2.932801] mmcblk0: mmc0:0001 AJTD4R 14.6 GiB
[    2.937032] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.937544] mmcblk0boot0: mmc0:0001 AJTD4R partition 1 4.00 MiB
[    2.938820] input: sun50iw10-codec sunxi Audio Jack as /devices/platform/soc/sndcodec/sound/card0/input2
[    2.940259] [audio] hp_detect_case: 0
[    2.940613] sunxi-mmc sdc1: card claims to support voltages below defined range
[    2.940789] sunxi-codec-machine sndcodec: [sunxi_card_dev_probe] register card finished.
[    2.941338] u32 classifier
[    2.941340]     Actions configured
[    2.941347] Netfilter messages via NETLINK v0.30.
[    2.942246] mmcblk0boot1: mmc0:0001 AJTD4R partition 2 4.00 MiB
[    2.942417] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
[    2.942935] mmcblk0rpmb: mmc0:0001 AJTD4R partition 3 4.00 MiB
[    2.943752] ctnetlink v0.93: registering with nfnetlink.
[    2.973103] ip_tables: (C) 2000-2006 Netfilter Core Team
[    2.977765] Initializing XFRM netlink socket
[    2.977834]  mmcblk0: p1 p2 p3 p4 p5 p6
[    2.985598] NET: Registered protocol family 10
[    2.996896] NET: Registered protocol family 17
[    2.997912] 8021q: 802.1Q VLAN Support v1.8
[    3.039124] get usb_detect_mode is fail, 22
[    3.043125] sunxi-rtc rtc: setting system clock to 1970-01-01 00:00:04 UTC (4)
[    3.043887] usb1-vbus: disabling
[    3.043892] vdd_3v3: disabling
[    3.043896] ALSA device list:
[    3.043900]   #0: sun50iw10-codec
[    3.044260] Freeing unused kernel memory: 448K
[    3.151393] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[    3.151553] sunxi-mmc sdc1: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[    3.165620] sunxi-mmc sdc1: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
[    3.429174] mmc2: new high speed SDIO card at address 0001
[/init]: getty is ttyS0
[/init]: RootDevice is "/dev/mmcblk0p4" , GPT_SUPPORT=1
[/init]: Try to load EMMC ...
e2fsck 1.42.12 (29-Aug-2014)
/dev/mmcblk0p4: recovering journal
Setting free inodes count to 8006 (was 8021)
Setting free blocks count to 4108 (was 4116)
/dev/mmcblk0p4: clean, 1210/9216 files, 32756/368[    3.517906] EXT4-fs (mmcblk0p4): barriers disabled
64 blocks
[    3.528455] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: noauto_da_alloc,barrier=0,data=ordered
mount: mounting proc on /proc failed: Device or resource busy
mount: mounting sysfs on /sys fa[    3.674268] EXT4-fs (mmcblk0p4): re-mounted. Opts: nobarrier,noauto_da_alloc,data=ordered
iled: Device or resource busy
insmod: can't insert '/lib/modules/4.9.170/disp.ko': No such file or directory
boot-res device: /dev/mmcblk0p1
[    3.725401] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.

login[908]: root login on 'ttyS0'
nand activated #0
[    3.896568] get ctp_power is fail, -22
[    3.900824] sunxi_ctp_startup: ctp_power_io is invalid.
[    3.906748] get ctp_gesture_wakeup fail, no gesture wakeup
[    3.912945] 5-0014 supply ctp not found, using dummy regulator
[    4.067737] sunxi_i2c_do_xfer()1923 - [i2c5] incomplete xfer (status: 0x20, dev addr: 0x14)
[    4.077318] sunxi_i2c_do_xfer()1923 - [i2c5] incomplete xfer (status: 0x20, dev addr: 0x14)
[    4.086892] sunxi_i2c_do_xfer()1923 - [i2c5] incomplete xfer (status: 0x20, dev addr: 0x14)
[    4.096505] sunxi_i2c_do_xfer()1923 - [i2c5] incomplete xfer (status: 0x20, dev addr: 0x14)
[    4.106072] sunxi_i2c_do_xfer()1923 - [i2c5] incomplete xfer (status: 0x20, dev addr: 0x14)
[    4.115496] <<-GTP-ERROR->> I2C Read: 0x8140, 6 bytes failed, errcode: -70! Process reset.
[    4.231522] <<-GTP-ERROR->> GTP read version failed
[    4.237023] Read version failed.
[    4.264639] input: gt9xxnew_ts as /devices/virtual/input/input3
script_fetch device name is ft6236
[    9.519493]
[    9.519493] insmod_device_driver
[    9.519493]
-------swith to adb....
[    9.926255] file system registered
init adb main
[    9.966383] read descriptors
Handling main()
[    9.969965] read strings
Time out,can not find tp event num /dev/input/event
camera activated #0
camera not activated
root@dragonboard:~# dragonboard(msg): core: parse script /boot/test_config.fex...
dragonboard(debug): the length of script is 10137
dragonboard(debug): script shmid = 0
dragonboard(msg): core: init script...
dragonboard(debug): script: main key count #23
dragonboard(msg): script: V1.0.0
dragonboard(msg): core: init view...
dragonboard(msg): core: parse test case from script...
dragonboard(msg): core: total test cases #10
dragonboard(msg): core: total test cases_auto #6
dragonboard(msg): core: total test cases_manual #4
dragonboard(debug): view: init...
dragonboard(msg): directfb view init...
dragonboard(msg): disp_output_type=1

   ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.11 |~~~~~~~~~~~~~~~~~~~~~~~~~~
        (c) 2001-2010  The world wide DirectFB Open Source Community
        (c) 2000-2004  Convergence (integrated media) GmbH
      ----------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2012-05-04 09:52)
(*) Direct/Memcpy: Using libc memcpy()
(*) DirectFB/FBDev: Found '' (ID 0) with frame buffer at 0xffe00000, 1800k (MMIO 0x00000000, 0k)
(*) Direct/Thread: Started 'Keyboard Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(*) FBDev/Mode: Setting 480x480 RGB32
(*) FBDev/Mode: Switched to 480x480 (virtual 480x480) at 32 bit (RGB32), pitch 1920
(*) FBDev/Mode: Setting 480x480 RGB32
(*) FBDev/Mode: Switched to 480x480 (virtual 480x480) at 32 bit (RGB32), pitch 1920
dragonboard(msg): screen_width: 480, sceen_height: 480
(*) Direct/Interface: Loaded 'FT2' implementation of 'IDirectFBFont'.
dragonboard(debug): manual test case window init...
dragonboard(debug): manual_window.desc.height=188
dragonboard(debug): auto test case window init...
dragonboard(debug): misc window init...
dragonboard(debug): reboot button init...
dragonboard(debug): poweroff button init...
dragonboard(debug): mic window init...
dragonboard(debug): wifi list window init...
this is the mic_audio_receive thread...
this is the wifi_hot_point_proccess thread...
dragonboard(msg): ########screen_width=1024
dragonboard(msg): ########screen_height=768
dragonboard(msg): tp draw color: 0xffffffff
------------- to open video node
-------swith to adb done!
[   11.136600] sunxi_set_cur_vol_work()403 WARN: get power supply failed
[   11.227726] android_work: sent uevent USB_STATE=CONNECTED
[   11.233834] sunxi_set_cur_vol_work()403 WARN: get power supply failed
[   11.358399] configfs-gadget gadget: high-speed config #1: c
[   11.364798] android_work: sent uevent USB_STATE=CONFIGURED
[   12.824098] adbd (1025): /proc/1025/oom_adj is deprecated, please use /proc/1025/oom_score_adj instead.
[   13.392090] random: crng init done
dragonboard(error): Can't not open /dev/video0
dragonboard(msg): buildin_tc_init...
view/df_view_pad.c <2071>:
        (#) DirectFBError [dfb->GetInputDevice(dfb, 1, &tp_dev)]: Requested ID not found!
 (!!!)  *** WARNING [Application exited without deinitialization of DirectFB!] *** [core.c:881 in dfb_core_deinit_check()]
 (!!!)  *** WARNING [still objects in 'Window Pool'] *** [object.c:241 in fusion_object_pool_destroy()]
 (!!!)  *** WARNING [still objects in 'Layer Region Pool'] *** [object.c:241 in fusion_object_pool_destroy()]
 (!!!)  *** WARNING [still objects in 'Layer Context Pool'] *** [object.c:241 in fusion_object_pool_destroy()]
 (!!!)  *** WARNING [still objects in 'Surface Pool'] *** [object.c:241 in fusion_object_pool_destroy()]

root@dragonboard:~#
root@dragonboard:~#

开机画面在 ST7701,

cat /dev/urandom > /dev/fb0    ST7701有雪花
cat /dev/urandom > /dev/fb1    ST7701无反应

离线

楼主 #2 2022-06-27 09:57:53

yixiuge
会员
注册时间: 2022-04-07
已发帖子: 40
积分: 50

Re: 收到小智SW106开发板到手,试着玩一玩

在楼上 board.dts 基础上

改为:

disp_mode                = <0>;
[253]HELLO! BOOT0 is starting!
[256]BOOT0 commit : dc54be6
[258]set pll start
[260]periph0 has been enabled
[264]set pll end
[266][pmu]: bus read error
[268][pmu]: bus read error
[276]vaild para:1  select dram para0
[280]board init ok
[282]DRAM BOOT DRIVE INFO: V0.19
[285]the chip id is 0x2400
[287]the chip id is 0x2400
[290]the chip id is 0x2400
[293]the chip id is 0x2400
[295]the chip id is 0x2400
[298]chip id check OK
[300]DRAM_VCC set to 1100 mv
[303]DRAM CLK =792 MHZ
[305]DRAM Type =8 (3:DDR3,4:DDR4,7:LPDDR3,8:LPDDR4)
[313]DRAM SIZE =1024 MBytes, para1 = 30fa, para2 = 4000000, dram_tpr13 = 6063
[326]DRAM simple test OK.
[328]dram size =1024
[331]chipid = 53002400
[333]nsi init ok 2020-4-7
[336]card no is 2
[338]sdcard 2 line count 8
[341][mmc]: mmc driver ver 2020-05-25 09:40
[350][mmc]: Wrong media type 0x0
[353][mmc]: ***Try SD card 2***
[357][mmc]: mmc 2 cmd 8 timeout, err 100
[361][mmc]: mmc 2 cmd 8 err 100
[364][mmc]: mmc 2 send if cond failed
[369][mmc]: mmc 2 cmd 55 timeout, err 100
[373][mmc]: mmc 2 cmd 55 err 100
[376][mmc]: mmc 2 send app cmd failed
[380][mmc]: ***Try MMC card 2***
[405][mmc]: RMCA OK!
[407][mmc]: mmc 2 bias 4
[410][mmc]: MMC 5.1
[412][mmc]: HSSDR52/SDR25 8 bit
[415][mmc]: 50000000 Hz
[417][mmc]: 14910 MB
[419][mmc]: ***SD/MMC 2 init OK!!!***
[476]Loading boot-pkg Succeed(index=0).
[480]Entry_name        = u-boot
[487]Entry_name        = monitor
[490]Entry_name        = scp
[498]set arisc reset to de-assert state
[502]Entry_name        = dtb
[506]tunning data addr:0x4a0003e8
[509]Jump to second Boot.
NOTICE:  BL3-1: v1.0(debug):cc1f5d7
NOTICE:  BL3-1: Built : 10:23:25, 2020-04-08
NOTICE:  BL3-1 commit: 8
ERROR:   Error initializing runtime service tspd_fast
NOTICE:  BL3-1: Preparing for EL3 exit to normal world
NOTICE:  BL3-1: Next image address = 0x4a000000
NOTICE:  BL3-1: Next image spsr = 0x1d3

U-Boot 2018.05 (Apr 17 2022 - 05:02:05 +0000) Allwinner Technology

[00.588]CPU:   Allwinner Family
[00.590]Model: sun50iw10
I2C:   ready
[00.842]DRAM:  1 GiB
[00.845]Relocation Offset is: 35f13000
[00.875]secure enable bit: 0
[00.877][ARISC] :arisc initialize
[00.882][ARISC ERROR] :get [allwinner,sunxi-hwspinlock] device node error
CACHE: Misaligned operation at range [7ffa6d88, 7ffa70a0]
[00.894][ARISC] :arisc para ok
[SCP] :sunxi-arisc driver begin startup 2
[SCP] :0x1
[SCP] :arisc version: [ca79327ac09021f1a13c79dd97da281c7be9a63arid-]
[SCP] :arisc startup ready
[SCP] :arisc startup notify message feedback
[SCP] :send hard sync feedback message: 0x900200
[SCP] :sunxi-arisc driver v1.10 is starting
[00.925][ARISC] :sunxi-arisc driver startup succeeded
[00.930]pmu_axp81X_probe pmic_bus_read fail
[00.934]pmu_axp858_probe pmic_bus_read fail
[00.938]PMU: no found
[00.940]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=400Mhz
[00.947]init_clocks:finish
[00.949]not need merged sunxi overlay
[00.953]drv_disp_init
request pwm success, pwm7:pwm7:0x300a000.
request pwm success, pwm8:pwm8:0x300a000.
[00.991]drv_disp_init finish
[00.999]gic: sec monitor mode
[01.002]flash init start
[01.004]workmode = 0,storage type = 2
[01.007][mmc]: mmc driver ver uboot2018:2020-5-25 9:26:00-20201021190
[01.021][mmc]: SUNXI SDMMC Controller Version:0x50300
[01.046][mmc]: Best spd md: 2-HSDDR52/DDR50, freq: 2-50000000, Bus width: 8
[01.053]sunxi flash init ok
[01.056]Loading Environment from SUNXI_FLASH... OK
[01.064]no secure os for keybox operation
[01.068]try to burn key
[01.071]out of usb burn from boot: not need burn key
[01.076]boot_gui_init:start
[01.080]set disp.dev2_output_type fail. using defval=0
[01.085]ST7701 =====================LCD_open_flow
[01.089]disp 1, clk: pll(176000000),clk(176000000),dclk(11000000) dsi_rate(176000000)
     clk real:pll(288000000),clk(288000000),dclk(18000000) dsi_rate(0)
[01.103]ST7701 =====================LCD_open_flow
[01.107]ST7701 =====================LCD_power_on
[01.415]switch device: sel=1, type=1, mode=4, format=0, bits=0, eotf=4, cs=260
[01.422]boot_gui_init:finish
[01.425]bmp_name=bootlogo.bmp
partno erro : can't find partition bootloader
[01.435]ST7701 =====================LCD_open_flow
[01.440]2022-06-19 22:37 build ST7701 =====================LCD_panel_init
[01.446]2022-06-19 22:37 build ST7701 =====================LCD_panel_init
[01.453]2022-06-19 22:37 build ST7701 =====================LCD_panel_init
[01.459]2022-06-19 22:37 build ST7701 =====================LCD_panel_init
[01.466]2022-06-19 22:37 build ST7701 =====================LCD_panel_init
[01.472]2022-06-19 22:37 build ST7701 =====================LCD_panel_init
691254 bytes read in 244 ms (2.7 MiB/s)
[01.687]read item0 copy0
[01.689]Item0 (Map) magic is bad
[01.692]the secure storage item0 copy0 magic is bad
[01.697]Item0 (Map) m[01.698]ST7701 =====================LCD_open_flow
[01.703]soc ic_ver:0x0, qa_val:0x0, markid:0x53002400 dclk[0-9999]
agic is bad
[01.710]the secure storage item0 copy1 magic is bad
[01.714]Item0 (Map) magic is bad
[01.717]the secure storage map is empty
[01.721]no item name device_unlock in the map
[01.725]no item name fastboot_status_flag in the map
[01.730]sunxi secure storage has no flag
[01.735][mmc]: delete mmc-hs400-1_8v from dtb
[01.739][mmc]: delete mmc-hs200-1_8v from dtb
[01.743][mmc]: get max-frequency ok 50000000 Hz
[01.749](weak)update dtb dram start
[01.753]update dtb dram  end
[01.756]update dts
[01.758]no item name snum in the map
partno erro : can't find partition private
[01.768]no item name mac in the map
partno erro : can't find partition private
[01.778]no item name wifi_mac in the map
partno erro : can't find partition private
[01.788]no item name bt_mac in the map
partno erro : can't find partition private
[01.799]no item name specialstr in the map
partno erro : can't find partition[01.809]ST7701 =====================LCD_open_flow
[01.813]ST7701 =====================LCD_bl_open
[01.820]ST7701 =====================LCD_open_flow
[01.825]ST7701 =====================LCD_open_flow
[01.829]LCD open finish
 private
[01.834]update part info
[01.838]key 0
[01.841]no misc partition is found
[01.844]update bootcmd
[01.846]serial num is: 0c001415a0c086d218d
Hit any key to stop autoboot:  0
[01.859]partinfo: name boot, start 0x22000, size 0x10000
[02.024]in boot normal mode,pass normal para to cmdline
[02.030]android.hardware = sun50iw10p1
[02.033]androidboot.dtbo_idx  can't findAndroid's image name: sun50i_arm64
[02.102]Starting kernel ...

[02.105][mmc]: mmc exit start
[02.124][mmc]: mmc 2 exit ok
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.170 (whycan@ubuntu) (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05) ) #9 SMP PREEMPT Sun Jun 26 21:55:05 CST 2022
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] disp reserve base 0x7bf61080 ,size 0x300000
[    0.000000] cma: Reserved 8 MiB at 0x000000007f800000
[    0.000000] On node 0 totalpages: 262144
[    0.000000]   DMA zone: 4096 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 262144 pages, LIFO batch:31
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 21 pages/cpu @ffffffc03f70b000 s45696 r8192 d32128 u86016
[    0.000000] pcpu-alloc: s45696 r8192 d32128 u86016 alloc=21*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 258048
[    0.000000] Kernel command line: earlyprintk=sunxi-uart,0x05000000 initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p4 init=/init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:boot@mmcblk0p3:rootfs@mmcblk0p4:klog@mmcblk0p5:UDISK@mmcblk0p6 cma=8M snum=0c001415a0c086d218d mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.serialno=0c001415a0c086d218d androidboot.hardware=sun50iw10p1 boot_type=2 androidboot.boot_type=2 androidboot.secure_os_exist=0 androidboot.trustchain=false gpt=1 uboot_message=2018.05(04/17/2022-05:02:05) disp_reserve=3145728,0x7bf61080 bootreason=unknow
[    0.000000] log_buf_len individual max cpu contribution: 4096 bytes
[    0.000000] log_buf_len total cpu_extra contributions: 12288 bytes
[    0.000000] log_buf_len min size: 16384 bytes
[    0.000000] log_buf_len: 32768 bytes
[    0.000000] early log buf free: 14220(86%)
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.000000] Memory: 988592K/1048576K available (6590K kernel code, 1310K rwdata, 2020K rodata, 448K init, 267K bss, 51792K reserved, 8192K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000   (   250 GB)
[    0.000000]       .text : 0xffffff8008080000 - 0xffffff80086f0000   (  6592 KB)
[    0.000000]     .rodata : 0xffffff80086f0000 - 0xffffff80088f0000   (  2048 KB)
[    0.000000]       .init : 0xffffff80088f0000 - 0xffffff8008960000   (   448 KB)
[    0.000000]       .data : 0xffffff8008960000 - 0xffffff8008aa7808   (  1311 KB)
[    0.000000]        .bss : 0xffffff8008aa7808 - 0xffffff8008aea4c8   (   268 KB)
[    0.000000]     fixed   : 0xffffffbefe7fb000 - 0xffffffbefec00000   (  4116 KB)
[    0.000000]     PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000   (    16 MB)
[    0.000000]     vmemmap : 0xffffffbf00000000 - 0xffffffc000000000   (     4 GB maximum)
[    0.000000]               0xffffffbf00000000 - 0xffffffbf01000000   (    16 MB actual)
[    0.000000]     memory  : 0xffffffc000000000 - 0xffffffc040000000   (  1024 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 64.
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000004] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.008203] Console: colour dummy device 80x25
[    0.012414] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.022619] pid_max: default: 32768 minimum: 301
[    0.027667] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.033897] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.043976] sched-energy: CPU device node has no sched-energy-costs
[    0.047280] Invalid sched_group_energy for CPU0
[    0.051749] CPU0: update cpu_capacity 1024
[    0.067888] ASID allocator initialised with 32768 entries
[    0.124098] Detected VIPT I-cache on CPU1
[    0.124150] Invalid sched_group_energy for CPU1
[    0.124153] CPU1: update cpu_capacity 1024
[    0.124156] CPU1: Booted secondary processor [410fd034]
[    0.152142] Detected VIPT I-cache on CPU2
[    0.152171] Invalid sched_group_energy for CPU2
[    0.152174] CPU2: update cpu_capacity 1024
[    0.152177] CPU2: Booted secondary processor [410fd034]
[    0.180207] Detected VIPT I-cache on CPU3
[    0.180234] Invalid sched_group_energy for CPU3
[    0.180236] CPU3: update cpu_capacity 1024
[    0.180239] CPU3: Booted secondary processor [410fd034]
[    0.180313] Brought up 4 CPUs
[    0.230949] SMP: Total of 4 processors activated.
[    0.235638] CPU features: detected feature: 32-bit EL0 Support
[    0.241443] CPU features: detected feature: Kernel page table isolation (KPTI)
[    0.251461] CPU: All CPU(s) started at EL1
[    0.252724] alternatives: patching kernel code
[    0.257623] Invalid sched_group_energy for CPU3
[    0.261641] Invalid sched_group_energy for Cluster3
[    0.266490] Invalid sched_group_energy for CPU2
[    0.270997] Invalid sched_group_energy for Cluster2
[    0.275849] Invalid sched_group_energy for CPU1
[    0.280356] Invalid sched_group_energy for Cluster1
[    0.285209] Invalid sched_group_energy for CPU0
[    0.289716] Invalid sched_group_energy for Cluster0
[    0.295709] devtmpfs: initialized
[    0.541872] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.546000] futex hash table entries: 1024 (order: 5, 131072 bytes)
[    0.552846] atomic64_test: passed
[    0.555502] pinctrl core: initialized pinctrl subsystem
[    0.565605] NET: Registered protocol family 16
[    0.569539] dump_class_init,861, success
[    0.572853] sunxi iommu: irq = 8
[    0.573685] vdso: 2 pages (1 code @ ffffff80086f7000, 1 data @ ffffff8008964000)
[    0.580938] DMA: preallocated 256 KiB pool for atomic allocations
[    0.597673] sun50iw10p1-r-pinctrl r_pio: initialized sunXi PIO driver
[    0.673008] sun50iw10p1-pinctrl pio: initialized sunXi PIO driver
[    0.685998] iommu: Adding device 1c0e000.ve to group 0
[    0.704267] iommu: Adding device 6000000.disp to group 0
[    0.706843] iommu: Adding device 6480000.g2d to group 0
[    0.723171] iommu: Adding device csi0 to group 0
[    0.724404] iommu: Adding device csi1 to group 0
[    0.729688] iommu: Adding device 2108000.tdm to group 0
[    0.733133] iommu: Adding device 2100000.isp to group 0
[    0.738406] iommu: Adding device 2102000.isp to group 0
[    0.743176] iommu: Adding device 2110000.scaler to group 0
[    0.748699] iommu: Adding device 2110400.scaler to group 0
[    0.754116] iommu: Adding device 2110800.scaler to group 0
[    0.759554] iommu: Adding device 2110c00.scaler to group 0
[    0.847158] pwm module init!
[    0.857331] sunxi-pm debug v3.10
[    0.863980] SCSI subsystem initialized
[    0.865964] usbcore: registered new interface driver usbfs
[    0.867913] usbcore: registered new interface driver hub
[    0.873106] usbcore: registered new device driver usb
[    0.878481] sunxi_i2c_adap_init()2649 - init
[    0.883372] sunxi_i2c_probe()2372 - [i2c5] twi_drv_used = 0
[    0.887688] sunxi_i2c_probe()2379 - [i2c5] twi_pkt_interval = 0
[    0.893591] twi5 supply twi not found, using dummy regulator
[    0.899466] twi_request_gpio()458 - [i2c5] init name: (null)
[    0.906944] media: Linux media interface: v0.10
[    0.909588] Linux video capture interface: v2.00
[    0.916320] ion_parse_dt_heap_common: id 0 type 0 name sys_user align 1000
[    0.921426] ion_parse_dt_heap_common: id 4 type 4 name cma align 1000
[    0.927801] ion_parse_dt_heap_common: id 6 type 6 name secure align 1000
[    0.934769] ion_heap_create: Invalid heap type 6
[    0.938950] Advanced Linux Sound Architecture Driver Initialized.
[    0.947461] Bluetooth: Core ver 2.22
[    0.948205] NET: Registered protocol family 31
[    0.952516] Bluetooth: HCI device and connection manager initialized
[    0.958868] Bluetooth: HCI socket layer initialized
[    0.963722] Bluetooth: L2CAP socket layer initialized
[    0.968872] Bluetooth: SCO socket layer initialized
[    0.976203] clocksource: Switched to clocksource arch_sys_counter
[    1.032598] udc_init,0
[    1.033006] NET: Registered protocol family 2
[    1.048725] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    1.050211] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[    1.056823] TCP: Hash tables configured (established 8192 bind 8192)
[    1.063123] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    1.068891] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    1.075979] NET: Registered protocol family 1
[    1.080275] Unpacking initramfs...
[    1.287010] Freeing initrd memory: 2544K
[    1.294519] workingset: timestamp_bits=61 max_order=18 bucket_order=0
[    1.385552] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.387560] ntfs: driver 2.1.32 [Flags: R/W].
[    1.399031] io scheduler noop registered
[    1.399076] io scheduler deadline registered
[    1.403435] io scheduler cfq registered (default)
[    1.412582] [DISP]disp_module_init
[    1.414743] [DISP] disp_init,line:2260:
[    1.414780] smooth display screen:1 type:1 mode:4
[    1.494229] [DISP] lcd_clk_config,line:665:
[    1.494274] disp 1, clk: pll(176000000),clk(176000000),dclk(11000000) dsi_rate(176000000)
[    1.494274]      clk real:pll(288000000),clk(288000000),dclk(18000000) dsi_rate(0)
[    1.497357] [DISP]disp_module_init finish
[    1.521002] uart uart0: get regulator failed
[    1.521062] uart0 supply uart not found, using dummy regulator
[    1.526000] uart0: ttyS0 at MMIO 0x5000000 (irq = 349, base_baud = 1500000) is a SUNXI
[    1.533372] sw_console_s▒[    1.541445] console [ttyS0] enabled
[    1.541445] console [ttyS0] enabled
[    1.545458] bootconsole [earlycon0] disabled
[    1.545458] bootconsole [earlycon0] disabled
[    1.555873] uart uart1: get regulator failed
[    1.562717] uart1 supply uart not found, using dummy regulator
[    1.569833] uart1: ttyS1 at MMIO 0x5000400 (irq = 350, base_baud = 1500000) is a SUNXI
[    1.581347] misc dump reg init
[    1.588660] [drm] Initialized
[    1.592771] Unable to detect cache hierarchy for CPU 0
[    1.598736] [NAND][NE] Not found valid nand node on dts
[    1.605089] sunxi-bt soc@03000000:bt@0: Missing bt_power.
[    1.611175] sunxi-bt soc@03000000:bt@0: bt_power_name ((null))
[    1.617749] sunxi-bt soc@03000000:bt@0: Missing bt_io_regulator.
[    1.624520] sunxi-bt soc@03000000:bt@0: io_regulator_name ((null))
[    1.631525] sunxi-bt soc@03000000:bt@0: bt_rst gpio=357  mul-sel=1  pull=-1  drv_level=-1  data=0
[    1.641690] sunxi-bt soc@03000000:bt@0: devm_pinctrl_get() failed!
[    1.650144] sunxi-wlan soc@03000000:wlan@0: wlan_busnum (1)
[    1.656429] sunxi-wlan soc@03000000:wlan@0: Missing wlan_power.
[    1.663103] sunxi-wlan soc@03000000:wlan@0: wlan_power_name ((null))
[    1.670260] sunxi-wlan soc@03000000:wlan@0: Missing wlan_io_regulator.
[    1.677616] sunxi-wlan soc@03000000:wlan@0: io_regulator_name ((null))
[    1.684991] sunxi-wlan soc@03000000:wlan@0: wlan_regon gpio=362  mul-sel=1  pull=-1  drv_level=-1  data=0
[    1.695807] sunxi-wlan soc@03000000:wlan@0: get gpio chip_en failed
[    1.702868] sunxi-wlan soc@03000000:wlan@0: get gpio power_en failed
[    1.710042] sunxi-wlan soc@03000000:wlan@0: wlan_hostwake gpio=359  mul-sel=1  pull=-1  drv_level=-1  data=0
[    1.721410] sunxi-wlan soc@03000000:wlan@0: clk not config
[    1.727594] sunxi-wlan soc@03000000:wlan@0: dcxo not config
[    1.733954] sunxi-wlan soc@03000000:wlan@0: pinctrl_lookup_state(default) failed! return ffffffffffffffed
[    1.746709] [ADDR_MGT] addr_mgt_probe: success.
[    1.757236] libphy: Fixed MDIO Bus: probed
[    1.761863] tun: Universal TUN/TAP device driver, 1.6
[    1.767556] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    1.777982] gmac-power0: NULL
[    1.781338] gmac-power1: NULL
[    1.784684] gmac-power2: NULL
[    1.791164] PPP generic driver version 2.4.2
[    1.796951] PPP BSD Compression module registered
[    1.802262] PPP Deflate Compression module registered
[    1.807988] PPP MPPE Compression module registered
[    1.813387] NET: Registered protocol family 24
[    1.818463] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.826263] get ehci0-controller, regulator_io is no nocare
[    1.832545] get ehci0-controller wakeup-source is fail.
[    1.838768] sunxi ehci0-controller don't init wakeup source
[    1.845056] [sunxi-ehci0]: probe, pdev->name: 5101000.ehci0-controller, sunxi_ehci: 0xffffff8008adc048, 0x:ffffff8008afd000, irq_no:161
[    1.858759] [sunxi-ehci0]: Not init ehci0
[    1.863514] get ehci1-controller, regulator_io is no nocare
[    1.870274] [sunxi-ehci1]: probe, pdev->name: 5200000.ehci1-controller, sunxi_ehci: 0xffffff8008adc758, 0x:ffffff8008b19000, irq_no:163
[    1.884027] 5200000.ehci1-controller supply drvvbus not found, using dummy regulator
[    1.893002] sunxi-ehci 5200000.ehci1-controller: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.903287] sunxi-ehci 5200000.ehci1-controller: new USB bus registered, assigned bus number 1
[    1.913785] sunxi-ehci 5200000.ehci1-controller: irq 355, io mem 0xffffff80088f0458
[    1.936222] sunxi-ehci 5200000.ehci1-controller: USB 0.0 started, EHCI 1.00
[    1.947759] hub 1-0:1.0: USB hub found
[    1.952091] hub 1-0:1.0: 1 port detected
[    1.959044] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.966498] get ohci0-controller, regulator_io is no nocare
[    1.972783] get ohci0-controller wakeup-source is fail.
[    1.979016] sunxi ohci0-controller don't init wakeup source
[    1.985444] [sunxi-ohci0]: probe, pdev->name: 5101000.ohci0-controller, sunxi_ohci: 0xffffff8008adc3d0
[    1.995924] [sunxi-ohci0]: Not init ohci0
[    2.000674] get ohci1-controller, regulator_io is no nocare
[    2.007515] [sunxi-ohci1]: probe, pdev->name: 5200000.ohci1-controller, sunxi_ohci: 0xffffff8008adcae0
[    2.018089] 5200000.ohci1-controller supply drvvbus not found, using dummy regulator
[    2.027112] sunxi-ohci 5200000.ohci1-controller: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    2.036985] sunxi-ohci 5200000.ohci1-controller: new USB bus registered, assigned bus number 2
[    2.046966] sunxi-ohci 5200000.ohci1-controller: irq 356, io mem 0xffffff80088f0458
[    2.119888] hub 2-0:1.0: USB hub found
[    2.124226] hub 2-0:1.0: 1 port detected
[    2.131559] usbcore: registered new interface driver uas
[    2.137941] usbcore: registered new interface driver usb-storage
[    2.144892] usbcore: registered new interface driver ums-alauda
[    2.151742] usbcore: registered new interface driver ums-cypress
[    2.158684] usbcore: registered new interface driver ums-datafab
[    2.165649] usbcore: registered new interface driver ums_eneub6250
[    2.172792] usbcore: registered new interface driver ums-freecom
[    2.179743] usbcore: registered new interface driver ums-isd200
[    2.186590] usbcore: registered new interface driver ums-jumpshot
[    2.193647] usbcore: registered new interface driver ums-karma
[    2.200404] usbcore: registered new interface driver ums-onetouch
[    2.207568] usbcore: registered new interface driver ums-realtek
[    2.214513] usbcore: registered new interface driver ums-sddr09
[    2.221381] usbcore: registered new interface driver ums-sddr55
[    2.228245] usbcore: registered new interface driver ums-usbat
[    2.235114] usb_serial_number:20080411
[    2.240715] sunxikbd_key_init: key0 vol= 210 code= 115
[    2.246513] sunxikbd_key_init: key1 vol= 410 code= 114
[    2.252302] sunxikbd_key_init: key2 vol= 590 code= 139
[    2.258094] sunxikbd_key_init: key3 vol= 750 code= 28
[    2.263785] sunxikbd_key_init: key4 vol= 880 code= 102
[    2.270926] input: sunxi-keyboard as /devices/virtual/input/input0
[    2.279574] sun50iw10p1-pinctrl pio: pin PH3 already requested by gmac0; cannot claim for ir0
[    2.289182] sun50iw10p1-pinctrl pio: pin-227 (ir0) status -22
[    2.295662] sun50iw10p1-pinctrl pio: could not request pin 227 (PH3) from group PH3  on device pio
[    2.305750] sunxi-ir-tx ir0: Error applying setting, reverse things back
[    2.313402] sunxi-ir-tx: probe of ir0 failed with error -22
[    2.321572] sunxi_gpadc_init,1536, success
[    2.327899] input: sunxi-gpadc0 as /devices/virtual/input/input1
[    2.337774] sunxi-rtc rtc: rtc core: registered sunxi-rtc as rtc0
[    2.344890] sunxi-rtc rtc: RTC enabled
[    2.349603] i2c /dev entries driver
[    2.354718] IR NEC protocol handler initialized
[    2.359827] IR RC5(x/sz) protocol handler initialized
[    2.365521] IR RC6 protocol handler initialized
[    2.370624] IR JVC protocol handler initialized
[    2.375728] IR Sony protocol handler initialized
[    2.380929] IR SANYO protocol handler initialized
[    2.386231] IR Sharp protocol handler initialized
[    2.391529] IR MCE Keyboard/mouse protocol handler initialized
[    2.398100] IR XMP protocol handler initialized
[    2.403605] usbcore: registered new interface driver uvcvideo
[    2.410081] USB Video Class driver (1.1.1)
[    2.414697] sunxi cedar version 0.1
[    2.418910] VE: install start!!!
[    2.418910]
[    2.424430] cedar_ve: cedar-ve the get irq is 347
[    2.430891] VE: get debugfs_mpp_root is NULL, please check mpp
[    2.430891]
[    2.439128] VE: sunxi ve debug register driver failed!
[    2.439128]
[    2.448108] Bluetooth: HCI UART driver ver 2.3
[    2.453122] Bluetooth: HCI UART protocol H4 registered
[    2.458911] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    2.469342] sunxi-mmc sdc2: SD/MMC/SDIO Host Controller Driver(v3.46 2020-6-1 11:33-202006021635)
[    2.479606] sunxi-mmc sdc2: No vmmc regulator found
[    2.485111] sunxi-mmc sdc2: No vqmmc regulator found
[    2.490703] sunxi-mmc sdc2: No vdmmc regulator found
[    2.496298] sunxi-mmc sdc2: No vd33sw regulator found
[    2.501989] sunxi-mmc sdc2: No vd18sw regulator found
[    2.507682] sunxi-mmc sdc2: No vq33sw regulator found
[    2.513372] sunxi-mmc sdc2: No vq18sw regulator found
[    2.519939] sunxi-mmc sdc2: set host busy
[    2.524551] mmc:failed to get gpios
[    2.529197] sunxi-mmc sdc2: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.531898] random: fast init done
[    2.560222] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.588231] sunxi-mmc sdc2: detmode:alway in(non removable)
[    2.588252] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.596630] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.597715] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.608576] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.608657] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.621517] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.666335] sun50iw10p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0
[    2.675748] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.686646] sun50iw10p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0
[    2.686658] sun50iw10p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:uart0
[    2.686668] sun50iw10p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0
[    2.686679] sun50iw10p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:uart0
[    2.686690] sun50iw10p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0
[    2.687415] sunxi-mmc sdc0: SD/MMC/SDIO Host Controller Driver(v3.46 2020-6-1 11:33-202006021635)
[    2.687554] sunxi-mmc sdc0: ***ctl-spec-caps*** 8
[    2.687614] sunxi-mmc sdc0: No vmmc regulator found
[    2.687619] sunxi-mmc sdc0: No vqmmc regulator found
[    2.687623] sunxi-mmc sdc0: No vdmmc regulator found
[    2.687627] sunxi-mmc sdc0: No vd33sw regulator found
[    2.687632] sunxi-mmc sdc0: No vd18sw regulator found
[    2.687636] sunxi-mmc sdc0: No vq33sw regulator found
[    2.687640] sunxi-mmc sdc0: No vq18sw regulator found
[    2.688512] sunxi-mmc sdc0: set host busy
[    2.688596] sunxi-mmc sdc0: Got CD GPIO
[    2.689422] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.689445] sunxi-mmc sdc0: no vqmmc,Check if there is regulator
[    2.708223] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.728572] sunxi-mmc sdc0: detmode:gpio irq
[    2.728596] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[    2.730753] sunxi-mmc sdc1: SD/MMC/SDIO Host Controller Driver(v3.46 2020-6-1 11:33-202006021635)
[    2.730875] sunxi-mmc sdc1: ***ctl-spec-caps*** 8
[    2.730934] sunxi-mmc sdc1: No vmmc regulator found
[    2.730938] sunxi-mmc sdc1: No vqmmc regulator found
[    2.730943] sunxi-mmc sdc1: No vdmmc regulator found
[    2.730947] sunxi-mmc sdc1: No vd33sw regulator found
[    2.730951] sunxi-mmc sdc1: No vd18sw regulator found
[    2.730956] sunxi-mmc sdc1: No vq33sw regulator found
[    2.730960] sunxi-mmc sdc1: No vq18sw regulator found
[    2.731743] sunxi-mmc sdc1: set host busy
[    2.731849] mmc:failed to get gpios
[    2.731875] sunxi-mmc sdc1: min-frequency:400000
[    2.732584] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.732607] sunxi-mmc sdc1: no vqmmc,Check if there is regulator
[    2.743757] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing MMC-HS(SDR20) dt B
[    2.749067] sunxi-mmc sdc2: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing MMC-HS(SDR20) dt B
[    2.752224] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.754585] sunxi-mmc sdc2: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS(SDR20) dt B
[    2.771481] sunxi-mmc sdc2: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 8 timing MMC-DDR52 dt B
[    2.772228] sunxi-mmc sdc1: detmode:manually by software
[    2.774743] usbcore: registered new interface driver usbhid
[    2.774746] usbhid: USB HID core driver
[    2.777170] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
[    2.777599] codec supply avcc not found, using dummy regulator
[    2.777818] [sunxi_internal_codec_probe]: audiocodec avcc set vol failed
[    2.777828] codec supply cpvin not found, using dummy regulator
[    2.778013] [sunxi_internal_codec_probe]: audiocodec cpvin set vol failed
[    2.778676] sunxi-internal-codec codec: pa_power_always_on get failed and set it off.
[    2.778683] digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_power_always_on:0
[    2.778692] adcdrc_cfg:0, adchpf_cfg:0, dacdrc_cfg:0, dachpf:0
[    2.778880] sunxi-internal-codec codec: [sunxi_internal_codec_probe] codec probe finished.
[    2.780757] [sunxi_card_init] card init finished.
[    2.781198] Audio: [soc_new_pcm] -> 2699
[    2.781203] Audio: [soc_new_pcm] -> 2718
[    2.781892] Audio: [soc_new_pcm] -> 2746
[    2.782917] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
[    2.782957] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.784436] sunxi-codec-machine sndcodec: sun50iw10codec <-> codec mapping ok
[    2.788722] mmc0: new DDR MMC card at address 0001
[    2.789694] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.791217] mmcblk0: mmc0:0001 AJTD4R 14.6 GiB
[    2.791964] mmcblk0boot0: mmc0:0001 AJTD4R partition 1 4.00 MiB
[    2.792301] input: sun50iw10-codec sunxi Audio Jack as /devices/platform/soc/sndcodec/sound/card0/input2
[    2.792653] mmcblk0boot1: mmc0:0001 AJTD4R partition 2 4.00 MiB
[    2.793221] sunxi-mmc sdc1: card claims to support voltages below defined range
[    2.793244] mmcblk0rpmb: mmc0:0001 AJTD4R partition 3 4.00 MiB
[    2.796458] [audio] hp_detect_case: 0
[    2.796922] sunxi-codec-machine sndcodec: [sunxi_card_dev_probe] register card finished.
[    2.797597] u32 classifier
[    2.797599]     Actions configured
[    2.797606] Netfilter messages via NETLINK v0.30.
[    2.799010] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
[    2.800349] ctnetlink v0.93: registering with nfnetlink.
[    2.825600]  mmcblk0: p1 p2 p3 p4 p5 p6
[    2.840841] ip_tables: (C) 2000-2006 Netfilter Core Team
[    2.850709] Initializing XFRM netlink socket
[    2.857549] NET: Registered protocol family 10
[    2.863915] NET: Registered protocol family 17
[    2.864931] 8021q: 802.1Q VLAN Support v1.8
[    2.906079] get usb_detect_mode is fail, 22
[    2.909297] sunxi-rtc rtc: setting system clock to 1970-01-01 00:00:04 UTC (4)
[    2.910028] usb1-vbus: disabling
[    2.910034] vdd_3v3: disabling
[    2.910038] ALSA device list:
[    2.910041]   #0: sun50iw10-codec
[    2.910398] Freeing unused kernel memory: 448K
[    3.003201] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[    3.003344] sunxi-mmc sdc1: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[    3.017324] sunxi-mmc sdc1: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
[    3.304330] mmc2: new high speed SDIO card at address 0001
[/init]: getty is ttyS0
[/init]: RootDevice is "/dev/mmcblk0p4" , GPT_SUPPORT=1
[/init]: Try to load EMMC ...
e2fsck 1.42.12 (29-Aug-2014)
/dev/mmcblk0p4: recovering journal
Setting free inodes count to 8005 (was 8021)
Setting free blocks count to 4108 (was 4116)
/dev/mmcblk0p4: clean, 1211/9216 files, 32756/368[    3.379856] EXT4-fs (mmcblk0p4): barriers disabled
64 blocks
[    3.390033] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: noauto_da_alloc,barrier=0,data=ordered
mount: mounting proc on /proc failed: Device or resource busy
mount: mounting sysfs on /sys fa[    3.538073] EXT4-fs (mmcblk0p4): re-mounted. Opts: nobarrier,noauto_da_alloc,data=ordered
iled: Device or resource busy
insmod: can't insert '/lib/modules/4.9.170/disp.ko': No such file or directory
boot-res device: /dev/mmcblk0p1
[    3.589004] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.

login[908]: root login on 'ttyS0'
nand activated #0
[    3.760060] get ctp_power is fail, -22
[    3.764315] sunxi_ctp_startup: ctp_power_io is invalid.
[    3.770299] get ctp_gesture_wakeup fail, no gesture wakeup
[    3.776499] 5-0014 supply ctp not found, using dummy regulator
[    3.928448] sunxi_i2c_do_xfer()1923 - [i2c5] incomplete xfer (status: 0x20, dev addr: 0x14)
[    3.938068] sunxi_i2c_do_xfer()1923 - [i2c5] incomplete xfer (status: 0x20, dev addr: 0x14)
[    3.947636] sunxi_i2c_do_xfer()1923 - [i2c5] incomplete xfer (status: 0x20, dev addr: 0x14)
[    3.957207] sunxi_i2c_do_xfer()1923 - [i2c5] incomplete xfer (status: 0x20, dev addr: 0x14)
[    3.966782] sunxi_i2c_do_xfer()1923 - [i2c5] incomplete xfer (status: 0x20, dev addr: 0x14)
[    3.976239] <<-GTP-ERROR->> I2C Read: 0x8140, 6 bytes failed, errcode: -70! Process reset.
[    4.092251] <<-GTP-ERROR->> GTP read version failed
[    4.097786] Read version failed.
[    4.125395] input: gt9xxnew_ts as /devices/virtual/input/input3
script_fetch device name is ft6236
[    9.264218]
[    9.264218] insmod_device_driver
[    9.264218]
-------swith to adb....
[    9.787442] file system registered
init adb main
Handling main()
[    9.828337] read descriptors
[    9.833322] read strings
Time out,can not find tp event num /dev/input/event
camera activated #0
camera not activated
root@dragonboard:~# dragonboard(msg): core: parse script /boot/test_config.fex...
dragonboard(debug): the length of script is 10137
dragonboard(debug): script shmid = 0
dragonboard(msg): core: init script...
dragonboard(debug): script: main key count #23
dragonboard(msg): script: V1.0.0
dragonboard(msg): core: init view...
dragonboard(msg): core: parse test case from script...
dragonboard(msg): core: total test cases #10
dragonboard(msg): core: total test cases_auto #6
dragonboard(msg): core: total test cases_manual #4
dragonboard(debug): view: init...
dragonboard(msg): directfb view init...
dragonboard(msg): disp_output_type=0

   ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.11 |~~~~~~~~~~~~~~~~~~~~~~~~~~
        (c) 2001-2010  The world wide DirectFB Open Source Community
        (c) 2000-2004  Convergence (integrated media) GmbH
      ----------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2012-05-04 09:52)
(*) Direct/Memcpy: Using libc memcpy()
(*) DirectFB/FBDev: Found '' (ID 0) with frame buffer at 0xffe00000, 1800k (MMIO 0x00000000, 0k)
(*) Direct/Thread: Started 'Keyboard Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(*) FBDev/Mode: Setting 480x480 RGB32
(*) FBDev/Mode: Switched to 480x480 (virtual 480x480) at 32 bit (RGB32), pitch 1920
(*) FBDev/Mode: Setting 480x480 RGB32
(*) FBDev/Mode: Switched to 480x480 (virtual 480x480) at 32 bit (RGB32), pitch 1920
dragonboard(msg): screen_width: 480, sceen_height: 480
(*) Direct/Interface: Loaded 'FT2' implementation of 'IDirectFBFont'.
dragonboard(debug): manual test case window init...
dragonboard(debug): manual_window.desc.height=160
dragonboard(debug): auto test case window init...
dragonboard(debug): misc window init...
dragonboard(debug): reboot button init...
dragonboard(debug): poweroff button init...
dragonboard(debug): mic window init...
dragonboard(debug): wifi list window init...
this is the mic_audio_receive thread...
------------- to open video node
this is the wifi_hot_point_proccess thread...
-------swith to adb done!
[   10.998112] sunxi_set_cur_vol_work()403 WARN: get power supply failed
[   11.088386] android_work: sent uevent USB_STATE=CONNECTED
[   11.094490] sunxi_set_cur_vol_work()403 WARN: get power supply failed
[   11.219058] configfs-gadget gadget: high-speed config #1: c
[   11.225462] android_work: sent uevent USB_STATE=CONFIGURED
[   12.251079] adbd (1025): /proc/1025/oom_adj is deprecated, please use /proc/1025/oom_score_adj instead.
[   13.871868] random: crng init done
dragonboard(error): Can't not open /dev/video0
dragonboard(msg): core: draw test case to view...
dragonboard(debug): core: draw test case: dram, display name: 内存, category: auto
dragonboard(debug): core: draw test case: rtc, display name: 时钟, category: auto
dragonboard(debug): core: draw test case: wifi, display name: WIFI, category: auto
dragonboard(debug): core: draw test case: ethernet, display name: 以太网, category: auto
dragonboard(debug): core: draw test case: bluetooth, display name: 蓝牙, category: auto
dragonboard(debug): core: draw test case: emmc, display name: emmc闪存, category: auto
dragonboard(debug): core: draw test case: mmc, display name: SD卡, category: manual
dragonboard(debug): core: draw test case: udisk, display name: U盘, category: manual
dragonboard(debug): core: draw test case: Usb_HOST1, display name: USB主机1, category: manual
dragonboard(debug): core: draw test case: mic, display name: 音频基本功能测试, category: manual
dragonboard(msg): core: fork launcher process...
dragonboard(msg): core: listening to child process, starting...
dragonboard(msg): launcher: runing...
dragonboard(debug): launcher: total test cases #10
dragonboard(msg): launcher: starting memtester.sh
dragonboard(msg): launcher: starting rtctester.sh
dragonboard(msg): launcher: starting wifitester.sh
dragonboard(msg): launcher: starting ethtester.sh
dragonboard(msg): launcher: starting bttester.sh
dragonboard(msg): launcher: starting emmctester.sh
dragonboard(msg): launcher: starting udisktester.sh
dragonboard(msg): launcher: wait mictester completion
dragonboard(msg): launcher: starting mmctester.sh
dragonboard(msg): launcher: starting mictester
dragonboard(msg): launcher: starting host1tester.sh
dragonboard(debug): script: main key count #23
dragonboard(msg): script: V1.0.0
>>>>>> test audio ......
jack_deamon : event found /dev/input/event2!
01-01 00:00:16  1076 D host1teste: vid=1d6b
02-14 00:00:00  1070 D emmctester: emmc boot,boot_type = 2
mount: mounting /dev/mmcblk0p2 on /boot failed: Invalid argument
02-14 00:00:00  1065 D ethtester : ethernet driver buildin
eth0      Link encap:Ethernet  HWaddr 36:C9:E3:F1:B8:05
cat: can't open '/sys/devices/platform/sunxi-ddrfreq/devfreq/sunxi-ddrfreq/cur_freq': No such file or directory
/dragonboard/bin/memtester.sh: let: line 44: arithmetic syntax error
02-14 00:00:00  1061 D memtester : dram_freq=
02-14 00:00:00  1061 D memtester : config dram_size=1024M
02-14 00:00:00  1061 D memtester : actual_size=1024M
02-14 00:00:00  1061 D memtester : test_size=8M
[   14.826009] libphy: gmac0: probed
[   14.878079] sunxi-wlan soc@03000000:wlan@0: bus_index: 1
02-14 00:00:00  1068 D bttester  : module_path   :
02-14 00:00:00  1068 D bttester [   14.908770] sunxi-gmac gmac0 eth0: eth0: Type(7) PHY ID 001cc916 at 0 IRQ poll (gmac0-0:00)
 : loop_time     : 30
02-14 00:00:00  1068 D bttester  : destination_bt: :
02-14 00:00:00  1068 D bttester  : device_node   : ttyS1
02-14 00:00:00  1068 D bttester  : baud_rate     : 115200
02-14 00:00:00  1065 D ethtester : ifconfig eth0 up done
02-14 00:00:00  1068 D bttester  : bt_vnd        : realtek
02-14 00:00:00  1065 D ethtester : eth0 running....
[   15.020708] sunxi-bt soc@03000000:bt@0: block state already is 1
[   15.028770] sunxi-bt soc@03000000:bt@0: set block: 0
[   15.853078] __hci_init(814), err = -56, EINVAL.
02-14 00:00:01  1068 D bttester  : Firmware load finish, time: 1s
02-14 00:00:02  1068 D bttester  : hci0 state path: /sys/class/rfkill/rfkill1
dragonboard(msg): mictester: music_playtime=20
dragonboard(msg): mictester:prepare play sound...
dragonboard(msg): samplerate #48000
dragonboard(msg): mictester:open test pcm file: /dragonboard/data/test48000.pcm
dragonboard(msg): mictester:play it...
wlan0     Link encap:Ethernet  HWaddr 00:E0:4C:4F:03:A7
[   21.165269] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
02-14 00:00:08  1063 D wifitester: No Test AP SSID configured
02-14 00:00:16  1061 D memtester : memtest success!
dragonboard(msg): play end...
dragonboard(msg): mictester: sound play thread exit code #0
dragonboard(msg): let's open the mic pipe
Capturing sample: 2 ch, 48000 hz, 16 bit

root@dragonboard:~#
root@dragonboard:~#

开机显示在 ST7701上,且开机画面正常,开机测试程序显示在ST7701上

cat /dev/urandom > /dev/fb1

ST7701 显示雪花

root@dragonboard:~# cat /sys/class/disp/disp/attr/sys
screen 1:
de_rate 300000000 hz, ref_fps:35
mgr1: 480x480 fmt[rgb] cs[0x204] range[full] eotf[0x4] bits[8bits] err[0] force_sync[0] unblank direct_show[false] iommu[1]

dmabuf: cache[0] cache max[0] umap skip[0] overflow[0]
        lcd output      backlight(250)  fps:57.0         480x 480
        err:0   skip:40 irq:18075       vsync:0 vsync_skip:0

   BUF    enable ch[1] lyr[0] z[0] prem[N] a[globl 255] fmt[  0] fb[ 480, 480; 480, 480; 480, 480] crop[   0,   0, 480, 480] frame[   0,   0, 480, 480] addr[ffc00000,       0,       0] flags[0x       0] trd[0,0] depth[ 0]

离线

楼主 #3 2022-06-27 10:03:10

yixiuge
会员
注册时间: 2022-04-07
已发帖子: 40
积分: 50

Re: 收到小智SW106开发板到手,试着玩一玩

QQ截图20220627100239.png

离线

楼主 #4 2022-06-27 10:40:43

yixiuge
会员
注册时间: 2022-04-07
已发帖子: 40
积分: 50

Re: 收到小智SW106开发板到手,试着玩一玩

这玩意的脾气有点捉摸不定,我先记录一下吧:

/*
 * Allwinner Technology CO., Ltd. sun50iw10p1 soc board.
 *
 * soc board support.
 */

/dts-v1/;
#include <dt-bindings/input/input.h>
#include "sun50iw10p1.dtsi"

/{
        model = "sun50iw10";
        compatible = "allwinner,a3", "arm,sun50iw10p1";

        reg_usb1_vbus: usb1-vbus {
                compatible = "regulator-fixed";
                gpio = <&pio PI 12 1 2 0 1>;
                regulator-name = "usb1-vbus";
                regulator-min-microvolt = <5000000>;
                regulator-max-microvolt = <5000000>;
                enable-active-high;
        };

        reg_3v3: vdd_3v3 {
        compatible = "regulator-fixed";
        regulator-name = "vdd_3v3";
        regulator-min-microvolt = <3300000>;
        regulator-max-microvolt = <3300000>;
        regulator-enable-ramp-delay = <1000>;
        enable-active-high;
    };

        soc@03000000 {

                r_pio: pinctrl@07022000 {

                        s_twi0_pins_a: s_twi0@0 {
                                allwinner,pins = "PL0", "PL1";
                                allwinner,pname = "s_twi0_scl", "s_twi0_sda";
                                allwinner,function = "s_twi0";
                                allwinner,muxsel = <2>;
                                allwinner,drive = <1>;
                                allwinner,pull = <1>;
                        };

                        s_twi0_pins_b: s_twi0@1 {
                                allwinner,pins = "PL0", "PL1";
                                allwinner,function = "io_disabled";
                                allwinner,muxsel = <7>;
                                allwinner,drive = <1>;
                                allwinner,pull = <0>;
                        };
                        s_twi1_pins_a: s_twi1@0 {
                                allwinner,pins = "PL8", "PL9";
                                allwinner,pname = "s_twi1_scl", "s_twi1_sda";
                                allwinner,function = "s_twi1";
                                allwinner,muxsel = <2>;
                                allwinner,drive = <1>;
                                allwinner,pull = <1>;
                        };

                        s_twi1_pins_b: s_twi1@1 {
                                allwinner,pins = "PL8", "PL9";
                                allwinner,function = "io_disabled";
                                allwinner,muxsel = <7>;
                                allwinner,drive = <1>;
                                allwinner,pull = <0>;
                        };
                };
                pio: pinctrl@0300b000 {
                        twi0_pins_a: twi0@0 {
                                allwinner,pins = "PD22", "PD23";
                                allwinner,pname = "twi0_scl", "twi0_sda";
                                allwinner,function = "twi0";
                                allwinner,muxsel = <4>;
                                allwinner,drive = <1>;
                                allwinner,pull = <0>;
                        };

                        twi0_pins_b: twi0@1 {
                                allwinner,pins = "PD22", "PD23";
                                allwinner,function = "io_disabled";
                                allwinner,muxsel = <7>;
                                allwinner,drive = <1>;
                                allwinner,pull = <0>;
                        };

                        twi1_pins_a: twi1@0 {
                                allwinner,pins = "PB4", "PB5";
                                allwinner,pname = "twi1_scl", "twi1_sda";
                                allwinner,function = "twi1";
                                allwinner,muxsel = <2>;
                                allwinner,drive = <1>;
                                allwinner,pull = <0>;
                        };

                        twi1_pins_b: twi1@1 {
                                allwinner,pins = "PB4", "PB5";
                                allwinner,function = "io_disabled";
                                allwinner,muxsel = <7>;
                                allwinner,drive = <1>;
                                allwinner,pull = <0>;
                        };

                        twi2_pins_a: twi2@0 {
                                allwinner,pins = "PE1", "PE2";
                                allwinner,pname = "twi2_scl", "twi2_sda";
                                allwinner,function = "twi2";
                                allwinner,muxsel = <2>;
                                allwinner,drive = <1>;
                                allwinner,pull = <0>;
                        };

                        twi2_pins_b: twi2@1 {
                                allwinner,pins = "PE1", "PE2";
                                allwinner,function = "io_disabled";
                                allwinner,muxsel = <7>;
                                allwinner,drive = <1>;
                                allwinner,pull = <0>;
                        };

                        twi3_pins_a: twi3@0 {
                                allwinner,pins = "PE3", "PE4";
                                allwinner,pname = "twi3_scl", "twi3_sda";
                                allwinner,function = "twi3";
                                allwinner,muxsel = <2>;
                                allwinner,drive = <1>;
                                allwinner,pull = <1>;
                        };

                        twi3_pins_b: twi3@1 {
                                allwinner,pins = "PE3", "PE4";
                                allwinner,function = "io_disabled";
                                allwinner,muxsel = <7>;
                                allwinner,drive = <1>;
                                allwinner,pull = <0>;
                        };

                        twi5_pins_a: twi5@0 {
                                allwinner,pins = "PI8", "PI9";
                                allwinner,pname = "twi5_scl", "twi5_sda";
                                allwinner,function = "twi5";
                                allwinner,muxsel = <2>;
                                allwinner,drive = <1>;
                                allwinner,pull = <0>;
                        };

                        twi5_pins_b: twi5@1 {
                                allwinner,pins = "PI8", "PI9";
                                allwinner,function = "io_disabled";
                                allwinner,muxsel = <7>;
                                allwinner,drive = <1>;
                                allwinner,pull = <0>;
                        };

                        pwm0_pin_a: pwm0@0 {
                                allwinner,pins = "PD23";
                                allwinner,function = "pwm0";
                                allwinner,muxsel = <0x02>;
                                allwinner,drive = <0x2>;
                                allwinner,pull = <0>;
                                allwinner,data = <0xffffffff>;
                        };

                        pwm0_pin_b: pwm0@1 {
                                allwinner,pins = "PD23";
                                allwinner,function = "io_disabled";
                                allwinner,muxsel = <0x07>;
                                allwinner,drive = <0x2>;
                                allwinner,pull = <0>;
                                allwinner,data = <0xffffffff>;
                        };

                        pwm1_pin_a: pwm1@0 {
                                allwinner,pins = "PI0";
                                allwinner,function = "pwm1";
                                allwinner,muxsel = <0x04>;
                                allwinner,drive = <0x2>;
                                allwinner,pull = <0>;
                                allwinner,data = <0xffffffff>;
                        };

                        pwm1_pin_b: pwm1@1 {
                                allwinner,pins = "PI0";
                                allwinner,function = "io_disabled";
                                allwinner,muxsel = <0x07>;
                                allwinner,drive = <0x2>;
                                allwinner,pull = <0>;
                                allwinner,data = <0xffffffff>;
                        };

                        pwm2_pin_a: pwm2@0 {
                                allwinner,pins = "PI1";
                                allwinner,function = "pwm2";
                                allwinner,muxsel = <0x04>;
                                allwinner,drive = <0x2>;
                                allwinner,pull = <0>;
                                allwinner,data = <0xffffffff>;
                        };

                        pwm2_pin_b: pwm2@1 {
                                allwinner,pins = "PI1";
                                allwinner,function = "io_disabled";
                                allwinner,muxsel = <0x07>;
                                allwinner,drive = <0x2>;
                                allwinner,pull = <0>;
                                allwinner,data = <0xffffffff>;
                        };

                        pwm3_pin_a: pwm3@0 {
                                allwinner,pins = "PD21";
                                allwinner,function = "pwm3";
                                allwinner,muxsel = <0x02>;
                                allwinner,drive = <0x2>;
                                allwinner,pull = <0>;
                                allwinner,data = <0xffffffff>;
                        };

                        pwm3_pin_b: pwm3@1 {
                                allwinner,pins = "PD21";
                                allwinner,function = "io_disabled";
                                allwinner,muxsel = <0x07>;
                                allwinner,drive = <0x2>;
                                allwinner,pull = <0>;
                                allwinner,data = <0xffffffff>;
                        };

                        pwm7_pin_a: pwm7@0 {
                                allwinner,pins = "PI6";
                                allwinner,function = "pwm7";
                                allwinner,muxsel = <0x04>;
                                allwinner,drive = <0x2>;
                                allwinner,pull = <0>;
                                allwinner,data = <0xffffffff>;
                        };

                        pwm7_pin_b: pwm7@1 {
                                allwinner,pins = "PI6";
                                allwinner,function = "io_disabled";
                                allwinner,muxsel = <0x07>;
                                allwinner,drive = <0x2>;
                                allwinner,pull = <0>;
                                allwinner,data = <0xffffffff>;
                        };

                        pwm8_pin_a: pwm8@0 {
                                allwinner,pins = "PI7";
                                allwinner,function = "pwm8";
                                allwinner,muxsel = <0x04>;
                                allwinner,drive = <0x2>;
                                allwinner,pull = <0>;
                                allwinner,data = <0xffffffff>;
                        };

                        pwm8_pin_b: pwm8@1 {
                                allwinner,pins = "PI7";
                                allwinner,function = "io_disabled";
                                allwinner,muxsel = <0x07>;
                                allwinner,drive = <0x2>;
                                allwinner,pull = <0>;
                                allwinner,data = <0xffffffff>;
                        };

                        ledc_pins_a: ledc@0 {
                                allwinner,pins = "PH19";
                                allwinner,function = "ledc";
                                allwinner,muxsel = <5>;
                        };

                        ledc_pins_b: ledc@1 {
                                allwinner,pins = "PH19";
                                allwinner,function = "io_disabled";
                                allwinner,muxsel = <7>;
                        };

                        key_pj1: key_pj1@0 {
                                allwinner,pins = "PJ1";
                                allwinner,function = "gpio_in";
                                allwinner,muxsel = <0x00>;
                                allwinner,drive = <0x2>;
                                allwinner,pull = <1>;
                                allwinner,data = <0x1>;
                        };

                        usb1_vbus_pin_a: usb1_vbus_pin@0 {
                                allwinner,pins = "PH10";
                                allwinner,function = "gpio_out";
                                allwinner,muxsel = <0x01>;
                                allwinner,drive = <0x2>;
                                allwinner,pull = <0>;
                                allwinner,data = <0x0>;
                        };

                        spi0_pins_a: spi0@0 {
                                allwinner,pins = "PC2", "PC4", "PC12", "PC15", "PC16";
                                allwinner,pname = "spi0_mosi", "spi0_miso",
                                                  "spi0_sclk", "spi0_wp", "spi0_hold";
                                allwinner,function = "spi0";
                                allwinner,muxsel = <4>;
                                allwinner,drive = <1>;
                                allwinner,pull = <0>;
                        };

                        spi0_pins_b: spi0@1 {
                                allwinner,pins = "PC3", "PC7";
                                allwinner,pname = "spi0_cs0", "spi0_cs1";
                                allwinner,function = "spi0";
                                allwinner,muxsel = <4>;
                                allwinner,drive = <1>;
                                allwinner,pull = <1>;   /* only CS should be pulled up */
                        };

                        spi0_pins_c: spi0@2 {
                                allwinner,pins = "PC2", "PC3", "PC4", "PC7", "PC12", "PC15", "PC16";
                                allwinner,function = "io_disabled";
                                allwinner,muxsel = <7>;
                                allwinner,drive = <1>;
                                allwinner,pull = <0>;
                        };

                        spi1_pins_a: spi1@0 {
                                allwinner,pins = "PD11", "PD12", "PD13";
                                allwinner,pname = "spi1_sclk", "spi1_mosi",
                                                  "spi1_miso";
                                allwinner,function = "spi1";
                                allwinner,muxsel = <4>;
                                allwinner,drive = <1>;
                                allwinner,pull = <0>;
                        };

                        spi1_pins_b: spi1@1 {
                                allwinner,pins = "PD10";
                                allwinner,pname = "spi1_cs0";
                                allwinner,function = "spi1";
                                allwinner,muxsel = <4>;
                                allwinner,drive = <1>;
                                allwinner,pull = <1>;   /* only CS should be pulled up */
                        };

                        spi1_pins_c: spi1@2 {
                                allwinner,pins = "PD10", "PD11", "PD12", "PD13";
                                allwinner,function = "io_disabled";
                                allwinner,muxsel = <7>;
                                allwinner,drive = <1>;
                                allwinner,pull = <0>;
                        };

                        spi2_pins_a: spi2@0 {
                                allwinner,pins = "PB1", "PB2", "PB3";
                                allwinner,pname = "spi2_sclk", "spi2_mosi",
                                                  "spi2_miso";
                                allwinner,function = "spi2";
                                allwinner,muxsel = <3>;
                                allwinner,drive = <1>;
                                allwinner,pull = <0>;
                        };

                        spi2_pins_b: spi2@1 {
                                allwinner,pins = "PB0";
                                allwinner,pname = "spi2_cs0";
                                allwinner,function = "spi2";
                                allwinner,muxsel = <3>;
                                allwinner,drive = <1>;
                                allwinner,pull = <1>;   /* only CS should be pulled up */
                        };

                        spi2_pins_c: spi2@2 {
                                allwinner,pins = "PB0", "PB1", "PB2", "PB3";
                                allwinner,function = "io_disabled";
                                allwinner,muxsel = <7>;
                                allwinner,drive = <1>;
                                allwinner,pull = <0>;
                        };
                };

 rotary {
     compatible = "rotary-encoder";
     pinctrl-names = "default";
     /*pinctrl-0 = <&rotary_pins>;*/
     gpios = <&pio PJ 0 6 1 3 0xffffffff>, <&pio PJ 1 6 1 3 0xffffffff>; /* PJ0, PJ1 */
     linux,axis = <0>; /* REL_X */
     rotary-encoder,encoding = "gray";
     rotary-encoder,relative-axis;
 };


       gpio_keys_polled {
               compatible = "gpio-keys-polled";
               pinctrl-names = "default";
               pinctrl-0 = <&key_pj1>;
               #address-cells = <1>;
               #size-cells = <0>;
               poll-interval = <100>;

               button@0 {
                       label = "mute";
                       linux,code = <KEY_MUTE>;
                       gpios = <&pio PJ 0 6 1 1 1>; //PJ0
               };

               button@1 {
                       label = "power";
                       linux,code = <KEY_POWER>;
                       gpios = <&pio PJ 1 0 1 1 1>;
               };
       };



                gpio_keys {
                        device_type = "gpiokey";
                        compatible = "gpio-keys";
//                      pinctrl-names = "default";
//                      pinctrl-0 = <&key_pj1>;
//                      #address-cells = <1>;
//                      #size-cells = <0>;
//                      autorepeat;
                        status = "disabled";

                        power_key {
                                label = "volume down";
                                linux,code = <KEY_VOLUMEDOWN>;
                        //      gpios = <&pio PJ 0 6 1 1 1>;
//                              gpios = <&pio PJ 0 6 GPIO_ACTIVE_LOW>;
                                gpios = <&pio PJ 1 0 1 0 1>;
//                              debounce-interval = <100>;
//                              wakeup-source;
                                wakeup-source = <0x1>;
                        };

                        volume_down_key {
                                label = "volume up";
                                linux,code = <KEY_VOLUMEUP>;
//                              gpios = <&pio PJ 1 6 1 1 1>;
//                              gpios = <&pio PJ 1 GPIO_ACTIVE_LOW>;
                                gpios = <&pio PJ 0 0 1 0 1>;
                                //debounce-interval = <100>;
                                wakeup-source = <0x1>;
                        };
        };

                gmac0: eth@05020000 {
                        phy-mode = "rgmii";
                        use_ephy25m = <1>;
                        tx-delay = <7>;
                        rx-delay = <4>;
                        phy-rst = <&pio PH 19 1 1 1 0>;
                        status = "okay";
                };

                gmac1: eth@05030000 {
                        phy-mode = "rgmii";
                        use_ephy25m = <1>;
                        tx-delay = <7>;
                        rx-delay = <4>;
                        gmac-mtu = <900>;
                        phy-rst = <&pio PI 14 1 1 1 0>;
                        /*
                        gmac-power0-supply = <>;
                        gmac-power0-vol = <3300000>;
                        */
                        status = "disabled";
                };

                twi0: twi@0x05002000{
                        clock-frequency = <400000>;
                        pinctrl-0 = <&twi0_pins_a>;
                        pinctrl-1 = <&twi0_pins_b>;
                        status = "disabled";
                        /* audio: add ac108 capture */
                        /*
                        ac108@3B {
                                compatible = "Allwinner,MicArray_0";
                                device_type = "MicArray_0";
                                reg = <0x3B>;
                                regulator_used = <0x0>;
                                power_gpio_used = <0x0>;
                                reset_gpio_used = <0x0>;
                                twi_bus = <0x1>;
                                pga_gain = <0x1F>;
                                slot_width = <0x20>;
                                lrck_period = <0x80>;
                                ref_pga_used = <0x1>;
                                ref_pga_gain = <0x10>;
                                ref_channel = <0x3>;
                                debug_mode = <0x0>;
                        };
                        */

                        /*ctp {
                                compatible = "allwinner,goodix";
                                reg = <0x5d>;
                                device_type = "ctp";
                                status = "disabled";
                                ctp_twi_id = <0x0>;
                                ctp_twi_addr = <0x5d>;
                                ctp_screen_max_x = <0x500>;
                                ctp_screen_max_y = <0x320>;
                                ctp_revert_x_flag = <0x0>;
                                ctp_revert_y_flag = <0x0>;
                                ctp_exchange_x_y_flag = <0x0>;
                                ctp_int_port = <&pio PB 7 6 0xffffffff 0xffffffff 0>;
                                ctp_wakeup = <&pio PB 8 1 0xffffffff 0xffffffff 1>;
                                ctp-supply = <>;
                                ctp_power_ldo_vol = <3300>;
                        };*/
                };

                twi1: twi@0x05002400{
                        clock-frequency = <200000>;
                        pinctrl-0 = <&twi1_pins_a>;
                        pinctrl-1 = <&twi1_pins_b>;
                        status = "disabled";
/*
                        ctp {
                                compatible = "allwinner,goodix";
                                ctp_name = "gt9xxnew_ts";
                                reg = <0x5d>;
                                device_type = "ctp";
                                status = "okay";
                                ctp_twi_id = <0x1>;
                                ctp_twi_addr = <0x5d>;
                                ctp_screen_max_x = <0x500>;
                                ctp_screen_max_y = <0x320>;
                                ctp_revert_x_flag = <0x0>;
                                ctp_revert_y_flag = <0x0>;
                                ctp_exchange_x_y_flag = <0x0>;
                                ctp_int_port = <&pio PI 0 6 0xffffffff 0xffffffff 0>;
                                ctp_wakeup = <&pio PI 1 1 0xffffffff 0xffffffff 1>;
                                ctp-supply = <>;
                                ctp_power_ldo_vol = <3300>;
                        };
*/
                };

                twi2: twi@0x05002800{
                        clock-frequency = <200000>;
                        pinctrl-0 = <&twi2_pins_a>;
                        pinctrl-1 = <&twi2_pins_b>;
                        status = "disabled";
                };

                twi3: twi@0x05002c00{
                        clock-frequency = <200000>;
                        pinctrl-0 = <&twi3_pins_a>;
                        pinctrl-1 = <&twi3_pins_b>;
                        status = "disabled";
                };

                twi5: twi@0x05003400{
                        clock-frequency = <400000>;
                        pinctrl-0 = <&twi5_pins_a>;
                        pinctrl-1 = <&twi5_pins_b>;
                        pinctrl-names = "default", "sleep";
                        status = "okay";
/*
                        ft6x06@48 {
                                compatible = "focaltech,ft6236";
                                reg = <0x48>;
                                interrupt-parent = <&pio>;
                                interrupts = <PJ 8 IRQ_TYPE_LEVEL_LOW>;
                                reset-gpios = <&pio PJ 9 1 0xffffffff 0xffffffff 1>;
                                touchscreen-size-x = <720>;
                                touchscreen-size-y = <720>;
//                              touchscreen-inverted-x;
//                              touchscreen-swapped-x-y;
                                status = "disabled";
                        };
*/

                        ctp {
                                compatible = "allwinner,goodix";
                                ctp_name = "gt9xxnew_ts";
                                reg = <0x14>;
                                device_type = "ctp";
                                status = "okay";
                                ctp_twi_id = <0x1>;
                                ctp_twi_addr = <0x14>;
                                ctp_screen_max_x = <480>;
                                ctp_screen_max_y = <480>;
                                ctp_revert_x_flag = <0x0>;
                                ctp_revert_y_flag = <0x0>;
                                ctp_exchange_x_y_flag = <0x0>;
                                ctp_int_port = <&pio PJ 8 6 0xffffffff 0xffffffff 0>;
                                ctp_wakeup = <&pio PJ 9 1 0xffffffff 0xffffffff 1>;
                                ctp-supply = <>;
                                ctp_power_ldo_vol = <3300>;
                        };

                };

                twi6: s_twi@0x07081400{
                        clock-frequency = <200000>;
                        pinctrl-0 = <&s_twi0_pins_a>;
                        pinctrl-1 = <&s_twi0_pins_b>;
                        twi_drv_used = <1>;
                        status = "disabled";
                        no_suspend = <1>;
                };

                standby_param: standby_param {
                        vdd-cpu = <0x00000006>;
                        vdd-sys = <0x00000008>;
                        vcc-pll = <0x00000100>;

                        osc24m-on = <0x0>;
                };

                twi7: s_twi@0x07081800{
                        clock-frequency = <200000>;
                        pinctrl-0 = <&s_twi1_pins_a>;
                        pinctrl-1 = <&s_twi1_pins_b>;
                        status = "disabled";
                };

                spi0: spi@05010000 {
                        pinctrl-0 = <&spi0_pins_a &spi0_pins_b>;
                        pinctrl-1 = <&spi0_pins_c>;
                        spi_slave_mode = <0>;
                        status = "disabled";
                        spi_board0 {
                                device_type = "spi_board0";
                                compatible = "rohm,dh2228fv";
                                spi-max-frequency = <0x5f5e100>;
                                reg = <0x0>;
                                spi-rx-bus-width = <0x1>;
                                spi-tx-bus-width = <0x1>;
                                status = "disabled";
                        };
                };

                spi1: spi@05011000 {
                        pinctrl-0 = <&spi1_pins_a &spi1_pins_b>;
                        pinctrl-1 = <&spi1_pins_c>;
                        spi_slave_mode = <0>;
                        status = "disabled";
                        spi_board1 {
                                device_type = "spi_board1";
                                compatible = "rohm,dh2228fv";
                                spi-max-frequency = <0x5f5e100>;
                                reg = <0x0>;
                                spi-rx-bus-width = <0x1>;
                                spi-tx-bus-width = <0x1>;
                                status = "disabled";
                        };
                };

                spi2: spi@05012000 {
                        pinctrl-0 = <&spi2_pins_a &spi2_pins_b>;
                        pinctrl-1 = <&spi2_pins_c>;
                        spi_slave_mode = <0>;
                        status = "disabled";
                        spi_board1 {
                                device_type = "spi_board2";
                                compatible = "rohm,dh2228fv";
                                spi-max-frequency = <0x5f5e100>;
                                reg = <0x0>;
                                spi-rx-bus-width = <0x1>;
                                spi-tx-bus-width = <0x1>;
                                status = "disabled";
                        };
                };

                pwm0: pwm0@0300a000 {
                        pinctrl-names = "active", "sleep";
                        pinctrl-0 = <&pwm0_pin_a>;
                        pinctrl-1 = <&pwm0_pin_b>;
                };

                pwm1: pwm1@0300a000 {
                        pinctrl-names = "active", "sleep";
                        pinctrl-0 = <&pwm1_pin_a>;
                        pinctrl-1 = <&pwm1_pin_b>;
                };

                pwm2: pwm2@0300a000 {
                        pinctrl-names = "active", "sleep";
                        pinctrl-0 = <&pwm2_pin_a>;
                        pinctrl-1 = <&pwm2_pin_b>;
                };

                pwm7: pwm7@0300a000 {
                        pinctrl-names = "active", "sleep";
                        pinctrl-0 = <&pwm7_pin_a>;
                        pinctrl-1 = <&pwm7_pin_b>;
                };

                pwm8: pwm8@0300a000 {
                        pinctrl-names = "active", "sleep";
                        pinctrl-0 = <&pwm8_pin_a>;
                        pinctrl-1 = <&pwm8_pin_b>;
                };

                ledc: ledc@0x05018000 {
                        pinctrl-0 = <&ledc_pins_a>;
                        pinctrl-1 = <&ledc_pins_b>;
                        status    = "disabled";
                };

                gpadc:gpadc{
                        channel_num = <1>;
                        channel_select = <0x01>;
                        channel_data_select = <0>;
                        channel_compare_select = <0x01>;
                        channel_cld_select = <0x01>;
                        channel_chd_select = <0>;
                        channel0_compare_lowdata = <1700000>;
                        channel0_compare_higdata = <1200000>;
                        key_cnt = <5>;
                        key0_vol = <115>;
                        key0_val = <115>;
                        key1_vol = <240>;
                        key1_val = <114>;
                        key2_vol = <360>;
                        key2_val = <139>;
                        key3_vol = <480>;
                        key3_val = <28>;
                        key4_vol = <600>;
                        key4_val = <102>;
                        status = "okay";
                };

                sdc2: sdmmc@04022000 {
                        non-removable;
                        bus-width = <8>;
                        mmc-ddr-1_8v;
                        mmc-hs200-1_8v;
                        mmc-hs400-1_8v;
                        no-sdio;
                        no-sd;
                        cap-mmc-highspeed;
                        sunxi-power-save-mode;
                        sunxi-dis-signal-vol-sw;
                        max-frequency = <100000000>;
                        vmmc-supply = <>;
                        vqmmc-supply = <>;
                        status = "okay";
                };

                sdc0: sdmmc@04020000 {
                        bus-width = <4>;
                        cd-gpios = <&pio PF 6 6 1 3 0xffffffff>;
                        /*non-removable;*/
                        /*broken-cd;*/
                        /*cd-inverted*/
                        /*data3-detect;*/
                        /*card-pwr-gpios = <&pio PH 14 1 1 2 0xffffffff>;*/
                        cd-used-24M;
                        cap-sd-highspeed;
                        sd-uhs-sdr50;
                        sd-uhs-ddr50;
                        sd-uhs-sdr104;
                        no-sdio;
                        no-mmc;
                        sunxi-power-save-mode;
                        /*sunxi-dis-signal-vol-sw;*/
                        max-frequency = <150000000>;
                        ctl-spec-caps = <0x8>;
                        vmmc-supply = <>;
                        vqmmc33sw-supply = <>;
                        vdmmc33sw-supply = <>;
                        vqmmc18sw-supply = <>;
                        vdmmc18sw-supply = <>;
                        status = "okay";
                };

                sdc1: sdmmc@04021000 {
                        bus-width = <4>;
                        no-mmc;
                        no-sd;
                        cap-sd-highspeed;
                        /*sd-uhs-sdr12*/
                        /*sd-uhs-sdr25*/
                        /*sd-uhs-sdr50;*/
                        /*sd-uhs-ddr50;*/
                        /*sd-uhs-sdr104*/
                        /*sunxi-power-save-mode;*/
                        /*sunxi-dis-signal-vol-sw;*/
                        cap-sdio-irq;
                        keep-power-in-suspend;
                        ignore-pm-notify;
                        max-frequency = <50000000>;
                        ctl-spec-caps = <0x8>;
                        status = "okay";
                };

/*
 *usb_used: usb controller enable. 0-disable, 1-enable.
 *usb_port_type: usb mode. 0-device, 1-host, 2-otg.
 *usb_detect_type: usb hotplug detect mode. 0-none, 1-vbus/id detect, 2-id/dpdm detect.
 *usb_drv_vbus_gpio:USB DRY_VBUS pin config or "axp_ctrl"
 */
                usbc0:usbc0@0 {
                        device_type = "usbc0";
                        usb_port_type = <0x2>;
                        usb_detect_type = <0x1>;
                        usb_id_gpio = <&pio PH 11 0 0 0xffffffff 0xffffffff>;
                        usb_det_vbus_gpio   = <&pio PH 12 0 0 0xffffffff 0xffffffff>;
                        usb_regulator_io = "nocare";
                        usb_wakeup_suspend = <0>;
                        usb_luns = <3>;
                        usb_serial_unique = <0>;
                        usb_serial_number = "20080411";
                        rndis_wceis = <1>;
                        status = "okay";
                };

                ehci0:ehci0-controller@0x05101000 {
                        drvvbus-supply = <&reg_usb1_vbus>;
                };

                ohci0:ohci0-controller@0x05101400 {
                        drvvbus-supply = <&reg_usb1_vbus>;
                };

                usbc1:usbc1@0 {
                        device_type = "usbc1";
                        usb_regulator_io = "nocare";
                        usb_wakeup_suspend = <1>;
                        wakeup-source;
                        status = "okay";
                };

                /* Audio Driver Modules */
                codec:codec@0x05096000 {
                        /* MIC and headphone gain setting */
                        mic1gain        = <0x1F>;
                        mic2gain        = <0x1F>;
                        /* ADC/DAC DRC/HPF func enabled */
                        /* 0x1:DAP_HP_EN; 0x2:DAP_SPK_EN; 0x3:DAP_HPSPK_EN */
                        adcdrc_cfg      = <0x0>;
                        adchpf_cfg      = <0x0>;
                        dacdrc_cfg      = <0x0>;
                        dachpf_cfg      = <0x0>;
                        /* Volume about */
                        digital_vol     = <0x00>;
                        lineout_vol     = <0x1a>;
                        headphonegain   = <0x00>;
                        /* Pa enabled about */
                        pa_level        = <0x01>;
                        pa_msleep_time  = <0x78>;
/*                      gpio-spk = <&pio PH 19 1 1 1 1>;*/
                        /* regulator about */
                        avcc-supply = <>;
                        status = "okay";
                };

                sndcodec:sound@0 {
                        noheadphonemic = <0x01>;
                        status = "okay";
                };

                spdif:spdif-controller@0x05094000{
                        status = "disabled";
                };

                sndspdif:sound@1{
                        status = "disabled";
                };

                dmic:dmic-controller@0x05095000{
                        status = "disabled";
                };

                snddmic:sound@2{
                        status = "disabled";
                };

                daudio0:daudio@0x05090000 {
                        mclk_div        = <0x01>;
                        frametype       = <0x00>;
                        tdm_config      = <0x01>;
                        sign_extend     = <0x00>;
                        tx_data_mode    = <0x00>;
                        rx_data_mode    = <0x00>;
                        msb_lsb_first   = <0x00>;
                        pcm_lrck_period = <0x80>;
                        audio_format    = <0x01>;
                        daudio_master   = <0x04>;
                        signal_inversion  = <0x01>;
                        slot_width_select = <0x20>;
                        status = "disabled";
                };

                snddaudio0:sound@3 {
                /*
                        sunxi,snddaudio-codec = "ac108.0-003b";
                        sunxi,snddaudio-codec-dai = "ac108-pcm0";
                */
                        status = "disabled";
                };

                daudio1:daudio@0x05091000 {
                        mclk_div        = <0x01>;
                        frametype       = <0x00>;
                        tdm_config      = <0x01>;
                        sign_extend     = <0x00>;
                        tx_data_mode    = <0x00>;
                        rx_data_mode    = <0x00>;
                        msb_lsb_first   = <0x00>;
                        pcm_lrck_period = <0x20>;
                        audio_format    = <0x01>;
                        daudio_master   = <0x04>;
                        signal_inversion  = <0x01>;
                        slot_width_select = <0x20>;
                        status = "disabled";
                };

                snddaudio1:sound@4 {
                        status = "disabled";
                };

                daudio2:daudio@0x05092000 {
                        mclk_div        = <0x01>;
                        frametype       = <0x00>;
                        tdm_config      = <0x01>;
                        sign_extend     = <0x00>;
                        tx_data_mode    = <0x00>;
                        rx_data_mode    = <0x00>;
                        msb_lsb_first   = <0x00>;
                        pcm_lrck_period = <0x20>;
                        audio_format    = <0x01>;
                        daudio_master   = <0x04>;
                        signal_inversion  = <0x01>;
                        slot_width_select = <0x20>;
                        status = "disabled";
                };

                snddaudio2:sound@5 {
                        status = "disabled";
                };

                daudio3:daudio@0x05093000 {
                        mclk_div        = <0x01>;
                        frametype       = <0x00>;
                        tdm_config      = <0x01>;
                        sign_extend     = <0x00>;
                        tx_data_mode    = <0x00>;
                        rx_data_mode    = <0x00>;
                        msb_lsb_first   = <0x00>;
                        pcm_lrck_period = <0x20>;
                        audio_format    = <0x01>;
                        daudio_master   = <0x04>;
                        signal_inversion  = <0x01>;
                        slot_width_select = <0x20>;
                        status = "disabled";
                };

                snddaudio3:sound@6 {
                        status = "disabled";
                };
                vind0:vind@0 {
                        vind0_clk = <336000000>;
                        vind0_isp = <300000000>;
                        status = "okay";

                        actuator0:actuator@0 {
                                device_type = "actuator0";
                                actuator0_name = "ad5820_act";
                                actuator0_slave = <0x18>;
                                actuator0_af_pwdn = <>;
                                actuator0_afvdd = "afvcc-csi";
                                actuator0_afvdd_vol = <2800000>;
                                status = "disabled";
                        };
                        flash0:flash@0 {
                                device_type = "flash0";
                                flash0_type = <2>;
                                flash0_en = <>;
                                flash0_mode = <>;
                                flash0_flvdd = "";
                                flash0_flvdd_vol = <>;
                                device_id = <0>;
                                status = "disabled";
                        };
                        sensor0:sensor@0 {
                                device_type = "sensor0";
                                sensor0_mname = "imx278_mipi";
                                sensor0_twi_cci_id = <2>;
                                sensor0_twi_addr = <0x20>;
                                sensor0_mclk_id = <0>;
                                sensor0_pos = "rear";
                                sensor0_isp_used = <1>;
                                sensor0_fmt = <1>;
                                sensor0_stby_mode = <0>;
                                sensor0_vflip = <0>;
                                sensor0_hflip = <0>;
                                sensor0_iovdd-supply = <>;
                                sensor0_iovdd_vol = <1800000>;
                                sensor0_avdd-supply = <>;
                                sensor0_avdd_vol = <2800000>;
                                sensor0_dvdd-supply = <>;
                                sensor0_dvdd_vol = <1200000>;
                                sensor0_power_en = <>;
                                sensor0_reset = <&pio PE 7 1 0 1 0>;
                                sensor0_pwdn = <&pio PE 6 1 0 1 0>;
                                status  = "disabled";
                        };
                        sensor1:sensor@1 {
                                device_type = "sensor1";
                                sensor1_mname = "imx386_mipi";
                                sensor1_twi_cci_id = <3>;
                                sensor1_twi_addr = <0x20>;
                                sensor1_mclk_id = <1>;
                                sensor1_pos = "front";
                                sensor1_isp_used = <1>;
                                sensor1_fmt = <1>;
                                sensor1_stby_mode = <0>;
                                sensor1_vflip = <0>;
                                sensor1_hflip = <0>;
                                sensor1_iovdd-supply = <>;
                                sensor1_iovdd_vol = <1800000>;
                                sensor1_avdd-supply = <>;
                                sensor1_avdd_vol = <2800000>;
                                sensor1_dvdd-supply = <>;
                                sensor1_dvdd_vol = <>;
                                sensor1_power_en = <>;
                                sensor1_reset = <&pio PE 9 1 0 1 0>;
                                sensor1_pwdn = <&pio PE 8 1 0 1 0>;
                                status  = "disabled";
                        };
                        vinc0:vinc@0 {
                                vinc0_csi_sel = <0>;
                                vinc0_mipi_sel = <0>;
                                vinc0_isp_sel = <0>;
                                vinc0_isp_tx_ch = <0>;
                                vinc0_tdm_rx_sel = <0>;
                                vinc0_rear_sensor_sel = <0>;
                                vinc0_front_sensor_sel = <1>;
                                vinc0_sensor_list = <0>;
                                status = "disabled";
                        };
                        vinc1:vinc@1 {
                                vinc1_csi_sel = <0>;
                                vinc1_mipi_sel = <0>;
                                vinc1_isp_sel = <0>;
                                vinc1_isp_tx_ch = <0>;
                                vinc1_tdm_rx_sel = <0>;
                                vinc1_rear_sensor_sel = <0>;
                                vinc1_front_sensor_sel = <1>;
                                vinc1_sensor_list = <0>;
                                status = "disabled";
                        };
                        vinc2:vinc@2 {
                                vinc2_csi_sel = <1>;
                                vinc2_mipi_sel = <1>;
                                vinc2_isp_sel = <1>;
                                vinc2_isp_tx_ch = <0>;
                                vinc2_tdm_rx_sel = <1>;
                                vinc2_rear_sensor_sel = <0>;
                                vinc2_front_sensor_sel = <1>;
                                vinc2_sensor_list = <0>;
                                status = "disabled";
                        };
                        vinc3:vinc@3 {
                                vinc3_csi_sel = <1>;
                                vinc3_mipi_sel = <1>;
                                vinc3_isp_sel = <1>;
                                vinc3_isp_tx_ch = <0>;
                                vinc3_tdm_rx_sel = <0xff>;
                                vinc3_rear_sensor_sel = <0>;
                                vinc3_front_sensor_sel = <1>;
                                vinc3_sensor_list = <0>;
                                status = "disabled";
                        };
                };
/*----------------------------------------------------------------------------------
disp init configuration

disp_mode             (0:screen0<screen0,fb0>)
screenx_output_type   (0:none; 1:lcd; 2:tv; 3:hdmi;5:vdpo)
screenx_output_mode   (used for hdmi output, 0:480i 1:576i 2:480p 3:576p 4:720p50)
                      (5:720p60 6:1080i50 7:1080i60 8:1080p24 9:1080p50 10:1080p60)
screenx_output_format (for hdmi, 0:RGB 1:yuv444 2:yuv422 3:yuv420)
screenx_output_bits   (for hdmi, 0:8bit 1:10bit 2:12bit 2:16bit)
screenx_output_eotf   (for hdmi, 0:reserve 4:SDR 16:HDR10 18:HLG)
screenx_output_cs     (for hdmi, 0:undefined  257:BT709 260:BT601  263:BT2020)
screenx_output_dvi_hdmi (for hdmi, 0:undefined 1:dvi mode 2:hdmi mode)
screen0_output_range   (for hdmi, 0:default 1:full 2:limited)
screen0_output_scan    (for hdmi, 0:no data 1:overscan 2:underscan)
screen0_output_aspect_ratio  (for hdmi, 8-same as original picture 9-4:3 10-16:9 11-14:9)
fbx format            (4:RGB655 5:RGB565 6:RGB556 7:ARGB1555 8:RGBA5551 9:RGB888 10:ARGB8888 12:ARGB4444)
fbx pixel sequence    (0:ARGB 1:BGRA 2:ABGR 3:RGBA)
fb0_scaler_mode_enable(scaler mode enable, used FE)
fbx_width,fbx_height  (framebuffer horizontal/vertical pixels, fix to output resolution while equal 0)
lcdx_backlight        (lcd init backlight,the range:[0,256],default:197
lcdx_yy               (lcd init screen bright/contrast/saturation/hue, value:0~100, default:50/50/57/50)
lcd0_contrast         (LCD contrast, 0~100)
lcd0_saturation       (LCD saturation, 0~100)
lcd0_hue              (LCD hue, 0~100)
framebuffer software rotation setting:
disp_rotation_used:   (0:disable; 1:enable,you must set fbX_width to lcd_y,
set fbX_height to lcd_x)
degreeX:              (X:screen index; 0:0 degree; 1:90 degree; 3:270 degree)
degreeX_Y:            (X:screen index; Y:layer index 0~15; 0:0 degree; 1:90 degree; 3:270 degree)
devX_output_type : config output type in bootGUI framework in UBOOT-2018.
                                   (0:none; 1:lcd; 2:tv; 4:hdmi;)
devX_output_mode : config output resolution(see include/video/sunxi_display2.h) of bootGUI framework in UBOOT-2018
devX_screen_id   : config display index of bootGUI framework in UBOOT-2018
devX_do_hpd      : whether do hpd detectation or not in UBOOT-2018
chn_cfg_mode     : Hardware DE channel allocation config. 0:single display with 6
                                   channel, 1:dual display with 4 channel in main display and 2 channel in second
                   display, 2:dual display with 3 channel in main display and 3 channel in second
                   in display.
----------------------------------------------------------------------------------*/
                disp: disp@06000000 {
                        disp_init_enable         = <1>;
                        disp_mode                = <1>;

                        screen0_output_type      = <1>;
                        screen0_output_mode      = <4>;

                        screen0_output_format    = <0>;
                        screen0_output_bits      = <0>;
                        screen0_output_eotf      = <4>;
                        screen0_output_cs        = <257>;
                        screen0_output_dvi_hdmi  = <2>;
                        screen0_output_range     = <2>;
                        screen0_output_scan      = <0>;
                        screen0_output_aspect_ratio = <8>;

                        screen1_output_type      = <1>;
                        screen1_output_mode      = <4>;

                        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         = <1>;
                        dev1_output_mode         = <4>;
                        dev1_screen_id           = <1>;
                        dev1_do_hpd              = <0>;

                        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 = <>;
                        /*VCC-DSI*/
                        eldo3-supply = <>;
                        /*VCC-PD*/
                        dcdc1-supply = <>;
                        status        = "okay";
                };
/*----------------------------------------------------------------------------------
;lcd0 configuration

;lcd_if:               0:hv(sync+de); 1:8080; 2:ttl; 3:lvds; 4:dsi; 5:edp; 6:extend dsi
;lcd_hv_if             0:Parallel RGB; 8:Serial RGB; 10:Dummy RGB; 11: RGB Dummy;12:CCIR656
;lcd_hv_clk_phase      0:0 degree;1:90 degree;2:180 degree;3:270 degree
;lcd_hv_sync_polarity  0:vs low,hs low; 1:vs high,hslow; 2:vs low,hs high; 3:vs high,hs high
;lcd_hv_syuv_seq       0:YUYV; 1:YVYU; 2:UYVY; 3:VYUY
;lcd_cpu_if            0:18bit/1 cycle parallel(RGB666); 4:16bit/1cycle parallel (RGB565)
;                      6:18bit/3 cycle parallel(RGB666); 7:16bit/2cycle parallel (RGB565)
;lcd_cpu_te            0:frame auto trigger; 1:frame triggered by te rising edge; 2:frame triggered by te falling edge;
;lcd_dsi_if            0:video mode; 1: Command mode; 2:video burst mode
;lcd_dsi_te            0:frame auto trigger; 1:frame triggered by te rising edge; 2:frame triggered by te falling edge;
;lcd_x:                lcd horizontal resolution
;lcd_y:                lcd vertical resolution
;lcd_width:            width of lcd in mm
;lcd_height:           height of lcd in mm
;lcd_dclk_freq:        in MHZ unit
;lcd_pwm_freq:         in HZ unit
;lcd_pwm_pol:          lcd backlight PWM polarity
;lcd_pwm_max_limit     lcd backlight PWM max limit(<=255)
;lcd_hbp:              hsync back porch(pixel) + hsync plus width(pixel);
;lcd_ht:               hsync total cycle(pixel)
;lcd_vbp:              vsync back porch(line) + vysnc plus width(line)
;lcd_vt:               vysnc total cycle(line)
;lcd_hspw:             hsync plus width(pixel)
;lcd_vspw:             vysnc plus width(pixel)
;lcd_lvds_if:          0:single link;  1:dual link(odd and even); 2:dual link(same pixel)
;lcd_lvds_colordepth:  0:8bit; 1:6bit
;lcd_lvds_mode:        0:NS mode; 1:JEIDA mode
;lcd_frm:              0:disable; 1:enable rgb666 dither; 2:enable rgb656 dither
;lcd_io_phase:         0:noraml; 1:intert phase(0~3bit: vsync phase; 4~7bit:hsync phase;
;                      8~11bit:dclk phase; 12~15bit:de phase)
;lcd_gamma_en          lcd gamma correction enable
;lcd_bright_curve_en   lcd bright curve correction enable
;lcd_cmap_en           lcd color map function enable
;deu_mode              0:smoll lcd screen; 1:large lcd screen(larger than 10inch)
;lcdgamma4iep:         Smart Backlight parameter, lcd gamma vale * 10;
;                      decrease it while lcd is not bright enough; increase while lcd is too bright
;smart_color           90:normal lcd screen 65:retina lcd screen(9.7inch)
;Pin setting for special function ie.LVDS, RGB data or vsync
;   name(donot care) = port:PD12<pin function><pull up or pull down><drive ability><output level>
;Pin setting for gpio:
;   lcd_gpio_X     = port:PD12<pin function><pull up or pull down><drive ability><output level>
;Pin setting for backlight enable pin
;   lcd_bl_en     = port:PD12<pin function><pull up or pull down><drive ability><output level>
;fsync setting, pulse to csi
;lcd_fsync_en          (0:disable fsync,1:enable)
;lcd_fsync_act_time    (active time of fsync, unit:pixel)
;lcd_fsync_dis_time    (disactive time of fsync, unit:pixel)
;lcd_fsync_pol         (0:positive;1:negative)
;gpio config: <&pio for cpu or &r_pio for cpus, port, port num, pio function,
pull up or pull down(default 0), driver level(default 1), data>
;For dual link lvds: use lvds2link_pins_a  and lvds2link_pins_b instead
;For rgb24: use rgb24_pins_a  and rgb24_pins_b instead
;For lvds1: use lvds1_pins_a  and lvds1_pins_b instead
;For lvds0: use lvds0_pins_a  and lvds0_pins_b instead
;----------------------------------------------------------------------------------*/
                lcd0: lcd0@01c0c000 {
        lcd_used            = <1>;

        lcd_driver_name     = "tft08006";
        lcd_backlight       = <100>;
        lcd_if              = <4>;

        lcd_x               = <800>;
        lcd_y               = <1280>;
        lcd_width           = <52>;
        lcd_height          = <52>;
        lcd_dclk_freq       = <70>;

        lcd_pwm_used        = <0>;
        lcd_pwm_ch          = <0>;
        lcd_pwm_freq        = <1000>;
        lcd_pwm_pol         = <0>;
        lcd_pwm_max_limit   = <255>;

        lcd_hbp             = <32>;
        lcd_ht              = <868>;
        lcd_hspw            = <4>;
        lcd_vbp             = <12>;
        lcd_vt              = <1311>;
        lcd_vspw            = <4>;

        lcd_dsi_if          = <0>;
        lcd_dsi_lane        = <4>;
        lcd_lvds_if         = <0>;
        lcd_lvds_colordepth = <0>;
        lcd_lvds_mode       = <0>;
        lcd_frm             = <0>;
        lcd_hv_clk_phase    = <0>;
        lcd_hv_sync_polarity= <0>;
        lcd_io_phase        = <0x0000>;
        lcd_gamma_en        = <0>;
        lcd_bright_curve_en = <0>;
        lcd_cmap_en         = <0>;
        lcd_fsync_en        = <0>;
        lcd_fsync_act_time  = <1000>;
        lcd_fsync_dis_time  = <1000>;
        lcd_fsync_pol       = <0>;

        deu_mode            = <0>;
        lcdgamma4iep        = <22>;
        smart_color         = <90>;

                        lcd_pin_power;
                        lcd_power;
                        /*lcd_bl_en = <&pio PB 8 1 0 3 1>;*/
                        /*lcd_gpio_1 = <&pio PD 23 1 0 3 1>;*/
                        lcd_gpio_0 = <&pio PC 12 1 0 3 1>;
                        pinctrl-0 = <&dsi4lane_pins_a>;
                        pinctrl-1 = <&dsi4lane_pins_b>;

                        status = "okay";

                };


                lcd1: lcd1@01c0c001 {
                        lcd_used                = <1>;
                        lcd_driver_name         = "st7701s_rgb";

                        lcd_if                  = <0>;
                        lcd_hv_if               = <0>;

                        lcd_width               = <70>;
                        lcd_height              = <72>;
                        lcd_x                   = <480>;
                        lcd_y                   = <480>;
                        lcd_dclk_freq           = <11>;
                        lcd_hbp                 = <60>;
                        lcd_ht                  = <612>;
                        lcd_hspw                = <12>;
                        lcd_vbp                 = <18>;
                        lcd_vt                  = <520>;
                        lcd_vspw                = <4>;

                        lcd_backlight           = <250>;// 0 ~ 255
                        lcd_pwm_used            = <1>;
                        lcd_pwm_ch              = <8>;
                        lcd_pwm_freq            = <20000>;
                        lcd_pwm_pol             = <1>;
                        lcd_pwm_max_limit   = <255>;
                        lcd_bright_curve_en = <0>;

                        lcd_frm                 = <1>;
                        lcd_io_phase            = <0x0000>;
                        lcd_gamma_en            = <0>;
                        lcd_cmap_en             = <0>;
                        lcd_hv_clk_phase        = <1>;
                        lcd_hv_sync_polarity= <0>;
                        lcd_rb_swap         = <0>;

                        //lcd_bl_en           = <&pio PI 7 1 1 3 1>;
                        lcd_gpio_0              = <&pio PJ 16 1 1 3 1>;//reset
                        lcd_gpio_1              = <&pio PJ 17 1 1 3 1>;//cs
                        lcd_gpio_2              = <&pio PC  2 1 1 3 1>;//sdi
                        lcd_gpio_3              = <&pio PC 12 1 1 3 1>;//scl

/*
                        lcd_gpio_2              = <&r_pio PL 2 1 1 3 1>;//sdi
                        lcd_gpio_3              = <&r_pio PL 3 1 1 3 1>;//scl
*/
                        lcd_pin_power;
                        lcd_power;

                        pinctrl-0                       = <&rgb18_pins_c>;
                        pinctrl-1                       = <&rgb18_pins_d>;

                        status = "okay";
                };


                wlan: wlan@0 {
                        compatible    = "allwinner,sunxi-wlan";
                        pinctrl-0;
                        pinctrl-names;
                        wlan_busnum   = <0x1>;
                        wlan_power;
                        wlan_io_regulator;
                        wlan_regon = <&r_pio PL 10 1 0xffffffff 0xffffffff 0>;
                        wlan_hostwake = <&r_pio PL 7 1 0xffffffff 0xffffffff 0>;
                        chip_en;
                        power_en;
                        status        = "okay";
                };

                bt: bt@0 {
                        compatible    = "allwinner,sunxi-bt";
                        clocks        = <&clk_losc_out>, <&clk_dcxo_out>;
                        bt_power;
                        bt_io_regulator;
                        bt_rst_n      = <&r_pio PL 5 1 0xffffffff 0xffffffff 0>;
                        bt_wake = <&r_pio PL 4 1 0xffffffff 0xffffffff 0>;
                        bt_hostwake = <&r_pio PL 6 1 0xffffffff 0xffffffff 0>;
                        status        = "okay";
                };


                modem: modem@0 {
                        compatible    = "allwinner,sunxi-modem";
                        modem_power;
                        modem_rst     = <&pio PB 3 1 0xffffffff 0xffffffff 1>;
                        status        = "disabled";
                };

                btlpm: btlpm@0 {
                        compatible  = "allwinner,sunxi-btlpm";
                        uart_index  = <0x1>;
                        bt_wake     = <&r_pio PL 4 1 0xffffffff 0xffffffff 1>;//AP-WAKE-BT
                        bt_hostwake = <&r_pio PL 6 1 0xffffffff 0xffffffff 1>;//BT-WAKE-AP
                        status      = "okay";

                };
/*
                btlpm: btlpm@0 {
                        compatible  = "allwinner,sunxi-btlpm";
                        uart_index  = <0x1>;
                        bt_wake     = <&r_pio PL 3 1 0xffffffff 0xffffffff 1>;
                        bt_hostwake = <&r_pio PL 4 6 0xffffffff 0xffffffff 1>;
                        status      = "disabled";

                };
*/
                addr_mgt: addr_mgt@0 {
                        compatible     = "allwinner,sunxi-addr_mgt";
                        type_addr_wifi = <0x0>;
                        type_addr_bt   = <0x0>;
                        type_addr_eth  = <0x0>;
                        status         = "okay";
                };

                uart0: uart@05000000 {
                        uart-supply = <>;
                };

                uart1: uart@05000400 {
                        status = "okay";
                };

                uart5: uart@05001400 {
                        status = "disabled";
                };

                uart6: uart@05001800 {
                        status = "disabled";
                        rs485-en = <&pio PI 11 1 1 0xffffffff 1>;
                };

                ncs8801s {
                        status = "disabled";
                        ncs8801s_reset = <&pio PI 14 1 0xffffffff 0xffffffff 0>;
                };
        };

        gpu: gpu@0x01800000 {
                        gpu_idle = <0>;
                        dvfs_status = <1>;
                        pll_rate = <504000>;
                        independent_power = <0>;
                        operating-points = <
                                 /* KHz   uV */
                                504000 950000
                                472500 950000
                                441000 950000
                                252000 950000
                         >;
                         gpu-supply = <>;
        };
        opp_dvfs_table:opp_dvfs_table {
                cluster_num = <1>;
                opp_table_count = <1>;
        };
};

&cpu0 {
        cpu-supply = <>;
};

日志:

[37]HELLO! BOOT0 is starting!
[40]BOOT0 commit : dc54be6
[43]set pll start
[45]periph0 has been enabled
[48]set pll end
[50][pmu]: bus read error
[52][pmu]: bus read error
[60]vaild para:1  select dram para0
[63]board init ok
[65]DRAM BOOT DRIVE INFO: V0.19
[68]the chip id is 0x2400
[71]the chip id is 0x2400
[73]the chip id is 0x2400
[76]the chip id is 0x2400
[79]the chip id is 0x2400
[81]chip id check OK
[83]DRAM_VCC set to 1100 mv
[86]DRAM CLK =792 MHZ
[88]DRAM Type =8 (3:DDR3,4:DDR4,7:LPDDR3,8:LPDDR4)
[96]DRAM SIZE =1024 MBytes, para1 = 30fa, para2 = 4000000, dram_tpr13 = 6063
[109]DRAM simple test OK.
[111]dram size =1024
[113]chipid = 53002400
[115]nsi init ok 2020-4-7
[119]card no is 2
[120]sdcard 2 line count 8
[123][mmc]: mmc driver ver 2020-05-25 09:40
[133][mmc]: Wrong media type 0x0
[136][mmc]: ***Try SD card 2***
[140][mmc]: mmc 2 cmd 8 timeout, err 100
[144][mmc]: mmc 2 cmd 8 err 100
[147][mmc]: mmc 2 send if cond failed
[152][mmc]: mmc 2 cmd 55 timeout, err 100
[156][mmc]: mmc 2 cmd 55 err 100
[159][mmc]: mmc 2 send app cmd failed
[163][mmc]: ***Try MMC card 2***
[187][mmc]: RMCA OK!
[189][mmc]: mmc 2 bias 4
[192][mmc]: MMC 5.1
[194][mmc]: HSSDR52/SDR25 8 bit
[197][mmc]: 50000000 Hz
[200][mmc]: 14910 MB
[202][mmc]: ***SD/MMC 2 init OK!!!***
[258]Loading boot-pkg Succeed(index=0).
[262]Entry_name        = u-boot
[269]Entry_name        = monitor
[273]Entry_name        = scp
[281]set arisc reset to de-assert state
[285]Entry_name        = dtb
[288]tunning data addr:0x4a0003e8
[292]Jump to second Boot.
NOTICE:  BL3-1: v1.0(debug):cc1f5d7
NOTICE:  BL3-1: Built : 10:23:25, 2020-04-08
NOTICE:  BL3-1 commit: 8
ERROR:   Error initializing runtime service tspd_fast
NOTICE:  BL3-1: Preparing for EL3 exit to normal world
NOTICE:  BL3-1: Next image address = 0x4a000000
▒OTICE:  BL3-1: Next image spsr = 0x1d3

U-Boot 2018.05 (Apr 17 2022 - 05:02:05 +0000) Allwinner Technology

[00.371]CPU:   Allwinner Family
[00.374]Model: sun50iw10
I2C:   ready
[00.626]DRAM:  1 GiB
[00.629]Relocation Offset is: 35f13000
[00.659]secure enable bit: 0
[00.661][ARISC] :arisc initialize
[00.666][ARISC ERROR] :get [allwinner,sunxi-hwspinlock] device node error
CACHE: Misaligned operation at range [7ffa6d88, 7ffa70a0]
[00.678][ARISC] :arisc para ok
[SCP] :sunxi-arisc driver begin startup 2
[SCP] :0x1
[SCP] :arisc version: [ca79327ac09021f1a13c79dd97da281c7be9a63arid-]
[SCP] :arisc startup ready
[SCP] :arisc startup notify message feedback
[SCP] :send hard sync feedback message: 0x900200
[SCP] :sunxi-arisc driver v1.10 is starting
[00.709][ARISC] :sunxi-arisc driver startup succeeded
[00.714]pmu_axp81X_probe pmic_bus_read fail
[00.718]pmu_axp858_probe pmic_bus_read fail
[00.722]PMU: no found
[00.724]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=400Mhz
[00.731]init_clocks:finish
[00.733]not need merged sunxi overlay
[00.737]drv_disp_init
request pwm success, pwm8:pwm8:0x300a000.
[00.768]drv_disp_init finish
[00.776]gic: sec monitor mode
[00.779]flash init start
[00.781]workmode = 0,storage type = 2
[00.785][mmc]: mmc driver ver uboot2018:2020-5-25 9:26:00-20201021190
[00.798][mmc]: SUNXI SDMMC Controller Version:0x50300
[00.823][mmc]: Best spd md: 2-HSDDR52/DDR50, freq: 2-50000000, Bus width: 8
[00.830]sunxi flash init ok
[00.833]Loading Environment from SUNXI_FLASH... OK
[00.841]no secure os for keybox operation
[00.845]try to burn key
[00.848]out of usb burn from boot: not need burn key
[00.853]boot_gui_init:start
[00.857]set disp.dev2_output_type fail. using defval=0
[00.862]disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(150000000)
     clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000)
[00.900]switch device: sel=0, type=1, mode=4, format=0, bits=0, eotf=4, cs=260
[00.907]boot_gui_init:finish
[00.910[00.910]tft8006 .................... ...............
[00.915]tft8006 .................... ...............
[00.920]tft8006 .................... ...............
[00.924]tft8006 .................... ...............
[00.929]tft8006 .................... ...............
[00.934]tft8006 .................... ...............
[00.938]tft8006 .................... ...............
[00.943]tft8006 .................... ...............
]bmp_name=bootlogo.bmp
partno erro : can't find partition bootloader
[01.120]soc ic_ver:0x0, qa_val:0x0, markid:0x53002400 dclk[0-9999]
691254 bytes read in 8 ms (82.4 MiB/s)
[01.136]read item0 copy0
[01.138]Item0 (Map) magic is bad
[01.141]the secure storage item0 copy0 magic is bad
[01.146]Item0 (Map) magic is bad
[01.149]the secure storage item0 copy1 magic is bad
[01.153]Item0 (Map) magic is bad
[01.156]the secure storage map is empty
[01.160]no item name device_unlock in the map
[01.164]no item name fastboot_status_flag in the map
[01.168]sunxi secure storage has no flag
[01.174][mmc]: delete mmc-h[01.176]pwm device hdl is NULL
[01.179]LCD open finish
s400-1_8v from dtb
[01.183][mmc]: delete mmc-hs200-1_8v from dtb
[01.187][mmc]: get max-frequency ok 50000000 Hz
[01.193](weak)update dtb dram start
[01.197]update dtb dram  end
[01.199]update dts
[01.201]no item name snum in the map
partno erro : can't find partition private
[01.211]no item name mac in the map
partno erro : can't find partition private
[01.221]no item name wifi_mac in the map
partno erro : can't find partition private
[01.231]no item name bt_mac in the map
partno erro : can't find partition private
[01.241]no item name specialstr in the map
partno erro : can't find partition private
[01.254]update part info
[01.257]key 0
[01.260]no misc partition is found
[01.263]update bootcmd
[01.265]serial num is: 0c001415a0c086d218d
Hit any key to stop autoboot:  0
[01.279]partinfo: name boot, start 0x22000, size 0x10000
[01.443]in boot normal mode,pass normal para to cmdline
[01.449]android.hardware = sun50iw10p1
[01.452]androidboot.dtbo_idx  can't findAndroid's image name: sun50i_arm64
[01.522]Starting kernel ...

[01.524][mmc]: mmc exit start
[01.543][mmc]: mmc 2 exit ok
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.170 (whycan@ubuntu) (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05) ) #9 SMP PREEMPT Sun Jun 26 21:55:05 CST 2022
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] disp reserve base 0x7bf61080 ,size 0x3e8000
[    0.000000] cma: Reserved 8 MiB at 0x000000007f800000
[    0.000000] On node 0 totalpages: 262144
[    0.000000]   DMA zone: 4096 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 262144 pages, LIFO batch:31
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 21 pages/cpu @ffffffc03f70b000 s45696 r8192 d32128 u86016
[    0.000000] pcpu-alloc: s45696 r8192 d32128 u86016 alloc=21*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 258048
[    0.000000] Kernel command line: earlyprintk=sunxi-uart,0x05000000 initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p4 init=/init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:boot@mmcblk0p3:rootfs@mmcblk0p4:klog@mmcblk0p5:UDISK@mmcblk0p6 cma=8M snum=0c001415a0c086d218d mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.serialno=0c001415a0c086d218d androidboot.hardware=sun50iw10p1 boot_type=2 androidboot.boot_type=2 androidboot.secure_os_exist=0 androidboot.trustchain=false gpt=1 uboot_message=2018.05(04/17/2022-05:02:05) disp_reserve=4096000,0x7bf61080 bootreason=unknow
[    0.000000] log_buf_len individual max cpu contribution: 4096 bytes
[    0.000000] log_buf_len total cpu_extra contributions: 12288 bytes
[    0.000000] log_buf_len min size: 16384 bytes
[    0.000000] log_buf_len: 32768 bytes
[    0.000000] early log buf free: 14220(86%)
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.000000] Memory: 987664K/1048576K available (6590K kernel code, 1310K rwdata, 2020K rodata, 448K init, 267K bss, 52720K reserved, 8192K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000   (   250 GB)
[    0.000000]       .text : 0xffffff8008080000 - 0xffffff80086f0000   (  6592 KB)
[    0.000000]     .rodata : 0xffffff80086f0000 - 0xffffff80088f0000   (  2048 KB)
[    0.000000]       .init : 0xffffff80088f0000 - 0xffffff8008960000   (   448 KB)
[    0.000000]       .data : 0xffffff8008960000 - 0xffffff8008aa7808   (  1311 KB)
[    0.000000]        .bss : 0xffffff8008aa7808 - 0xffffff8008aea4c8   (   268 KB)
[    0.000000]     fixed   : 0xffffffbefe7fb000 - 0xffffffbefec00000   (  4116 KB)
[    0.000000]     PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000   (    16 MB)
[    0.000000]     vmemmap : 0xffffffbf00000000 - 0xffffffc000000000   (     4 GB maximum)
[    0.000000]               0xffffffbf00000000 - 0xffffffbf01000000   (    16 MB actual)
[    0.000000]     memory  : 0xffffffc000000000 - 0xffffffc040000000   (  1024 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 64.
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000004] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.008199] Console: colour dummy device 80x25
[    0.012414] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.022619] pid_max: default: 32768 minimum: 301
[    0.027668] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.033897] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.043988] sched-energy: CPU device node has no sched-energy-costs
[    0.047281] Invalid sched_group_energy for CPU0
[    0.051748] CPU0: update cpu_capacity 1024
[    0.067890] ASID allocator initialised with 32768 entries
[    0.124102] Detected VIPT I-cache on CPU1
[    0.124154] Invalid sched_group_energy for CPU1
[    0.124157] CPU1: update cpu_capacity 1024
[    0.124160] CPU1: Booted secondary processor [410fd034]
[    0.152145] Detected VIPT I-cache on CPU2
[    0.152176] Invalid sched_group_energy for CPU2
[    0.152179] CPU2: update cpu_capacity 1024
[    0.152182] CPU2: Booted secondary processor [410fd034]
[    0.180209] Detected VIPT I-cache on CPU3
[    0.180237] Invalid sched_group_energy for CPU3
[    0.180239] CPU3: update cpu_capacity 1024
[    0.180242] CPU3: Booted secondary processor [410fd034]
[    0.180316] Brought up 4 CPUs
[    0.230952] SMP: Total of 4 processors activated.
[    0.235641] CPU features: detected feature: 32-bit EL0 Support
[    0.241446] CPU features: detected feature: Kernel page table isolation (KPTI)
[    0.251494] CPU: All CPU(s) started at EL1
[    0.252727] alternatives: patching kernel code
[    0.257633] Invalid sched_group_energy for CPU3
[    0.261644] Invalid sched_group_energy for Cluster3
[    0.266493] Invalid sched_group_energy for CPU2
[    0.271000] Invalid sched_group_energy for Cluster2
[    0.275852] Invalid sched_group_energy for CPU1
[    0.280359] Invalid sched_group_energy for Cluster1
[    0.285212] Invalid sched_group_energy for CPU0
[    0.289719] Invalid sched_group_energy for Cluster0
[    0.295715] devtmpfs: initialized
[    0.542423] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.546552] futex hash table entries: 1024 (order: 5, 131072 bytes)
[    0.553398] atomic64_test: passed
[    0.556054] pinctrl core: initialized pinctrl subsystem
[    0.566132] NET: Registered protocol family 16
[    0.570227] dump_class_init,861, success
[    0.573453] sunxi iommu: irq = 8
[    0.574277] vdso: 2 pages (1 code @ ffffff80086f7000, 1 data @ ffffff8008964000)
[    0.581485] DMA: preallocated 256 KiB pool for atomic allocations
[    0.598339] sun50iw10p1-r-pinctrl r_pio: initialized sunXi PIO driver
[    0.673640] sun50iw10p1-pinctrl pio: initialized sunXi PIO driver
[    0.686618] iommu: Adding device 1c0e000.ve to group 0
[    0.704907] iommu: Adding device 6000000.disp to group 0
[    0.707498] iommu: Adding device 6480000.g2d to group 0
[    0.723869] iommu: Adding device csi0 to group 0
[    0.725071] iommu: Adding device csi1 to group 0
[    0.730391] iommu: Adding device 2108000.tdm to group 0
[    0.733859] iommu: Adding device 2100000.isp to group 0
[    0.739064] iommu: Adding device 2102000.isp to group 0
[    0.743912] iommu: Adding device 2110000.scaler to group 0
[    0.749331] iommu: Adding device 2110400.scaler to group 0
[    0.754841] iommu: Adding device 2110800.scaler to group 0
[    0.760255] iommu: Adding device 2110c00.scaler to group 0
[    0.849008] pwm module init!
[    0.859541] sunxi-pm debug v3.10
[    0.865829] SCSI subsystem initialized
[    0.867916] usbcore: registered new interface driver usbfs
[    0.869709] usbcore: registered new interface driver hub
[    0.874974] usbcore: registered new device driver usb
[    0.880335] sunxi_i2c_adap_init()2649 - init
[    0.885204] sunxi_i2c_probe()2372 - [i2c5] twi_drv_used = 0
[    0.889537] sunxi_i2c_probe()2379 - [i2c5] twi_pkt_interval = 0
[    0.895440] twi5 supply twi not found, using dummy regulator
[    0.901281] twi_request_gpio()458 - [i2c5] init name: (null)
[    0.908813] media: Linux media interface: v0.10
[    0.911463] Linux video capture interface: v2.00
[    0.918078] ion_parse_dt_heap_common: id 0 type 0 name sys_user align 1000
[    0.923275] ion_parse_dt_heap_common: id 4 type 4 name cma align 1000
[    0.929641] ion_parse_dt_heap_common: id 6 type 6 name secure align 1000
[    0.936601] ion_heap_create: Invalid heap type 6
[    0.940847] Advanced Linux Sound Architecture Driver Initialized.
[    0.949304] Bluetooth: Core ver 2.22
[    0.950040] NET: Registered protocol family 31
[    0.954365] Bluetooth: HCI device and connection manager initialized
[    0.960712] Bluetooth: HCI socket layer initialized
[    0.965562] Bluetooth: L2CAP socket layer initialized
[    0.970702] Bluetooth: SCO socket layer initialized
[    0.978072] clocksource: Switched to clocksource arch_sys_counter
[    1.034485] udc_init,0
[    1.034904] NET: Registered protocol family 2
[    1.062522] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    1.064009] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[    1.070634] TCP: Hash tables configured (established 8192 bind 8192)
[    1.076909] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    1.082693] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    1.089792] NET: Registered protocol family 1
[    1.094072] Unpacking initramfs...
[    1.301763] Freeing initrd memory: 2544K
[    1.309341] workingset: timestamp_bits=61 max_order=18 bucket_order=0
[    1.401642] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.403718] ntfs: driver 2.1.32 [Flags: R/W].
[    1.415553] io scheduler noop registered
[    1.415597] io scheduler deadline registered
[    1.420015] io scheduler cfq registered (default)
[    1.429013] [DISP]disp_module_init
[    1.431216] [DISP] disp_init,line:2260:
[    1.431254] smooth display screen:0 type:1 mode:4
[    1.519794] [DISP] lcd_clk_config,line:665:
[    1.519839] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000)
[    1.519839]      clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000)
[    1.523126] [DISP]disp_module_init finish
[    1.546406] uart uart0: get regulator failed
[    1.546466] uart0 supply uart not found, using dummy regulator
[    1.551542] uart0: ttyS0 at MMIO 0x5000000 (irq = 349, base_baud = 1500000) is a SUNXI
[    1.558779] sw_console_▒[    1.566763] console [ttyS0] enabled
[    1.566763] console [ttyS0] enabled
[    1.570758] bootconsole [earlycon0] disabled
[    1.570758] bootconsole [earlycon0] disabled
[    1.581238] uart uart1: get regulator failed
[    1.588062] uart1 supply uart not found, using dummy regulator
[    1.595230] uart1: ttyS1 at MMIO 0x5000400 (irq = 350, base_baud = 1500000) is a SUNXI
[    1.606709] misc dump reg init
[    1.614059] [drm] Initialized
[    1.618184] Unable to detect cache hierarchy for CPU 0
[    1.624148] [NAND][NE] Not found valid nand node on dts
[    1.630567] sunxi-bt soc@03000000:bt@0: Missing bt_power.
[    1.636653] sunxi-bt soc@03000000:bt@0: bt_power_name ((null))
[    1.643240] sunxi-bt soc@03000000:bt@0: Missing bt_io_regulator.
[    1.650006] sunxi-bt soc@03000000:bt@0: io_regulator_name ((null))
[    1.657018] sunxi-bt soc@03000000:bt@0: bt_rst gpio=357  mul-sel=1  pull=-1  drv_level=-1  data=0
[    1.667167] sunxi-bt soc@03000000:bt@0: devm_pinctrl_get() failed!
[    1.675598] sunxi-wlan soc@03000000:wlan@0: wlan_busnum (1)
[    1.681883] sunxi-wlan soc@03000000:wlan@0: Missing wlan_power.
[    1.688553] sunxi-wlan soc@03000000:wlan@0: wlan_power_name ((null))
[    1.695722] sunxi-wlan soc@03000000:wlan@0: Missing wlan_io_regulator.
[    1.703080] sunxi-wlan soc@03000000:wlan@0: io_regulator_name ((null))
[    1.710466] sunxi-wlan soc@03000000:wlan@0: wlan_regon gpio=362  mul-sel=1  pull=-1  drv_level=-1  data=0
[    1.721278] sunxi-wlan soc@03000000:wlan@0: get gpio chip_en failed
[    1.728348] sunxi-wlan soc@03000000:wlan@0: get gpio power_en failed
[    1.735522] sunxi-wlan soc@03000000:wlan@0: wlan_hostwake gpio=359  mul-sel=1  pull=-1  drv_level=-1  data=0
[    1.746919] sunxi-wlan soc@03000000:wlan@0: clk not config
[    1.753103] sunxi-wlan soc@03000000:wlan@0: dcxo not config
[    1.759491] sunxi-wlan soc@03000000:wlan@0: pinctrl_lookup_state(default) failed! return ffffffffffffffed
[    1.772335] [ADDR_MGT] addr_mgt_probe: success.
[    1.782834] libphy: Fixed MDIO Bus: probed
[    1.787509] tun: Universal TUN/TAP device driver, 1.6
[    1.793204] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    1.803703] gmac-power0: NULL
[    1.807058] gmac-power1: NULL
[    1.810403] gmac-power2: NULL
[    1.816868] PPP generic driver version 2.4.2
[    1.822683] PPP BSD Compression module registered
[    1.827997] PPP Deflate Compression module registered
[    1.833737] PPP MPPE Compression module registered
[    1.839152] NET: Registered protocol family 24
[    1.844244] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.852072] get ehci0-controller, regulator_io is no nocare
[    1.858356] get ehci0-controller wakeup-source is fail.
[    1.864575] sunxi ehci0-controller don't init wakeup source
[    1.870870] [sunxi-ehci0]: probe, pdev->name: 5101000.ehci0-controller, sunxi_ehci: 0xffffff8008adc048, 0x:ffffff8008b13000, irq_no:161
[    1.884574] [sunxi-ehci0]: Not init ehci0
[    1.889326] get ehci1-controller, regulator_io is no nocare
[    1.896060] [sunxi-ehci1]: probe, pdev->name: 5200000.ehci1-controller, sunxi_ehci: 0xffffff8008adc758, 0x:ffffff8008b1d000, irq_no:163
[    1.909840] 5200000.ehci1-controller supply drvvbus not found, using dummy regulator
[    1.918841] sunxi-ehci 5200000.ehci1-controller: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.929108] sunxi-ehci 5200000.ehci1-controller: new USB bus registered, assigned bus number 1
[    1.939588] sunxi-ehci 5200000.ehci1-controller: irq 355, io mem 0xffffff80088f0458
[    1.962093] sunxi-ehci 5200000.ehci1-controller: USB 0.0 started, EHCI 1.00
[    1.973621] hub 1-0:1.0: USB hub found
[    1.977939] hub 1-0:1.0: 1 port detected
[    1.984943] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.992397] get ohci0-controller, regulator_io is no nocare
[    1.998717] get ohci0-controller wakeup-source is fail.
[    2.004933] sunxi ohci0-controller don't init wakeup source
[    2.011354] [sunxi-ohci0]: probe, pdev->name: 5101000.ohci0-controller, sunxi_ohci: 0xffffff8008adc3d0
[    2.021841] [sunxi-ohci0]: Not init ohci0
[    2.026604] get ohci1-controller, regulator_io is no nocare
[    2.033501] [sunxi-ohci1]: probe, pdev->name: 5200000.ohci1-controller, sunxi_ohci: 0xffffff8008adcae0
[    2.044051] 5200000.ohci1-controller supply drvvbus not found, using dummy regulator
[    2.053065] sunxi-ohci 5200000.ohci1-controller: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    2.062932] sunxi-ohci 5200000.ohci1-controller: new USB bus registered, assigned bus number 2
[    2.072948] sunxi-ohci 5200000.ohci1-controller: irq 356, io mem 0xffffff80088f0458
[    2.145684] hub 2-0:1.0: USB hub found
[    2.150024] hub 2-0:1.0: 1 port detected
[    2.157367] usbcore: registered new interface driver uas
[    2.163733] usbcore: registered new interface driver usb-storage
[    2.170679] usbcore: registered new interface driver ums-alauda
[    2.177531] usbcore: registered new interface driver ums-cypress
[    2.184481] usbcore: registered new interface driver ums-datafab
[    2.191426] usbcore: registered new interface driver ums_eneub6250
[    2.198560] usbcore: registered new interface driver ums-freecom
[    2.205507] usbcore: registered new interface driver ums-isd200
[    2.212356] usbcore: registered new interface driver ums-jumpshot
[    2.219397] usbcore: registered new interface driver ums-karma
[    2.226156] usbcore: registered new interface driver ums-onetouch
[    2.233317] usbcore: registered new interface driver ums-realtek
[    2.240262] usbcore: registered new interface driver ums-sddr09
[    2.247108] usbcore: registered new interface driver ums-sddr55
[    2.253946] usbcore: registered new interface driver ums-usbat
[    2.260819] usb_serial_number:20080411
[    2.266395] sunxikbd_key_init: key0 vol= 210 code= 115
[    2.272190] sunxikbd_key_init: key1 vol= 410 code= 114
[    2.277983] sunxikbd_key_init: key2 vol= 590 code= 139
[    2.283771] sunxikbd_key_init: key3 vol= 750 code= 28
[    2.289465] sunxikbd_key_init: key4 vol= 880 code= 102
[    2.296631] input: sunxi-keyboard as /devices/virtual/input/input0
[    2.305256] sun50iw10p1-pinctrl pio: pin PH3 already requested by gmac0; cannot claim for ir0
[    2.314864] sun50iw10p1-pinctrl pio: pin-227 (ir0) status -22
[    2.321343] sun50iw10p1-pinctrl pio: could not request pin 227 (PH3) from group PH3  on device pio
[    2.331432] sunxi-ir-tx ir0: Error applying setting, reverse things back
[    2.339082] sunxi-ir-tx: probe of ir0 failed with error -22
[    2.347276] sunxi_gpadc_init,1536, success
[    2.353622] input: sunxi-gpadc0 as /devices/virtual/input/input1
[    2.363516] sunxi-rtc rtc: rtc core: registered sunxi-rtc as rtc0
[    2.370621] sunxi-rtc rtc: RTC enabled
[    2.375351] i2c /dev entries driver
[    2.380440] IR NEC protocol handler initialized
[    2.385548] IR RC5(x/sz) protocol handler initialized
[    2.391240] IR RC6 protocol handler initialized
[    2.396343] IR JVC protocol handler initialized
[    2.401448] IR Sony protocol handler initialized
[    2.406648] IR SANYO protocol handler initialized
[    2.411949] IR Sharp protocol handler initialized
[    2.417248] IR MCE Keyboard/mouse protocol handler initialized
[    2.423821] IR XMP protocol handler initialized
[    2.429331] usbcore: registered new interface driver uvcvideo
[    2.435804] USB Video Class driver (1.1.1)
[    2.440419] sunxi cedar version 0.1
[    2.444631] VE: install start!!!
[    2.444631]
[    2.450165] cedar_ve: cedar-ve the get irq is 347
[    2.456652] VE: get debugfs_mpp_root is NULL, please check mpp
[    2.456652]
[    2.464891] VE: sunxi ve debug register driver failed!
[    2.464891]
[    2.473905] Bluetooth: HCI UART driver ver 2.3
[    2.478928] Bluetooth: HCI UART protocol H4 registered
[    2.484717] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    2.495132] sunxi-mmc sdc2: SD/MMC/SDIO Host Controller Driver(v3.46 2020-6-1 11:33-202006021635)
[    2.505411] sunxi-mmc sdc2: No vmmc regulator found
[    2.510912] sunxi-mmc sdc2: No vqmmc regulator found
[    2.516512] sunxi-mmc sdc2: No vdmmc regulator found
[    2.522106] sunxi-mmc sdc2: No vd33sw regulator found
[    2.527802] sunxi-mmc sdc2: No vd18sw regulator found
[    2.533493] sunxi-mmc sdc2: No vq33sw regulator found
[    2.539189] sunxi-mmc sdc2: No vq18sw regulator found
[    2.545734] sunxi-mmc sdc2: set host busy
[    2.550349] mmc:failed to get gpios
[    2.552599] random: fast init done
[    2.558859] sunxi-mmc sdc2: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.586091] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.614101] sunxi-mmc sdc2: detmode:alway in(non removable)
[    2.614122] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.622507] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.623594] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.634458] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.634544] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.647405] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.692229] sun50iw10p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0
[    2.701643] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.712536] sun50iw10p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0
[    2.712547] sun50iw10p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:uart0
[    2.712558] sun50iw10p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0
[    2.712569] sun50iw10p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:uart0
[    2.712580] sun50iw10p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0
[    2.713314] sunxi-mmc sdc0: SD/MMC/SDIO Host Controller Driver(v3.46 2020-6-1 11:33-202006021635)
[    2.713460] sunxi-mmc sdc0: ***ctl-spec-caps*** 8
[    2.713520] sunxi-mmc sdc0: No vmmc regulator found
[    2.713525] sunxi-mmc sdc0: No vqmmc regulator found
[    2.713529] sunxi-mmc sdc0: No vdmmc regulator found
[    2.713534] sunxi-mmc sdc0: No vd33sw regulator found
[    2.713538] sunxi-mmc sdc0: No vd18sw regulator found
[    2.713543] sunxi-mmc sdc0: No vq33sw regulator found
[    2.713547] sunxi-mmc sdc0: No vq18sw regulator found
[    2.714391] sunxi-mmc sdc0: set host busy
[    2.714481] sunxi-mmc sdc0: Got CD GPIO
[    2.715324] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.715351] sunxi-mmc sdc0: no vqmmc,Check if there is regulator
[    2.734093] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.754451] sunxi-mmc sdc0: detmode:gpio irq
[    2.754475] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[    2.756641] sunxi-mmc sdc1: SD/MMC/SDIO Host Controller Driver(v3.46 2020-6-1 11:33-202006021635)
[    2.756761] sunxi-mmc sdc1: ***ctl-spec-caps*** 8
[    2.756821] sunxi-mmc sdc1: No vmmc regulator found
[    2.756825] sunxi-mmc sdc1: No vqmmc regulator found
[    2.756830] sunxi-mmc sdc1: No vdmmc regulator found
[    2.756834] sunxi-mmc sdc1: No vd33sw regulator found
[    2.756838] sunxi-mmc sdc1: No vd18sw regulator found
[    2.756843] sunxi-mmc sdc1: No vq33sw regulator found
[    2.756847] sunxi-mmc sdc1: No vq18sw regulator found
[    2.757663] sunxi-mmc sdc1: set host busy
[    2.757763] mmc:failed to get gpios
[    2.757790] sunxi-mmc sdc1: min-frequency:400000
[    2.758483] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.758505] sunxi-mmc sdc1: no vqmmc,Check if there is regulator
[    2.769658] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing MMC-HS(SDR20) dt B
[    2.774984] sunxi-mmc sdc2: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing MMC-HS(SDR20) dt B
[    2.778093] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.780496] sunxi-mmc sdc2: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS(SDR20) dt B
[    2.797400] sunxi-mmc sdc2: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 8 timing MMC-DDR52 dt B
[    2.798097] sunxi-mmc sdc1: detmode:manually by software
[    2.800400] usbcore: registered new interface driver usbhid
[    2.800403] usbhid: USB HID core driver
[    2.803194] codec supply avcc not found, using dummy regulator
[    2.803214] mmc0: new DDR MMC card at address 0001
[    2.803467] [sunxi_internal_codec_probe]: audiocodec avcc set vol failed
[    2.803479] codec supply cpvin not found, using dummy regulator
[    2.803687] [sunxi_internal_codec_probe]: audiocodec cpvin set vol failed
[    2.804322] sunxi-internal-codec codec: pa_power_always_on get failed and set it off.
[    2.804329] digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_power_always_on:0
[    2.804337] adcdrc_cfg:0, adchpf_cfg:0, dacdrc_cfg:0, dachpf:0
[    2.804542] sunxi-internal-codec codec: [sunxi_internal_codec_probe] codec probe finished.
[    2.806450] [sunxi_card_init] card init finished.
[    2.806915] Audio: [soc_new_pcm] -> 2699
[    2.806919] Audio: [soc_new_pcm] -> 2718
[    2.807684] Audio: [soc_new_pcm] -> 2746
[    2.808938] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.809581] mmcblk0: mmc0:0001 AJTD4R 14.6 GiB
[    2.810153] sunxi-codec-machine sndcodec: sun50iw10codec <-> codec mapping ok
[    2.814383] mmcblk0boot0: mmc0:0001 AJTD4R partition 1 4.00 MiB
[    2.815047] mmcblk0boot1: mmc0:0001 AJTD4R partition 2 4.00 MiB
[    2.815655] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.817157] input: sun50iw10-codec sunxi Audio Jack as /devices/platform/soc/sndcodec/sound/card0/input2
[    2.818361] [audio] hp_detect_case: 0
[    2.818827] sunxi-codec-machine sndcodec: [sunxi_card_dev_probe] register card finished.
[    2.819225] sunxi-mmc sdc1: card claims to support voltages below defined range
[    2.819399] u32 classifier
[    2.819401]     Actions configured
[    2.819408] Netfilter messages via NETLINK v0.30.
[    2.819786] mmcblk0rpmb: mmc0:0001 AJTD4R partition 3 4.00 MiB
[    2.820660] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
[    2.822238] ctnetlink v0.93: registering with nfnetlink.
[    2.851586]  mmcblk0: p1 p2 p3 p4 p5 p6
[    2.851701] ip_tables: (C) 2000-2006 Netfilter Core Team
[    2.856346] Initializing XFRM netlink socket
[    2.864155] NET: Registered protocol family 10
[    2.871073] NET: Registered protocol family 17
[    2.872101] 8021q: 802.1Q VLAN Support v1.8
[    2.913149] get usb_detect_mode is fail, 22
[    2.916029] sunxi-rtc rtc: setting system clock to 1970-01-01 00:00:04 UTC (4)
[    2.916738] usb1-vbus: disabling
[    2.916743] vdd_3v3: disabling
[    2.916748] ALSA device list:
[    2.916751]   #0: sun50iw10-codec
[    2.917106] Freeing unused kernel memory: 448K
[    3.029967] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[    3.030127] sunxi-mmc sdc1: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[    3.035384] sunxi-mmc sdc1: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
[    3.318595] mmc2: new high speed SDIO card at address 0001
[/init]: getty is ttyS0
[/init]: RootDevice is "/dev/mmcblk0p4" , GPT_SUPPORT=1
[/init]: Try to load EMMC ...
e2fsck 1.42.12 (29-Aug-2014)
/dev/mmcblk0p4: recovering journal
Setting free inodes count to 8006 (was 8007)
Setting free blocks count to 4106 (was 4107)
/dev/mmcblk0p4: clean, 1210/9216 files, 32758/368[    3.389694] EXT4-fs (mmcblk0p4): barriers disabled
64 blocks
[    3.400083] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: noauto_da_alloc,barrier=0,data=ordered
mount: mounting proc on /proc failed: Device or resource busy
mount: mounting sysfs on /sys fa[    3.545627] EXT4-fs (mmcblk0p4): re-mounted. Opts: nobarrier,noauto_da_alloc,data=ordered
iled: Device or resource busy
insmod: can't insert '/lib/modules/4.9.170/disp.ko': No such file or directory
boot-res device: /dev/mmcblk0p1
[    3.597350] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.

login[906]: root login on 'ttyS0'
nand activated #0
[    3.768686] get ctp_power is fail, -22
[    3.773044] sunxi_ctp_startup: ctp_power_io is invalid.
[    3.778995] get ctp_gesture_wakeup fail, no gesture wakeup
[    3.785188] 5-0014 supply ctp not found, using dummy regulator
[    3.938301] sunxi_i2c_do_xfer()1923 - [i2c5] incomplete xfer (status: 0x20, dev addr: 0x14)
[    3.947878] sunxi_i2c_do_xfer()1923 - [i2c5] incomplete xfer (status: 0x20, dev addr: 0x14)
[    3.957452] sunxi_i2c_do_xfer()1923 - [i2c5] incomplete xfer (status: 0x20, dev addr: 0x14)
[    3.967024] sunxi_i2c_do_xfer()1923 - [i2c5] incomplete xfer (status: 0x20, dev addr: 0x14)
[    3.976628] sunxi_i2c_do_xfer()1923 - [i2c5] incomplete xfer (status: 0x20, dev addr: 0x14)
[    3.986050] <<-GTP-ERROR->> I2C Read: 0x8140, 6 bytes failed, errcode: -70! Process reset.
[    4.102120] <<-GTP-ERROR->> GTP read version failed
[    4.107621] Read version failed.
[    4.135322] input: gt9xxnew_ts as /devices/virtual/input/input3
script_fetch device name is ft6236
[    9.298087]
[    9.298087] insmod_device_driver
[    9.298087]
-------swith to adb....
[    9.793978] file system registered
init adb main
[    9.833917] read descriptors
Handling main()
[    9.837605] read strings
Time out,can not find tp event num /dev/input/event
camera activated #0
camera not activated
root@dragonboard:~# dragonboard(msg): core: parse script /boot/test_config.fex...
dragonboard(debug): the length of script is 10137
dragonboard(debug): script shmid = 0
dragonboard(msg): core: init script...
dragonboard(debug): script: main key count #23
dragonboard(msg): script: V1.0.0
dragonboard(msg): core: init view...
dragonboard(msg): core: parse test case from script...
dragonboard(msg): core: total test cases #10
dragonboard(msg): core: total test cases_auto #6
dragonboard(msg): core: total test cases_manual #4
dragonboard(debug): view: init...
dragonboard(msg): directfb view init...
dragonboard(msg): disp_output_type=1

   ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.11 |~~~~~~~~~~~~~~~~~~~~~~~~~~
        (c) 2001-2010  The world wide DirectFB Open Source Community
        (c) 2000-2004  Convergence (integrated media) GmbH
      ----------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2012-05-04 09:52)
(*) Direct/Memcpy: Using libc memcpy()
(*) DirectFB/FBDev: Found '' (ID 0) with frame buffer at 0xff800000, 8000k (MMIO 0x00000000, 0k)
(*) Direct/Thread: Started 'Keyboard Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(*) FBDev/Mode: Setting 800x1280 RGB32
(*) FBDev/Mode: Switched to 800x1280 (virtual 800x1280) at 32 bit (RGB32), pitch 3200
(*) FBDev/Mode: Setting 800x1280 RGB32
(*) FBDev/Mode: Switched to 800x1280 (virtual 800x1280) at 32 bit (RGB32), pitch 3200
dragonboard(msg): screen_width: 800, sceen_height: 1280
(*) Direct/Interface: Loaded 'FT2' implementation of 'IDirectFBFont'.
dragonboard(debug): manual test case window init...
dragonboard(debug): manual_window.desc.height=188
dragonboard(debug): auto test case window init...
dragonboard(debug): misc window init...
dragonboard(debug): reboot button init...
dragonboard(debug): poweroff button init...
dragonboard(debug): mic window init...
dragonboard(debug): wifi list window init...
this is the mic_audio_receive thread...
this is the wifi_hot_point_proccess thread...
dragonboard(msg): ########screen_width=800
dragonboard(msg): ########screen_height=1280
dragonboard(msg): tp draw color: 0xffffffff
------------- to open video node
-------swith to adb done!
[   11.004083] sunxi_set_cur_vol_work()403 WARN: get power supply failed
[   11.094550] android_work: sent uevent USB_STATE=CONNECTED
[   11.100650] sunxi_set_cur_vol_work()403 WARN: get power supply failed
[   11.224352] configfs-gadget gadget: high-speed config #1: c
[   11.230745] android_work: sent uevent USB_STATE=CONFIGURED
[   12.406947] adbd (1023): /proc/1023/oom_adj is deprecated, please use /proc/1023/oom_score_adj instead.
[   13.831565] random: crng init done
dragonboard(error): Can't not open /dev/video0
dragonboard(msg): buildin_tc_init...
view/df_view_pad.c <2071>:
        (#) DirectFBError [dfb->GetInputDevice(dfb, 1, &tp_dev)]: Requested ID not found!
 (!!!)  *** WARNING [Application exited without deinitialization of DirectFB!] *** [core.c:881 in dfb_core_deinit_check()]
 (!!!)  *** WARNING [still objects in 'Window Pool'] *** [object.c:241 in fusion_object_pool_destroy()]
 (!!!)  *** WARNING [still objects in 'Layer Region Pool'] *** [object.c:241 in fusion_object_pool_destroy()]
 (!!!)  *** WARNING [still objects in 'Layer Context Pool'] *** [object.c:241 in fusion_object_pool_destroy()]
 (!!!)  *** WARNING [still objects in 'Surface Pool'] *** [object.c:241 in fusion_object_pool_destroy()]

root@dragonboard:~#

开机画面显示在 tft08006 上面,测试画面也显示在tft08006上面,

st7701 无背光,估计也没显示。

cat /dev/urandom > /dev/fb0            tft08006无反应
cat /dev/urandom > /dev/fb1            tft08006有雪花

离线

楼主 #5 2022-06-27 11:57:47

yixiuge
会员
注册时间: 2022-04-07
已发帖子: 40
积分: 50

Re: 收到小智SW106开发板到手,试着玩一玩

_20220627111723.jpg

_20220627111728.jpg

离线

#6 2022-06-27 22:36:53

Bean
会员
注册时间: 2022-06-25
已发帖子: 10
积分: 40

Re: 收到小智SW106开发板到手,试着玩一玩

请问下楼主 这个板子能移植lvgl跑吗

离线

楼主 #7 2022-06-27 22:45:17

yixiuge
会员
注册时间: 2022-04-07
已发帖子: 40
积分: 50

Re: 收到小智SW106开发板到手,试着玩一玩

Bean 说:

请问下楼主 这个板子能移植lvgl跑吗

可以的,晚些我移植试一试。

离线

#8 2022-06-27 23:34:14

Bean
会员
注册时间: 2022-06-25
已发帖子: 10
积分: 40

Re: 收到小智SW106开发板到手,试着玩一玩

yixiuge 说:
Bean 说:

请问下楼主 这个板子能移植lvgl跑吗

可以的,晚些我移植试一试。

像你学习,我也买了这个板子...之前玩的都是stm32和esp32,第一次入手全志的玩,还在逐步摸索中

看你发的board.dts大概能明白,是板级配置...你的boot log是怎么显示的哈? 我插电脑上没显示出串口

longan编译后烧录跟你的屏幕显示差不多

QQ图片20220627233230.jpg

离线

楼主 #9 2022-06-28 19:00:59

yixiuge
会员
注册时间: 2022-04-07
已发帖子: 40
积分: 50

Re: 收到小智SW106开发板到手,试着玩一玩

@Bean

QQ截图20220628185809.png

串口接 5 / 39 / 40


一起学习, 我也刚刚接触.

离线

楼主 #10 2022-06-28 19:02:20

yixiuge
会员
注册时间: 2022-04-07
已发帖子: 40
积分: 50

Re: 收到小智SW106开发板到手,试着玩一玩

_20220628190120.jpg

_20220628190130.jpg

MIPI 屏驱动成功!

离线

#11 2022-06-28 21:38:10

Bean
会员
注册时间: 2022-06-25
已发帖子: 10
积分: 40

Re: 收到小智SW106开发板到手,试着玩一玩

yixiuge 说:

@Bean

https://whycan.com/files/members/8955/QQ截图20220628185809.png

串口接 5 / 39 / 40


一起学习, 我也刚刚接触.

嗯嗯看到了,我也成功出来了

离线

#12 2022-06-29 22:57:32

Bean
会员
注册时间: 2022-06-25
已发帖子: 10
积分: 40

Re: 收到小智SW106开发板到手,试着玩一玩

你这wifi能连吗?我这输入iwconfig 接口都是显示no wireless extensions..

离线

#13 2022-06-30 20:38:30

Bean
会员
注册时间: 2022-06-25
已发帖子: 10
积分: 40

Re: 收到小智SW106开发板到手,试着玩一玩

我弄了个小风扇上去 感觉没那么烫了。。

QQ图片20220630203716.jpg

离线

楼主 #14 2022-06-30 22:07:35

yixiuge
会员
注册时间: 2022-04-07
已发帖子: 40
积分: 50

Re: 收到小智SW106开发板到手,试着玩一玩

xxxa_recompress.jpg

离线

#16 2022-06-30 22:31:34

小智科技
会员
注册时间: 2019-03-10
已发帖子: 92
积分: 83

Re: 收到小智SW106开发板到手,试着玩一玩

Bean 说:

你这wifi能连吗?我这输入iwconfig 接口都是显示no wireless extensions..

您好,建议您刷网盘里的安卓固件测试一下WIFI,离路由器近一些,如安卓固件WIFI也不能用联系淘宝客服更换。

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn