This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VM: TDA4VM can not output DSI frequency signal on Linux

Part Number: TDA4VM
Other Parts Discussed in Thread: SN65DSI83

Hello

According to the content of the link below, DSI currently supports output on TDA4VM.
e2e.ti.com/.../tda4vm-tda4vm-dsi-support-on-linux

We follow TI's instructions to modify the kernel related settings.
But we did not measure any DSI clock(E10/E11 DSI_TXCLKN/P pin) waveform output.

My environment is as follows:

==============================================================

HW:[J721e Soc] ---DSI---> [SN65DSI83] ---LVDS---> [LVDS Panel 1280x720]
OS:linux SDK 8.4.11/Kernel 5.10.120

==============================================================

The kernel dts settings are as follows

k3-j721e-main.dtsi

dsi0: dsi@48000000 {
		compatible = "ti,j721e-dsi";
		reg = <0x0 0x04800000 0x0 0x100000>, <0x0 0x04710000 0x0 0x100>;
		clocks = <&k3_clks 150 1>, <&k3_clks 150 5>;
		clock-names = "dsi_p_clk", "dsi_sys_clk";
		resets = <&k3_reset 150 1>;
		reset-names = "dsi_p_rst";
		power-domains = <&k3_pds 150 TI_SCI_PD_EXCLUSIVE>;
		interrupt-parent = <&gic500>;
		interrupts = <GIC_SPI 600 IRQ_TYPE_LEVEL_HIGH>;
		phys = <&dphy2>;
		phy-names = "dphy";
		#address-cells = <1>;
		#size-cells = <0>;

		dsi0_ports: ports {
			#address-cells = <1>;
			#size-cells = <0>;
		};
	};
	
	
dphy2: phy@4480000 {
		compatible = "ti,j721e-dphy", "cdns,dphy";
		reg = <0x0 0x04480000 0x0 0x1100>;
		clocks = <&k3_clks 296 1>, <&k3_clks 296 3>;
		clock-names = "psm", "pll_ref";
		#phy-cells = <0>;
		power-domains = <&k3_pds 296 TI_SCI_PD_EXCLUSIVE>;
	};

k3-j721e-test.dts

panel_disp0: panel_disp0@0 {
		reg = <0 0 0x0 0x0>;
		compatible = "panel-dpi";
		power-supply = <&reg_backlight>;
                enable-gpios = <&main_gpio0 117 GPIO_ACTIVE_HIGH>;


		panel-timing {
				clock-frequency = <75000000>;
				hactive = <1280>;
				vactive = <720>;
				hback-porch = <140>;
				hfront-porch = <14>;
				vback-porch = <4>;
				vfront-porch = <144>;
				hsync-len = <2>;
				vsync-len = <2>;
				hsync-active = <0>;
				vsync-active = <0>;
				de-active = <0>;
				pixelclk-active = <0>;
		};

		port {
			panel_in: endpoint {
				remote-endpoint = <&panel_bridge_out>;
			};
		};
	};

&main_i2c3 {
	pinctrl-names = "default";
	pinctrl-0 = <&main_i2c3_pins_default>;
	clock-frequency = <400000>;
	status = "okay";

	sn65dsi@2c {
                compatible = "ti,sn65dsi83";
                reg = <0x2c>;
		status = "okay";
		ports {
			#address-cells = <1>;
			#size-cells = <0>;

			port@0 {
				reg = <0>;
				panel_bridge_in: endpoint {
					remote-endpoint = <&dsi0_out>;
				};
			};

			port@1 {
				reg = <1>;
				panel_bridge_out: endpoint {
					remote-endpoint = <&panel_in>;
				};
			};
		};

        };
};

&dss_ports {
	#address-cells = <1>;
	#size-cells = <0>;

	/* DP */
	port@0 {
		reg = <0>;

		dpi0_out: endpoint {
			remote-endpoint = <&dp0_in>;
		};
	};

	/* DSI */
	port@1 {
		reg = <1>;

		dpi1_out: endpoint {
			remote-endpoint = <&dsi0_in>;
		};
	};
};

&mhdp {
	pinctrl-names = "default";
	pinctrl-0 = <&dp0_pins_default>;
};

&dp0_ports {
	#address-cells = <1>;
	#size-cells = <0>;

	port@0 {
		reg = <0>;
		dp0_in: endpoint {
			remote-endpoint = <&dpi0_out>;
		};
	};

	port@4 {
		reg = <4>;
		dp0_out: endpoint {
			remote-endpoint = <&dp_connector_in>;
		};
	};
};

&dsi0 {
	ports {
		port@0 {
			reg = <0>;
			dsi0_out: endpoint {
				remote-endpoint = <&panel_bridge_in>;
			};
		};
		port@1 {
			reg = <1>;
			dsi0_in: endpoint {
				remote-endpoint = <&dpi1_out>;
			};
		};

	};

	/*panel_disp0: panel_disp0@0 {
		reg = <0 0 0x0 0x0>;
		compatible = "lg,lh500wx1-sd03";
		power-supply = <&reg_backlight>;
                enable-gpios = <&main_gpio0 117 GPIO_ACTIVE_HIGH>;

		port {
			panel_in: endpoint {
				remote-endpoint = <&panel_bridge_out>;
			};
		};
	};*/

};

dmesg log as attachment file

