Hi all,

I'm new in these communication things and hope it is ok what I do. Thanks a lot 
for the audio patch from Vasily. It is working fine for me.
 
I have an Allwinner A64 device with an LVDS display and want to bring it to 
live.
* The display is running with the original old Android system
* I use 4.20-RC2 as code base with the audio patches from Vasily
* My backlight dts node is working and I can change the brightness from command 
line.
* LVDS pins are connected to D12 to D21.
* Reset pin is at PD24
* VCC is connected to "reg_dc1sw"

>From the sunxi mainline effort page I know that it should run, but untested 
>for the A64.
I used the LVDS dts code from the A83T device (TBS A711 Tablet), because this 
was the only one where I could find lvds dts code.

I added the Pin description to main A64 dtsi (could be reused if someone wants 
to add it to the kernel. For me the process is currently a little bit unclear 
how I can set it up correctly):
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi 
b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
index 5c52eb6148a6..427f6d41c28b 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
@@ -542,6 +542,12 @@
                                function = "i2c1";
                        };
 
+                       lcd_lvds_pins: lcd-lvds-pins {
+                               pins = "PD12", "PD13", "PD14", "PD15", "PD16",
+                                      "PD17", "PD18", "PD19", "PD20", "PD21";
+                               function = "lvds0";
+                       };
+
                        mmc0_pins: mmc0-pins {
                                pins = "PF0", "PF1", "PF2", "PF3",
                                       "PF4", "PF5";
========
I added the following to my dts file to enable it, copied from the TBS A711 
Tablet with slight changes in power-supply and dimensions:
========
+       panel {
+               compatible = "tbs,a711-panel", "panel-lvds";
+               backlight = <&backlight>;
+               power-supply = <&reg_dc1sw>;
+
+               width-mm = <154>;
+               height-mm = <86>;
+               data-mapping = "vesa-24";
+
+               panel-timing {
+                       /* 1024x600 @60Hz */
+                       clock-frequency = <52000000>;
+                       hactive = <1024>;
+                       vactive = <600>;
+                       hsync-len = <20>;
+                       hfront-porch = <180>;
+                       hback-porch = <160>;
+                       vfront-porch = <12>;
+                       vback-porch = <23>;
+                       vsync-len = <5>;
+               };
+
+               port {
+                       panel_input: endpoint {
+                               remote-endpoint = <&tcon0_out_lcd>;
+                       };
+               };
+       };

+&de {
+       status = "okay";
+ };

+&tcon0 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&lcd_lvds_pins>;
+};
+
+&tcon0_out {
+       tcon0_out_lcd: endpoint@0 {
+               reg = <0>;
+               remote-endpoint = <&panel_input>;
+       };
+};

I'm compiling with Buildroot and added to the default ARM64 mainline kernel 
config file CONFIG_DRM_PANEL_LVDS=m CONFIG_SUN8I_DE2_CCU=y

The system is booting. The backlight goes on with white display. If the drm 
module is loaded the color is changing to black, but backlight is on.
The reset pin is at 3,3V which is ok, checked with manual. I used fb-test but 
nothings.

I searched a lot about the TCONs but not really understand the endpoints. Is 
endpoint 0 for TCON0 on A64 ok for LVDS and is the driver doing the rest for it?

If someone has any hints this would be great. I searched a lot but found not 
really helpful information for me about these TCON. I looked also into the 
binding documentation for sunxi.

Regards
John-Eric

The log file:
=======================
U-Boot SPL 2018.09 (Nov 14 2018 - 08:17:09 +0100)
DRAM: 1024 MiB
Trying to boot from MMC1


U-Boot 2018.09 (Nov 14 2018 - 08:17:09 +0100) Allwinner Technology

CPU:   Allwinner A64 (SUN50I)
Model: XXX
DRAM:  1 GiB
MMC:   SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
Loading Environment from FAT... *** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   No ethernet found.
starting USB...
USB0:   USB EHCI 1.00
USB1:   USB OHCI 1.0
USB2:   USB EHCI 1.00
USB3:   USB OHCI 1.0
scanning bus 0 for devices... 1 USB Device(s) found scanning bus 2 for 
devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found Hit any 
key to stop autoboot:  0 switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
269 bytes read in 4 ms (65.4 KiB/s)
## Executing script at 4fc00000
19341824 bytes read in 932 ms (19.8 MiB/s)
21924 bytes read in 3 ms (7 MiB/s)
## Flattened Device Tree blob at 4fa00000
   Booting using the fdt blob at 0x4fa00000 EHCI failed to shut down host 
