V831芯片 开机卡在I2C启动中,要近5分钟才能开机,i2c扫地址很慢,差不多5秒钟扫一次
-
开机的时候会在i2c上花费大量的时间,开机成功后使用i2cdetect也扫得很慢,求助大家帮忙看看什么原因?
下面附上board.dts 和启动日志/* * Allwinner Technology CO., Ltd. sun8iw19p1 soc board. * * soc board support. */ /dts-v1/; #include "sun8iw19p1.dtsi" /{ dram: dram { dram_clk = <0x000001e0>; dram_type = <0x00000003>; dram_zq = <0x00003bfb>; dram_odt_en = <0x00000001>; dram_para1 = <0x004310f2>; dram_para2 = <0x02000000>; dram_mr0 = <0x00001c70>; dram_mr1 = <0x00000000>; dram_mr2 = <0x00000018>; dram_mr3 = <0x00000000>; dram_tpr0 = <0x0046190d>; dram_tpr1 = <0x0121210a>; dram_tpr2 = <0x0005403b>; dram_tpr3 = <0x00002006>; dram_tpr4 = <0x05040405>; dram_tpr5 = <0x05050302>; dram_tpr6 = <0x90006644>; dram_tpr7 = <0x42c21590>; dram_tpr8 = <0xd05612c0>; dram_tpr9 = <0x00083def>; dram_tpr10 = <0x00000000>; dram_tpr11 = <0x00210000>; dram_tpr12 = <0x00000055>; dram_tpr13 = <0x00006003>; }; opp_dvfs_table:opp_dvfs_table { cluster_num = <1>; opp_table_count = <1>; cpu_opp_l_table0: opp_l_table0 { compatible = "allwinner,opp_l_table0"; opp_count = <2>; opp-shared; opp00 { opp-hz = /bits/ 64 <600000000>; opp-microvolt = <900000>; axi-bus-divide-ratio = <3>; clock-latency-ns = <2000000>; }; opp01 { opp-hz = /bits/ 64 <816000000>; opp-microvolt = <900000>; axi-bus-divide-ratio = <3>; clock-latency-ns = <2000000>; }; }; }; soc@03000000 { pinctrl@0300b000 { twi0_pins_a: twi0@0 { allwinner,pins = "PI3", "PI4"; allwinner,pname = "twi0_scl", "twi0_sda"; allwinner,function = "twi0"; allwinner,muxsel = <5>; allwinner,drive = <1>; allwinner,pull = <0>; }; twi0_pins_b: twi0@1 { allwinner,pins = "PI3", "PI4"; allwinner,function = "io_disabled"; allwinner,muxsel = <7>; allwinner,drive = <1>; allwinner,pull = <0>; }; twi1_pins_a: twi1@0 { allwinner,pins = "PI1", "PI2"; allwinner,pname = "twi1_scl", "twi1_sda"; allwinner,function = "twi1"; allwinner,muxsel = <5>; allwinner,drive = <1>; allwinner,pull = <0>; }; twi1_pins_b: twi1@1 { allwinner,pins = "PI1", "PI2"; allwinner,function = "io_disabled"; allwinner,muxsel = <7>; allwinner,drive = <1>; allwinner,pull = <0>; }; twi2_pins_a: twi2@0 { allwinner,pins = "PH5", "PH6"; allwinner,pname = "twi2_scl", "twi2_sda"; allwinner,function = "twi2"; allwinner,muxsel = <5>; allwinner,drive = <1>; allwinner,pull = <0>; }; twi2_pins_b: twi2@1 { allwinner,pins = "PH5", "PH6"; allwinner,function = "io_disabled"; allwinner,muxsel = <7>; allwinner,drive = <1>; allwinner,pull = <0>; }; spi0_pins_a: spi0@0 { allwinner,pins = "PC0", "PC2", "PC3", "PC5", "PC4"; allwinner,pname = "spi0_sclk", "spi0_mosi", "spi0_miso", "spi0_hold", "spi0_wp"; allwinner,function = "spi0"; allwinner,muxsel = <4>; allwinner,drive = <1>; allwinner,pull = <0>; }; spi0_pins_b: spi0@1 { allwinner,pins = "PC1", "PC6"; 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 = "PC0", "PC1", "PC2", "PC3", "PC4", "PC5", "PC6"; allwinner,function = "io_disabled"; allwinner,muxsel = <7>; allwinner,drive = <1>; allwinner,pull = <0>; }; spi1_pins_a: spi1@0 { allwinner,pins = "PH0", "PH1", "PH2"; allwinner,pname = "spi1_sclk", "spi1_mosi", "spi1_miso"; allwinner,function = "io_disabled"; allwinner,muxsel = <4>; allwinner,drive = <1>; allwinner,pull = <0>; }; spi1_pins_b: spi1@1 { allwinner,pins = "PH3"; allwinner,pname = "spi1_cs0"; allwinner,function = "io_disabled"; allwinner,muxsel = <4>; allwinner,drive = <1>; allwinner,pull = <1>; // only CS should be pulled up }; spi1_pins_c: spi1@2 { allwinner,pins = "PH0", "PH1", "PH2", "PH3"; allwinner,function = "io_disabled"; allwinner,muxsel = <7>; allwinner,drive = <1>; allwinner,pull = <0>; }; sdc0_pins_a: sdc0@0 { allwinner,pins = "PF0", "PF1", "PF2", "PF3", "PF4", "PF5"; allwinner,function = "sdc0"; allwinner,muxsel = <2>; allwinner,drive = <3>; allwinner,pull = <1>; }; sdc0_pins_b: sdc0@1 { allwinner,pins = "PF0", "PF1", "PF2", "PF3", "PF4", "PF5"; allwinner,function = "io_disabled"; allwinner,muxsel = <7>; allwinner,drive = <1>; allwinner,pull = <0>; }; sdc1_pins_a: sdc1@0 { allwinner,pins = "PG0", "PG1", "PG2", "PG3", "PG4", "PG5"; allwinner,function = "sdc1"; allwinner,muxsel = <2>; allwinner,drive = <3>; allwinner,pull = <1>; }; owc0_pins_a: owc0@0 { allwinner,pins = "PH4"; allwinner,pname = "owc0"; allwinner,function = "owc0"; allwinner,muxsel = <5>; allwinner,drive = <1>; allwinner,pull = <0>; }; owc0_pins_b: owc0_sleep@0 { allwinner,pins = "PH4"; allwinner,function = "io_disabled"; allwinner,muxsel = <7>; allwinner,drive = <1>; allwinner,pull = <0>; }; pwm0_pins_a: pwm0@0 { allwinner,pins = "PH0"; allwinner,pname = "pwm0_positive"; allwinner,function = "pwm0"; allwinner,muxsel = <2>; allwinner,drive = <1>; allwinner,pull = <0>; }; pwm0_pins_b: pwm0@1 { allwinner,pins = "PH0"; allwinner,function = "io_disabled"; allwinner,muxsel = <7>; allwinner,drive = <1>; allwinner,pull = <0>; }; pwm1_pins_a: pwm1@0 { allwinner,pins = "PH1"; allwinner,pname = "pwm1_positive"; allwinner,function = "pwm1"; allwinner,muxsel = <2>; allwinner,drive = <1>; allwinner,pull = <0>; }; pwm1_pins_b: pwm1@1 { allwinner,pins = "PH1"; allwinner,function = "io_disabled"; allwinner,muxsel = <7>; allwinner,drive = <1>; allwinner,pull = <0>; }; pwm2_pins_a: pwm2@0 { allwinner,pins = "PH2"; allwinner,pname = "pwm2_positive"; allwinner,function = "pwm2"; allwinner,muxsel = <2>; allwinner,drive = <1>; allwinner,pull = <0>; }; pwm2_pins_b: pwm2@1 { allwinner,pins = "PH2"; allwinner,function = "io_disabled"; allwinner,muxsel = <7>; allwinner,drive = <1>; allwinner,pull = <0>; }; pwm3_pins_a: pwm3@0 { allwinner,pins = "PH3"; allwinner,pname = "pwm3_positive"; allwinner,function = "pwm3"; allwinner,muxsel = <2>; allwinner,drive = <1>; allwinner,pull = <0>; }; pwm3_pins_b: pwm3@1 { allwinner,pins = "PH3"; allwinner,function = "io_disabled"; allwinner,muxsel = <7>; allwinner,drive = <1>; allwinner,pull = <0>; }; pwm4_pins_a: pwm4@0 { allwinner,pins = "PH4"; allwinner,pname = "pwm4_positive"; allwinner,function = "pwm4"; allwinner,muxsel = <2>; allwinner,drive = <1>; allwinner,pull = <0>; }; pwm4_pins_b: pwm4@1 { allwinner,pins = "PH4"; allwinner,function = "io_disabled"; allwinner,muxsel = <7>; allwinner,drive = <1>; allwinner,pull = <0>; }; // pwm5_pins_a: pwm5@0 { // allwinner,pins = "PH5"; // allwinner,pname = "pwm5_positive"; // allwinner,function = "pwm5"; // allwinner,muxsel = <2>; // allwinner,drive = <1>; // allwinner,pull = <0>; // }; // pwm5_pins_b: pwm5@1 { // allwinner,pins = "PH5"; // allwinner,function = "io_disabled"; // allwinner,muxsel = <7>; // allwinner,drive = <1>; // allwinner,pull = <0>; // }; //pwm6_pins_a: pwm6@0 { // allwinner,pins = "PH6"; // allwinner,pname = "pwm6_positive"; // allwinner,function = "pwm6"; // allwinner,muxsel = <2>; // allwinner,drive = <1>; // allwinner,pull = <0>; // }; // //pwm6_pins_b: pwm6@1 { // allwinner,pins = "PH6"; // allwinner,function = "io_disabled"; // allwinner,muxsel = <7>; // allwinner,drive = <1>; // allwinner,pull = <0>; // }; pwm7_pins_a: pwm7@0 { allwinner,pins = "PH7"; allwinner,pname = "pwm7_positive"; allwinner,function = "pwm7"; allwinner,muxsel = <2>; allwinner,drive = <1>; allwinner,pull = <0>; }; pwm7_pins_b: pwm7@1 { allwinner,pins = "PH7"; allwinner,function = "io_disabled"; allwinner,muxsel = <7>; allwinner,drive = <1>; allwinner,pull = <0>; }; pwm8_pins_a: pwm8@0 { allwinner,pins = "PH8"; allwinner,pname = "pwm8_positive"; allwinner,function = "pwm8"; allwinner,muxsel = <2>; allwinner,drive = <1>; allwinner,pull = <0>; }; pwm8_pins_b: pwm8@1 { allwinner,pins = "PH8"; allwinner,function = "io_disabled"; allwinner,muxsel = <7>; allwinner,drive = <1>; allwinner,pull = <0>; }; pwm9_pins_a: pwm9@0 { allwinner,pins = "PH9"; allwinner,pname = "pwm9_positive"; allwinner,function = "pwm9"; allwinner,muxsel = <2>; allwinner,drive = <1>; allwinner,pull = <0>; }; pwm9_pins_b: pwm9@1 { allwinner,pins = "PH9"; allwinner,function = "io_disabled"; allwinner,muxsel = <7>; allwinner,drive = <1>; allwinner,pull = <0>; }; rgb8_pins_a: rgb8@0 { allwinner,pins = "PD1", "PD2", "PD3", "PD4", "PD5", "PD6", "PD7", "PD8", "PD18", "PD19", "PD20"; allwinner,pname = "lcdd3", "lcdd4", "lcdd5", "lcdd6", "lcdd7", "lcdd10", "lcdd11", "lcdd12", "lcdclk", "lcdde", "lcdhsync"; allwinner,function = "lcd0"; allwinner,muxsel = <2>; allwinner,drive = <1>; allwinner,pull = <0>; }; rgb8_pins_b: rgb8@1 { allwinner,pins = "PD1", "PD2","PD3","PD4","PD5","PD6", "PD7","PD8","PD18","PD19","PD20"; allwinner,function = "io_disabled"; allwinner,muxsel = <7>; allwinner,drive = <1>; allwinner,pull = <0>; }; }; gpadc:gpadc{ channel_num = <1>; channel_select = <0x01>; channel_data_select = <0>; channel_compare_select = <0x01>; channel_cld_select = <0x01>; channel_chd_select = <0x01>; channel0_compare_lowdata = <1700000>; channel0_compare_higdata = <1200000>; key_cnt = <2>; key0_vol = <0>; key0_val = <2>; /* KEY_1 */ key1_vol = <160>; key1_val = <3>; /* KEY_2 */ status = "okay"; }; uart1: uart@05000400 { compatible = "allwinner,sun8i-uart"; device_type = "uart1"; reg = <0x0 0x05000400 0x0 0x400>; interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>; clocks = <&clk_uart1>; pinctrl-names = "default", "sleep"; pinctrl-0 = <&uart1_pins_a>; pinctrl-1 = <&uart1_pins_b>; uart1_port = <1>; uart1_type = <4>; status = "okay"; }; // uart3: uart@05000c00 { // compatible = "allwinner,sun8i-uart"; // device_type = "uart3"; // reg = <0x0 0x05000c00 0x0 0x400>; // interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>; // clocks = <&clk_uart3>; // pinctrl-names = "default", "sleep"; // pinctrl-0 = <&uart3_pins_a>; // pinctrl-1 = <&uart3_pins_b>; // uart3_port = <3>; // uart3_type = <4>; // status = "okay"; // }; twi0: twi@0x05002000{ pinctrl-0 = <&twi0_pins_a>; pinctrl-1 = <&twi0_pins_b>; twi_drv_used = <1>; status = "disable"; }; twi1: twi@0x05002400{ pinctrl-0 = <&twi1_pins_a>; pinctrl-1 = <&twi1_pins_b>; clock-frequency = <400000>; status = "okay"; }; twi2: twi@0x05002800{ pinctrl-0 = <&twi2_pins_a>; pinctrl-1 = <&twi2_pins_b>; clock-frequency = <200000>; status = "okay"; ac108@3b{ #sound-dai-cells = <0>; compatible = "Allwinner,MicArray_0"; reg = <0x3b>; regulator_used = <0x0>; power_voltage = <3300000>; regulator_name = "vcc-3v3"; power_gpio_used = <0x0>; reset_gpio_used = <0x0>; twi_bus = <2>; pga_gain = <0x1F>; slot_width = <0x20>; lrck_period = <0x80>; ref_pga_used = <0x1>; ref_pga_gain = <0x10>; ref_channel = <0x3>; debug_mode = <0x0>; status = "okay"; }; ac108@35{ compatible = "Allwinner,MicArray_1"; reg = <0x35>; regulator_used = <0x0>; power_voltage = <3300000>; regulator_name = "vcc-3v3"; power_gpio_used = <0x0>; reset_gpio_used = <0x0>; twi_bus = <2>; pga_gain = <0x1F>; slot_width = <0x20>; lrck_period = <0x80>; ref_pga_used = <0x1>; ref_pga_gain = <0x10>; ref_channel = <0x3>; debug_mode = <0x0>; status = "okay"; }; }; spi@05010000 { pinctrl-0 = <&spi0_pins_a &spi0_pins_b>; pinctrl-1 = <&spi0_pins_c>; status = "disable"; spi_board0 { device_type = "spi_board0"; compatible = "m25p80"; spi-max-frequency = <0x5f5e100>; reg = <0x0>; spi-rx-bus-width = <0x1>; spi-tx-bus-width = <0x1>; }; }; // spi@05011000 { // #address-cells = <1>; // #size-cells = <0>; // reg = <0x0 0x05011000 0x0 0x1000>; // interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>; // clocks = <&clk_pll_periph0>, <&clk_spi1>; // clock-frequency = <200000000>; // pinctrl-names = "default", "sleep"; // pinctrl-0 = <&spi1_pins_b>; // pinctrl-1 = <&spi1_pins_c>; // spi1_cs_number = <2>; // spi1_cs_bitmap = <3>; // status = "okay"; // spi_board1 { // device_type = "spi_board1"; // compatible = "spidev"; // spi-max-frequency = <0x5f5e100>; // reg = <0x0>; // spi-rx-bus-width = <0x1>; // spi-tx-bus-width = <0x1>; // }; // }; vind0:vind@0 { vind0_clk = <270000000>; vind0_isp = <200000000>; 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 = "ov9732_mipi"; sensor0_mname = "sp2305_mipi"; sensor0_twi_cci_id = <1>; // sensor0_twi_addr = <0x6c>; sensor0_twi_addr = <0x78>; 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 = <>; /* board error, we can not use the right config. */ sensor0_reset = <&pio PE 16 1 0 1 0>; sensor0_pwdn = <&pio PE 17 1 0 1 0>; status = "okay"; }; sensor1:sensor@1 { device_type = "sensor1"; sensor1_mname = "ov5647"; sensor1_twi_cci_id = <0>; sensor1_twi_addr = <0x6c>; sensor1_mclk_id = <1>; sensor1_pos = "front"; sensor1_isp_used = <0>; sensor1_fmt = <0>; sensor1_stby_mode = <0>; sensor1_vflip = <0>; sensor1_hflip = <0>; sensor1_iovdd-supply = <>; sensor1_iovdd_vol = <2800000>; sensor1_avdd-supply = <>; sensor1_avdd_vol = <2800000>; sensor1_dvdd-supply = <>; sensor1_dvdd_vol = <1500000>; sensor1_power_en = <>; sensor1_reset = <&pio PI 3 1 0 1 0>; sensor1_pwdn = <&pio PI 4 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_rear_sensor_sel = <0>; vinc0_front_sensor_sel = <0>; vinc0_sensor_list = <0>; status = "okay"; }; vinc1:vinc@1 { vinc1_csi_sel = <0>; vinc1_mipi_sel = <0>; vinc1_isp_sel = <0>; vinc1_isp_tx_ch = <0>; vinc1_rear_sensor_sel = <0>; vinc1_front_sensor_sel = <0>; vinc1_sensor_list = <0>; status = "okay"; }; vinc2:vinc@2 { vinc2_csi_sel = <0>; vinc2_mipi_sel = <0>; vinc2_isp_sel = <0>; vinc2_isp_tx_ch = <0>; vinc2_rear_sensor_sel = <0>; vinc2_front_sensor_sel = <0>; vinc2_sensor_list = <0>; status = "disabled"; }; vinc3:vinc@3 { vinc3_csi_sel = <1>; vinc3_mipi_sel = <0xff>; vinc3_isp_sel = <1>; vinc3_isp_tx_ch = <0>; vinc3_rear_sensor_sel = <1>; vinc3_front_sensor_sel = <1>; vinc3_sensor_list = <0>; status = "disabled"; }; }; s_owc0: s_owc@07040400 { pinctrl-0 = <&owc0_pins_a>; pinctrl-1 = <&owc0_pins_b>; status = "okay"; }; sdc0: sdmmc@04020000 { pinctrl-0 = <&sdc0_pins_a>; bus-width = <4>; // cd-gpios = <&pio PF 6 0 1 3 0xffffffff>; non-removable; card-pwr-gpios;// = <&pio PC 4 1 1 2 0xffffffff>; sunxi-power-save-mode; sunxi-signal-vol-sw-without-pmu; sd-uhs-sdr50; sd-uhs-ddr50; sd-uhs-sdr104; /*sunxi-dis-signal-vol-sw;*/ max-frequency = <150000000>; min-frequency = <100000>; cd-used-24M; no-sdio; /*broken-cd;*/ ctl-spec-caps = <0x8>; status = "okay"; }; card0_boot_para { device_type = "card0_boot_para"; card_ctrl = <0x0>; card_high_speed = <0x1>; card_line = <0x4>; time_pwroff_ms = <200>; pinctrl-1 = <&sdc0_pins_b>; card-pwr-gpios;// = <&pio PC 4 1 1 2 0xffffffff>; status = "okay"; }; sdc1: sdmmc@04021000 { pinctrl-0 = <&sdc1_pins_a>; bus-width = <4>; /*sunxi-power-save-mode;*/ /*sd-uhs-sdr12*/ /*sd-uhs-sdr25*/ /*sd-uhs-sdr50*/ /*sd-uhs-sdr104*/ /*sunxi-dis-signal-vol-sw;*/ cap-sdio-irq; keep-power-in-suspend; ignore-pm-notify; max-frequency = <50000000>; status = "okay"; }; usbc0:usbc0@0{ usb_port_type = <0>; usb_detect_type = <0>; usb_detect_mode = <0>; usb_id_gpio; usb_det_vbus_gpio; usb_drv_vbus_gpio; usb_host_init_state = <0>; status = "okay"; }; disp: disp@01000000 { disp_init_enable = <1>; disp_mode = <0>; screen0_output_type = <1>; screen0_output_mode = <4>; disp_rotation_used = <1>; degree0 = <0>; fb0_format = <8>; fb0_width = <240>; fb0_height = <240>; // fb0_height = <320>; lcd0_backlight = <50>; lcd0_bright = <50>; lcd0_contrast = <50>; lcd0_saturation = <57>; lcd0_hue = <50>; }; lcd0: lcd0@01c0c000 { lcd_used = <1>; lcd_size = "1.3"; lcd_model_name = "inv"; lcd_driver_name = "st7789v_cpu"; lcd_x = <240>; lcd_y = <240>; lcd_width = <108>; lcd_height = <64>; lcd_dclk_freq = <10>; lcd_backlight = <50>; lcd_pwm_used = <0>; lcd_pwm_ch = <1>; lcd_pwm_freq = <50000>; lcd_pwm_pol = <1>; lcd_pwm_max_limit = <255>; lcd_hbp = <60>; lcd_ht = <298>; lcd_hspw = <30>; lcd_vbp = <250>; lcd_vt = <265>; lcd_vspw = <2>; lcd_if = <1>; lcd_frm = <2>; lcd_cpu_mode = <1>; lcd_cpu_te = <0>; lcd_cpu_if = <14>; lcd_io_phase = <0x0000>; lcdgamma4iep = <22>; lcd_gamma_en = <0>; lcd_cmap_en = <0>; lcd_bright_curve_en = <0>; lcd_rb_swap = <0>; lcd_gpio_0 = <&pio PH 5 1 0 3 0>; /* rst */ lcd_gpio_1 = <&pio PD 21 1 0 3 0>; /* cs */ pinctrl-0 = <&rgb8_pins_a>; pinctrl-1 = <&rgb8_pins_b>; }; daudio0:daudio@0x05090000 { mclk_div = <0x0>; frametype = <0x00>; tdm_config = <0x01>; sign_extend = <0x00>; tx_data_mode = <0x00>; rx_data_mode = <0x00>; msb_lsb_first = <0x00>; pcm_lrck_period = <0x80>; slot_width_select = <0x20>; asrc_function_en = <0x00>; daudio_master = <0x04>; signal_inversion = <0x01>; audio_format = <0x01>; status = "okay"; }; 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 = <0x80>; slot_width_select = <0x20>; status = "disabled"; }; codec:codec@0x05096000 { pa_level = <0x1>; main_gain = <0x17>; adcdrc_cfg = <0x00>; adchpf_cfg = <0x01>; dacdrc_cfg = <0x01>; dachpf_cfg = <0x00>; digital_vol = <0x00>; lineout_vol = <0x1f>; pa_msleep_time = <0xa0>; /* gpio-spk = <&pio PH 14 1 1 1 1>; */ status = "okay"; }; sndcodec:sound@0 { status = "disabled"; }; snddaudio0:sound@1 { audio_format = <0x01>; daudio_master = <0x04>; signal_inversion = <0x01>; sunxi,snddaudio-codec = "ac108.2-003b"; sunxi,snddaudio-codec-dai = "ac108-pcm0"; sunxi,cpudai-controller = <&daudio0>; status = "okay"; }; snddaudio1:sound@2 { audio_format = <0x01>; daudio_master = <0x04>; signal_inversion = <0x01>; status = "disabled"; }; }; //wlan:wlan { // compatible = "allwinner,sunxi-wlan"; // clocks = <&clk_losc_out>; // wlan_busnum = <1>; // wlan_usbnum = <3>; // wakeup_source = <0>; // // /* wlan_power-supply = <®_dcdc1>; */ // /* io_regulator-supply = <®_dcdc5>; */ // // /* wlan_power_vol = <3300000>; */ // /* io_regulator_vol = <3300000>; */ // // /* wlan_en; */ // wlan_regon = <&pio PH 4 1 0 1 0>; // /* wlan_hostwake = <&pio PG 7 0 0 1 0>; */ // wlan_hostwake; // status = "okay"; // }; };
以及启动日志
[32]HELLO! BOOT0 is starting! [35]BOOT0 commit : e3b2a9e [38]board init start [40]set pll start [42]set pll end [44][pmu]: bus read error [46][pmu]: bus read error [49]board init ok [51]chip id check OK [52]DRAM BOOT DRIVE INFO: V0.41 [56]DRAM CLK = 528 MHz [58]DRAM Type = 2 (2:DDR2,3:DDR3) [61]DRAMC read ODT off. [63]DRAM ODT off. [66]DRAM SIZE =64 M [72]DRAM simple test OK. [74]rtc standby flag is 0x0, super standby flag is 0x0 [79]dram size =64 [82]card no is 0 [83]sdcard 0 line count 4 [86][mmc]: mmc driver ver 2020-01-08 17:05 [90][mmc]: sdc0 spd mode error, 2 [93][mmc]: set f_max to 50M, set f_max_ddr to 25M [98][mmc]: mmc 0 bias 0 [106][mmc]: Wrong media type 0x0 [109][mmc]: ***Try SD card 0*** [119][mmc]: HSSDR52/SDR25 4 bit [122][mmc]: 50000000 Hz [125][mmc]: 7680 MB [127][mmc]: ***SD/MMC 0 init OK!!!*** [190]Loading boot-pkg Succeed(index=0). [194]Entry_name = optee [197]Entry_name = u-boot [203]Entry_name = dtb [206]Jump to second Boot. MESSAGE: [0x0] TEE-CORE: OP-TEE version: sun8iw19p1_v0.6.0-14-gf6954e7 #1 2019年 11月 21日 星期四 01:34:42 UTC arm ERROR: [0x0] TEE-CORE:platform_standby_fdt_parse:126: no pmu node ERROR: [0x0] TEE-CORE:sunxi_twi_parse_from_dt:84: no pmu node U-Boot 2018.05-00008-g384031a (Jan 16 2020 - 14:12:41 +0800) Allwinner Technology [00.278]CPU: Allwinner Family [00.280]Model: sun8iw19 I2C: ready [00.285]DRAM: 64 MiB [00.288]Relocation Offset is: f9f46000 [00.309]secure enable bit: 0 [00.312]pmu_axp152_probe pmic_bus_read fail [00.316]pmu_axp2101_probe pmic_bus_read fail [00.320]bmu_axp152_probe pmic_bus_read fail [00.323]bmu_axp2101_probe pmic_bus_read fail [00.327]CPU=816 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=132Mhz [00.334]gic: sec monitor mode [00.336]flash init start [00.339]workmode = 0,storage type = 1 [00.342]MMC: 0 [00.343]get mem for descripter OK ! card_caps:0x3000000a host_caps:0x3000003f [00.375]sunxi flash init ok [00.379]Loading Environment from SUNXI_FLASH... OK [00.406]update dts root_partition is rootfs set root to /dev/mmcblk0p4 [00.436]update part info [00.462]update bootcmd [00.464]No ethernet found. Hit any key to stop autoboot: 0 ## Booting kernel from Legacy Image at 45000000 ... Image Name: ARM OpenWrt Linux-4.9.118 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2956008 Bytes = 2.8 MiB Load Address: 40008000 Entry Point: 40008000 [01.856]Starting kernel ... [01.859]mmc 2 not find, so not exit [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.9.118 (tina@ubuntu) (gcc version 6.4.1 (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) ) #10 PREEMPT Mon Nov 14 07:15:06 UTC 2022 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=50c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt:Machine model: sun8iw19 [ 0.000000] ion_mem_reserve: err format for ion reserve list! [ 0.000000] Memory policy: Data cache writeback [ 0.000000] On node 0 totalpages: 16384 [ 0.000000] free_area_init_node: node 0, pgdat c04c4058, node_mem_map c3f79000 [ 0.000000] Normal zone: 128 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 16384 pages, LIFO batch:3 [ 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: MIGRATE_INFO_TYPE not supported. [ 0.000000] psci: SMC Calling Convention v1.0 [ 0.000000] CPU: All CPU(s) started in SVC mode. [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 [ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x05000000 initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p4 rootwait init=/pseudo_init rdinit=/sbin/rdinit partitions=boot-res@mmcblk0p1:env@mmcblk0p2:boot@mmcblk0p3:rootfs@mmcblk0p4:UDISK@mmcblk0p5 cma=0 mac_addr= wifi_mac= bt_mac= selinux= specialstr= coherent_pool=16K ion_carveout_list= androidboot.mode=normal androidboot.hardware=sun8iw19p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-00008-g384031a(01/16/2020-14:12:41) mbr_offset=1032192 bootreason=unknow [ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes) [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Memory: 59552K/65536K available (3120K kernel code, 235K rwdata, 1200K rodata, 136K init, 129K bss, 5984K reserved, 0K cma-reserved) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xc4800000 - 0xff800000 ( 944 MB) [ 0.000000] lowmem : 0xc0000000 - 0xc4000000 ( 64 MB) [ 0.000000] modules : 0xbf800000 - 0xc0000000 ( 8 MB) [ 0.000000] .text : 0xc0008000 - 0xc0314240 (3121 kB) [ 0.000000] .init : 0xc0468000 - 0xc048a000 ( 136 kB) [ 0.000000] .data : 0xc048a000 - 0xc04c4c58 ( 236 kB) [ 0.000000] .bss : 0xc04c4c58 - 0xc04e5244 ( 130 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 32. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000021] Switching to timer-based delay loop, resolution 41ns [ 0.000158] Console: colour dummy device 80x30 [ 0.000185] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.000200] pid_max: default: 32768 minimum: 301 [ 0.000371] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.000383] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.000976] CPU: Testing write buffer coherency: ok [ 0.001247] Setting up static identity map for 0x400081c0 - 0x4000820c [ 0.002684] devtmpfs: initialized [ 0.030493] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.030831] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.030856] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.031013] atomic64_test: passed [ 0.031025] pinctrl core: initialized pinctrl subsystem [ 0.031904] NET: Registered protocol family 16 [ 0.032475] DMA: preallocated 16 KiB pool for atomic coherent allocations [ 0.033888] dump_class_init,857, success [ 0.035231] sunxi iommu: irq = 23 [ 0.041077] sun8iw19p1-r-pinctrl r_pio: initialized sunXi PIO driver [ 0.056831] use hosc , set rate 1000000 [ 0.056860] sun8iw19p1-pinctrl pio: initialized sunXi PIO driver [ 0.059076] iommu: Adding device 1c0e000.ve to group 0 [ 0.060828] iommu: Adding device 2300000.eise to group 0 [ 0.068299] iommu: Adding device 1000000.disp to group 0 [ 0.070078] iommu: Adding device 1480000.g2d to group 0 [ 0.070652] iommu: Adding device 2400000.nna to group 0 [ 0.074375] iommu: Adding device csi0 to group 0 [ 0.075663] iommu: Adding device csi1 to group 0 [ 0.076962] iommu: Adding device 2100000.isp to group 0 [ 0.077545] iommu: Adding device 2104000.scaler to group 0 [ 0.077927] iommu: Adding device 2104400.scaler to group 0 [ 0.078272] iommu: Adding device 2104800.scaler to group 0 [ 0.078773] iommu: Adding device 2104c00.scaler to group 0 [ 0.080373] iommu: Adding device vinc0 to group 0 [ 0.081121] iommu: Adding device vinc1 to group 0 [ 0.131316] pwm module init! [ 0.135165] SCSI subsystem initialized [ 0.135564] usbcore: registered new interface driver usbfs [ 0.135655] usbcore: registered new interface driver hub [ 0.138244] usbcore: registered new device driver usb [ 0.138521] sunxi_i2c_adap_init()2551 - init [ 0.139109] sunxi_i2c_probe()2288 - [i2c1] twi_drv_used = 1 [ 0.139124] sunxi_i2c_probe()2292 - [i2c1] twi_pkt_interval = 0 [ 0.139144] twi1 supply twi not found, using dummy regulator [ 0.139246] twi_request_gpio()455 - [i2c1] init name: twi1 [ 0.139566] sunxi_i2c_dma_request()1125 - [i2c1] using dma0chan0 (tx) and dma0chan1 (rx)for DMA transfers [ 0.139676] sun8iw19p1-pinctrl pio: expect_func as:twi2, but muxsel(5) is func:uart2 [ 0.139695] sun8iw19p1-pinctrl pio: expect_func as:twi2, but muxsel(5) is func:uart2 [ 0.140346] sunxi_i2c_probe()2288 - [i2c2] twi_drv_used = 0 [ 0.140361] sunxi_i2c_probe()2292 - [i2c2] twi_pkt_interval = 0 [ 0.140380] twi2 supply twi not found, using dummy regulator [ 0.140475] twi_request_gpio()455 - [i2c2] init name: twi2 [ 0.141853] media: Linux media interface: v0.10 [ 0.142008] Linux video capture interface: v2.00 [ 0.143268] ion_parse_dt_heap_common: id 0 type 0 name sys_user align 1000 [ 0.143523] ion_parse_dt_heap_common: id 1 type 1 name sys_contig align 1000 [ 0.143740] ion_parse_dt_heap_common: id 4 type 4 name cma align 1000 [ 0.145030] Advanced Linux Sound Architecture Driver Initialized. [ 0.148460] G2D: rcq version initialized.major:251 [ 0.149377] clocksource: Switched to clocksource arch_sys_counter [ 0.171664] udc_init,0 [ 0.171839] NET: Registered protocol family 2 [ 0.172678] TCP established hash table entries: 16 (order: -6, 64 bytes) [ 0.172696] TCP bind hash table entries: 16 (order: -6, 64 bytes) [ 0.172707] TCP: Hash tables configured (established 16 bind 16) [ 0.172773] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.172795] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.172965] NET: Registered protocol family 1 [ 0.175841] workingset: timestamp_bits=30 max_order=14 bucket_order=0 [ 0.192585] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.193368] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc. [ 0.195961] NET: Registered protocol family 38 [ 0.196010] io scheduler noop registered [ 0.196020] io scheduler deadline registered [ 0.196314] io scheduler cfq registered (default) [ 0.197268] [DISP]disp_module_init [ 0.230897] [DISP] Fb_copy_boot_fb,line:1503: [ 0.230912] no boot_fb0 [ 0.233732] [DISP] disp_sys_pwm_config,line:618: [ 0.233744] disp_sys_pwm_Config, handle is NULL! [ 0.233755] [DISP] disp_sys_pwm_set_polarity,line:636: [ 0.233761] disp_sys_pwm_Set_Polarity, handle is NULL! [ 0.235155] [DISP]disp_module_init finish [ 0.237427] uart uart0: get regulator failed [ 0.237457] uart0 supply uart not found, using dummy regulator [ 0.237658] uart uart0: uart0 error to get fifo size property [ 0.237720] uart0: ttyS0 at MMIO 0x5000000 (irq = 294, base_baud = 1500000) is a SUNXI [ 0.237748] sw_console_setup()1830 - console setup baud 115200 parity n bits 8, flow n [ 0.365017] [ST7789V LCD INFO] LINE:0208-->LCD_panel_init: [ 0.365026] [ST7789V LCD INFO] LINE:0225-->lcd_panel_st7789v_init: [ 0.861362] [DISP] disp_lcd_pwm_enable,line:959: [ 0.861363] pwm device hdl is NULL [ 0.861375] [DISP] disp_device_attached_and_enable,line:221: [ 0.861376] attached ok, mgr0<-->dev0 [ 0.861387] [DISP] disp_device_attached_and_enable,line:224: [ 0.861388] type:1,mode:0,fmt:rgb,bits:8bits,eotf:4,cs:0 dvi_hdmi:2, range:2 scan:0 ratio:8 [ 1.189520] console [ttyS0] enabled [ 1.194231] uart uart1: get regulator failed [ 1.199052] uart1 supply uart not found, using dummy regulator [ 1.206043] uart uart1: uart1 error to get fifo size property [ 1.212682] uart1: ttyS1 at MMIO 0x5000400 (irq = 295, base_baud = 1500000) is a SUNXI [ 1.222683] misc dump reg init [ 1.228568] libphy: Fixed MDIO Bus: probed [ 1.234332] sun8iw19p1-pinctrl pio: expect_func as:gmac0, but muxsel(5) is func:ephy [ 1.243476] sun8iw19p1-pinctrl pio: pin PD1 already requested by soc@03000000:lcd0@01c0c000; cannot claim for 5020000.eth [ 1.256042] sun8iw19p1-pinctrl pio: pin-97 (5020000.eth) status -22 [ 1.263162] sun8iw19p1-pinctrl pio: could not request pin 97 (PD1) from group PD1 on device pio [ 1.273105] sunxi-gmac 5020000.eth: Error applying setting, reverse things back [ 1.281392] sunxi-gmac: probe of 5020000.eth failed with error -22 [ 1.288604] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.296392] get drv_vbus is fail, 84 [ 1.300483] get ehci0-controller, regulator_io is no nocare [ 1.306794] get ehci0-controller wakeup-source is fail. [ 1.312883] sunxi ehci0-controller don't init wakeup source [ 1.319160] [sunxi-ehci0]: probe, pdev->name: 5101000.ehci0-controller, sunxi_ehci: 0xc04df698, 0x:c48dd000, irq_no:12c [ 1.331450] sunxi-ehci 5101000.ehci0-controller: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.341723] sunxi-ehci 5101000.ehci0-controller: new USB bus registered, assigned bus number 1 [ 1.351614] sunxi-ehci 5101000.ehci0-controller: irq 300, io mem 0xc3057800 [ 1.389404] sunxi-ehci 5101000.ehci0-controller: USB 0.0 started, EHCI 1.00 [ 1.398309] hub 1-0:1.0: USB hub found [ 1.402829] hub 1-0:1.0: 1 port detected [ 1.407589] [ehci0-controller]: sunxi_usb_disable_ehci [ 1.413423] [sunxi-ehci0]: remove, pdev->name: 5101000.ehci0-controller, sunxi_ehci: 0xc04df698 [ 1.423284] sunxi-ehci 5101000.ehci0-controller: remove, state 1 [ 1.430133] usb usb1: USB disconnect, device number 1 [ 1.436562] sunxi-ehci 5101000.ehci0-controller: USB bus 1 deregistered [ 1.444798] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.452270] get drv_vbus is fail, 84 [ 1.456334] get ohci0-controller, regulator_io is no nocare [ 1.462697] get ohci0-controller wakeup-source is fail. [ 1.468736] sunxi ohci0-controller don't init wakeup source [ 1.475224] [sunxi-ohci0]: probe, pdev->name: 5101000.ohci0-controller, sunxi_ohci: 0xc04dee48 [ 1.485042] sunxi-ohci 5101000.ohci0-controller: SW USB2.0 'Open' Host Controller (OHCI) Driver [ 1.494911] sunxi-ohci 5101000.ohci0-controller: new USB bus registered, assigned bus number 1 [ 1.504663] sunxi-ohci 5101000.ohci0-controller: irq 301, io mem 0xc3057c00 [ 1.584438] hub 1-0:1.0: USB hub found [ 1.588904] hub 1-0:1.0: 1 port detected [ 1.593693] [ohci0-controller]: sunxi_usb_disable_ohci [ 1.599522] [sunxi-ohci0]: remove, pdev->name: 5101000.ohci0-controller, sunxi_ohci: 0xc04dee48 [ 1.609326] sunxi-ohci 5101000.ohci0-controller: remove, state 1 [ 1.616186] usb usb1: USB disconnect, device number 1 [ 1.622684] sunxi-ohci 5101000.ohci0-controller: USB bus 1 deregistered [ 1.631043] usbcore: registered new interface driver uas [ 1.637380] usbcore: registered new interface driver usb-storage [ 1.644406] usbcore: registered new interface driver ums-alauda [ 1.651430] usbcore: registered new interface driver ums-cypress [ 1.658395] usbcore: registered new interface driver ums-datafab [ 1.665384] usbcore: registered new interface driver ums_eneub6250 [ 1.672613] usbcore: registered new interface driver ums-freecom [ 1.679699] usbcore: registered new interface driver ums-isd200 [ 1.686602] usbcore: registered new interface driver ums-jumpshot [ 1.693696] usbcore: registered new interface driver ums-karma [ 1.700562] usbcore: registered new interface driver ums-onetouch [ 1.707707] usbcore: registered new interface driver ums-realtek [ 1.714720] usbcore: registered new interface driver ums-sddr09 [ 1.721668] usbcore: registered new interface driver ums-sddr55 [ 1.728599] usbcore: registered new interface driver ums-usbat [ 1.735346] usb_serial_number:20080411 [ 1.739984] sunxi_gpadc_init,1831, success [ 1.745081] sunxi_gpadc_setup: get channel scan data failed [ 1.752110] input: sunxi-gpadc0 as /devices/virtual/input/input0 [ 1.760284] sunxi-rtc rtc: rtc core: registered sunxi-rtc as rtc0 [ 1.767240] sunxi-rtc rtc: RTC enabled [ 1.772192] i2c /dev entries driver [ 1.776804] sunxi cedar version 0.1 [ 1.781176] VE: install start!!! [ 1.781176] [ 1.786632] cedar_ve: cedar-ve the get irq is 291 [ 1.792160] VE: line 1811 set the sram data [ 1.792160] [ 1.799051] VE: ve_debug_proc_info:c04e1910, data:c39dc000, lock:c04e1998 [ 1.799051] [ 1.808636] VE: install end!!! [ 1.808636] [ 1.814235] google_vp9: sunxi google vp9 version 0.1 [ 1.821052] sunxi-wdt 30090a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 1.832030] sunxi-mmc sdc0: SD/MMC/SDIO Host Controller Driver(v3.37 2019-12-4 9:48) [ 1.841276] sunxi-mmc sdc0: ***ctl-spec-caps*** 8 [ 1.846618] sunxi-mmc sdc0: No vmmc regulator found [ 1.852207] sunxi-mmc sdc0: No vqmmc regulator found [ 1.857801] sunxi-mmc sdc0: No vdmmc regulator found [ 1.863501] sunxi-mmc sdc0: No vd33sw regulator found [ 1.869200] sunxi-mmc sdc0: No vd18sw regulator found [ 1.874930] sunxi-mmc sdc0: No vq33sw regulator found [ 1.880660] sunxi-mmc sdc0: No vq18sw regulator found [ 1.886369] sunxi-mmc sdc0: Cann't get uart0 pinstate,check if needed [ 1.893642] sunxi-mmc sdc0: Cann't get sleep pinstate,check if needed [ 1.901385] sunxi-mmc sdc0: set host busy [ 1.905993] mmc:failed to get gpios [ 1.909963] sunxi-mmc sdc0: min-frequency:100000 [ 1.915444] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.925931] sunxi-mmc sdc0: no vqmmc,Check if there is regulator [ 1.959409] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.999409] sunxi-mmc sdc0: detmode:alway in(non removable) [ 1.999437] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.007828] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.030842] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.041992] sunxi-mmc sdc1: SD/MMC/SDIO Host Controller Driver(v3.37 2019-12-4 9:48) [ 2.042136] sunxi-mmc sdc1: No vmmc regulator found [ 2.042143] sunxi-mmc sdc1: No vqmmc regulator found [ 2.042148] sunxi-mmc sdc1: No vdmmc regulator found [ 2.042153] sunxi-mmc sdc1: No vd33sw regulator found [ 2.042159] sunxi-mmc sdc1: No vd18sw regulator found [ 2.042164] sunxi-mmc sdc1: No vq33sw regulator found [ 2.042170] sunxi-mmc sdc1: No vq18sw regulator found [ 2.042187] sunxi-mmc sdc1: Cann't get uart0 pinstate,check if needed [ 2.042602] sunxi-mmc sdc1: set host busy [ 2.042665] mmc:failed to get gpios [ 2.042941] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.042972] sunxi-mmc sdc1: no vqmmc,Check if there is regulator [ 2.074373] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.103395] sunxi-mmc sdc1: detmode:manually by software [ 2.148820] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.162856] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !! [ 2.169704] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !! [ 2.175748] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.187427] usbcore: registered new interface driver usbhid [ 2.187430] usbhid: USB HID core driver [ 2.187812] mostcore: init() [ 2.206705] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.219587] sunxi-mmc sdc1: smc 1 p1 err, cmd 8, RTO !! [ 2.225503] mmc0: host does not support reading read-only switch, assuming write-enable [ 2.235393] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 2.241320] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 2.252002] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 2.257917] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 2.263825] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 2.269741] sunxi-mmc sdc1: smc 1 p1 err, cmd 55, RTO !! [ 2.275749] sunxi-mmc sdc1: smc 1 p1 err, cmd 55, RTO !! [ 2.281757] sunxi-mmc sdc1: smc 1 p1 err, cmd 55, RTO !! [ 2.287752] sunxi-mmc sdc1: smc 1 p1 err, cmd 55, RTO !! [ 2.287783] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.293855] sunxi-mmc sdc1: smc 1 p1 err, cmd 1, RTO !! [ 2.293887] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 2.322023] sunxi-mmc sdc0: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 2.333043] sunxi-mmc sdc0: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B [ 2.343986] mmc0: new high speed SDHC card at address 0001 [ 2.351023] mmcblk0: mmc0:0001 ASTC 7.50 GiB [ 2.359857] mmcblk0: p1 p2 p3 p4 p5 [ 2.567299] random: fast init done [ 7.209398] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 12.249393] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 17.289395] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 22.329394] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 27.369395] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 32.409396] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 37.449390] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 42.489388] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 47.529400] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 52.569388] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 57.609388] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 62.649396] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 67.689388] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 72.729388] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 77.769387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 82.809388] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 87.849387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 92.889388] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 97.929388] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 102.969387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 106.015423] random: crng init done [ 108.009389] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 113.049394] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 118.089388] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 123.129388] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 128.169388] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 128.177044] ac108 2-003b: ref_cfg.ref_channel:0x3, set ref_pga_gain:16 [ 133.209388] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 138.249387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 143.289387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 148.329387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 153.369387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 158.409388] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 163.449388] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 168.489387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 173.609387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 178.649387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 178.657072] ac108 2-003b: i2c probe succeed. [ 183.689394] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 188.729388] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 193.769387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 198.809387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 203.849387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 208.889387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 213.929394] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 218.969395] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 224.009387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 229.049387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 234.089393] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 239.129387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 244.169386] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 249.209387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 254.249386] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 259.289387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 264.329387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 269.369387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 274.409387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 279.449393] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 284.489387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 289.529387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 294.569386] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 299.609386] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 304.649386] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 304.657043] ac108 2-0035: ref_cfg.ref_channel:0x3, set ref_pga_gain:16 [ 309.689390] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 314.729387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 319.769387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 324.809387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 329.849386] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 334.889386] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 339.929386] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 344.969393] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 350.089386] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 355.129386] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 355.137066] ac108 2-0035: i2c probe succeed. [ 355.142563] --->sunxi_daudio_dev_probe<--- strat. [ 355.148024] sunxi-daudio daudio0: regulator missing or invalid [ 355.154915] --->sunxi_daudio_dev_probe<--- end. [ 355.160826] digital_vol:0, lineout_vol:31, main_gain:23, pa_msleep:160, pa_level:1 [ 355.169597] adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:1, dachpf:0 [ 355.176277] sunxi-internal-codec codec: [sunxi_internal_codec_probe] codec probe finished. [ 355.187775] NET: Registered protocol family 10 [ 355.194629] NET: Registered protocol family 17 [ 355.199995] NET: Registered protocol family 15 [ 355.205769] Registering SWP/SWPB emulation handler [ 355.217662] get det_vbus is fail, 84 [ 355.221886] get id is fail, 84 [ 355.226226] sunxi-rtc rtc: setting system clock to 1970-01-01 00:17:11 UTC (1031) [ 355.235888] snddaudio snddaudio0: codec: ac108.2-003b, codec_dai: ac108-pcm0. [ 355.244523] snddaudio snddaudio0: ac108-pcm0 <-> daudio0 mapping ok [ 355.253138] ALSA device list: [ 355.256518] #0: sndac108.2-003b ^[ 355.262964] EXT4-fs (mmcblk0p4): couldn't mount as ext3 due to feature incompatibilities [ 355.282456] EXT4-fs (mmcblk0p4): mounted filesystem without journal. Opts: (null) [ 355.291283] VFS: Mounted root (ext4 filesystem) readonly on device 179:4. [ 355.299228] Freeing unused kernel memory: 136K [ 355.304318] This architecture does not have kernel memory protection. [ 355.491611] EXT4-fs (mmcblk0p4): warning: mounting unchecked fs, running e2fsck is recommended [ 355.507586] EXT4-fs error (device mmcblk0p4): ext4_has_uninit_itable:3049: comm mount: Inode table for bg 0 marked as needing zeroing [ 355.525377] EXT4-fs (mmcblk0p4): Remounting filesystem read-only [ 355.532191] EXT4-fs (mmcblk0p4): re-mounted. Opts: block_validity,delalloc,barrier,user_xattr ------run rc.preboot file----- [ 355.771252] EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null) ------run rc.modules file----- ------run rc.final file----- Load mpp modules [ 355.979330] [sensor_power_err]fetch sensor0_phase from device_tree failed [ 356.053679] [VIN_ERR]registering sp2305_mipi, No such device! Initializing random number generator... done. Starting network... [ 356.381921] get wifi_sdc_id failed [ 356.516050] get wifi_sdc_id failed insmod: can't insert '/lib/modules/4.9.118/8189fs.ko': Operation not permitted ifconfig: SIOCGIFFLAGS: No such device Successfully initialized wpa_supplicant Line 6: Invalid passphrase length 0 (expected: 8..63) '"'. Line 6: failed to parse psk '""'. Line 7: failed to parse network block. Failed to read or parse configuration '/etc/wpa_supplicant.conf'. udhcpc: SIOCGIFINDEX: No such device Starting telnetd: OK enable android usb [ 358.666454] file system registered [ 358.677955] Mass Storage Function, version: 2009/09/11 [ 358.683941] LUN: removable file: (no medium) [ 358.721450] read descriptors [ 358.724713] read strings [ 359.289398] [ 359.289398] insmod_device_driver [ 359.289398] [ 359.296639] device_chose finished 124! sh: write error: Resource busy generate key Public key portion is: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCKj6mtQSsizfGZRzCkxmXH05+mWT8NdT33msREbe2rwjCTryHxXyNzITB8dYtumpvQg7TvBhOSBqQ4nnTxmryoKlYAVpKOt3IVYtzWR3MVb/PjMHvZOi+whtJ3a+pekCrdnsv8zYhp0Kh7tUnPA1vRwzxEPRn9GfxrNuRioVhF0pGlEpiGzZc+z39HIZJfuS82JYxJvthCaHtJnAm3IYIdFaGKGQhaTZ2RG0K17Hmpxr8MHJPVOqcNNIOQm0884HMQJjK765CdPgj13ePpVkihIyYruntvJsCIWnILou7DRc4Ns2syMj9GSqf97eDXpEfBI8PtUeXb7CM7lf/u/9xX root@YuzukiIRC Fingerprint: md5 db:94:52:29:18:2d:16:90:cc:05:75:6d:24:d7:d1:84 Start dropbear: OK Starting ntpd: done BusyBox v1.27.2 () built-in shell (ash) ------run profile file----- _ _ _ ____ _____ | | | | Powered by OpenWRT | | / __ \ / ____| | | | |_ __ _ _ ___ ___ | | __ _| | | | (___ | | | | '_ \| | | / __|/ _ \| |/ _` | | | |\___ \ | |__| | | | | |_| \__ \ (_) | | (_| | |__| |____) | \____/|_| |_|\__,_|___/\___/|_|\__,_|\____/|_____/ ---------------------------------------------------- Yuzuki UnusolaOS (v1.0, Tina: 5C1C9C53) ---------------------------------------------------- root@YuzukiIRC:/# w
-
尝试替换一下驱动
-
@whycanservice 很奏效,药到病除
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号