6180.dmesg.txt
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
[    0.000000] Linux version 5.10.120-g95b90aa828 (jason@jason-Predator-PH317-53) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #14 SMP PREEMPT Thu Oct 6 14:34:36 CST 2022
[    0.000000] Machine model: Texas Instruments J721E SK
[    0.000000] efi: UEFI not found.
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a0000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node r5f-memory@a0100000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a1000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node r5f-memory@a1100000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a2000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node r5f-memory@a2100000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a3000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node r5f-memory@a3100000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a4000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node r5f-memory@a4100000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a5000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node r5f-memory@a5100000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node c66-dma-memory@a6000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node c66-memory@a6100000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node c66-dma-memory@a7000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node c66-memory@a7100000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node c71-dma-memory@a8000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node c71-memory@a8100000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000ac000000, size 2 MiB
[    0.000000] OF: reserved mem: initialized node r5f-virtual-eth-queues@ac000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000ac200000, size 30 MiB
[    0.000000] OF: reserved mem: initialized node r5f-virtual-eth-buffers@ac200000, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   [mem 0x0000000100000000-0x00000008ffffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x000000009e7fffff]
[    0.000000]   node   0: [mem 0x000000009e800000-0x00000000a8ffffff]
[    0.000000]   node   0: [mem 0x00000000a9000000-0x00000000a9ffffff]
[    0.000000]   node   0: [mem 0x00000000aa000000-0x00000000abbfffff]
[    0.000000]   node   0: [mem 0x00000000abc00000-0x00000000abffffff]
[    0.000000]   node   0: [mem 0x00000000ac000000-0x00000000adffffff]
[    0.000000]   node   0: [mem 0x00000000ae000000-0x00000000ffffffff]
[    0.000000]   node   0: [mem 0x0000000880000000-0x00000008ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
[    0.000000] On node 0 totalpages: 1048576
[    0.000000]   DMA zone: 8192 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 524288 pages, LIFO batch:63
[    0.000000]   Normal zone: 8192 pages used for memmap
[    0.000000]   Normal zone: 524288 pages, LIFO batch:63
[    0.000000] cma: Reserved 400 MiB at 0x00000000e7000000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] psci: SMC Calling Convention v1.2
[    0.000000] percpu: Embedded 22 pages/cpu s50008 r8192 d31912 u90112
[    0.000000] pcpu-alloc: s50008 r8192 d31912 u90112 alloc=22*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: detected: EL2 vector hardening
[    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[    0.000000] CPU features: detected: Spectre-BHB
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1032192
[    0.000000] Kernel command line: root=/dev/mmcblk0p2 rootwait
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x00000000e3000000-0x00000000e7000000] (64MB)
[    0.000000] Memory: 3386544K/4194304K available (10880K kernel code, 1128K rwdata, 4212K rodata, 1792K init, 433K bss, 398160K reserved, 409600K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu: 	RCU event tracing is enabled.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
[    0.000000] 	Trampoline variant of 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=2
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 960 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] GICv3: 16 PPIs implemented
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001900000
[    0.000000] ITS [mem 0x01820000-0x0182ffff]
[    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
[    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19
[    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @880800000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x0000000880030000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000880040000
[    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
[    0.000001] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
[    0.000203] Console: colour dummy device 80x25
[    0.000501] printk: console [tty0] enabled
[    0.000528] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
[    0.000539] pid_max: default: 32768 minimum: 301
[    0.000584] LSM: Security Framework initializing
[    0.000629] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.000654] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.001425] rcu: Hierarchical SRCU implementation.
[    0.001568] Platform MSI: msi-controller@1820000 domain created
[    0.001727] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
[    0.001780] EFI services will not be available.
[    0.001885] smp: Bringing up secondary CPUs ...
[    0.002500] Detected PIPT I-cache on CPU1
[    0.002523] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
[    0.002534] GICv3: CPU1: using allocated LPI pending table @0x0000000880050000
[    0.002567] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
[    0.002622] smp: Brought up 1 node, 2 CPUs
[    0.002640] SMP: Total of 2 processors activated.
[    0.002646] CPU features: detected: 32-bit EL0 Support
[    0.002651] CPU features: detected: CRC32 instructions
[    0.011184] CPU: All CPU(s) started at EL2
[    0.011205] alternatives: patching kernel code
[    0.011671] devtmpfs: initialized
[    0.016866] KASLR disabled due to lack of seed
[    0.016976] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.016990] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.022183] pinctrl core: initialized pinctrl subsystem
[    0.022480] DMI not present or invalid.
[    0.022811] NET: Registered protocol family 16
[    0.023456] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[    0.023564] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.023702] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.023909] thermal_sys: Registered thermal governor 'step_wise'
[    0.023912] thermal_sys: Registered thermal governor 'power_allocator'
[    0.024355] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.024394] ASID allocator initialised with 65536 entries
[    0.041712] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.041731] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.041737] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.041743] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.042338] cryptd: max_cpu_qlen set to 1000
[    0.043932] k3-chipinfo 43000014.chipid: Family:J721E rev:SR2.0 JTAGID[0x1bb6402f] Detected
[    0.044186] vsys_3v3: supplied by vusb-main5v0
[    0.044753] iommu: Default domain type: Translated 
[    0.044894] SCSI subsystem initialized
[    0.045142] mc: Linux media interface: v0.10
[    0.045156] videodev: Linux video capture interface: v2.00
[    0.045177] pps_core: LinuxPPS API ver. 1 registered
[    0.045182] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.045191] PTP clock support registered
[    0.045210] EDAC MC: Ver: 3.0.0
[    0.045777] FPGA manager framework
[    0.045820] Advanced Linux Sound Architecture Driver Initialized.
[    0.046166] clocksource: Switched to clocksource arch_sys_counter
[    0.046253] VFS: Disk quotas dquot_6.6.0
[    0.046281] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.048734] NET: Registered protocol family 2
[    0.049009] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.050078] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.050119] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.050271] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[    0.050598] TCP: Hash tables configured (established 32768 bind 32768)
[    0.050709] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.050756] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.050863] NET: Registered protocol family 1
[    0.051138] RPC: Registered named UNIX socket transport module.
[    0.051147] RPC: Registered udp transport module.
[    0.051152] RPC: Registered tcp transport module.
[    0.051157] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.051166] PCI: CLS 0 bytes, default 64
[    0.051479] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[    0.053373] Initialise system trusted keyrings
[    0.053463] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[    0.055079] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.055328] NFS: Registering the id_resolver key type
[    0.055349] Key type id_resolver registered
[    0.055355] Key type id_legacy registered
[    0.055385] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.055392] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.055475] 9p: Installing v9fs 9p2000 file system support
[    0.074367] Key type asymmetric registered
[    0.074377] Asymmetric key parser 'x509' registered
[    0.074401] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    0.074408] io scheduler mq-deadline registered
[    0.074413] io scheduler kyber registered
[    0.076187] pinctrl-single 4301c000.pinctrl: 94 pins, size 376
[    0.076398] pinctrl-single 11c000.pinctrl: 173 pins, size 692
[    0.079081] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
[    0.079123] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
[    0.080723] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[    0.082414] arm-smmu-v3 36600000.iommu: ias 48-bit, oas 48-bit (features 0x00001faf)
[    0.082697] arm-smmu-v3 36600000.iommu: allocated 65536 entries for cmdq
[    0.082876] arm-smmu-v3 36600000.iommu: allocated 32768 entries for evtq
[    0.084411] arm-smmu-v3 36600000.iommu: msi_domain absent - falling back to wired irqs
[    0.086186] start panel_dpi_probe
[    0.086212] panel-simple 0.panel_disp0: Specify missing bus_format
[    0.086218] panel-simple 0.panel_disp0: Expected bpc in {6,8} but got: 0
[    0.086224] panel_simple_probe finish
[    0.089936] brd: module loaded
[    0.093215] loop: module loaded
[    0.093827] megasas: 07.714.04.00-rc1
[    0.095575] tun: Universal TUN/TAP device driver, 1.6
[    0.095843] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    0.095850] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    0.095876] sky2: driver version 1.30
[    0.096423] VFIO - User Level meta-driver version: 0.3
[    0.096904] i2c /dev entries driver
[    0.097602] sdhci: Secure Digital Host Controller Interface driver
[    0.097609] sdhci: Copyright(c) Pierre Ossman
[    0.097800] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.098394] ledtrig-cpu: registered to indicate activity on CPUs
[    0.098585] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    0.099201] optee: probing for conduit method.
[    0.099222] optee: revision 3.12 (3d47a131)
[    0.099456] optee: initialized driver
[    0.100665] NET: Registered protocol family 17
[    0.100743] 9pnet: Installing 9P2000 support
[    0.100784] Key type dns_resolver registered
[    0.100853] Loading compiled-in X.509 certificates
[    0.107257] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
[    0.107383] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
[    0.109904] ti-sci 44083000.dmsc: ABI: 3.1 (firmware rev 0x0015 '21.9.1--v2021.09a (Terrific Lla')
[    0.158191] omap_i2c 40b00000.i2c: bus 0 rev0.12 at 100 kHz
[    0.158591] omap_i2c 40b10000.i2c: bus 1 rev0.12 at 100 kHz
[    0.158969] omap_i2c 42120000.i2c: bus 2 rev0.12 at 100 kHz
[    0.159344] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz
[    0.159758] omap_i2c 2010000.i2c: bus 4 rev0.12 at 100 kHz
[    0.160128] omap_i2c 2020000.i2c: bus 5 rev0.12 at 100 kHz
[    0.160956] ti_sn65dsi83 6-002c: supply vcca not found, using dummy regulator
[    0.161019] ti_sn65dsi83 6-002c: supply vcc not found, using dummy regulator
[    0.161051] ti_sn65dsi83 6-002c: supply vccio not found, using dummy regulator
[    0.161077] ti_sn65dsi83 6-002c: supply vpll not found, using dummy regulator
[    0.161120] [drm:ti_sn_bridge_probe] *ERROR* failed to find dsi host
[    0.161256] omap_i2c 2030000.i2c: bus 6 rev0.12 at 400 kHz
[    0.162137] ti-sci-intr bus@100000:bus@28380000:interrupt-controller2: Interrupt Router 137 domain created
[    0.162277] ti-sci-intr bus@100000:interrupt-controller0: Interrupt Router 131 domain created
[    0.162377] ti-sci-intr bus@100000:main-navss:interrupt-controller1: Interrupt Router 213 domain created
[    0.162544] ti-sci-inta 33d00000.interrupt-controller: Interrupt Aggregator domain 209 created
[    0.178363] j721e-pcie 2900000.pcie: host bridge /bus@100000/pcie@2900000 ranges:
[    0.178393] j721e-pcie 2900000.pcie:       IO 0x0010001000..0x0010010fff -> 0x0010001000
[    0.178407] j721e-pcie 2900000.pcie:      MEM 0x0010011000..0x0017ffffff -> 0x0010011000
[    0.178421] j721e-pcie 2900000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
[    0.178879] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
[    0.178913] j721e-pcie 2910000.pcie:       IO 0x0018001000..0x0018010fff -> 0x0018001000
[    0.178926] j721e-pcie 2910000.pcie:      MEM 0x0018011000..0x001fffffff -> 0x0018011000
[    0.178940] j721e-pcie 2910000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
[    0.179784] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235
[    0.179797] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
[    0.179803] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66346100, num_proxies:64
[    0.181378] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[440,150] sci-dev-id:211
[    0.181392] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
[    0.181398] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66346100, num_proxies:64
[    0.181890] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 15, base_baud = 6000000) is a 8250
[    0.182434] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 27, base_baud = 3000000) is a 8250
[    1.844421] printk: console [ttyS2] enabled
[    1.849323] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 28, base_baud = 3000000) is a 8250
[    1.858315] 2840000.serial: ttyS6 at MMIO 0x2840000 (irq = 29, base_baud = 3000000) is a 8250
[    1.869098] cdns-mhdp8546 a000000.dp-bridge: Direct firmware load for cadence/mhdp8546.bin failed with error -2
[    1.879196] start cdns_dsi_drm_probe
[    1.882864] cdns-mhdp8546 a000000.dp-bridge: cdns_mhdp_fw_cb: No firmware.
[    1.889736] ====44==cdns_dsi_drm_probe cadd5131
[    1.894284] cdns_dsi_j721e_init 
[    1.897558] cdns_dsi_drm_probe finish
[    1.904221] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
[    1.950168] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
[    1.958147] mdio_bus 46000f00.mdio: MDIO device at address 0 is missing.
[    1.964876] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2 quirks:00000000
[    1.978473] davinci_mdio c000f00.mdio: Configuring MDIO in manual mode
[    2.022169] davinci_mdio c000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
[    2.029727] davinci_mdio c000f00.mdio: no live phy, scanning all
[    2.053640] davinci_mdio c000f00.mdio: phy[0]: device c000f00.mdio:00, driver unknown
[    2.061475] davinci_mdio c000f00.mdio: phy[1]: device c000f00.mdio:01, driver unknown
[    2.069328] davinci_mdio c000f00.mdio: phy[2]: device c000f00.mdio:02, driver unknown
[    2.077143] davinci_mdio c000f00.mdio: phy[3]: device c000f00.mdio:03, driver unknown
[    2.084959] davinci_mdio c000f00.mdio: phy[4]: device c000f00.mdio:04, driver unknown
[    2.092772] davinci_mdio c000f00.mdio: phy[5]: device c000f00.mdio:05, driver unknown
[    2.100585] davinci_mdio c000f00.mdio: phy[6]: device c000f00.mdio:06, driver unknown
[    2.108398] davinci_mdio c000f00.mdio: phy[7]: device c000f00.mdio:07, driver unknown
[    2.116211] davinci_mdio c000f00.mdio: phy[8]: device c000f00.mdio:08, driver unknown
[    2.124024] davinci_mdio c000f00.mdio: phy[9]: device c000f00.mdio:09, driver unknown
[    2.131836] davinci_mdio c000f00.mdio: phy[10]: device c000f00.mdio:0a, driver unknown
[    2.139736] davinci_mdio c000f00.mdio: phy[11]: device c000f00.mdio:0b, driver unknown
[    2.147639] davinci_mdio c000f00.mdio: phy[12]: device c000f00.mdio:0c, driver unknown
[    2.155539] davinci_mdio c000f00.mdio: phy[13]: device c000f00.mdio:0d, driver unknown
[    2.163442] davinci_mdio c000f00.mdio: phy[14]: device c000f00.mdio:0e, driver unknown
[    2.171347] davinci_mdio c000f00.mdio: phy[15]: device c000f00.mdio:0f, driver unknown
[    2.179278] davinci_mdio c000f00.mdio: phy[16]: device c000f00.mdio:10, driver unknown
[    2.187179] davinci_mdio c000f00.mdio: phy[17]: device c000f00.mdio:11, driver unknown
[    2.195079] davinci_mdio c000f00.mdio: phy[18]: device c000f00.mdio:12, driver unknown
[    2.202979] davinci_mdio c000f00.mdio: phy[19]: device c000f00.mdio:13, driver unknown
[    2.210881] davinci_mdio c000f00.mdio: phy[20]: device c000f00.mdio:14, driver unknown
[    2.218781] davinci_mdio c000f00.mdio: phy[21]: device c000f00.mdio:15, driver unknown
[    2.226681] davinci_mdio c000f00.mdio: phy[22]: device c000f00.mdio:16, driver unknown
[    2.234581] davinci_mdio c000f00.mdio: phy[23]: device c000f00.mdio:17, driver unknown
[    2.242480] davinci_mdio c000f00.mdio: phy[24]: device c000f00.mdio:18, driver unknown
[    2.250381] davinci_mdio c000f00.mdio: phy[25]: device c000f00.mdio:19, driver unknown
[    2.258280] davinci_mdio c000f00.mdio: phy[26]: device c000f00.mdio:1a, driver unknown
[    2.266179] davinci_mdio c000f00.mdio: phy[27]: device c000f00.mdio:1b, driver unknown
[    2.274082] davinci_mdio c000f00.mdio: phy[28]: device c000f00.mdio:1c, driver unknown
[    2.281985] davinci_mdio c000f00.mdio: phy[29]: device c000f00.mdio:1d, driver unknown
[    2.289889] davinci_mdio c000f00.mdio: phy[30]: device c000f00.mdio:1e, driver unknown
[    2.297793] davinci_mdio c000f00.mdio: phy[31]: device c000f00.mdio:1f, driver unknown
[    2.305758] am65-cpsw-nuss c000000.ethernet: initializing am65 cpsw nuss version 0x6BA01901, cpsw version 0x6BA80101 Ports: 9 quirks:00000000
[    2.320277] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010a, freq:200000000, add_val:4 pps:0
[    2.430181] mmc0: CQHCI version 5.10
[    2.438652] vdd_mmc1: supplied by vsys_3v3
[    2.443441] ti_sn65dsi83 6-002c: supply vcca not found, using dummy regulator
[    2.450651] ti_sn65dsi83 6-002c: supply vcc not found, using dummy regulator
[    2.457714] ti_sn65dsi83 6-002c: supply vccio not found, using dummy regulator
[    2.464940] ti_sn65dsi83 6-002c: supply vpll not found, using dummy regulator
[    2.470744] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
[    2.494356] ti_sn65dsi83_bridge_probe ok 0
[    2.498862] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc7100
[    2.505707] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc7100
[    2.512548] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fc7100
[    2.519379] omap-mailbox 31f83000.mailbox: omap mailbox rev 0x66fc7100
[    2.526182] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fc7100
[    2.536812] j721e-pcie 2900000.pcie: host bridge /bus@100000/pcie@2900000 ranges:
[    2.544311] j721e-pcie 2900000.pcie:       IO 0x0010001000..0x0010010fff -> 0x0010001000
[    2.552402] j721e-pcie 2900000.pcie:      MEM 0x0010011000..0x0017ffffff -> 0x0010011000
[    2.560487] j721e-pcie 2900000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
[    2.590937] mmc0: Command Queue Engine enabled
[    2.595380] mmc0: new HS200 MMC card at address 0001
[    2.600643] mmcblk0: mmc0:0001 G1M15L 29.6 GiB 
[    2.605291] mmcblk0boot0: mmc0:0001 G1M15L partition 1 31.5 MiB
[    2.611311] mmcblk0boot1: mmc0:0001 G1M15L partition 2 31.5 MiB
[    2.617322] mmcblk0rpmb: mmc0:0001 G1M15L partition 3 4.00 MiB, chardev (238:0)
[    2.625437]  mmcblk0: p1 p2 p3
[    3.570572] j721e-pcie 2900000.pcie: PCI host bridge to bus 0000:00
[    3.576851] pci_bus 0000:00: root bus resource [bus 00-ff]
[    3.582327] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0x10001000-0x10010fff])
[    3.591788] pci_bus 0000:00: root bus resource [mem 0x10011000-0x17ffffff]
[    3.598673] pci 0000:00:00.0: [104c:b00d] type 01 class 0x060400
[    3.604669] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
[    3.614373] pci 0000:00:00.0: supports D1
[    3.618374] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    3.626011] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    3.635634] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    3.642244] pci 0000:00:00.0: PCI bridge to [bus 01]
[    3.647427] pcieport 0000:00:00.0: PME: Signaling with IRQ 495
[    3.653766] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
[    3.661266] j721e-pcie 2910000.pcie:       IO 0x0018001000..0x0018010fff -> 0x0018001000
[    3.669349] j721e-pcie 2910000.pcie:      MEM 0x0018011000..0x001fffffff -> 0x0018011000
[    3.677429] j721e-pcie 2910000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
[    4.688504] j721e-pcie 2910000.pcie: PCI host bridge to bus 0001:00
[    4.694766] pci_bus 0001:00: root bus resource [bus 00-ff]
[    4.700240] pci_bus 0001:00: root bus resource [io  0x10000-0x1ffff] (bus address [0x18001000-0x18010fff])
[    4.709875] pci_bus 0001:00: root bus resource [mem 0x18011000-0x1fffffff]
[    4.716754] pci 0001:00:00.0: [104c:b00d] type 01 class 0x060400
[    4.722749] pci_bus 0001:00: 2-byte config write to 0001:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
[    4.732445] pci 0001:00:00.0: supports D1
[    4.736444] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
[    4.743965] pci 0001:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    4.753562] pci_bus 0001:01: busn_res: [bus 01-ff] end is updated to 01
[    4.760175] pci 0001:00:00.0: PCI bridge to [bus 01]
[    4.765341] pcieport 0001:00:00.0: PME: Signaling with IRQ 497
[    4.772052] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
[    4.782686] ti-udma 31150000.dma-controller: Channels: 122 (tchan: 61, rchan: 61, gp-rflow: 16)
[    4.794600] ti_sn_bridge_attach 0
[    4.798958] [drm] Initialized tidss 1.0.0 20180215 for 4a00000.dss on minor 0
[    4.806134] tidss 4a00000.dss: [drm] Cannot find any crtc or sizes
[    4.815281] spi-nor spi0.0: unrecognized JEDEC id bytes: ff ff ff ff ff ff
[    4.822164] spi-nor: probe of spi0.0 failed with error -2
[    4.828204] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
[    4.874173] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
[    4.882151] mdio_bus 46000f00.mdio: MDIO device at address 0 is missing.
[    4.888875] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2 quirks:00000000
[    4.902535] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
[    4.909549] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
[    4.916761] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
[    4.923106] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010a, freq:500000000, add_val:1 pps:0
[    4.933516] davinci_mdio c000f00.mdio: Configuring MDIO in manual mode
[    4.978172] davinci_mdio c000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
[    4.985732] davinci_mdio c000f00.mdio: no live phy, scanning all
[    5.009622] davinci_mdio c000f00.mdio: phy[0]: device c000f00.mdio:00, driver unknown
[    5.017459] davinci_mdio c000f00.mdio: phy[1]: device c000f00.mdio:01, driver unknown
[    5.025310] davinci_mdio c000f00.mdio: phy[2]: device c000f00.mdio:02, driver unknown
[    5.033125] davinci_mdio c000f00.mdio: phy[3]: device c000f00.mdio:03, driver unknown
[    5.040941] davinci_mdio c000f00.mdio: phy[4]: device c000f00.mdio:04, driver unknown
[    5.048755] davinci_mdio c000f00.mdio: phy[5]: device c000f00.mdio:05, driver unknown
[    5.056569] davinci_mdio c000f00.mdio: phy[6]: device c000f00.mdio:06, driver unknown
[    5.064382] davinci_mdio c000f00.mdio: phy[7]: device c000f00.mdio:07, driver unknown
[    5.072195] davinci_mdio c000f00.mdio: phy[8]: device c000f00.mdio:08, driver unknown
[    5.080008] davinci_mdio c000f00.mdio: phy[9]: device c000f00.mdio:09, driver unknown
[    5.087821] davinci_mdio c000f00.mdio: phy[10]: device c000f00.mdio:0a, driver unknown
[    5.095721] davinci_mdio c000f00.mdio: phy[11]: device c000f00.mdio:0b, driver unknown
[    5.103623] davinci_mdio c000f00.mdio: phy[12]: device c000f00.mdio:0c, driver unknown
[    5.111524] davinci_mdio c000f00.mdio: phy[13]: device c000f00.mdio:0d, driver unknown
[    5.119428] davinci_mdio c000f00.mdio: phy[14]: device c000f00.mdio:0e, driver unknown
[    5.127331] davinci_mdio c000f00.mdio: phy[15]: device c000f00.mdio:0f, driver unknown
[    5.135264] davinci_mdio c000f00.mdio: phy[16]: device c000f00.mdio:10, driver unknown
[    5.143165] davinci_mdio c000f00.mdio: phy[17]: device c000f00.mdio:11, driver unknown
[    5.151065] davinci_mdio c000f00.mdio: phy[18]: device c000f00.mdio:12, driver unknown
[    5.158965] davinci_mdio c000f00.mdio: phy[19]: device c000f00.mdio:13, driver unknown
[    5.166867] davinci_mdio c000f00.mdio: phy[20]: device c000f00.mdio:14, driver unknown
[    5.174766] davinci_mdio c000f00.mdio: phy[21]: device c000f00.mdio:15, driver unknown
[    5.182666] davinci_mdio c000f00.mdio: phy[22]: device c000f00.mdio:16, driver unknown
[    5.190566] davinci_mdio c000f00.mdio: phy[23]: device c000f00.mdio:17, driver unknown
[    5.198466] davinci_mdio c000f00.mdio: phy[24]: device c000f00.mdio:18, driver unknown
[    5.206366] davinci_mdio c000f00.mdio: phy[25]: device c000f00.mdio:19, driver unknown
[    5.214266] davinci_mdio c000f00.mdio: phy[26]: device c000f00.mdio:1a, driver unknown
[    5.222166] davinci_mdio c000f00.mdio: phy[27]: device c000f00.mdio:1b, driver unknown
[    5.230069] davinci_mdio c000f00.mdio: phy[28]: device c000f00.mdio:1c, driver unknown
[    5.237970] davinci_mdio c000f00.mdio: phy[29]: device c000f00.mdio:1d, driver unknown
[    5.245874] davinci_mdio c000f00.mdio: phy[30]: device c000f00.mdio:1e, driver unknown
[    5.253779] davinci_mdio c000f00.mdio: phy[31]: device c000f00.mdio:1f, driver unknown
[    5.261744] am65-cpsw-nuss c000000.ethernet: initializing am65 cpsw nuss version 0x6BA01901, cpsw version 0x6BA80101 Ports: 9 quirks:00000000
[    5.275415] am65-cpsw-nuss c000000.ethernet: set new flow-id-base 140
[    5.282369] am65-cpsw-nuss c000000.ethernet: /bus@100000/ethernet@c000000/ethernet-ports/port@1 error retrieving port phy: -19
[    5.296036] debugfs: Directory 'pd:27' with parent 'pm_genpd' already present!
[    5.303354] debugfs: Directory 'pd:26' with parent 'pm_genpd' already present!
[    5.310781] mmc1: CQHCI version 5.10
[    5.311638] debugfs: Directory 'pd:242' with parent 'pm_genpd' already present!
[    5.321685] debugfs: Directory 'pd:241' with parent 'pm_genpd' already present!
[    5.329005] debugfs: Directory 'pd:240' with parent 'pm_genpd' already present!
[    5.336327] debugfs: Directory 'pd:239' with parent 'pm_genpd' already present!
[    5.355679] ALSA device list:
[    5.358656]   No soundcards found.
[    6.828585] sdhci-am654 4fb0000.mmc: Power on failed
[    6.864177] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
[    6.874795] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[    6.882103] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[    6.893493] EXT4-fs (mmcblk0p2): recovery complete
[    6.899263] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    6.907374] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    6.914401] devtmpfs: mounted
[    6.918111] Freeing unused kernel memory: 1792K
[    6.922747] Run /sbin/init as init process
[    6.926834]   with arguments:
[    6.926836]     /sbin/init
[    6.926838]   with environment:
[    6.926840]     HOME=/
[    6.926841]     TERM=linux
[    6.988961] systemd[1]: System time before build time, advancing clock.
[    7.005034] systemd[1]: systemd 244.5+ running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR -SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
[    7.026783] systemd[1]: Detected architecture arm64.
[    7.066437] systemd[1]: Set hostname to <ccids>.
[    7.168860] systemd[1]: Binding to IPv6 address not available since kernel does not support IPv6.
[    7.177845] systemd[1]: Binding to IPv6 address not available since kernel does not support IPv6.
[    7.234302] random: systemd: uninitialized urandom read (16 bytes read)
[    7.241054] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[    7.253384] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[    7.263147] systemd[1]: Created slice system-getty.slice.
[    7.286245] random: systemd: uninitialized urandom read (16 bytes read)
[    7.293352] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    7.314239] random: systemd: uninitialized urandom read (16 bytes read)
[    7.321320] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[    7.342735] systemd[1]: Created slice User and Session Slice.
[    7.362368] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    7.386296] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    7.410313] systemd[1]: Reached target Paths.
[    7.426228] systemd[1]: Reached target Remote File Systems.
[    7.446218] systemd[1]: Reached target Slices.
[    7.462232] systemd[1]: Reached target Swap.
[    7.480402] systemd[1]: Listening on RPCbind Server Activation Socket.
[    7.502256] systemd[1]: Reached target RPC Port Mapper.
[    7.525293] systemd[1]: Listening on Process Core Dump Socket.
[    7.546365] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    7.573141] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
[    7.581488] systemd[1]: Listening on Journal Socket (/dev/log).
[    7.602454] systemd[1]: Listening on Journal Socket.
[    7.618525] systemd[1]: Listening on Network Service Netlink Socket.
[    7.642444] systemd[1]: Listening on udev Control Socket.
[    7.662344] systemd[1]: Listening on udev Kernel Socket.
[    7.684128] systemd[1]: Mounting Huge Pages File System...
[    7.700063] systemd[1]: Mounting POSIX Message Queue File System...
[    7.724139] systemd[1]: Mounting Kernel Debug File System...
[    7.740189] systemd[1]: Mounting Temporary Directory (/tmp)...
[    7.760117] systemd[1]: Starting Service to grow data partition size...
[    7.782383] systemd[1]: Condition check resulted in Create list of static device nodes for the current kernel being skipped.
[    7.796328] systemd[1]: Starting Start psplash boot splash screen...
[    7.824468] systemd[1]: Starting RPC Bind...
[    7.840312] systemd[1]: Starting File System Check on Root Device...
[    7.850023] systemd[1]: Starting Journal Service...
[    7.864941] systemd[1]: Starting Load Kernel Modules...
[    7.872805] systemd[1]: Starting udev Coldplug all Devices...
[    7.884810] systemd[1]: Started RPC Bind.
[    7.891187] systemd[1]: Mounted Huge Pages File System.
[    7.901970] systemd[1]: Mounted POSIX Message Queue File System.
[    7.913242] systemd[1]: Mounted Kernel Debug File System.
[    7.925761] systemd[1]: Mounted Temporary Directory (/tmp).
[    7.955563] systemd[1]: Started Journal Service.
[    8.128966] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    8.208347] systemd-journald[237]: Received client request to flush runtime journal.
[    8.282611] urandom_read_iter: 50 callbacks suppressed
[    8.282615] random: systemd: uninitialized urandom read (16 bytes read)
[    8.310279] random: systemd: uninitialized urandom read (16 bytes read)
[    8.319374] random: systemd-journal: uninitialized urandom read (16 bytes read)
[    9.458770] urandom_read_iter: 23 callbacks suppressed
[    9.458773] random: systemd: uninitialized urandom read (16 bytes read)
[    9.480099] random: systemd: uninitialized urandom read (16 bytes read)
[    9.624617] random: systemd: uninitialized urandom read (16 bytes read)
[   10.122203] random: crng init done
[   10.125615] random: 29 urandom warning(s) missed due to ratelimiting
[   10.562846] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
[   35.806183] lcd_bl_en: disabling

