您尚未登录。

楼主 #1 2020-10-10 14:04:56

jkl
会员
注册时间: 2019-11-18
已发帖子: 196
积分: 119.5

求助!X3板子上面,主线LINUX上的mipi-dsi接口亮屏有人弄过吗??

弄了快两个礼拜了,搞不定,有没有弄过的帮忙给点参考和意见啊!!!

离线

#2 2020-10-28 21:32:05

九重天
会员
注册时间: 2020-10-06
已发帖子: 12
积分: 8

Re: 求助!X3板子上面,主线LINUX上的mipi-dsi接口亮屏有人弄过吗??

离线

#3 2020-10-28 21:36:23

明月照我沟渠
会员
注册时间: 2020-07-09
已发帖子: 120
积分: 114

Re: 求助!X3板子上面,主线LINUX上的mipi-dsi接口亮屏有人弄过吗??

https://patchwork.kernel.org/project/linux-arm-kernel/patch/20190124195900.22620-23-jagan@amarulasolutions.com/

https://github.com/torvalds/linux/blob/master/arch/arm64/boot/dts/allwinner/sun50i-a64-amarula-relic.dts

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-amarula-relic.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-amarula-relic.dts
index f180c841ac3c..703055f2a4fb 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-amarula-relic.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-amarula-relic.dts
@@ -9,6 +9,7 @@ 
 #include "sun50i-a64.dtsi"
 
 #include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/pwm/pwm.h>
 
 / {
 	model = "Amarula A64-Relic";
@@ -18,6 +19,14 @@ 
 		serial0 = &uart0;
 	};
 
+	backlight: backlight {
+		compatible = "pwm-backlight";
+		pwms = <&pwm 0 50000 PWM_POLARITY_INVERTED>;
+		brightness-levels = <1 2 4 8 16 32 64 128 512>;
+		default-brightness-level = <2>;
+		enable-gpios = <&pio 3 23 GPIO_ACTIVE_HIGH>; /* LCD-BL-EN: PD23 */
+	};
+
 	chosen {
 		stdout-path = "serial0:115200n8";
 	};
@@ -83,6 +92,30 @@ 
 	};
 };
 
+&de {
+	status = "okay";
+};
+
+&dphy {
+	status = "okay";
+};
+
+&dsi {
+	vcc-dsi-supply = <&reg_dldo1>;
+	#address-cells = <1>;
+	#size-cells = <0>;
+	status = "okay";
+
+	panel@0 {
+		compatible = "techstar,ts8550b", "sitronix,st7701";
+		reg = <0>;
+		VCC-supply = <&reg_dldo2>;
+		IOVCC-supply = <&reg_dldo2>;
+		reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* LCD-RST: PD24 */
+		backlight = <&backlight>;
+	};
+};
+
 &ehci0 {
 	status = "okay";
 };
@@ -160,6 +193,12 @@ 
 	status = "okay";
 };
 
+&pwm {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pwm_pin>;
+	status = "okay";
+};
+
 &r_rsb {
 	status = "okay";
 

离线

楼主 #4 2020-11-04 10:16:43

jkl
会员
注册时间: 2019-11-18
已发帖子: 196
积分: 119.5

Re: 求助!X3板子上面,主线LINUX上的mipi-dsi接口亮屏有人弄过吗??

明月照我沟渠 说:

https://patchwork.kernel.org/project/linux-arm-kernel/patch/20190124195900.22620-23-jagan@amarulasolutions.com/

https://github.com/torvalds/linux/blob/master/arch/arm64/boot/dts/allwinner/sun50i-a64-amarula-relic.dts

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-amarula-relic.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-amarula-relic.dts
index f180c841ac3c..703055f2a4fb 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-amarula-relic.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-amarula-relic.dts
@@ -9,6 +9,7 @@ 
 #include "sun50i-a64.dtsi"
 
 #include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/pwm/pwm.h>
 
 / {
 	model = "Amarula A64-Relic";
@@ -18,6 +19,14 @@ 
 		serial0 = &uart0;
 	};
 
+	backlight: backlight {
+		compatible = "pwm-backlight";
+		pwms = <&pwm 0 50000 PWM_POLARITY_INVERTED>;
+		brightness-levels = <1 2 4 8 16 32 64 128 512>;
+		default-brightness-level = <2>;
+		enable-gpios = <&pio 3 23 GPIO_ACTIVE_HIGH>; /* LCD-BL-EN: PD23 */
+	};
+
 	chosen {
 		stdout-path = "serial0:115200n8";
 	};
@@ -83,6 +92,30 @@ 
 	};
 };
 