controller.
EHCI failed to shut down host controller.
   Loading Device Tree to 0000000049ff7000, end 0000000049fff5a3 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 4.20.0-rc2 (developper@XXX) (gcc version 7.3.0 
(Buildroot 2018.11-rc1-00049-g2bd05911a6-dirty)) #4 SMP PREEMPT Thu Nov 15 
10:29:41 CET 2018
[    0.000000] Machine model: XXX
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 32 MiB at 0x000000007e000000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 
0x0000000040000000-0x000000007fffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x7dfd6840-0x7dfd7fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000040000000-0x000000007fffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x000000007fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000007fffffff]
[    0.000000] On node 0 totalpages: 262144
[    0.000000]   DMA32 zone: 4096 pages used for memmap
[    0.000000]   DMA32 zone: 0 pages reserved
[    0.000000]   DMA32 zone: 262144 pages, LIFO batch:63
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv0.2 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] random: get_random_bytes called from start_kernel+0xac/0x418 
with crng_init=0
[    0.000000] percpu: Embedded 23 pages/cpu @(____ptrval____) s55704 r8192 
d30312 u94208
[    0.000000] pcpu-alloc: s55704 r8192 d30312 u94208 alloc=23*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 843419
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 258048
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk 
root=/dev/mmcblk0p2 rootwait
[    0.000000] Memory: 979392K/1048576K available (11004K kernel code, 1416K 
rwdata, 5084K rodata, 1344K init, 382K bss, 36416K reserved, 32768K 
cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 
jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    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.000005] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 
4398046511097ns
[    0.000598] Console: colour dummy device 80x25
[    0.000686] Calibrating delay loop (skipped), value calculated using timer 
frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.000699] pid_max: default: 32768 minimum: 301
[    0.000792] LSM: Security Framework initializing
[    0.001459] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.001789] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.001829] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.001849] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.024030] ASID allocator initialised with 32768 entries
[    0.032021] rcu: Hierarchical SRCU implementation.
[    0.041882] EFI services will not be available.
[    0.048059] smp: Bringing up secondary CPUs ...
[    0.080844] Detected VIPT I-cache on CPU1
[    0.080904] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.112548] Detected VIPT I-cache on CPU2
[    0.112581] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.144603] Detected VIPT I-cache on CPU3
[    0.144633] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.144707] smp: Brought up 1 node, 4 CPUs
[    0.144732] SMP: Total of 4 processors activated.
[    0.144742] CPU features: detected: 32-bit EL0 Support
[    0.144750] CPU features: detected: CRC32 instructions
[    0.147546] CPU: All CPU(s) started at EL2
[    0.147568] alternatives: patching kernel code
[    0.148895] devtmpfs: initialized
[    0.154202] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, 
max_idle_ns: 7645041785100000 ns
[    0.154243] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.155600] pinctrl core: initialized pinctrl subsystem
[    0.157387] DMI not present or invalid.
[    0.157897] NET: Registered protocol family 16
[    0.158322] audit: initializing netlink subsys (disabled)
[    0.158490] audit: type=2000 audit(0.156:1): state=initialized 
audit_enabled=0 res=1
[    0.160736] cpuidle: using governor menu
[    0.161087] vdso: 2 pages (1 code @ (____ptrval____), 1 data @ 
(____ptrval____))
[    0.161100] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.162429] DMA: preallocated 256 KiB pool for atomic allocations
[    0.163807] Serial: AMBA PL011 UART driver
[    0.187764] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.188220] cryptd: max_cpu_qlen set to 1000
[    0.189149] ACPI: Interpreter disabled.
[    0.190496] vgaarb: loaded
[    0.190834] SCSI subsystem initialized
[    0.191037] libata version 3.00 loaded.
[    0.191388] usbcore: registered new interface driver usbfs
[    0.191449] usbcore: registered new interface driver hub
[    0.191530] usbcore: registered new device driver usb
[    0.192624] pps_core: LinuxPPS API ver. 1 registered
[    0.192634] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo 
Giometti <giome...@linux.it>
[    0.192662] PTP clock support registered
[    0.192879] EDAC MC: Ver: 3.0.0
[    0.194260] Advanced Linux Sound Architecture Driver Initialized.
[    0.195071] clocksource: Switched to clocksource arch_sys_counter
[    0.195240] VFS: Disk quotas dquot_6.6.0
[    0.195311] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.195647] pnp: PnP ACPI: disabled
[    0.204477] NET: Registered protocol family 2
[    0.205000] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 
bytes)
[    0.205147] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    0.205249] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[    0.205401] TCP: Hash tables configured (established 8192 bind 8192)
[    0.205540] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.205580] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.205729] NET: Registered protocol family 1
[    0.206115] RPC: Registered named UNIX socket transport module.
[    0.206123] RPC: Registered udp transport module.
[    0.206129] RPC: Registered tcp transport module.
[    0.206135] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.206147] PCI: CLS 0 bytes, default 64
[    0.206957] kvm [1]: 8-bit VMID
[    0.206967] kvm [1]: IPA Size Limit: 40bits
[    0.207816] kvm [1]: vgic interrupt IRQ1
[    0.207930] kvm [1]: Hyp mode initialized successfully
[    0.214488] Initialise system trusted keyrings
[    0.214656] workingset: timestamp_bits=44 max_order=18 bucket_order=0
[    0.223695] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.224542] NFS: Registering the id_resolver key type
[    0.224571] Key type id_resolver registered
[    0.224578] Key type id_legacy registered
[    0.224593] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.224792] 9p: Installing v9fs 9p2000 file system support
[    0.230674] Key type asymmetric registered
[    0.230689] Asymmetric key parser 'x509' registered
[    0.230769] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 
245)
[    0.230782] io scheduler noop registered
[    0.230789] io scheduler deadline registered
[    0.230982] io scheduler cfq registered (default)
[    0.230992] io scheduler mq-deadline registered
[    0.231000] io scheduler kyber registered
[    0.234646] sun4i-usb-phy 1c19400.phy: failed to get clock usb0_phy
[    0.241743] sun50i-a64-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO 
driver
[    0.246737] pwm-backlight backlight: backlight supply power not found, using 
dummy regulator
[    0.246816] pwm-backlight backlight: Linked as a consumer to regulator.0
[    0.259694] EINJ: ACPI disabled.
[    0.278491] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.281642] SuperH (H)SCI(F) driver initialized
[    0.282174] msm_serial: driver initialized
[    0.292205] loop: module loaded
[    0.297403] libphy: Fixed MDIO Bus: probed
[    0.298039] tun: Universal TUN/TAP device driver, 1.6
[    0.299313] thunder_xcv, ver 1.0
[    0.299383] thunder_bgx, ver 1.0
[    0.299432] nicpf, ver 1.0
[    0.300038] hclge is initializing
[    0.300050] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - 
version
[    0.300057] hns3: Copyright (c) 2017 Huawei Corporation.
[    0.300470] sky2: driver version 1.30
[    0.301375] VFIO - User Level meta-driver version: 0.3
[    0.303313] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.303327] ehci-pci: EHCI PCI platform driver
[    0.303396] ehci-platform: EHCI generic platform driver
[    0.303680] ehci-platform 1c1a000.usb: EHCI Host Controller
[    0.303707] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus 
number 1
[    0.304414] ehci-platform 1c1a000.usb: irq 13, io mem 0x01c1a000
[    0.319079] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    0.319887] hub 1-0:1.0: USB hub found
[    0.319936] hub 1-0:1.0: 1 port detected
[    0.320684] ehci-orion: EHCI orion driver
[    0.320928] ehci-exynos: EHCI EXYNOS driver
[    0.321061] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.321091] ohci-pci: OHCI PCI platform driver
[    0.321180] ohci-platform: OHCI generic platform driver
[    0.321383] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    0.321408] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus 
number 2
[    0.321794] ohci-platform 1c1a400.usb: irq 14, io mem 0x01c1a400
[    0.383787] hub 2-0:1.0: USB hub found
[    0.383826] hub 2-0:1.0: 1 port detected
[    0.384513] ohci-exynos: OHCI EXYNOS driver
[    0.385358] usbcore: registered new interface driver usb-storage
[    0.389049] sun6i-rtc 1f00000.rtc: rtc core: registered rtc-sun6i as rtc0
[    0.389064] sun6i-rtc 1f00000.rtc: RTC enabled
[    0.389409] i2c /dev entries driver
[    0.394722] sdhci: Secure Digital Host Controller Interface driver
[    0.394736] sdhci: Copyright(c) Pierre Ossman
[    0.395296] Synopsys Designware Multimedia Card Interface Driver
[    0.396519] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.398359] ledtrig-cpu: registered to indicate activity on CPUs
[    0.399794] usbcore: registered new interface driver usbhid
[    0.399805] usbhid: USB HID core driver
[    0.404663] NET: Registered protocol family 17
[    0.404879] 9pnet: Installing 9P2000 support
[    0.404950] Key type dns_resolver registered
[    0.405626] registered taskstats version 1
[    0.405634] Loading compiled-in X.509 certificates
[    0.414243] sunxi-rsb 1f03400.rsb: RSB running at 3000000 Hz
[    0.414684] axp20x-rsb sunxi-rsb-3a3: AXP20x variant AXP803 found
[    0.417446] dcdc1: supplied by regulator-dummy
[    0.417752] dcdc2: supplied by regulator-dummy
[    0.417969] dcdc4: supplied by regulator-dummy
[    0.418223] dcdc5: supplied by regulator-dummy
[    0.418293] vcc-dram: Bringing 1500000uV into 1200000-1200000uV
[    0.418495] dcdc6: supplied by regulator-dummy
[    0.418708] dc1sw: supplied by regulator-dummy
[    0.418936] aldo1: supplied by regulator-dummy
[    0.419031] iovdd-csi_vcc-pe: Bringing 3300000uV into 2800000-2800000uV
[    0.419263] aldo2: supplied by regulator-dummy
[    0.419482] aldo3: supplied by regulator-dummy
[    0.419733] dldo1: supplied by regulator-dummy
[    0.419960] dldo2: supplied by regulator-dummy
[    0.420029] vcc-mipi: Bringing 2900000uV into 1800000-1800000uV
[    0.420229] dldo3: supplied by regulator-dummy
[    0.420302] avdd-csi: Bringing 2900000uV into 2800000-2800000uV
[    0.420528] dldo4: supplied by regulator-dummy
[    0.420753] eldo1: supplied by regulator-dummy
[    0.420997] eldo2: supplied by regulator-dummy
[    0.421253] eldo3: supplied by regulator-dummy
[    0.421321] dvdd-csi: Bringing 700000uV into 1500000-1500000uV
[    0.421523] fldo1: supplied by regulator-dummy
[    0.421763] fldo2: supplied by regulator-dummy
[    0.422030] rtc-ldo: supplied by regulator-dummy
[    0.422241] ldo-io0: supplied by regulator-dummy
[    0.422522] ldo-io1: supplied by regulator-dummy
[    0.422804] axp20x-rsb sunxi-rsb-3a3: AXP20X driver loaded
[    0.428510] sun50i-a64-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.429849] printk: console [ttyS0] disabled
[    0.450396] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 22, base_baud = 
1500000) is a U6_16550A
[    1.634186] printk: console [ttyS0] enabled
[    1.660584] 1c28800.serial: ttyS2 at MMIO 0x1c28800 (irq = 23, base_baud = 
1500000) is a U6_16550A
[    1.691641] 1c28c00.serial: ttyS3 at MMIO 0x1c28c00 (irq = 24, base_baud = 
1500000) is a U6_16550A
[    1.722707] 1c29000.serial: ttyS1 at MMIO 0x1c29000 (irq = 25, base_baud = 
1500000) is a U6_16550A
[    1.733310] ehci-platform 1c1b000.usb: EHCI Host Controller
[    1.738931] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus 
number 3
[    1.747329] ehci-platform 1c1b000.usb: irq 15, io mem 0x01c1b000
[    1.767088] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00
[    1.773859] hub 3-0:1.0: USB hub found
[    1.777650] hub 3-0:1.0: 1 port detected
[    1.783266] ohci-platform 1c1b400.usb: Generic Platform OHCI controller
[    1.789906] ohci-platform 1c1b400.usb: new USB bus registered, assigned bus 
number 4
[    1.797941] ohci-platform 1c1b400.usb: irq 16, io mem 0x01c1b400
[    1.867860] hub 4-0:1.0: USB hub found
[    1.871648] hub 4-0:1.0: 1 port detected
[    1.877308] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto 
supply vcc not found, using dummy regulator
[    1.888082] usb_phy_generic usb_phy_generic.0.auto: Linked as a consumer to 
regulator.0
[    1.896687] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.902452] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus 
number 5
[    1.910921] hub 5-0:1.0: USB hub found
[    1.914717] hub 5-0:1.0: 1 port detected
[    2.019226] Goodix-TS 0-0014: i2c test failed attempt 1: -6
[    2.052555] Goodix-TS 0-0014: ID 911, version: 1060
[    2.059220] Goodix-TS 0-0014: Direct firmware load for goodix_911_cfg.bin 
failed with error -2
[    2.069755] sunxi-mmc 1c0f000.mmc: Linked as a consumer to regulator.1
[    2.077314] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[    2.094754] random: fast init done
[    2.099759] Goodix-TS 0-0014: Invalid config, using defaults
[    2.105601] input: Goodix Capacitive TouchScreen as 
/devices/platform/soc/1c2ac00.i2c/i2c-0/0-0014/input/input0
[    2.115715] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB, 
uses new timings mode
[    2.119082] usb 3-1: new high-speed USB device number 2 using ehci-platform
[    2.126358] sunxi-mmc 1c11000.mmc: Linked as a consumer to regulator.1
[    2.138487] sunxi-mmc 1c11000.mmc: Linked as a consumer to regulator.14
[    2.167100] sunxi-mmc 1c11000.mmc: initialized, max. request size: 2048 KB, 
uses new timings mode
[    2.178145] sun6i-rtc 1f00000.rtc: setting system clock to 1970-01-01 
00:00:08 UTC (8)
[    2.186535] vcc-lcd: disabling
[    2.186970] mmc0: new high speed SDHC card at address aaaa
[    2.195118] vcc-dsi: disabling
[    2.196494] mmcblk0: mmc0:aaaa SL08G 7.40 GiB
[    2.202648] vcc-wifi_vcc-pg: disabling
[    2.204414]  mmcblk0: p1 p2
[    2.209245] ALSA device list:
[    2.212235]   No soundcards found.
[    2.221472] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly 
filesystem
[    2.228794] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[    2.243113] mmc1: new DDR MMC card at address 0001
[    2.249370] mmcblk1: mmc1:0001 8GME4R 7.28 GiB
[    2.255096] mmcblk1boot0: mmc1:0001 8GME4R partition 1 4.00 MiB
[    2.262394] mmcblk1boot1: mmc1:0001 8GME4R partition 2 4.00 MiB
[    2.270075]  mmcblk1: p1 p2
[    2.507209] EXT4-fs (mmcblk0p2): recovery complete
[    2.514576] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. 
Opts: (null)
[    2.522716] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    2.530061] devtmpfs: mounted
[    2.533947] Freeing unused kernel memory: 1344K
[    2.555104] Run /sbin/init as init process
[    2.577460] random: init: uninitialized urandom read (8 bytes read)
[    2.621251] random: mount: uninitialized urandom read (8 bytes read)
[    2.634573] random: mount: uninitialized urandom read (8 bytes read)
[    2.649190] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
Starting logging: OK
Starting mdev...
[    3.787985] panel-lvds panel: Linked as a consumer to regulator.6
[    3.806481] sun4i-drm display-engine: bound 1100000.mixer (ops 
sun8i_mixer_ops [sun8i_mixer])
[    3.824805] sun4i-drm display-engine: bound 1200000.mixer (ops 
sun8i_mixer_ops [sun8i_mixer])
[    3.833818] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 
sun4i_tcon_ops [sun4i_tcon])
[    3.843171] sun4i-drm display-engine: bound 1c0d000.lcd-controller (ops 
sun4i_tcon_ops [sun4i_tcon])
[    3.852305] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    3.858932] [drm] No driver support for vblank timestamp query.
[    3.867292] asoc-simple-card sound: sun8i <-> 1c22c00.dai mapping ok
Initializing random number generator... done.
Starting network: udhcpc: started, v1.29.3
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: no lease, failing
FAIL
[    3.873912] asoc-simple-card sound: ASoC: no DMI vendor name!
[    3.882980] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, 
nowayout=0)
[    3.943081] ------------[ cut here ]------------
[    3.943092] [CRTC:36:crtc-0] vblank wait timed out
[    3.943247] WARNING: CPU: 1 PID: 16 at 
drivers/gpu/drm/drm_atomic_helper.c:1406 
drm_atomic_helper_wait_for_vblanks.part.9+0x2a0/0x2b0 [drm_kms_helper]
[    3.943251] Modules linked in: asix(+) usbnet sunxi_wdt snd_soc_simple_card 
snd_soc_simple_card_utils panel_lvds sun8i_mixer sun4i_drm sun4i_frontend 
sun4i_tcon sun8i_tcon_top drm_kms_helper drm drm_panel_orientation_quirks 
sun4i_i2s crct10dif_ce
[    3.943287] CPU: 1 PID: 16 Comm: kworker/1:0 Not tainted 4.20.0-rc2 #4
[    3.943290] Hardware name: XXX (DT)
[    3.943306] Workqueue: events deferred_probe_work_func
[    3.943313] pstate: 40000005 (nZcv daif -PAN -UAO)
[    3.943365] pc : drm_atomic_helper_wait_for_vblanks.part.9+0x2a0/0x2b0 
[drm_kms_helper]
[    3.943416] lr : drm_atomic_helper_wait_for_vblanks.part.9+0x2a0/0x2b0 
[drm_kms_helper]
[    3.943419] sp : ffff00000951b3d0
[    3.943422] x29: ffff00000951b3d0 x28: 0000000000000000
[    3.943428] x27: 0000000000000001 x26: ffff80003b3ab800
[    3.943434] x25: 0000000000000001 x24: 0000000000000000
[    3.943439] x23: 0000000000000038 x22: 0000000000000001
[    3.943445] x21: ffff80003b276d80 x20: ffff80003b3ac818
[    3.943450] x19: 0000000000000000 x18: ffffffffffffffff
[    3.943456] x17: 0000000000000001 x16: 0000000000000007
[    3.943462] x15: ffff0000091b1000 x14: 00000000fffffff0
[    3.943467] x13: ffff0000092feb60 x12: ffff0000091b1000
[    3.943473] x11: 0000000000000000 x10: ffff0000092fe000
[    3.943478] x9 : 0000000000000000 x8 : ffff000009306274
[    3.943484] x7 : 0000000000000000 x6 : 000000000b076d61
[    3.943489] x5 : 0000000000000000 x4 : ffff80003df8e0b0
[    3.943495] x3 : ffff80003df8e0b0 x2 : 0000000000000007
[    3.943500] x1 : d1022ccae126ef00 x0 : 0000000000000000
[    3.943505] Call trace:
[    3.943558]  drm_atomic_helper_wait_for_vblanks.part.9+0x2a0/0x2b0 
[drm_kms_helper]
[    3.943609]  drm_atomic_helper_commit_tail_rpm+0x60/0x80 [drm_kms_helper]
[    3.943661]  commit_tail+0x44/0x80 [drm_kms_helper]
[    3.943712]  drm_atomic_helper_commit+0xec/0x180 [drm_kms_helper]
[    3.943858]  drm_atomic_commit+0x48/0x60 [drm]
[    3.943910]  restore_fbdev_mode_atomic+0x18c/0x220 [drm_kms_helper]
[    3.943961]  restore_fbdev_mode+0x64/0x1d0 [drm_kms_helper]
[    3.944012]  drm_fb_helper_restore_fbdev_mode_unlocked+0x70/0xf0 
[drm_kms_helper]
[    3.944063]  drm_fb_helper_set_par+0x2c/0x60 [drm_kms_helper]
[    3.944071]  fbcon_init+0x400/0x580
[    3.944078]  visual_init+0xb0/0x110
[    3.944085]  do_bind_con_driver+0x1c8/0x3e0
[    3.944090]  do_take_over_console+0x9c/0x220
[    3.944095]  do_fbcon_takeover+0x6c/0xf0
[    3.944101]  fbcon_event_notify+0xaa0/0xb20
[    3.944110]  notifier_call_chain+0x54/0xa0
[    3.944117]  blocking_notifier_call_chain+0x48/0x70
[    3.944124]  fb_notifier_call_chain+0x1c/0x30
[    3.944130]  register_framebuffer+0x23c/0x370
[    3.944181]  __drm_fb_helper_initial_config_and_unlock+0x220/0x430 
[drm_kms_helper]
[    3.944233]  drm_fb_helper_fbdev_setup+0xb4/0x210 [drm_kms_helper]
[    3.944285]  drm_fbdev_cma_init+0xac/0xf0 [drm_kms_helper]
[    3.944336]  drm_fb_cma_fbdev_init+0xc/0x20 [drm_kms_helper]
[    3.944347]  sun4i_framebuffer_init+0x44/0x50 [sun4i_drm]
[    3.944354]  sun4i_drv_bind+0x14c/0x1a0 [sun4i_drm]
[    3.944363]  try_to_bring_up_master+0x178/0x1e0
[    3.944370]  component_add+0x98/0x170
[    3.944384]  sun4i_tcon_probe+0x6c/0xa0 [sun4i_tcon]
[    3.944392]  platform_drv_probe+0x50/0xa0
[    3.944398]  really_probe+0x1f4/0x2a0
[    3.944404]  driver_probe_device+0x58/0x110
[    3.944409]  __device_attach_driver+0x9c/0x100
[    3.944415]  bus_for_each_drv+0x68/0xd0
[    3.944421]  __device_attach+0xd8/0x140
[    3.944427]  device_initial_probe+0x10/0x20
[    3.944432]  bus_probe_device+0x94/0xa0
[    3.944438]  deferred_probe_work_func+0x74/0xb0
[    3.944446]  process_one_work+0x1e8/0x330
[    3.944453]  worker_thread+0x40/0x460
[    3.944459]  kthread+0x128/0x130
[    3.944466]  ret_from_fork+0x10/0x20
[    3.944470] ---[ end trace e884384115e26479 ]---
[    3.944517] Console: switching to colour frame buffer device 128x37
[    4.316060] asix 3-1:1.0 eth0: register 'asix' at usb-1c1b000.usb-1, ASIX 
AX88772B USB 2.0 Ethernet, 00:1f:55:00:09:0f
[    4.316324] usbcore: registered new interface driver asix
[    4.428150] NET: Registered protocol family 10
[    4.433455] Segment Routing with IPv6
[    4.452196] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   14.051171] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] 
*ERROR* [CRTC:36:crtc-0] flip_done timed out
[   24.291153] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] 
*ERROR* [CONNECTOR:38:LVDS-1] flip_done timed out
[   29.146517] random: crng init done
[   29.146524] random: 7 urandom warning(s) missed due to ratelimiting
[   34.531151] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] 
*ERROR* [PLANE:30:plane-1] flip_done timed out
[   34.587077] ------------[ cut here ]------------
[   34.587084] [CRTC:36:crtc-0] vblank wait timed out
[   34.587224] WARNING: CPU: 1 PID: 16 at 
drivers/gpu/drm/drm_atomic_helper.c:1406 
drm_atomic_helper_wait_for_vblanks.part.9+0x2a0/0x2b0 [drm_kms_helper]
[   34.587227] Modules linked in: ipv6 asix usbnet sunxi_wdt 
snd_soc_simple_card snd_soc_simple_card_utils panel_lvds sun8i_mixer sun4i_drm 
sun4i_frontend sun4i_tcon sun8i_tcon_top drm_kms_helper drm 
drm_panel_orientation_quirks sun4i_i2s crct10dif_ce
[   34.587265] CPU: 1 PID: 16 Comm: kworker/1:0 Tainted: G        W         
4.20.0-rc2 #4
[   34.587268] Hardware name: XXX (DT)
[   34.587283] Workqueue: events deferred_probe_work_func
[   34.587290] pstate: 40000005 (nZcv daif -PAN -UAO)
[   34.587342] pc : drm_atomic_helper_wait_for_vblanks.part.9+0x2a0/0x2b0 
[drm_kms_helper]
[   34.587394] lr : drm_atomic_helper_wait_for_vblanks.part.9+0x2a0/0x2b0 
[drm_kms_helper]
[   34.587397] sp : ffff00000951b300
[   34.587400] x29: ffff00000951b300 x28: 0000000000000000
[   34.587406] x27: 0000000000000001 x26: ffff80003b3ab800
[   34.587412] x25: 0000000000000001 x24: 0000000000000000
[   34.587417] x23: 0000000000000038 x22: 0000000000000001
[   34.587423] x21: ffff80003b13d780 x20: ffff80003b3ac818
[   34.587429] x19: 0000000000000000 x18: ffffffffffffffff
[   34.587434] x17: 0000000000000001 x16: 0000000000000007
[   34.587440] x15: ffff0000091b1000 x14: 00000000fffffff0
[   34.587445] x13: ffff0000092feb60 x12: ffff0000091b1000
[   34.587451] x11: 0000000000000000 x10: ffff0000092fe000
[   34.587456] x9 : 0000000000000000 x8 : ffff0000093076b0
[   34.587462] x7 : 0000000000000000 x6 : 000000000b076d61
[   34.587467] x5 : 0000000000000000 x4 : ffff80003df8e0b0
[   34.587473] x3 : ffff80003df8e0b0 x2 : 0000000000000007
[   34.587478] x1 : d1022ccae126ef00 x0 : 0000000000000000
[   34.587484] Call trace:
[   34.587537]  drm_atomic_helper_wait_for_vblanks.part.9+0x2a0/0x2b0 
[drm_kms_helper]
[   34.587589]  drm_atomic_helper_commit_tail_rpm+0x60/0x80 [drm_kms_helper]
[   34.587641]  commit_tail+0x44/0x80 [drm_kms_helper]
[   34.587692]  drm_atomic_helper_commit+0xec/0x180 [drm_kms_helper]
[   34.587835]  drm_atomic_commit+0x48/0x60 [drm]
[   34.587887]  restore_fbdev_mode_atomic+0x18c/0x220 [drm_kms_helper]
[   34.587937]  drm_fb_helper_pan_display+0xb0/0x1f0 [drm_kms_helper]
[   34.587947]  fb_pan_display+0x94/0x120
[   34.587955]  bit_update_start+0x1c/0x40
[   34.587960]  fbcon_switch+0x348/0x560
[   34.587967]  redraw_screen+0x198/0x290
[   34.587973]  do_bind_con_driver+0x3d4/0x3e0
[   34.587978]  do_take_over_console+0x9c/0x220
[   34.587983]  do_fbcon_takeover+0x6c/0xf0
[   34.587988]  fbcon_event_notify+0xaa0/0xb20
[   34.587997]  notifier_call_chain+0x54/0xa0
[   34.588004]  blocking_notifier_call_chain+0x48/0x70
[   34.588009]  fb_notifier_call_chain+0x1c/0x30
[   34.588015]  register_framebuffer+0x23c/0x370
[   34.588067]  __drm_fb_helper_initial_config_and_unlock+0x220/0x430 
[drm_kms_helper]
[   34.588118]  drm_fb_helper_fbdev_setup+0xb4/0x210 [drm_kms_helper]
[   34.588169]  drm_fbdev_cma_init+0xac/0xf0 [drm_kms_helper]
[   34.588222]  drm_fb_cma_fbdev_init+0xc/0x20 [drm_kms_helper]
[   34.588232]  sun4i_framebuffer_init+0x44/0x50 [sun4i_drm]
[   34.588239]  sun4i_drv_bind+0x14c/0x1a0 [sun4i_drm]
[   34.588248]  try_to_bring_up_master+0x178/0x1e0
[   34.588254]  component_add+0x98/0x170
[   34.588269]  sun4i_tcon_probe+0x6c/0xa0 [sun4i_tcon]
[   34.588276]  platform_drv_probe+0x50/0xa0
[   34.588282]  really_probe+0x1f4/0x2a0
[   34.588288]  driver_probe_device+0x58/0x110
[   34.588294]  __device_attach_driver+0x9c/0x100
[   34.588300]  bus_for_each_drv+0x68/0xd0
[   34.588305]  __device_attach+0xd8/0x140
[   34.588311]  device_initial_probe+0x10/0x20
[   34.588317]  bus_probe_device+0x94/0xa0
[   34.588322]  deferred_probe_work_func+0x74/0xb0
[   34.588330]  process_one_work+0x1e8/0x330
[   34.588337]  worker_thread+0x40/0x460
[   34.588343]  kthread+0x128/0x130
[   34.588350]  ret_from_fork+0x10/0x20
[   34.588354] ---[ end trace e884384115e2647a ]---
[   35.422517] sun4i-drm display-engine: fb0: DRM emulated frame buffer device
[   35.439553] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on 
minor 0