Q1:Is there anything wrong with the kernel settings?
Q2:How to make DSI clock pin output frequency signal?

Thanks.

  • Hi, Jason

    I found some code is different, you may reference k3-j721s2-main.dtsi

    May you try this code first? 

    please check clock source setting

    	dphy0: phy@4480000 {
    		compatible = "ti,j721e-dphy";
    		reg = <0x0 0x04480000 0x0 0x1000>;
    		clocks = <&k3_clks 363 8>, <&k3_clks 363 14>;
    		clock-names = "psm", "pll_ref";
    		#phy-cells = <0>;
    		power-domains = <&k3_pds 363 TI_SCI_PD_EXCLUSIVE>;
    		assigned-clocks = <&k3_clks 363 14>;
    		assigned-clock-parents = <&k3_clks 363 15>;
    		assigned-clock-rates = <19200000>;
    	};
    
    	dsi0: dsi@4800000 {
    		compatible = "ti,j721e-dsi";
    		reg = <0x0 0x04800000 0x0 0x100000>, <0x0 0x04710000 0x0 0x100>;
    		clocks = <&k3_clks 154 4>, <&k3_clks 154 1>;
    		clock-names = "dsi_p_clk", "dsi_sys_clk";
    		power-domains = <&k3_pds 154 TI_SCI_PD_EXCLUSIVE>;
    		interrupt-parent = <&gic500>;
    		interrupts = <GIC_SPI 600 IRQ_TYPE_LEVEL_HIGH>;
    		phys = <&dphy0>;
    		phy-names = "dphy";
    
    		dsi0_ports: ports {
    			#address-cells = <1>;
    			#size-cells = <0>;
    			port@0 {
    				reg = <0>;
    			};
    			port@1 {
    				reg = <1>;
    			};
    		};
    	};

    you need to rename the node "dphy0"  in k3-j721e-main.dtsi,

    because dphy0 assigned to csi-rx

    And dear TI member,

    I not sure this is correct answer,

    Any comment to me?

    Many Thanks

    :)

    Gibbs

  • Hi Jaon, Gibbs,

    I see few issue in the device tree settings

    1. DSI is connected to port 2 of DSS, so you connect dsi0 to port@2 of dss
        please refer to : https://github.com/beagleboard/BeagleBoard-DeviceTrees/blob/5973f30e9acf4e35606c6c39fcd539984e3556c5/src/arm64/overlays/k3-j721e-beagleboneai64-RPi-7inch-panel.dts#L82

    2. Assigned clocks is missing for dphy2
        please refer to : https://github.com/beagleboard/BeagleBoard-DeviceTrees/blob/5973f30e9acf4e35606c6c39fcd539984e3556c5/src/arm64/overlays/k3-j721e-beagleboneai64-RPi-7inch-panel.dts#L141
        you can add the above in main file as well, similar to j721s2 as Gibbs pointed out
        but values are different for j721e, so please refer to above link to get the values

    Please fix the above changes and try

    Regards
    Rahul T R

  • Thanks for your reply.

    Now DSI_TXCLK has output, but DSI_TX has not  data output.

    Please see the picture below.

    Clock Lane:

    Data Lane:

    Q1: The DSI clock output waveform correct?

    Q2: How to make DSI output correct data?

    Thanks.

  • hi,

    Are you enabling DSS to send some data over DSI? Because otherwise, data lanes will be at low power state. 

    Regards,

    Brijesh

  • Hi Jason,

    Can you run below command to render some pattern on the display, before checking for data signals
    kmstest

    Regards
    Rahul T R

  • Also, can you please check and share output of below command
    modetest -M tidss

  • Hi, Jason 

    Follow Brijesh's comment.

    if you also load l3-j721e-vision-apps.dtbo

    please help us check DSS "enable or not" first,

    you can check this E2E thread.

    TDA4VM: tidss driver doesnot work when apply k3-j721e-vision-apps.dtbo - Processors forum - Processors - TI E2E support forums

    Thanks

    Gibbs

  • Thanks for your reply

    The DSS is enable.

    After executing kmstest command, there is no data and clock output.

    Below is the modetest log.

    root@ccids:~# kmstest
    Connector 0/@39: DSI-1[ 3491.068626] gpiod_set_value_cansleep: invalid GPIO (errorpointer)
    
      Crtc 0/@37: 1280x720 75.000 1280/12/4/112/- 720/8/4/12/- 72 [ 3491.081334] gpiod_set_value_cansleep: invalid GPIO (errorpointer)
    (71.60) 0xa 0x48
      Plane 0/@31: 0,0-1280x720
        Fb 59 1280x72[ 3491.088486] cdns_dsi_j721e_enable
    0-XR24
    press enter to exit
    
    root@ccids:~# modetest -M tidss
    Encoders:
    id      crtc    type    possible crtcs  possible clones
    38      37      none    0x00000001      0x00000001
    
    Connectors:
    id      encoder status          name            size (mm)       modes   encoders
    39      38      connected       DSI-1           199x112         1       38
      modes:
            index name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)
      #0 1280x720 71.60 1280 1292 1296 1408 720 728 732 744 75000 flags: nhsync, nvsync; type: preferred, driver
      props:
            1 EDID:
                    flags: immutable blob
                    blobs:
    
                    value:
            2 DPMS:
                    flags: enum
                    enums: On=0 Standby=1 Suspend=2 Off=3
                    value: 0
            5 link-status:
                    flags: enum
                    enums: Good=0 Bad=1
                    value: 0
            6 non-desktop:
                    flags: immutable range
                    values: 0 1
                    value: 0
            4 TILE:
                    flags: immutable blob
                    blobs:
    
                    value:
            20 CRTC_ID:
                    flags: object
                    value: 37
    
    CRTCs:
    id      fb      pos     size
    37      58      (0,0)   (1280x720)
      #0 1280x720 71.60 1280 1292 1296 1408 720 728 732 744 75000 flags: nhsync, nvsync; type: preferred, driver
      props:
            22 ACTIVE:
                    flags: range
                    values: 0 1
                    value: 1
            23 MODE_ID:
                    flags: blob
                    blobs:
    
                    value:
                            f824010000050c05100580050000d002
                            d802dc02e8020000480000000a000000
                            48000000313238307837323000000000
                            00000000000000000000000000000000
                            00000000
            19 OUT_FENCE_PTR:
                    flags: range
                    values: 0 18446744073709551615
                    value: 0
            24 VRR_ENABLED:
                    flags: range
                    values: 0 1
                    value: 0
            27 CTM:
                    flags: blob
                    blobs:
    
                    value:
            28 GAMMA_LUT:
                    flags: blob
                    blobs:
    
                    value:
            29 GAMMA_LUT_SIZE:
                    flags: immutable range
                    values: 0 4294967295
                    value: 256
    
    Planes:
    id      crtc    fb      CRTC x,y        x,y     gamma size      possible crtcs
    31      37      58      0,0             0,0     0               0x00000001
      formats: AR12 AB12 RA12 RG16 BG16 AR15 AB15 AR24 AB24 RA24 BA24 RG24 BG24 AR30 AB30 XR12 XB12 RX12 AR15 AB15 XR24 XB24 RX24 BX24 XR30 XB30 YUYV UYVY NV12
      props:
            8 type:
                    flags: immutable enum
                    enums: Overlay=0 Primary=1 Cursor=2
                    value: 1
            17 FB_ID:
                    flags: object
                    value: 58
            18 IN_FENCE_FD:
                    flags: signed range
                    values: -1 2147483647
                    value: -1
            20 CRTC_ID:
                    flags: object
                    value: 37
            13 CRTC_X:
                    flags: signed range
                    values: -2147483648 2147483647
                    value: 0
            14 CRTC_Y:
                    flags: signed range
                    values: -2147483648 2147483647
                    value: 0
            15 CRTC_W:
                    flags: range
                    values: 0 2147483647
                    value: 1280
            16 CRTC_H:
                    flags: range
                    values: 0 2147483647
                    value: 720
            9 SRC_X:
                    flags: range
                    values: 0 4294967295
                    value: 0
            10 SRC_Y:
                    flags: range
                    values: 0 4294967295
                    value: 0
            11 SRC_W:
                    flags: range
                    values: 0 4294967295
                    value: 83886080
            12 SRC_H:
                    flags: range
                    values: 0 4294967295
                    value: 47185920
            32 zpos:
                    flags: range
                    values: 0 3
                    value: 0
            33 COLOR_ENCODING:
                    flags: enum
                    enums: ITU-R BT.601 YCbCr=0 ITU-R BT.709 YCbCr=1
                    value: 0
            34 COLOR_RANGE:
                    flags: enum
                    enums: YCbCr limited range=0 YCbCr full range=1
                    value: 0
            35 alpha:
                    flags: range
                    values: 0 65535
                    value: 65535
            36 pixel blend mode:
                    flags: enum
                    enums: Pre-multiplied=0 Coverage=1
                    value: 0
    40      0       0       0,0             0,0     0               0x00000001
      formats: AR12 AB12 RA12 RG16 BG16 AR15 AB15 AR24 AB24 RA24 BA24 RG24 BG24 AR30 AB30 XR12 XB12 RX12 AR15 AB15 XR24 XB24 RX24 BX24 XR30 XB30 YUYV UYVY NV12
      props:
            8 type:
                    flags: immutable enum
                    enums: Overlay=0 Primary=1 Cursor=2
                    value: 0
            17 FB_ID:
                    flags: object
                    value: 0
            18 IN_FENCE_FD:
                    flags: signed range
                    values: -1 2147483647
                    value: -1
            20 CRTC_ID:
                    flags: object
                    value: 0
            13 CRTC_X:
                    flags: signed range
                    values: -2147483648 2147483647
                    value: 0
            14 CRTC_Y:
                    flags: signed range
                    values: -2147483648 2147483647
                    value: 0
            15 CRTC_W:
                    flags: range
                    values: 0 2147483647
                    value: 0
            16 CRTC_H:
                    flags: range
                    values: 0 2147483647
                    value: 0
            9 SRC_X:
                    flags: range
                    values: 0 4294967295
                    value: 0
            10 SRC_Y:
                    flags: range
                    values: 0 4294967295
                    value: 0
            11 SRC_W:
                    flags: range
                    values: 0 4294967295
                    value: 0
            12 SRC_H:
                    flags: range
                    values: 0 4294967295
                    value: 0
            41 zpos:
                    flags: range
                    values: 0 3
                    value: 0
            42 COLOR_ENCODING:
                    flags: enum
                    enums: ITU-R BT.601 YCbCr=0 ITU-R BT.709 YCbCr=1
                    value: 0
            43 COLOR_RANGE:
                    flags: enum
                    enums: YCbCr limited range=0 YCbCr full range=1
                    value: 0
            44 alpha:
                    flags: range
                    values: 0 65535
                    value: 65535
            45 pixel blend mode:
                    flags: enum
                    enums: Pre-multiplied=0 Coverage=1
                    value: 0
    46      0       0       0,0             0,0     0               0x00000001
      formats: AR12 AB12 RA12 RG16 BG16 AR15 AB15 AR24 AB24 RA24 BA24 RG24 BG24 AR30 AB30 XR12 XB12 RX12 AR15 AB15 XR24 XB24 RX24 BX24 XR30 XB30 YUYV UYVY NV12
      props:
            8 type:
                    flags: immutable enum
                    enums: Overlay=0 Primary=1 Cursor=2
                    value: 0
            17 FB_ID:
                    flags: object
                    value: 0
            18 IN_FENCE_FD:
                    flags: signed range
                    values: -1 2147483647
                    value: -1
            20 CRTC_ID:
                    flags: object
                    value: 0
            13 CRTC_X:
                    flags: signed range
                    values: -2147483648 2147483647
                    value: 0
            14 CRTC_Y:
                    flags: signed range
                    values: -2147483648 2147483647
                    value: 0
            15 CRTC_W:
                    flags: range
                    values: 0 2147483647
                    value: 0
            16 CRTC_H:
                    flags: range
                    values: 0 2147483647
                    value: 0
            9 SRC_X:
                    flags: range
                    values: 0 4294967295
                    value: 0
            10 SRC_Y:
                    flags: range
                    values: 0 4294967295
                    value: 0
            11 SRC_W:
                    flags: range
                    values: 0 4294967295
                    value: 0
            12 SRC_H:
                    flags: range
                    values: 0 4294967295
                    value: 0
            47 zpos:
                    flags: range
                    values: 0 3
                    value: 0
            48 COLOR_ENCODING:
                    flags: enum
                    enums: ITU-R BT.601 YCbCr=0 ITU-R BT.709 YCbCr=1
                    value: 0
            49 COLOR_RANGE:
                    flags: enum
                    enums: YCbCr limited range=0 YCbCr full range=1
                    value: 0
            50 alpha:
                    flags: range
                    values: 0 65535
                    value: 65535
            51 pixel blend mode:
                    flags: enum
                    enums: Pre-multiplied=0 Coverage=1
                    value: 0
    52      0       0       0,0             0,0     0               0x00000001
      formats: AR12 AB12 RA12 RG16 BG16 AR15 AB15 AR24 AB24 RA24 BA24 RG24 BG24 AR30 AB30 XR12 XB12 RX12 AR15 AB15 XR24 XB24 RX24 BX24 XR30 XB30 YUYV UYVY NV12
      props:
            8 type:
                    flags: immutable enum
                    enums: Overlay=0 Primary=1 Cursor=2
                    value: 0
            17 FB_ID:
                    flags: object
                    value: 0
            18 IN_FENCE_FD:
                    flags: signed range
                    values: -1 2147483647
                    value: -1
            20 CRTC_ID:
                    flags: object
                    value: 0
            13 CRTC_X:
                    flags: signed range
                    values: -2147483648 2147483647
                    value: 0
            14 CRTC_Y:
                    flags: signed range
                    values: -2147483648 2147483647
                    value: 0
            15 CRTC_W:
                    flags: range
                    values: 0 2147483647
                    value: 0
            16 CRTC_H:
                    flags: range
                    values: 0 2147483647
                    value: 0
            9 SRC_X:
                    flags: range
                    values: 0 4294967295
                    value: 0
            10 SRC_Y:
                    flags: range
                    values: 0 4294967295
                    value: 0
            11 SRC_W:
                    flags: range
                    values: 0 4294967295
                    value: 0
            12 SRC_H:
                    flags: range
                    values: 0 4294967295
                    value: 0
            53 zpos:
                    flags: range
                    values: 0 3
                    value: 0
            54 COLOR_ENCODING:
                    flags: enum
                    enums: ITU-R BT.601 YCbCr=0 ITU-R BT.709 YCbCr=1
                    value: 0
            55 COLOR_RANGE:
                    flags: enum
                    enums: YCbCr limited range=0 YCbCr full range=1
                    value: 0
            56 alpha:
                    flags: range
                    values: 0 65535
                    value: 65535
            57 pixel blend mode:
                    flags: enum
                    enums: Pre-multiplied=0 Coverage=1
                    value: 0
    
    Frame buffers:
    id      size    pitch
    

  • Hi, Jason

    After sheet studying, I have an idea ...

    How about enable TVG generator to generate DSI color pattern?

    I think this way can help us to make sure DSI & D-PHY works well first

    You may use linux command "devmem2"  R/W register

    Reference source :

    12.6.5.7 DSI Programming Guide

    Gibbs

  • Hi  Gibbs

    I tried to set the TVG related registers, but the data lane still has no output.

    Below is my setup sequence. If anything is wrong please let me know.

    root@tda4vm-sk:~# devmem2 0x04800004
    /dev/mem opened.
    Memory mapped at address 0xffffabbe5000.
    Read at address  0x04800004 (0xffffabbe5004): 0x00020027
    root@tda4vm-sk:~# [  131.617048] Initializing XFRM netlink socket
    [  132.374647] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
    [  132.389172] Bridge firewalling registered
    [  133.205903] process 'docker/tmp/qemu-check342296845/check' started with executable stack
    devmem2 0x0480000c
    /dev/mem opened.
    Memory mapped at address 0xffffa7f35000.
    Read at address  0x0480000C (0xffffa7f3500c): 0x000040F9
    root@tda4vm-sk:~# devmem2 0x0480000c w 0x000020f9
    /dev/mem opened.
    Memory mapped at address 0xffff8bd5a000.
    Read at address  0x0480000C (0xffff8bd5a00c): 0x000040F9
    Write at address 0x0480000C (0xffff8bd5a00c): 0x000020F9, readback 0x000020F9
    root@tda4vm-sk:~# devmem2 0x0480000c
    /dev/mem opened.
    Memory mapped at address 0xffffb3904000.
    Read at address  0x0480000C (0xffffb390400c): 0x000020F9
    root@tda4vm-sk:~# devmem2 0x04800004
    /dev/mem opened.
    Memory mapped at address 0xffffa7851000.
    Read at address  0x04800004 (0xffffa7851004): 0x00020027
    root@tda4vm-sk:~# devmem2 0x04800004 w 0x00020067
    /dev/mem opened.
    Memory mapped at address 0xffffa8086000.
    Read at address  0x04800004 (0xffffa8086004): 0x00020027
    Write at address 0x04800004 (0xffffa8086004): 0x00020067, readback 0x00020067
    root@tda4vm-sk:~# devmem2 0x04800004
    /dev/mem opened.
    Memory mapped at address 0xffff92d40000.
    Read at address  0x04800004 (0xffff92d40004): 0x00020067
    root@tda4vm-sk:~# devmem2 0x048000fc
    /dev/mem opened.
    Memory mapped at address 0xffff914c0000.
    Read at address  0x048000FC (0xffff914c00fc): 0x00000000
    root@tda4vm-sk:~# devmem2 0x048000fc w 0x00000011
    /dev/mem opened.
    Memory mapped at address 0xffff8a459000.
    Read at address  0x048000FC (0xffff8a4590fc): 0x00000000
    Write at address 0x048000FC (0xffff8a4590fc): 0x00000011, readback 0x00000011
    root@tda4vm-sk:~# devmem2 0x048000fc
    /dev/mem opened.
    Memory mapped at address 0xffff957c7000.
    Read at address  0x048000FC (0xffff957c70fc): 0x00000011
    root@tda4vm-sk:~# devmem2 0x04800104
    /dev/mem opened.
    Memory mapped at address 0xffff89187000.
    Read at address  0x04800104 (0xffff89187104): 0x00000000
    root@tda4vm-sk:~# devmem2 0x04800104 w 0x00fffff
    /dev/mem opened.
    Memory mapped at address 0xffff94905000.
    Read at address  0x04800104 (0xffff94905104): 0x00000000
    Write at address 0x04800104 (0xffff94905104): 0x000FFFFF, readback 0x000FFFFF
    root@tda4vm-sk:~# devmem2 0x04800104
    /dev/mem opened.
    Memory mapped at address 0xffffb5dd6000.
    Read at address  0x04800104 (0xffffb5dd6104): 0x000FFFFF
    root@tda4vm-sk:~# devmem2 0x048000fc
    /dev/mem opened.
    Memory mapped at address 0xffffaf565000.
    Read at address  0x048000FC (0xffffaf5650fc): 0x00000011
    root@tda4vm-sk:~# devmem2 0x048000fc w 0x000000f1
    /dev/mem opened.
    Memory mapped at address 0xffff867e9000.
    Read at address  0x048000FC (0xffff867e90fc): 0x00000011
    Write at address 0x048000FC (0xffff867e90fc): 0x000000F1, readback 0x000000F1
    root@tda4vm-sk:~# devmem2 0x048000fc
    /dev/mem opened.
    Memory mapped at address 0xffff8aab7000.
    Read at address  0x048000FC (0xffff8aab70fc): 0x000000F1
    root@tda4vm-sk:~# devmem2 0x04800100
    /dev/mem opened.
    Memory mapped at address 0xffff8ce13000.
    Read at address  0x04800100 (0xffff8ce13100): 0x00000000
    root@tda4vm-sk:~# devmem2 0x04800100 w 0x00000f00
    /dev/mem opened.
    Memory mapped at address 0xffff9d38f000.
    Read at address  0x04800100 (0xffff9d38f100): 0x00000000
    Write at address 0x04800100 (0xffff9d38f100): 0x00000F00, readback 0x00000F00
    root@tda4vm-sk:~# devmem2 0x04800100 w 0x02d00f00                                                                                                                                                           
    /dev/mem opened.
    Memory mapped at address 0xffff823db000.
    Read at address  0x04800100 (0xffff823db100): 0x00000F00
    Write at address 0x04800100 (0xffff823db100): 0x02D00F00, readback 0x02D00F00
    root@tda4vm-sk:~# devmem2 0x048000fc
    /dev/mem opened.
    Memory mapped at address 0xffff90fff000.
    Read at address  0x048000FC (0xffff90fff0fc): 0x000000F1
    root@tda4vm-sk:~# devmem2 0x048000fc w 0x000000f0
    /dev/mem opened.
    Memory mapped at address 0xffffa71b9000.
    Read at address  0x048000FC (0xffffa71b90fc): 0x000000F1
    Write at address 0x048000FC (0xffffa71b90fc): 0x000000F0, readback 0x000000F0
    root@tda4vm-sk:~# devmem2 0x048000b0
    /dev/mem opened.
    Memory mapped at address 0xffffbc9ce000.
    Read at address  0x048000B0 (0xffffbc9ce0b0): 0x80A0FE00
    root@tda4vm-sk:~# devmem2 0x04800104
    /dev/mem opened.
    Memory mapped at address 0xffffa4908000.
    Read at address  0x04800104 (0xffffa4908104): 0x000FFFFF
    root@tda4vm-sk:~# devmem2 0x04800108
    /dev/mem opened.
    Memory mapped at address 0xffffa0468000.
    Read at address  0x04800108 (0xffffa0468108): 0x00000000
    root@tda4vm-sk:~# devmem2 0x04800108 w 0x00000fff
    /dev/mem opened.
    Memory mapped at address 0xffffa9a42000.
    Read at address  0x04800108 (0xffffa9a42108): 0x00000000
    Write at address 0x04800108 (0xffffa9a42108): 0x00000FFF, readback 0x00000FFF
    root@tda4vm-sk:~# devmem2 0x0480010c             
    /dev/mem opened.
    Memory mapped at address 0xffffb4c23000.
    Read at address  0x0480010C (0xffffb4c2310c): 0x00000000
    root@tda4vm-sk:~# devmem2 0x0480010c w 0x00ffffff
    /dev/mem opened.
    Memory mapped at address 0xffffb212b000.
    Read at address  0x0480010C (0xffffb212b10c): 0x00000000
    Write at address 0x0480010C (0xffffb212b10c): 0x00FFFFFF, readback 0x00FFFFFF
    root@tda4vm-sk:~# devmem2 0x0480010c
    /dev/mem opened.
    Memory mapped at address 0xffff9eb51000.
    Read at address  0x0480010C (0xffff9eb5110c): 0x00FFFFFF
    root@tda4vm-sk:~# devmem2 0x04800110
    /dev/mem opened.
    Memory mapped at address 0xffffb1950000.
    Read at address  0x04800110 (0xffffb1950110): 0x00000000
    root@tda4vm-sk:~# devmem2 0x04800110 w 0x00000fff
    /dev/mem opened.
    Memory mapped at address 0xffff90cb0000.
    Read at address  0x04800110 (0xffff90cb0110): 0x00000000
    Write at address 0x04800110 (0xffff90cb0110): 0x00000FFF, readback 0x00000FFF
    root@tda4vm-sk:~# devmem2 0x04800110
    /dev/mem opened.
    Memory mapped at address 0xffffaf8a5000.
    Read at address  0x04800110 (0xffffaf8a5110): 0x00000FFF
    
    
    

    Thanks.

  • Hi, Jason

    I found something wrong.

    1. DSI_MCTL_MAIN_EN REGISTER, SET IF1_EN = 1?? I think It should be set 0, 

    2. DSI_MCTL_MAIN_DATA_CTL Register, TVG_SEL IS correct! But you select wrong video interface, you should set VID_IF_SELECT = 01

    3. DSI_TVG_CTL Register, how about set single color mode? TVG_MODE = 00. because You just need something output from data lane

    4. My opinion,  TVG_COLOR1_BIS, TVG_COLOR2, VG_COLOR2_BIS register set behind  TVG_MODE setting

    Remark your log as below.

    /* DSI_MCTL_MAIN_DATA_CTL Register */
    root@tda4vm-sk:~# devmem2 0x04800004
    /dev/mem opened.
    Memory mapped at address 0xffffabbe5000.
    Read at address  0x04800004 (0xffffabbe5004): 0x00020027
    
    
    /* DSI_MCTL_MAIN_EN REGISTER, SET IF1_EN = 1?? I think It should be set 0, please check it again */
    root@tda4vm-sk:~# [  131.617048] Initializing XFRM netlink socket
    [  132.374647] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
    [  132.389172] Bridge firewalling registered
    [  133.205903] process 'docker/tmp/qemu-check342296845/check' started with executable stack
    devmem2 0x0480000c
    /dev/mem opened.
    Memory mapped at address 0xffffa7f35000.
    Read at address  0x0480000C (0xffffa7f3500c): 0x000040F9
    root@tda4vm-sk:~# devmem2 0x0480000c w 0x000020f9
    /dev/mem opened.
    Memory mapped at address 0xffff8bd5a000.
    Read at address  0x0480000C (0xffff8bd5a00c): 0x000040F9
    Write at address 0x0480000C (0xffff8bd5a00c): 0x000020F9, readback 0x000020F9
    root@tda4vm-sk:~# devmem2 0x0480000c
    /dev/mem opened.
    Memory mapped at address 0xffffb3904000.
    Read at address  0x0480000C (0xffffb390400c): 0x000020F9
    
    
    /* DSI_MCTL_MAIN_DATA_CTL Register, TVG_SEL IS correct! But you select wrong video interface, you should set VID_IF_SELECT = 01 */
    root@tda4vm-sk:~# devmem2 0x04800004
    /dev/mem opened.
    Memory mapped at address 0xffffa7851000.
    Read at address  0x04800004 (0xffffa7851004): 0x00020027
    root@tda4vm-sk:~# devmem2 0x04800004 w 0x00020067
    /dev/mem opened.
    Memory mapped at address 0xffffa8086000.
    Read at address  0x04800004 (0xffffa8086004): 0x00020027
    Write at address 0x04800004 (0xffffa8086004): 0x00020067, readback 0x00020067
    root@tda4vm-sk:~# devmem2 0x04800004
    /dev/mem opened.
    Memory mapped at address 0xffff92d40000.
    Read at address  0x04800004 (0xffff92d40004): 0x00020067
    
    
    /* DSI_TVG_CTL Register, how about set single color mode? TVG_MODE = 00 */
    root@tda4vm-sk:~# devmem2 0x048000fc
    /dev/mem opened.
    Memory mapped at address 0xffff914c0000.
    Read at address  0x048000FC (0xffff914c00fc): 0x00000000
    root@tda4vm-sk:~# devmem2 0x048000fc w 0x00000011
    /dev/mem opened.
    Memory mapped at address 0xffff8a459000.
    Read at address  0x048000FC (0xffff8a4590fc): 0x00000000
    Write at address 0x048000FC (0xffff8a4590fc): 0x00000011, readback 0x00000011
    root@tda4vm-sk:~# devmem2 0x048000fc
    /dev/mem opened.
    Memory mapped at address 0xffff957c7000.
    Read at address  0x048000FC (0xffff957c70fc): 0x00000011
    
    
    /* DSI_TVG_COLOR1 Register */
    root@tda4vm-sk:~# devmem2 0x04800104
    /dev/mem opened.
    Memory mapped at address 0xffff89187000.
    Read at address  0x04800104 (0xffff89187104): 0x00000000
    root@tda4vm-sk:~# devmem2 0x04800104 w 0x00fffff
    /dev/mem opened.
    Memory mapped at address 0xffff94905000.
    Read at address  0x04800104 (0xffff94905104): 0x00000000
    Write at address 0x04800104 (0xffff94905104): 0x000FFFFF, readback 0x000FFFFF
    root@tda4vm-sk:~# devmem2 0x04800104
    /dev/mem opened.
    Memory mapped at address 0xffffb5dd6000.
    Read at address  0x04800104 (0xffffb5dd6104): 0x000FFFFF
    
    
    /* DSI_TVG_CTL Register, set "TVG_STRIPE_SIZE" again */
    root@tda4vm-sk:~# devmem2 0x048000fc
    /dev/mem opened.
    Memory mapped at address 0xffffaf565000.
    Read at address  0x048000FC (0xffffaf5650fc): 0x00000011
    root@tda4vm-sk:~# devmem2 0x048000fc w 0x000000f1
    /dev/mem opened.
    Memory mapped at address 0xffff867e9000.
    Read at address  0x048000FC (0xffff867e90fc): 0x00000011
    Write at address 0x048000FC (0xffff867e90fc): 0x000000F1, readback 0x000000F1
    root@tda4vm-sk:~# devmem2 0x048000fc
    /dev/mem opened.
    Memory mapped at address 0xffff8aab7000.
    Read at address  0x048000FC (0xffff8aab70fc): 0x000000F1
    
    
    /* DSI_TVG_IMG_SIZE Register */
    root@tda4vm-sk:~# devmem2 0x04800100
    /dev/mem opened.
    Memory mapped at address 0xffff8ce13000.
    Read at address  0x04800100 (0xffff8ce13100): 0x00000000
    root@tda4vm-sk:~# devmem2 0x04800100 w 0x00000f00
    /dev/mem opened.
    Memory mapped at address 0xffff9d38f000.
    Read at address  0x04800100 (0xffff9d38f100): 0x00000000
    Write at address 0x04800100 (0xffff9d38f100): 0x00000F00, readback 0x00000F00
    root@tda4vm-sk:~# devmem2 0x04800100 w 0x02d00f00                                                                                                                                                           
    /dev/mem opened.
    Memory mapped at address 0xffff823db000.
    Read at address  0x04800100 (0xffff823db100): 0x00000F00
    Write at address 0x04800100 (0xffff823db100): 0x02D00F00, readback 0x02D00F00
    
    
    /* DSI_TVG_CTL Register, you stop TVG_RUN? Why */
    root@tda4vm-sk:~# devmem2 0x048000fc
    /dev/mem opened.
    Memory mapped at address 0xffff90fff000.
    Read at address  0x048000FC (0xffff90fff0fc): 0x000000F1
    root@tda4vm-sk:~# devmem2 0x048000fc w 0x000000f0
    /dev/mem opened.
    Memory mapped at address 0xffffa71b9000.
    Read at address  0x048000FC (0xffffa71b90fc): 0x000000F1
    Write at address 0x048000FC (0xffffa71b90fc): 0x000000F0, readback 0x000000F0
    
    
    /* read DSI_VID_MAIN_CTL Register */
    root@tda4vm-sk:~# devmem2 0x048000b0
    /dev/mem opened.
    Memory mapped at address 0xffffbc9ce000.
    Read at address  0x048000B0 (0xffffbc9ce0b0): 0x80A0FE00
    
    
    /* read DSI_TVG_COLOR1 Register */
    root@tda4vm-sk:~# devmem2 0x04800104
    /dev/mem opened.
    Memory mapped at address 0xffffa4908000.
    Read at address  0x04800104 (0xffffa4908104): 0x000FFFFF
    
    
    /* read DSI_TVG_COLOR1_BIS Register */ 
    root@tda4vm-sk:~# devmem2 0x04800108
    /dev/mem opened.
    Memory mapped at address 0xffffa0468000.
    Read at address  0x04800108 (0xffffa0468108): 0x00000000
    
    
    /* write DSI_TVG_COLOR1_BIS Register */
    root@tda4vm-sk:~# devmem2 0x04800108 w 0x00000fff
    /dev/mem opened.
    Memory mapped at address 0xffffa9a42000.
    Read at address  0x04800108 (0xffffa9a42108): 0x00000000
    Write at address 0x04800108 (0xffffa9a42108): 0x00000FFF, readback 0x00000FFF
    
    
    /* read DSI_TVG_COLOR2 Register */
    root@tda4vm-sk:~# devmem2 0x0480010c             
    /dev/mem opened.
    Memory mapped at address 0xffffb4c23000.
    Read at address  0x0480010C (0xffffb4c2310c): 0x00000000
    
    
    /* write DSI_TVG_COLOR2 Register */ 
    root@tda4vm-sk:~# devmem2 0x0480010c w 0x00ffffff
    /dev/mem opened.
    Memory mapped at address 0xffffb212b000.
    Read at address  0x0480010C (0xffffb212b10c): 0x00000000
    Write at address 0x0480010C (0xffffb212b10c): 0x00FFFFFF, readback 0x00FFFFFF
    
    
    /* read DSI_TVG_COLOR2 Register */
    root@tda4vm-sk:~# devmem2 0x0480010c
    /dev/mem opened.
    Memory mapped at address 0xffff9eb51000.
    Read at address  0x0480010C (0xffff9eb5110c): 0x00FFFFFF
    
    
    /* read DSI_TVG_COLOR2_BIS Register */
    root@tda4vm-sk:~# devmem2 0x04800110
    /dev/mem opened.
    Memory mapped at address 0xffffb1950000.
    Read at address  0x04800110 (0xffffb1950110): 0x00000000
    
    
    /* write DSI_TVG_COLOR2_BIS Register */
    root@tda4vm-sk:~# devmem2 0x04800110 w 0x00000fff
    /dev/mem opened.
    Memory mapped at address 0xffff90cb0000.
    Read at address  0x04800110 (0xffff90cb0110): 0x00000000
    Write at address 0x04800110 (0xffff90cb0110): 0x00000FFF, readback 0x00000FFF
    
    
    /* read DSI_TVG_COLOR2_BIS Register */
    root@tda4vm-sk:~# devmem2 0x04800110
    /dev/mem opened.
    Memory mapped at address 0xffffaf8a5000.
    Read at address  0x04800110 (0xffffaf8a5110): 0x00000FFF