+&de {
+	status = "okay";
+};
+
+&dphy {
+	status = "okay";
+};
+
+&dsi {
+	vcc-dsi-supply = <&reg_dldo1>;
+	#address-cells = <1>;
+	#size-cells = <0>;
+	status = "okay";
+
+	panel@0 {
+		compatible = "techstar,ts8550b", "sitronix,st7701";
+		reg = <0>;
+		VCC-supply = <&reg_dldo2>;
+		IOVCC-supply = <&reg_dldo2>;
+		reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* LCD-RST: PD24 */
+		backlight = <&backlight>;
+	};
+};
+
 &ehci0 {
 	status = "okay";
 };
@@ -160,6 +193,12 @@ 
 	status = "okay";
 };
 
+&pwm {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pwm_pin>;
+	status = "okay";
+};
+
 &r_rsb {
 	status = "okay";
 

你好,参照之后,函数貌似死在这个地方了:
设备树:

dsi: dsi@1ca0000 {
            compatible = "allwinner,sun6i-a31-mipi-dsi";
            reg = <0x01ca0000 0x1000>;
            interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
            clocks = <&ccu CLK_BUS_MIPI_DSI>,
                 <&ccu CLK_DSI_SCLK>;
            clock-names = "bus", "mod";
            resets = <&ccu RST_BUS_MIPI_DSI>;
            phys = <&dphy>;
            phy-names = "dphy";
            status = "disabled";
            #address-cells = <1>;
            #size-cells = <0>;

            port {
                
                dsi_in_tcon0: endpoint {
                    remote-endpoint = <&tcon0_out_dsi>;
                };
            };
        };

&dsi {
    status = "okay";

    panel@0 {
        compatible = "bananapi,lhr050h41", "ilitek,ili9881c";
        reg = <0>;
        power-supply = <&reg_vcc3v3>;
        reset-gpios = <&r_pio 0 5 GPIO_ACTIVE_LOW>; /* PL05 */
        /*backlight = <&backlight>;*/    //直接供电了没用到背光    
    };


};

离线

楼主 #5 2020-11-04 10:18:38

jkl
会员
注册时间: 2019-11-18
已发帖子: 196
积分: 119.5

Re: 求助!X3板子上面,主线LINUX上的mipi-dsi接口亮屏有人弄过吗??

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.20.0-dirty (root@le-desktop) (gcc version 7.5.0 (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04)) #134 SMP Wed Nov 4 10:12:45 CST 2020
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    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: Sinlinx SinA33
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 16 MiB at 0x45c00000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: Using PSCI v0.1 Function IDs from DT
[    0.000000] random: get_random_bytes called from start_kernel+0xa0/0x3f4 with crng_init=0
[    0.000000] percpu: Embedded 16 pages/cpu @(ptrval) s34444 r8192 d22900 u65536
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32046
[    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait panic=10
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 100372K/129196K available (6144K kernel code, 377K rwdata, 2092K rodata, 1024K init, 248K bss, 12440K reserved, 16384K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xc8000000 - 0xff800000   ( 888 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc7e2b000   ( 126 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (7136 kB)
[    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
[    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 378 kB)
[    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 249 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] arch_timer: 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.000016] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000042] Switching to timer-based delay loop, resolution 41ns
[    0.000852] Console: colour dummy device 80x30
[    0.000946] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000977] pid_max: default: 32768 minimum: 301
[    0.001307] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001338] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.002668] CPU: Testing write buffer coherency: ok
[    0.003448] /cpus/cpu@0 missing clock-frequency property
[    0.003491] /cpus/cpu@1 missing clock-frequency property
[    0.003527] /cpus/cpu@2 missing clock-frequency property
[    0.003562] /cpus/cpu@3 missing clock-frequency property
[    0.003589] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.004678] Setting up static identity map for 0x40100000 - 0x40100060
[    0.004999] rcu: Hierarchical SRCU implementation.
[    0.006471] smp: Bringing up secondary CPUs ...
[    0.007957] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.009604] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.011261] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.011452] smp: Brought up 1 node, 4 CPUs
[    0.011504] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.011520] CPU: All CPU(s) started in HYP mode.
[    0.011532] CPU: Virtualization extensions available.
[    0.013271] devtmpfs: initialized
[    0.026378] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.026810] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.026860] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.028642] pinctrl core: initialized pinctrl subsystem
[    0.030775] NET: Registered protocol family 16
[    0.033678] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.035915] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.035937] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.068197] SCSI subsystem initialized
[    0.068646] usbcore: registered new interface driver usbfs
[    0.068748] usbcore: registered new interface driver hub
[    0.068908] usbcore: registered new device driver usb
[    0.069382] pps_core: LinuxPPS API ver. 1 registered
[    0.069400] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.069445] PTP clock support registered
[    0.069885] Advanced Linux Sound Architecture Driver Initialized.
[    0.071706] clocksource: Switched to clocksource arch_sys_counter
[    0.073029] simple-framebuffer 47e2b000.framebuffer: framebuffer at 0x47e2b000, 0x1d4c00 bytes, mapped to 0x(ptrval)
[    0.073066] simple-framebuffer 47e2b000.framebuffer: format=x8r8g8b8, mode=800x600x32, linelength=3200
[    0.092627] Console: switching to colour frame buffer device 100x37
[    0.112833] simple-framebuffer 47e2b000.framebuffer: fb0: simplefb registered!
[    0.129070] NET: Registered protocol family 2
[    0.130194] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    0.130253] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.130306] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.130360] TCP: Hash tables configured (established 1024 bind 1024)
[    0.130595] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.130675] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.131071] NET: Registered protocol family 1
[    0.132369] RPC: Registered named UNIX socket transport module.
[    0.132398] RPC: Registered udp transport module.
[    0.132412] RPC: Registered tcp transport module.
[    0.132425] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.135983] Initialise system trusted keyrings
[    0.136425] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.152186] NFS: Registering the id_resolver key type
[    0.152266] Key type id_resolver registered
[    0.152285] Key type id_legacy registered
[    0.152369] jffs2: version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
[    0.158933] Key type asymmetric registered
[    0.158968] Asymmetric key parser 'x509' registered
[    0.159116] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.159141] io scheduler noop registered
[    0.159518] io scheduler cfq registered (default)
[    0.162071] sun4i-usb-phy 1c19400.phy: Linked as a consumer to regulator.3
[    0.164325] sun8i-a23-r-pinctrl 1f02c00.pinctrl: Reset controller missing
[    0.170575] sun8i-a33-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.279223] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.284345] printk: console [ttyS0] disabled
[    0.304658] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A
[    0.985794] printk: console [ttyS0] enabled
[    1.014892] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 37, base_baud = 1500000) is a U6_16550A
[    1.048670] 1c28c00.serial: ttyS2 at MMIO 0x1c28c00 (irq = 38, base_baud = 1500000) is a U6_16550A
[    1.059950] drivers/base/component.c 221 try_to_bring_up_master
[    1.065941] drivers/base/component.c 223 try_to_bring_up_master
[    1.071890] drivers/base/component.c 165 find_components
[    1.077203]  match->num = 5
[    1.080002] drivers/base/component.c 174 find_components
[    1.085337] drivers/base/component.c 179 find_components
[    1.090651] drivers/base/component.c 148 find_component
[    1.095906] drivers/base/component.c 156 find_component
[    1.101132] drivers/base/component.c 194 find_components
[    1.106470] drivers/base/component.c 195 find_components ret=-6
[    1.112412] drivers/base/component.c 225 try_to_bring_up_master
[    1.121326] drivers/base/component.c 559 component_add
[    1.126540] drivers/base/component.c 563 component_add
[    1.131706] drivers/base/component.c 566 component_add
[    1.136846] drivers/base/component.c 571 component_add
[    1.142008] drivers/base/component.c 255 try_to_bring_up_masters
[    1.148015] drivers/base/component.c 221 try_to_bring_up_master
[    1.153956] drivers/base/component.c 223 try_to_bring_up_master
[    1.159875] drivers/base/component.c 165 find_components
[    1.165207]  match->num = 5
[    1.168006] drivers/base/component.c 174 find_components
[    1.173340] drivers/base/component.c 179 find_components
[    1.178653] drivers/base/component.c 148 find_component
[    1.183900] drivers/base/component.c 152 find_component
[    1.189127] drivers/base/component.c 156 find_component
[    1.194374] drivers/base/component.c 194 find_components
[    1.199688] drivers/base/component.c 195 find_components ret=-6
[    1.205629] drivers/base/component.c 225 try_to_bring_up_master
[    1.211549] drivers/base/component.c 581 component_add
[    1.217397] drivers/base/component.c 559 component_add
[    1.222582] drivers/base/component.c 563 component_add
[    1.227722] drivers/base/component.c 566 component_add
[    1.232885] drivers/base/component.c 571 component_add
[    1.238024] drivers/base/component.c 255 try_to_bring_up_masters
[    1.244054] drivers/base/component.c 221 try_to_bring_up_master
[    1.249973] drivers/base/component.c 223 try_to_bring_up_master
[    1.255914] drivers/base/component.c 165 find_components
[    1.261225]  match->num = 5
[    1.264045] drivers/base/component.c 174 find_components
[    1.269358] drivers/base/component.c 179 find_components
[    1.274691] drivers/base/component.c 148 find_component
[    1.279917] drivers/base/component.c 152 find_component
[    1.285165] drivers/base/component.c 152 find_component
[    1.290392] drivers/base/component.c 156 find_component
[    1.295639] drivers/base/component.c 194 find_components
[    1.300952] drivers/base/component.c 195 find_components ret=-6
[    1.306910] drivers/base/component.c 225 try_to_bring_up_master
[    1.312853] drivers/base/component.c 581 component_add
[    1.318460] drivers/base/component.c 559 component_add
[    1.323638] drivers/base/component.c 563 component_add
[    1.328777] drivers/base/component.c 566 component_add
[    1.333943] drivers/base/component.c 571 component_add
[    1.339083] drivers/base/component.c 255 try_to_bring_up_masters
[    1.345111] drivers/base/component.c 221 try_to_bring_up_master
[    1.351030] drivers/base/component.c 223 try_to_bring_up_master
[    1.356970] drivers/base/component.c 165 find_components
[    1.362303]  match->num = 5
[    1.365103] drivers/base/component.c 174 find_components
[    1.370415] drivers/base/component.c 179 find_components
[    1.375749] drivers/base/component.c 148 find_component
[    1.380975] drivers/base/component.c 152 find_component
[    1.386223] drivers/base/component.c 152 find_component
[    1.391449] drivers/base/component.c 152 find_component
[    1.396697] drivers/base/component.c 174 find_components
[    1.402030] drivers/base/component.c 179 find_components
[    1.407342] drivers/base/component.c 148 find_component
[    1.412587] drivers/base/component.c 152 find_component
[    1.417814] drivers/base/component.c 152 find_component
[    1.423062] drivers/base/component.c 174 find_components
[    1.428374] drivers/base/component.c 179 find_components
[    1.433707] drivers/base/component.c 148 find_component
[    1.438933] drivers/base/component.c 152 find_component
[    1.444181] drivers/base/component.c 174 find_components
[    1.449494] drivers/base/component.c 179 find_components
[    1.454826] drivers/base/component.c 148 find_component
[    1.460052] drivers/base/component.c 152 find_component
[    1.465299] drivers/base/component.c 152 find_component
[    1.470525] drivers/base/component.c 152 find_component
[    1.475772] drivers/base/component.c 156 find_component
[    1.480998] drivers/base/component.c 194 find_components
[    1.486333] drivers/base/component.c 195 find_components ret=-6
[    1.492273] drivers/base/component.c 225 try_to_bring_up_master
[    1.498192] drivers/base/component.c 581 component_add
[    1.504468] sun6i-mipi-dsi 1ca0000.dsi: modalias failure on /soc/dsi@1ca0000/port
[    1.512258] drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 1031 sun6i_dsi_probe
[    1.518876] drivers/base/component.c 559 component_add
[    1.524052] drivers/base/component.c 563 component_add
[    1.529191] drivers/base/component.c 566 component_add
[    1.534353] drivers/base/component.c 571 component_add
[    1.539493] drivers/base/component.c 255 try_to_bring_up_masters
[    1.545524] drivers/base/component.c 221 try_to_bring_up_master
[    1.551444] drivers/base/component.c 223 try_to_bring_up_master
[    1.557385] drivers/base/component.c 165 find_components
[    1.562734]  match->num = 5
[    1.565534] drivers/base/component.c 174 find_components
[    1.570846] drivers/base/component.c 174 find_components
[    1.576182] drivers/base/component.c 174 find_components
[    1.581495] drivers/base/component.c 174 find_components
[    1.586830] drivers/base/component.c 179 find_components
[    1.592165] drivers/base/component.c 148 find_component
[    1.597391] drivers/base/component.c 152 find_component
[    1.602639] drivers/base/component.c 152 find_component
[    1.607865] drivers/base/component.c 152 find_component
[    1.613112] drivers/base/component.c 152 find_component
[    1.618338] drivers/base/component.c 156 find_component
[    1.623585] drivers/base/component.c 194 find_components
[    1.628899] drivers/base/component.c 195 find_components ret=-6
[    1.634839] drivers/base/component.c 225 try_to_bring_up_master
[    1.640758] drivers/base/component.c 581 component_add
[    1.645919] drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 1037 sun6i_dsi_probe
[    1.653661] drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 594 ili9881c_dsi_probe
[    1.661264] ili9881c-dsi 1ca0000.dsi.0: Linked as a consumer to regulator.2
[    1.668273] drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 610 ili9881c_dsi_probe
[    1.675738] ili9881c-dsi 1ca0000.dsi.0: Couldn't get our reset GPIO
[    1.682224] ili9881c-dsi 1ca0000.dsi.0: Dropping the link to regulator.2
[    1.694258] libphy: Fixed MDIO Bus: probed
[    1.698384] CAN device driver interface
[    1.704070] usbcore: registered new interface driver r8152
[    1.709649] usbcore: registered new interface driver cdc_ether
[    1.715590] usbcore: registered new interface driver cdc_eem
[    1.721314] usbcore: registered new interface driver dm9601
[    1.726981] usbcore: registered new interface driver rndis_host
[    1.733065] usbcore: registered new interface driver cdc_ncm
[    1.738731] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.745291] ehci-platform: EHCI generic platform driver
[    1.750918] ehci-platform 1c1a000.usb: EHCI Host Controller
[    1.756582] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    1.765037] ehci-platform 1c1a000.usb: irq 28, io mem 0x01c1a000
[    1.791714] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    1.799435] hub 1-0:1.0: USB hub found
[    1.803331] hub 1-0:1.0: 1 port detected
[    1.808415] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.814686] ohci-platform: OHCI generic platform driver
[    1.820319] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    1.827020] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    1.835146] ohci-platform 1c1a400.usb: irq 29, io mem 0x01c1a400
[    1.907110] hub 2-0:1.0: USB hub found
[    1.910962] hub 2-0:1.0: 1 port detected
[    1.916154] usbcore: registered new interface driver cdc_wdm
[    1.922035] usbcore: registered new interface driver usb-storage
[    1.928749] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.939619] usb_phy_generic usb_phy_generic.0.auto: Linked as a consumer to regulator.0
[    1.949659] ctp_fetch_sysconfig_para: ctp_power_io is invalid. 
[    1.955653] ctp_fetch_sysconfig_para: wakeup_gpio is invalid. 
[    1.961534] ctp_init_platform_resource: ctp_fetch_sysconfig_para err.
[    1.968031] (NULL device *): deviceless supply none not found, using dummy regulator
[    1.975873] ctp_init_platform_resource: ctp_fetch_sysconfig_para err.
[    1.982340] ctp_init_platform_resource: ctp_fetch_sysconfig_para err.
[    1.988789] ctp_get_system_config:fwname:gsl_t1_v2
[    1.993606] fw_index = 12
[    2.062227] rotary-encoder rotary@0: gray
[    2.067376] input: rotary@0 as /devices/platform/rotary@0/input/input0
[    2.075649] sun6i-rtc 1f00000.rtc: registered as rtc0
[    2.080714] sun6i-rtc 1f00000.rtc: RTC enabled
[    2.085608] i2c /dev entries driver
[    2.089578] drivers/i2c/busses/i2c-mv64xxx.c 882 mv64xxx_i2c_probe
[    2.096888] GSLX680 Enter gsl_ts_probe
[    2.101126] [GSLX680] Enter gsl_ts_init_ts
[    2.106034] input: gslX680 as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0040/input/input1
[    2.118619] sunxi-mmc 1c0f000.mmc: Linked as a consumer to regulator.2
[    2.121748] drivers/input/touchscreen/gslx680new/gslX680.c 1531 glsX680_init_events
[    2.161742] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    2.169398] sunxi-mmc 1c10000.mmc: Linked as a consumer to regulator.2
[    2.176320] usb 1-1: new high-speed USB device number 2 using ehci-platform
[    2.184308] sunxi-mmc 1c10000.mmc: allocated mmc-pwrseq
[    2.221725] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[    2.229332] sunxi-mmc 1c11000.mmc: Linked as a consumer to regulator.2
[    2.271751] sunxi-mmc 1c11000.mmc: initialized, max. request size: 16384 KB
[    2.272228] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.280933] usbcore: registered new interface driver usbhid
[    2.291529] mmc0: new high speed SDHC card at address aaaa
[    2.292360] usbhid: USB HID core driver
[    2.300215] NET: Registered protocol family 17
[    2.302966] mmcblk0: mmc0:aaaa SS08G 7.40 GiB 
[    2.306292] can: controller area network core (rev 20170425 abi 9)
[    2.317105] NET: Registered protocol family 29
[    2.321569] can: raw protocol (rev 20170425)
[    2.325529]  mmcblk0: p1 p2
[    2.325888] can: broadcast manager protocol (rev 20170425 t)
[    2.334362] can: netlink gateway (rev 20170425) max_hops=1
[    2.340403] Key type dns_resolver registered
[    2.344949] Registering SWP/SWPB emulation handler
[    2.351028] Loading compiled-in X.509 certificates
[    2.373006] sun8i-a23-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
[    2.382057] drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 594 ili9881c_dsi_probe
[    2.389737] ili9881c-dsi 1ca0000.dsi.0: Linked as a consumer to regulator.2
[    2.396757] drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 610 ili9881c_dsi_probe
[    2.397458] hub 1-1:1.0: USB hub found
[    2.404311] drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 616 ili9881c_dsi_probe
[    2.408127] hub 1-1:1.0: 4 ports detected
[    2.415360] drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 627 ili9881c_dsi_probe
[    2.415368] drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 635 ili9881c_dsi_probe
[    2.415377] drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 833 sun6i_dsi_attach
[    2.415402] sun6i-mipi-dsi 1ca0000.dsi: Attached device lhr050h41
[    2.446912] mmc2: new DDR MMC card at address 0001
[    2.448259] mmcblk2: mmc2:0001 8GTF4R 7.28 GiB 
[    2.457184] mmcblk2boot0: mmc2:0001 8GTF4R partition 1 4.00 MiB
[    2.463982] mmcblk2boot1: mmc2:0001 8GTF4R partition 2 4.00 MiB
[    2.472352]  mmcblk2: p1 p2
[    2.480892] asoc-simple-card sound: sun8i <-> 1c22c00.dai mapping ok
[    2.494375] input: keys as /devices/platform/keys/input/input2
[    2.502317] input: gpio_keys as /devices/platform/gpio_keys/input/input3
[    2.511309] Boot process: init
[    2.514430] drivers/video/console/logo_linux_clut.c 173 boot_process_init
[    2.521440] vcc3v0: disabling
[    2.524455] ALSA device list:
[    2.527431]   #0: sun8i-a33-audio
[    2.550770] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.559020] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    2.568712] devtmpfs: mounted
[    2.574536] Freeing unused kernel memory: 1024K
[    2.579457] Run /sbin/init as init process
[    2.668203] random: fast init done
[    2.672161] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)

看上面启动信息,sun6i-mipi-dsi 1ca0000.dsi: Attached device lhr050h41,设备其实已经加载,但是发现死在drivers/base/component.c 148 ,find_component,这个函数内了,不知道咋回事

离线

页脚

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

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