Welcome to XXX
buildroot login: [   46.563161] [drm:drm_atomic_helper_wait_for_dependencies 
[drm_kms_helper]] *ERROR* [CRTC:36:crtc-0] flip_done timed out
[   56.803147] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] 
*ERROR* [CONNECTOR:38:LVDS-1] flip_done timed out
[   67.043147] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] 
*ERROR* [PLANE:30:plane-1] flip_done timed out
[   67.107078] ------------[ cut here ]------------
[   67.111706] [CRTC:36:crtc-0] vblank wait timed out
[   67.116656] WARNING: CPU: 1 PID: 16 at 
drivers/gpu/drm/drm_atomic_helper.c:1406 
drm_atomic_helper_wait_for_vblanks.part.9+0x2a0/0x2b0 [drm_kms_helper]
[   67.130108] Modules linked in: ipv6 asix usbnet sunxi_wdt 
snd_soc_simple_card snd_soc_simple_card_utils panel_lvds sun8i_mixer sun4i_drm 
sun4i_frontend sun4i_tcon sun8i_tcon_top drm_kms_helper drm 
drm_panel_orientation_quirks sun4i_i2s crct10dif_ce
[   67.152088] CPU: 1 PID: 16 Comm: kworker/1:0 Tainted: G        W         
4.20.0-rc2 #4
[   67.159991] Hardware name: XXX (DT)
[   67.164478] Workqueue: events output_poll_execute [drm_kms_helper]
[   67.170644] pstate: 40000005 (nZcv daif -PAN -UAO)
[   67.175476] pc : drm_atomic_helper_wait_for_vblanks.part.9+0x2a0/0x2b0 
[drm_kms_helper]
[   67.183514] lr : drm_atomic_helper_wait_for_vblanks.part.9+0x2a0/0x2b0 
[drm_kms_helper]
[   67.191504] sp : ffff00000951ba90
[   67.194813] x29: ffff00000951ba90 x28: 0000000000000000
[   67.200119] x27: 0000000000000001 x26: ffff80003b3ab800
[   67.205424] x25: 0000000000000001 x24: 0000000000000000
[   67.210730] x23: 0000000000000038 x22: 0000000000000001
[   67.216036] x21: ffff80003b2c3880 x20: ffff80003b3ac818
[   67.221341] x19: 0000000000000000 x18: ffffffffffffffff
[   67.226647] x17: 0000000000000000 x16: 0000000000000000
[   67.231954] x15: ffff0000091996c8 x14: ffff0000892fe70f
[   67.237259] x13: ffff0000092fe71d x12: ffff0000091b1000
[   67.242565] x11: 0000000005f5e0ff x10: ffff000009199940
[   67.247871] x9 : 00000000ffffffd0 x8 : ffff0000086269c0
[   67.253177] x7 : 6c6276205d302d63 x6 : 00000000000001c0
[   67.258483] x5 : 0000000000000000 x4 : 0000000000000000
[   67.263787] x3 : ffffffffffffffff x2 : ffff0000091b1378
[   67.269094] x1 : d1022ccae126ef00 x0 : 0000000000000000
[   67.274399] Call trace:
[   67.276891]  drm_atomic_helper_wait_for_vblanks.part.9+0x2a0/0x2b0 
[drm_kms_helper]
[   67.284585]  drm_atomic_helper_commit_tail_rpm+0x60/0x80 [drm_kms_helper]
[   67.291410]  commit_tail+0x44/0x80 [drm_kms_helper]
[   67.296329]  drm_atomic_helper_commit+0xec/0x180 [drm_kms_helper]
[   67.302552]  drm_atomic_commit+0x48/0x60 [drm]
[   67.307037]  restore_fbdev_mode_atomic+0x18c/0x220 [drm_kms_helper]
[   67.313342]  restore_fbdev_mode+0x64/0x1d0 [drm_kms_helper]
[   67.318954]  drm_fb_helper_restore_fbdev_mode_unlocked+0x70/0xf0 
[drm_kms_helper]
[   67.326474]  drm_fb_helper_set_par+0x2c/0x60 [drm_kms_helper]
[   67.332260]  drm_fb_helper_hotplug_event.part.28+0xb0/0xc0 [drm_kms_helper]
[   67.339258]  drm_fb_helper_output_poll_changed+0x34/0x40 [drm_kms_helper]
[   67.346082]  drm_kms_helper_hotplug_event+0x28/0x40 [drm_kms_helper]
[   67.352473]  output_poll_execute+0x1b4/0x1f0 [drm_kms_helper]
[   67.358220]  process_one_work+0x1e8/0x330
[   67.362227]  worker_thread+0x40/0x460
[   67.365888]  kthread+0x128/0x130
[   67.369116]  ret_from_fork+0x10/0x20
[   67.372687] ---[ end trace e884384115e2647b ]---

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to