Hi ,
We are using our custom board with am6254 and a RGB panel. When using sdk V8.6, the panel works well, glmark2 test can run at 200-300fps.
But when we change to V9.0.0.03, the panel display runs very slow. we only get 1fps when running glmark2-es2-wayland:
root@am62xx-evm:~# glmark2-es2-wayland libEGL warning: egl: failed to create dri2 screen ======================================================= glmark2 2021.12 ======================================================= OpenGL Information GL_VENDOR: Mesa/X.org GL_RENDERER: softpipe GL_VERSION: OpenGL ES 3.1 Mesa 22.3.5 (git-54fd9d7dea) ======================================================= [build] use-vbo=false: FPS: 1 FrameTime: 1000.000 ms [build] use-vbo=true: FPS: 1 FrameTime: 1000.000 ms [texture] texture-filter=nearest:^C FPS: 2 FrameTime: 500.000 ms ======================================================= glmark2 Score: 1 =======================================================
Below is V9 boot log, psplash also start failed.
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 6.1.33-rt11-00001-gd34548196307-dirty (qhs@ubuntu) (aarch64-none-linux-gnu-gcc (Arm GNU Toolchain 11.3.Rel1) 11.3.1 20220712, GNU ld (Arm GNU Toolchain 11.3.Rel1) 2.38.20220708) #2 SMP PREEMPT Mon Dec 4 17:41:41 CST 2023
[ 0.000000] Machine model: Texas Instruments AM625 SK
[ 0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
[ 0.000000] printk: bootconsole [ns16550a0] enabled
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: created CMA memory pool at 0x00000000f7600000, size 128 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x000000009c800000, size 3 MiB
[ 0.000000] OF: reserved mem: initialized node ipc-memories@9c800000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x000000009cb00000, size 1 MiB
[ 0.000000] OF: reserved mem: initialized node m4f-dma-memory@9cb00000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x000000009cc00000, size 14 MiB
[ 0.000000] OF: reserved mem: initialized node m4f-memory@9cc00000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x000000009da00000, size 1 MiB
[ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@9da00000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x000000009db00000, size 12 MiB
[ 0.000000] OF: reserved mem: initialized node r5f-memory@9db00000, compatible id shared-dma-pool
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000080000000-0x00000000ffffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000080000000-0x000000009c7fffff]
[ 0.000000] node 0: [mem 0x000000009c800000-0x000000009e6fffff]
[ 0.000000] node 0: [mem 0x000000009e700000-0x000000009e77ffff]
[ 0.000000] node 0: [mem 0x000000009e780000-0x000000009fffffff]
[ 0.000000] node 0: [mem 0x00000000a0000000-0x00000000ff6fffff]
[ 0.000000] node 0: [mem 0x00000000ff700000-0x00000000fffc9fff]
[ 0.000000] node 0: [mem 0x00000000fffca000-0x00000000ffffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff]
[ 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 19 pages/cpu s38760 r8192 d30872 u77824
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: GIC system register CPU interface
[ 0.000000] CPU features: detected: ARM erratum 845719
[ 0.000000] alternatives: applying boot alternatives
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 516096
[ 0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=spi-nand0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),256k(ospi.env.backup),98048k@32m(ospi.rootfs),256k@130816k(ospi.phypattern);omap2-nand.0:2m(NAND.tiboot3),2m(NAND.tispl),2m(NAND.tiboot3.backup),4m(NAND.u-boot),256k(NAND.u-boot-env),256k(NAND.u-boot-env.backup),-(NAND.file-system) root=PARTUUID=3dc41862-02 rw rootfstype=ext4 rootwait
[ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 1837412K/2097152K available (12864K kernel code, 1302K rwdata, 4288K rodata, 2240K init, 498K bss, 128668K reserved, 131072K 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 event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] Tracing 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=4
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[ 0.000000] GICv3: 256 SPIs implemented
[ 0.000000] GICv3: 0 Extended SPIs implemented
[ 0.000000] Root IRQ handler: gic_handle_irq
[ 0.000000] GICv3: GICv3 features: 16 PPIs
[ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000
[ 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 @80800000 (flat, esz 8, psz 64K, shr 0)
[ 0.000000] ITS: using cache flushing for cmd queue
[ 0.000000] GICv3: using LPI property table @0x0000000080040000
[ 0.000000] GIC: using cache flushing for LPI property table
[ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080050000
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0x3ffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
[ 0.000001] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
[ 0.008580] Console: colour dummy device 80x25
[ 0.013178] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
[ 0.023866] pid_max: default: 32768 minimum: 301
[ 0.028653] LSM: Security Framework initializing
[ 0.033538] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.041130] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.051276] cblist_init_generic: Setting adjustable number of callback queues.
[ 0.058758] cblist_init_generic: Setting shift to 2 and lim to 1.
[ 0.065064] cblist_init_generic: Setting shift to 2 and lim to 1.
[ 0.071575] rcu: Hierarchical SRCU implementation.
[ 0.071579] rcu: Max phase no-delay instances is 1000.
[ 0.071641] printk: bootconsole [ns16550a0] printing thread started
[ 0.088521] Platform MSI: msi-controller@1820000 domain created
[ 0.088790] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created
[ 0.089418] EFI services will not be available.
[ 0.089747] smp: Bringing up secondary CPUs ...
[ 0.090527] Detected VIPT I-cache on CPU1
[ 0.090668] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
[ 0.090692] GICv3: CPU1: using allocated LPI pending table @0x0000000080060000
[ 0.090758] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.140905] Detected VIPT I-cache on CPU2
[ 0.141007] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
[ 0.141028] GICv3: CPU2: using allocated LPI pending table @0x0000000080070000
[ 0.141071] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.141800] Detected VIPT I-cache on CPU3
[ 0.141900] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
[ 0.141920] GICv3: CPU3: using allocated LPI pending table @0x0000000080080000
[ 0.141957] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.142040] smp: Brought up 1 node, 4 CPUs
[ 0.142047] SMP: Total of 4 processors activated.
[ 0.142052] CPU features: detected: 32-bit EL0 Support
[ 0.142057] CPU features: detected: CRC32 instructions
[ 0.142137] CPU: All CPU(s) started at EL2
[ 0.142139] alternatives: applying system-wide alternatives
[ 0.146404] devtmpfs: initialized
[ 0.155562] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.155597] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.161274] pinctrl core: initialized pinctrl subsystem
[ 0.162007] DMI not present or invalid.
[ 0.162822] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.164422] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[ 0.164823] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.165024] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.165129] audit: initializing netlink subsys (disabled)
[ 0.165347] audit: type=2000 audit(0.132:1): state=initialized audit_enabled=0 res=1
[ 0.165958] thermal_sys: Registered thermal governor 'step_wise'
[ 0.165963] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.166015] cpuidle: using governor menu
[ 0.166286] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.166405] ASID allocator initialised with 65536 entries
[ 0.179709] platform 30200000.dss: Fixed dependency cycle(s) with /panel
[ 0.181535] KASLR disabled due to lack of seed
[ 0.189584] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.189595] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[ 0.189600] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.189603] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[ 0.189607] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.189614] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[ 0.189618] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.189621] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[0.194442] k3-chipinfo 43000014.chipid: Family:AM62X rev:SR1.0 JTAGID[0x0bb7e02f] Detected
[ 0.402295] printk: console [ttyS2] enabled
[ 0.402301] printk: bootconsole [ns16550a0] disabled
[ 0.402301] printk: console [ttyS2] printing thread started
[ 0.402325] printk: bootconsole [ns16550a0] printing thread stopped
[ 0.410756] spi-nor spi0.0: mx25l12805d (16384 Kbytes)
[ 0.410892] 7 fixed-partitions partitions found on MTD device fc40000.spi.0
[ 0.410902] Creating 7 MTD partitions on "fc40000.spi.0":
[ 0.410908] 0x000000000000-0x000000080000 : "ospi.tiboot3"
[ 0.412172] 0x000000080000-0x000000280000 : "ospi.tispl"
[ 0.413338] 0x000000280000-0x000000680000 : "ospi.u-boot"
[ 0.414349] 0x000000680000-0x0000006c0000 : "ospi.env"
[ 0.415391] 0x0000006c0000-0x000000700000 : "ospi.env.backup"
[ 0.416387] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
[ 0.416396] mtd: partition "ospi.rootfs" extends beyond the end of device "fc40000.spi.0" -- size truncated to 0x800000
[ 0.417551] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
[ 0.417560] mtd: partition "ospi.phypattern" is out of reach -- disabled
[ 0.420125] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode
[ 0.456604] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
[ 0.459556] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver RTL8211F Gigabit Ethernet
[ 0.459570] davinci_mdio 8000f00.mdio: phy[1]: device 8000f00.mdio:01, driver unknown
[ 0.459622] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006
[ 0.459895] am65-cpsw-nuss 8000000.ethernet: Use random MAC address
[ 0.459906] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
[ 0.459912] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
[ 0.460498] pps pps0: new PPS source ptp0
[ 0.460824] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:1
[ 0.473348] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
[ 0.478358] mmc0: CQHCI version 5.10
[ 0.479327] mmc2: CQHCI version 5.10
[ 0.488585] mmc1: CQHCI version 5.10
[ 0.490670] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
[ 0.503681] ALSA device list:
[ 0.503693] No soundcards found.
[ 0.516627] mmc2: SDHCI controller on fa20000.mmc [fa20000.mmc] using ADMA 64-bit
[ 0.516641] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
[ 0.524617] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
[ 0.524829] Waiting for root device PARTUUID=3dc41862-02...
[ 0.574910] mmc1: new ultra high speed SDR104 SDXC card at address 5048
[ 0.575742] mmcblk1: mmc1:5048 SD128 119 GiB
[ 0.578045] mmcblk1: p1 p2
[ 0.610887] EXT4-fs (mmcblk1p2): recovery complete
[ 0.610916] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.
[ 0.610998] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 0.611925] devtmpfs: mounted
[ 0.613369] Freeing unused kernel memory: 2240K
[ 0.692721] Run /sbin/init as init process
[ 0.821537] mmc0: Command Queue Engine enabled
[ 0.821572] mmc0: new HS200 MMC card at address 0001
[ 0.822654] mmcblk0: mmc0:0001 A3A55B 28.9 GiB
[ 0.824736] mmcblk0: p1
[ 0.825496] mmcblk0boot0: mmc0:0001 A3A55B 4.00 MiB
[ 0.826869] mmcblk0boot1: mmc0:0001 A3A55B 4.00 MiB
[ 0.828180] mmcblk0rpmb: mmc0:0001 A3A55B 16.0 MiB, chardev (240:0)
[ 0.862795] systemd[1]: System time before build time, advancing clock.
[ 0.961337] NET: Registered PF_INET6 protocol family
[ 0.963284] Segment Routing with IPv6
[ 0.963345] In-situ OAM (IOAM) with IPv6
[ 0.991391] systemd[1]: systemd 250.5+ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK +XKBCOMMON +UTMP +SYSVINIT default-hierarchy=hybrid)
[ 0.992015] systemd[1]: Detected architecture arm64.
Welcome to Arago 2023.04!
[ 1.110464] systemd[1]: Hostname set to <am62xx-evm>.
[ 1.214408] systemd-sysv-generator[157]: SysV service '/etc/init d/umountfs' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[ 1.214706] systemd-sysv-generator[157]: SysV service '/etc/init d/single' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[ 1.216413] systemd-sysv-generator[157]: SysV service '/etc/init d/netopeer2-server' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[ 1.217146] systemd-sysv-generator[157]: SysV service '/etc/init d/sendsigs' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[ 1.217450] systemd-sysv-generator[157]: SysV service '/etc/init d/halt' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[ 1.219539] systemd-sysv-generator[157]: SysV service '/etc/init d/inetd.busybox' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[ 1.236405] systemd-sysv-generator[157]: SysV service '/etc/init d/reboot' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[ 1.237967] systemd-sysv-generator[157]: SysV service '/etc/init d/thermal-zone-init' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[ 1.238504] systemd-sysv-generator[157]: SysV service '/etc/init d/umountnfs.sh' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[ 1.240616] systemd-sysv-generator[157]: SysV service '/etc/init d/psplash.sh' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[ 1.245250] systemd-sysv-generator[157]: SysV service '/etc/init d/save-rtc.sh' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[ 1.246826] systemd-sysv-generator[157]: SysV service '/etc/init d/docker.init' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[ 1.246969] systemd-sysv-generator[157]: SysV service '/etc/init d/telnetd' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[ 1.247137] systemd-sysv-generator[157]: SysV service '/etc/init d/netperf' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[ 1.248105] systemd-sysv-generator[157]: SysV service '/etc/init d/sysrepo' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[ 1.248407] systemd-sysv-generator[157]: SysV service '/etc/init d/resize_rootfs.sh' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[ 1.250580] systemd-sysv-generator[157]: SysV service '/etc/init d/dropbear' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[ 1.403988] systemd[1]: Configuration file /etc/systemd/system/ti-apps-launcher.service is marked executable. Please remove executable permission bits. Proceeding anyway.
[ 1.451018] systemd[1]: /lib/systemd/system/startwlansta.service:7: Unknown key name 'After' in section 'Service', ignoring.
[ 1.452011] systemd[1]: /lib/systemd/system/startwlanap.service:7: Unknown key name 'After' in section 'Service', ignoring.
[ 1.479399] systemd[1]: /lib/systemd/system/bt-enable.service:9: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
[ 1.518674] systemd[1]: /etc/systemd/system/sync-clocks.service:11: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
[ 1.568238] systemd[1]: Queued start job for default target Graphical Interface.
[ OK ] Created slice Slice /system/getty 1.762610] systemd[1]: Created slice Slice /system/getty.
0m.
[ OK ] Created slice Slice /system/modprob[ 1.787920] systemd[1]: Created slice Slice /system/modprobe.
e.
[ 1.812387] systemd[1]: Created slice Slice /system/serial-getty.
[ OK ] Created slice Slice /system/serial-getty.
[ OK ] Created slice User and Session Slic[ 1.835898] systemd[1]: Created slice User and Session Slice.
e.
[ 1.863588] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ OK ] Started Dispatch Password …ts to Console Directory Watch.
[ OK ] Started Forward Password R…uests [ 1.893361] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
to Wall Directory Watch.
[ OK ] Reached target Path Units.
[ 1.917486] systemd[1]: Reached target Path Units.
[ OK ] Reached target Remote File Systems928809] systemd[1]: Reached target Remote File Systems.
[0m.
[ OK ] Reached target Slice Units.
[ 1.948845] systemd[1]: Reached target Slice Units.
[ OK ] Reached target Swaps.
[ 1.960844] systemd[1]: Reached target Swaps.
[ OK ] Listening on RPCbind Server Activat[ 2.027556] systemd[1]: Listening on RPCbind Server Activation Socket.
ion Socket.
[ OK ] Reached target RPC Port Mapper.[ 2.049245] systemd[1]: Reached target RPC Port Mapper.
[ OK ] Listening on Process Core Dump Sock[ 2.084872] systemd[1]: Listening on Process Core Dump Socket.
et.
[ OK ] Listening on initctl Compatibility [ 2.109759] systemd[1]: Listening on initctl Compatibility Named Pipe.
Named Pipe.
[ OK ] Listening on Journal Audit Socket 2.134725] systemd[1]: Listening on Journal Audit Socket.
0m.
[ OK ] Listening on Journal Socket (/dev/l[ 2.158255] systemd[1]: Listening on Journal Socket (/dev/log).
og).
[ OK ] Listening on Journal Socket.
[ 2.182285] systemd[1]: Listening on Journal Socket.
[ OK ] Listening on Network Service Netlin[ 2.195307] systemd[1]: Listening on Network Service Netlink Socket.
k Socket.
[ OK ] Listening on udev Control Socket 2.218487] systemd[1]: Listening on udev Control Socket.
m.
[ OK ] Listening on udev Kernel Socket[ 2.242045] systemd[1]: Listening on udev Kernel Socket.
.
[ OK ] Listening on User Database Manager [ 2.267332] systemd[1]: Listening on User Database Manager Socket.
Socket.
Mounting Huge Pages File System...[ 2.329346] systemd[1]: Mounting Huge Pages File System...
Mounting POSIX Message Queue File System..[ 2.357684] systemd[1]: Mounting POSIX Message Queue File System...
.
Mounting Kernel Debug File System...[ 2.417335] systemd[1]: Mounting Kernel Debug File System...
[ 2.438068] systemd[1]: Kernel Trace File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/tracing).
[ 2.451882] systemd[1]: Mounting Temporary Directory /tmp...
Mounting Temporary Directory /tmp...
Starting Create List of Static Device Nodes 2.486581] systemd[1]: Starting Create List of Static Device Nodes...
m...
Starting Load Kernel Module configfs...[ 2.519258] systemd[1]: Starting Load Kernel Module configfs...
Starting Load Kernel Module drm...[ 2.549414] systemd[1]: Starting Load Kernel Module drm...
Starting Load Kernel Module fuse...[ 2.579311] systemd[1]: Starting Load Kernel Module fuse...
[ 2.608706] fuse: init (API version 7.37)
Starting Start psplash boot splash screen.[ 2.617746] systemd[1]: Starting Start psplash boot splash screen...
..
Starting RPC Bind...[ 2.652869] systemd[1]: Starting RPC Bind...
[ 2.673332] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/).
Starting Journal Service...[ 2.721958] systemd[1]: Starting Journal Service...
Starting Load Kernel Modules...[ 2.751373] systemd[1]: Starting Load Kernel Modules...
[ 2.780372] systemd[1]: Starting Generate network units from Kernel command line...
Starting Generate network …ts from Kernel command line...
Starting Remount Root and Kernel File Systems811346] systemd[1]: Starting Remount Root and Kernel File Systems...
[0m...
[ 2.840412] systemd[1]: Starting Coldplug All udev Devices...
Starting Coldplug All udev Devices...
[ 2.846811] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: none.
[ OK ] Started RPC Bind.[ 2.870442] systemd[1]: Started RPC Bind.
[ OK ] Started Journal Service.[ 2.889874] systemd[1]: Started Journal Service.
[ OK ] Mounted Huge Pages File System.
[ OK ] Mounted POSIX Message Queue File System.
[ OK ] Mounted Kernel Debug File System.
[ OK ] Mounted Temporary Directory /tmp.
[ OK ] Finished Create List of Static Device Nodes.
[ OK ] Finished Load Kernel Module configfs.
[ OK ] Finished Load Kernel Module drm.
[ OK ] Finished Load Kernel Module fuse.
[FAILED] Failed to start Start psplash boot splash screen.
See 'systemctl status psplash-start.service' for details.
[DEPEND] Dependency failed for Star…progress communication helper.
[ OK ] Finished Load Kernel Modules.
[ OK ] Finished Generate network units from Kernel command line.
[ OK ] Finished Remount Root and Kernel File Systems.
Mounting FUSE Control File System...
Mounting Kernel Configuration File System...
Starting Flush Journal to Persistent Storage...
[ 3.371305] systemd-journald[173]: Received client request to flush runtime journal.
Starting Apply Kernel Variables...
Starting Create Static Device Nodes in /dev...
[ OK ] Mounted FUSE Control File System.
[ OK ] Mounted Kernel Configuration File System.
[ OK ] Finished Flush Journal to Persistent Storage.
[ OK ] Finished Apply Kernel Variables.
[ OK ] Finished Create Static Device Nodes in /dev.
[ OK ] Finished Coldplug All udev Devices.
[ OK ] Reached target Preparation for Local File Systems.
Mounting /media/ram...
Mounting /var/volatile...
[ 3.681596] audit: type=1334 audit(1651167747.816:2): prog-id=5 op=LOAD
[ 3.681995] audit: type=1334 audit(1651167747.816:3): prog-id=6 op=LOAD
Starting Rule-based Manage…for Device Events and Files...
[ OK ] Mounted /media/ram.
[ OK ] Mounted /var/volatile.
Starting Load/Save Random Seed...
[ OK ] Reached target Local File Systems.
Starting Create Volatile Files and Directories...
[ OK ] Finished Create Volatile Files and Directories.
[ OK ] Started Rule-based Manager for Device Events and Files.
Starting Network Time Synchronization...
Starting Record System Boot/Shutdown in UTMP...
[ OK ] Finished Record System Boot/Shutdown in UTMP.
[ OK ] Started Network Time Synchronization.
[ OK ] Reached target System Initialization.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Reached target System Time Set.
[ OK ] Started Daily rotation of log files.
[ OK ] Reached target Timer Units.
[ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ 4.532953] mc: Linux media interface: v0.10
[ 4.544262] [drm] Initialized tidss 1.0.0 20180215 for 30200000.dss on minor 0
Starting Docker Socket for the API...
[ 4.570755] videodev: Linux video capture interface: v2.00
[ 4.580566] Console: switching to colour frame buffer device 100x37
[ 4.597321] tidss 30200000.dss: [drm] fb0: tidssdrmfb frame buffer device
[ 4.642847] k3-m4-rproc 5000000.m4fss: assigned reserved memory node m4f-dma-memory@9cb00000
[ 4.642996] k3-m4-rproc 5000000.m4fss: configured M4 for remoteproc mode
[ 4.643058] k3-m4-rproc 5000000.m4fss: local reset is deasserted for device
[ 4.643363] remoteproc remoteproc0: 5000000.m4fss is available
[ 4.647100] remoteproc remoteproc0: powering up 5000000.m4fss
[ 4.647129] remoteproc remoteproc0: Booting fw image am62-mcu-m4f0_0-fw, size 54860
[ 4.673306] rproc-virtio rproc-virtio.0.auto: assigned reserved memory node m4f-dma-memory@9cb00000
[ 4.673539] rproc-virtio rproc-virtio.0.auto: registered virtio0 (type 7)
[ 4.673551] remoteproc remoteproc0: remote processor 5000000.m4fss is now up
[ OK ] Listening on dropbear.socket.
[ 4.749402] rtc-ti-k3 2b1f0000.rtc: registered as rtc0
[ 4.749459] rtc-ti-k3 2b1f0000.rtc: setting system clock to 1970-01-01T00:00:10 UTC (10)
[ 4.759660] systemd-journald[173]: Time jumped backwards, rotating.
Starting Weston socket...
Starting D-Bus System Message Bus...
Starting Reboot and dump vmcore via kexec...
[ OK ] Listening on Docker Socket for the API.
[ 4.903904] virtio_rpmsg_bus virtio0: rpmsg host is online
[ 4.904450] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
[ OK ] Listening on Weston socket.
[ 4.904666] random: crng init done
[ 4.907412] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
[ OK ] Finished Load/Save Random Seed.
[ OK ] Finished Reboot and dump vmcore via kexec.
[ OK ] Found device /dev/ttyS2.
[ OK ] Reached target Socket Units.
[ 5.064741] platform 78000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
[ 5.067304] platform 78000000.r5f: configured R5F for IPC-only mode
[ 5.067520] platform 78000000.r5f: assigned reserved memory node r5f-dma-memory@9da00000
[ 5.091172] remoteproc remoteproc1: 78000000.r5f is available
[ 5.091286] remoteproc remoteproc1: attaching to 78000000.r5f
[ 5.121337] platform 78000000.r5f: R5F core initialized in IPC-only mode
[ 5.121374] rproc-virtio rproc-virtio.2.auto: assigned reserved memory node r5f-dma-memory@9da00000
[ 5.149536] virtio_rpmsg_bus virtio1: rpmsg host is online
[ 5.149645] rproc-virtio rproc-virtio.2.auto: registered virtio1 (type 7)
[ 5.149658] remoteproc remoteproc1: remote processor 78000000.r5f is now attached
[ 5.149780] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xd
[ 5.150046] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xe
[ OK ] Started D-Bus System Message Bus.
[ OK ] Reached target Basic System.
[ OK ] Started Job spooling tools.
[ OK ] Started Periodic Command Scheduler.
Starting Print notice about GPLv3 packages...
Starting IPv6 Packet Filtering Framework...
Starting IPv4 Packet Filtering Framework...
[ OK ] Started irqbalance daemon.
Starting startwlanap...
Starting startwlansta...
[ 5.572366] audit: type=1334 audit(11.316:4): prog-id=7 op=LOAD
[ 5.584992] audit: type=1334 audit(11.332:5): prog-id=8 op=LOAD
Starting User Login Management...
[ OK ] Started TEE Supplicant.
Starting telnetd.service...
[ OK ] Started ti-apps-launcher service.
[ OK ] Finished IPv6 Packet Filtering Framework.
[ OK ] Finished IPv4 Packet Filtering Framework.
[ OK ] Started startwlanap.
[ OK ] Started startwlansta.
[ OK ] Reached target Preparation for Network.
[ 5.708348] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
Starting Network Configuration...
[ OK ] Started telnetd.service.
Starting LSB: Expand Rootfs of boot device...
[ 5.957525] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 6.003090] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ OK ] Started LSB: Expand Rootfs of boot device.
[ OK ] Created slice Slice /system/systemd-backlight.
Starting Load/Save Screen …ness of backlight[ 6.550140] remoteproc remoteproc2: 30074000.pru is available
:backlight...
[ 6.559562] remoteproc remoteproc3: 30078000.pru is available
[ OK ] Finished Load/Save Screen …htness of backlight:backlight.
[ OK ] Started Network Configuration.
Starting Wait for Network to be Configured...
Starting Network Name Resolution...
[ OK ] Listening on Load/Save RF …itch Status /dev/rfkill Watch.
[ 6.833914] cdns-csi2rx: probe of 30101000.csi-bridge failed with error -22
[ 6.844075] am65-cpsw-nuss 8000000.ethernet eth1: PHY [8000f00.mdio:01] driver [Generic PHY] (irq=POLL)
[ 6.844115] am65-cpsw-nuss 8000000.ethernet eth1: configuring for phy/rmii link mode
[ 6.932811] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
[ 6.932877] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 1
[ 6.953131] xhci-hcd xhci-hcd.3.auto: USB3 root hub has no ports
[ 6.953155] xhci-hcd xhci-hcd.3.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000000000010010
[ 6.953255] xhci-hcd xhci-hcd.3.auto: irq 450, io mem 0x31000000
[ 6.960725] hub 1-0:1.0: USB hub found
[ 6.960776] hub 1-0:1.0: 1 port detected
[ 6.961394] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
[ 6.961424] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 2
[ 6.961592] xhci-hcd xhci-hcd.4.auto: USB3 root hub has no ports
[ 6.961600] xhci-hcd xhci-hcd.4.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000000000010010
[ 6.961680] xhci-hcd xhci-hcd.4.auto: irq 451, io mem 0x31100000
[ 6.978970] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [RTL8211F Gigabit Ethernet] (irq=POLL)
[ 6.979010] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
[ 7.005988] hub 2-0:1.0: USB hub found
[ 7.006046] hub 2-0:1.0: 1 port detected
[ OK ] Started Network Name Resolution.
[ OK ] Reached target Network.
[ OK ] Reached target Host and Network Name Lookups.
Starting Avahi mDNS/DNS-SD Stack...
Starting Enable and configure wl18xx bluetooth stack...
Starting containerd container runtime...
[ OK ] Started Netperf Benchmark Server.
[ OK ] Started NFS status monitor for NFSv2/3 locking..
Starting Simple Network Ma…ent Protocol (SNMP) Daemon....
Starting Permit User Sessions...
[ OK ] Finished Enable and configure wl18xx bluetooth stack.
[ OK ] Started Avahi mDNS/DNS-SD Stack.
[ OK ] Finished Permit User Sessions.
[ OK ] Created slice Slice /system/systemd-fsck.
[ OK ] Started Getty on tty1.
[ OK ] Started Serial Getty on ttyS2.
[ OK ] Reached target Login Prompts.
Starting Synchronize System and HW clocks...
Starting Weston, a Wayland…ositor, as a system service...
[ 7.755392] startwlanap.sh[711]: sed: unmatched '/'
[ 7.789661] startwlanap.sh[712]: adding wlan1 interface
[ 7.841531] startwlanap.sh[720]: command failed: No such file or directory (-2)
Starting File System Check on /dev/mmcblk1p1...
[ 7.885891] audit: type=1334 audit(13.632:6): prog-id=9 op=LOAD
[ 7.886266] audit: type=1334 audit(13.632:7): prog-id=10 op=LOAD
Starting User Database Manager...
[ OK ] Found device /dev/mmcblk0p1.
Starting File System Check on /dev/mmcblk0p1...
[ OK ] Finished File System Check on /dev/mmcblk1p1.
Mounting /run/media/boot-mmcblk1p1...
[ 7.962417] startwlanap.sh[724]: Line 499: unknown configuration item 'wep_rekey_period'
[ 7.963090] startwlanap.sh[724]: 1 errors found in configuration file '/usr/share/wl18xx/hostapd.conf'
[ 7.963668] startwlanap.sh[724]: Failed to set up interface with /usr/share/wl18xx/hostapd.conf
[ 7.965694] startwlanap.sh[724]: Failed to initialize interface
[ OK ] Mounted /run/media/boot-mmcblk1p1.
[ OK ] Finished File System Check on /dev/mmcblk0p1.
Mounting /run/media/mmcblk0p1...
[ OK ] Started User Database Manager.
[ OK ] Finished Synchronize System and HW clocks.
[ 8.293147] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Quota mode: none.
[ OK ] Mounted /run/media/mmcblk0p1.
[ OK ] Created slice User Slice of UID 1000.
Starting User Runtime Directory /run/user/1000...
[ OK ] Finished User Runtime Directory /run/user/1000.
Starting User Manager for UID 1000...
[ 8.461281] audit: type=1006 audit(14.208:8): pid=752 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=1 res=1
[ 8.461403] audit: type=1300 audit(14.208:8): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffd94d4408 a2=4 a3=ffff9795b020 items=0 ppid=1 pid=752 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="(systemd)" exe="/lib/systemd/systemd" key=(null)
[ 8.461422] audit: type=1327 audit(14.208:8): proctitle="(systemd)"
[ OK ] Started Simple Network Man…ement Protocol (SNMP) Daemon..
[ 8.851319] startwlanap.sh[759]: SIOCSIFADDR: No such device
[ 8.867277] startwlanap.sh[759]: wlan1: ERROR while getting interface flags: No such device
[ 8.883266] startwlanap.sh[759]: SIOCSIFNETMASK: No such device
[ 8.903948] startwlanap.sh[759]: wlan1: ERROR while getting interface flags: No such device
[ OK ] Started User Manager for UID 1000.
[ OK ] Started Session c1 of User weston.
[ 9.105599] audit: type=1006 audit(14.848:9): pid=677 uid=0 old-auid=4294967295 auid=1000 tty=tty7 old-ses=4294967295 ses=2 res=1
[ 9.105645] audit: type=1300 audit(14.848:9): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffd94d4408 a2=4 a3=ffff9795b020 items=0 ppid=1 pid=677 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty7 ses=2 comm="(weston)" exe="/lib/systemd/systemd" key=(null)
[ 9.105657] audit: type=1327 audit(14.848:9): proctitle="(weston)"
[ OK ] Started containerd container runtime.
[ OK ] Started Weston, a Wayland …mpositor, as a system service.
[ OK ] Finished Print notice about GPLv3 packages.
[ 10.188816] startwlanap.sh[793]: iperf3: error - unable to start listener for connections: Cannot assign requested address
[ 10.204757] startwlanap.sh[793]: iperf3: exiting
_____ _____ _ _
| _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
| | _| .'| . | . | | __| _| . | | | -_| _| _|
|__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
|___| |___|
Arago Project am62xx-evm -
Arago 2023.04 am62xx-evm -
am62xx-evm login:
We modified the dts file to fit our board, added the RGB node in the dts file and related panel timings in panel-simple.c. Almost the same way in SDK V8.6 and V9.0.0.03:
diff --git a/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi b/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi index 07763091ab59..7fe09c46a680 100644 --- a/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi @@ -107,66 +107,73 @@ framebuffer: framebuffer@ff700000 { leds { compatible = "gpio-leds"; - pinctrl-names = "default"; - pinctrl-0 = <&usr_led_pins_default>; - led-0 { - label = "am62-sk:green:heartbeat"; - gpios = <&main_gpio1 49 GPIO_ACTIVE_HIGH>; + user_led: user { + gpios = <&main_gpio0 13 GPIO_ACTIVE_HIGH>; linux,default-trigger = "heartbeat"; function = LED_FUNCTION_HEARTBEAT; default-state = "off"; }; - }; + }; - tlv320_mclk: clk-0 { - #clock-cells = <0>; - compatible = "fixed-clock"; - clock-frequency = <12288000>; - }; - - codec_audio: sound { - compatible = "simple-audio-card"; - simple-audio-card,name = "AM62x-SKEVM"; - simple-audio-card,widgets = - "Headphone", "Headphone Jack", - "Line", "Line In", - "Microphone", "Microphone Jack"; - simple-audio-card,routing = - "Headphone Jack", "HPLOUT", - "Headphone Jack", "HPROUT", - "LINE1L", "Line In", - "LINE1R", "Line In", - "MIC3R", "Microphone Jack", - "Microphone Jack", "Mic Bias"; - simple-audio-card,format = "dsp_b"; - simple-audio-card,bitclock-master = <&sound_master>; - simple-audio-card,frame-master = <&sound_master>; - simple-audio-card,bitclock-inversion; - - simple-audio-card,cpu { - sound-dai = <&mcasp1>; - }; - - sound_master: simple-audio-card,codec { - sound-dai = <&tlv320aic3106>; - clocks = <&tlv320_mclk>; - }; - }; + panel { + compatible = "tm,tm104sdhg30"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_panel_en>; + power-supply = <&vcc_5v0>; + enable-gpios = <&main_gpio1 7 GPIO_ACTIVE_HIGH>; + backlight = <&backlight>; - hdmi: connector { - compatible = "hdmi-connector"; - label = "hdmi"; - type = "a"; port { - hdmi_connector_in: endpoint { - remote-endpoint = <&sii9022_out>; + panel_in: endpoint { + remote-endpoint = <&dpi1_out>; }; }; }; + + backlight: backlight { + compatible = "pwm-backlight"; + brightness-levels = <0 3 6 12 16 24 32 48 64 96 128 192 255>; + default-brightness-level = <0>; + power-supply = <&vcc_3v3>; + pwms = <&ecap2 0 1000000>; + status = "okay"; + }; +}; + +&main_gpio0 { + pinctrl-names = "default"; + pinctrl-0 = <&gpio0_pins_default>; + gpio-line-names = "", "", "", /* 0-2 */ + "", "", "", "", "", "", "", /* 3-9 */ + "", /* 10 */ + "", "", /* 11-12 */ + "USER_LED", "", "", "", "", /* 13-17 */ + "", "", "", "", "", "", "", "", "", /* 18-26 */ + "", "", "", "", "", "", "", "", "", "", /* 27-36 */ + "", "", "", "", "", "",/* 37-42 */ + "", "", "", "", "", "", "", "", "", "", "", "", /* 43-54 */ + "", "", "", "", "", "", "", "", "", "", "", "", /* 55-66 */ + "", "", "", "", "", "", "", "", "", "", "", "", /* 67-78 */ + "", "", "", "", "", "", /* 79-84 */ + "", "", /* 85-86 */ + "", "", "", "", ""; /* 87-91 */ +}; + +&ecap2 { + #pwm-cells = <2>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_epwm2>; + status = "okay"; }; &main_pmx0 { + gpio0_pins_default: gpio0-default-pins { + pinctrl-single,pins = < + AM62X_IOPAD(0x034, PIN_OUTPUT, 7) /* (H21) OSPI0_CSn2.GPIO0_13 */ + >; + }; + /* First pad number is ALW package and second is AMC package */ main_uart0_pins_default: main-uart0-pins-default { pinctrl-single,pins = < @@ -223,12 +230,6 @@ AM62X_IOPAD(0x240, PIN_INPUT, 0) /* (D17/C15) MMC1_SDCD */ >; }; - usr_led_pins_default: usr-led-pins-default { - pinctrl-single,pins = < - AM62X_IOPAD(0x244, PIN_OUTPUT, 7) /* (C17/B15) MMC1_SDWP.GPIO1_49 */ - >; - }; - main_mdio1_pins_default: main-mdio1-pins-default { pinctrl-single,pins = < AM62X_IOPAD(0x160, PIN_OUTPUT, 0) /* (AD24/V17) MDIO0_MDC */ @@ -269,20 +270,17 @@ AM62X_IOPAD(0x008, PIN_INPUT, 0) /* (J24) OSPI0_DQS */ >; }; - main_usb1_pins_default: main-usb1-pins-default { + main_usb0_pins_default: main-usb0-pins-default { pinctrl-single,pins = < - AM62X_IOPAD(0x0258, PIN_OUTPUT, 0) /* (F18/E16) USB1_DRVVBUS */ + AM62X_IOPAD(0x0254, PIN_OUTPUT, 0) /* (C20) USB0_DRVVBUS */ >; }; - main_mcasp1_pins_default: main-mcasp1-pins-default { + main_usb1_pins_default: main-usb1-pins-default { pinctrl-single,pins = < - AM62X_IOPAD(0x090, PIN_INPUT, 2) /* (M24) GPMC0_BE0N_CLE.MCASP1_ACLKX */ - AM62X_IOPAD(0x098, PIN_INPUT, 2) /* (U23) GPMC0_WAIT0.MCASP1_AFSX */ - AM62X_IOPAD(0x08c, PIN_OUTPUT, 2) /* (L25) GPMC0_WEN.MCASP1_AXR0 */ - AM62X_IOPAD(0x084, PIN_INPUT, 2) /* (L23) GPMC0_ADVN_ALE.MCASP1_AXR2 */ + AM62X_IOPAD(0x0258, PIN_OUTPUT, 0) /* (F18/E16) USB1_DRVVBUS */ >; - }; + }; main_dss0_pins_default: main-dss0-pins-default { pinctrl-single,pins = < @@ -306,14 +304,18 @@ AM62X_IOPAD(0x00e8, PIN_OUTPUT, 0) /* (AB25) VOUT0_DATA12 */ AM62X_IOPAD(0x00ec, PIN_OUTPUT, 0) /* (AA24) VOUT0_DATA13 */ AM62X_IOPAD(0x00f0, PIN_OUTPUT, 0) /* (Y22) VOUT0_DATA14 */ AM62X_IOPAD(0x00f4, PIN_OUTPUT, 0) /* (AA21) VOUT0_DATA15 */ - AM62X_IOPAD(0x005c, PIN_OUTPUT, 1) /* (R24) GPMC0_AD8.VOUT0_DATA16 */ - AM62X_IOPAD(0x0060, PIN_OUTPUT, 1) /* (R25) GPMC0_AD9.VOUT0_DATA17 */ - AM62X_IOPAD(0x0064, PIN_OUTPUT, 1) /* (T25) GPMC0_AD10.VOUT0_DATA18 */ - AM62X_IOPAD(0x0068, PIN_OUTPUT, 1) /* (R21) GPMC0_AD11.VOUT0_DATA19 */ - AM62X_IOPAD(0x006c, PIN_OUTPUT, 1) /* (T22) GPMC0_AD12.VOUT0_DATA20 */ - AM62X_IOPAD(0x0070, PIN_OUTPUT, 1) /* (T24) GPMC0_AD13.VOUT0_DATA21 */ - AM62X_IOPAD(0x0074, PIN_OUTPUT, 1) /* (U25) GPMC0_AD14.VOUT0_DATA22 */ - AM62X_IOPAD(0x0078, PIN_OUTPUT, 1) /* (U24) GPMC0_AD15.VOUT0_DATA23 */ + >; + }; + + pinctrl_panel_en: pinctrl-panel-en { + pinctrl-single,pins = < + AM62X_IOPAD(0x194, PIN_OUTPUT, 7) /* (B19) MCASP0_AXR3.GPIO1_7 */ + >; + }; + + pinctrl_epwm2: pinctrl-epwm2 { + pinctrl-single,pins = < + AM62X_IOPAD(0x1a4, PIN_OUTPUT, 2) /* (B20) MCASP0_ACLKX.ECAP2_IN_APWM_OUT */ >; }; }; @@ -341,82 +343,14 @@ &main_i2c0 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&main_i2c0_pins_default>; - clock-frequency = <400000>; - - typec_pd0: tps6598x@3f { - compatible = "ti,tps6598x"; - reg = <0x3f>; - - connector { - compatible = "usb-c-connector"; - label = "USB-C"; - self-powered; - data-role = "dual"; - power-role = "sink"; - ports { - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - reg = <0>; - usb_con_hs: endpoint { - remote-endpoint = <&usb0_hs_ep>; - }; - }; - }; - }; - }; + clock-frequency = <400000>; }; &main_i2c1 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&main_i2c1_pins_default>; - clock-frequency = <100000>; - - tlv320aic3106: audio-codec@1b { - #sound-dai-cells = <0>; - compatible = "ti,tlv320aic3106"; - reg = <0x1b>; - ai3x-micbias-vg = <1>; /* 2.0V */ - - /* Regulators */ - AVDD-supply = <&vcc_3v3_sys>; - IOVDD-supply = <&vcc_3v3_sys>; - DRVDD-supply = <&vcc_3v3_sys>; - }; - - sii9022: sii9022@3b { - #sound-dai-cells = <0>; - compatible = "sil,sii9022"; - reg = <0x3b>; - - interrupt-parent = <&exp1>; - interrupts = <16 IRQ_TYPE_EDGE_FALLING>; - - sil,i2s-data-lanes = < 0 >; - - ports { - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - reg = <0>; - - sii9022_in: endpoint { - remote-endpoint = <&dpi1_out>; - }; - }; - - port@1 { - reg = <1>; - - sii9022_out: endpoint { - remote-endpoint = <&hdmi_connector_in>; - }; - }; - }; - }; + clock-frequency = <100000>; }; &main_i2c2 { @@ -445,7 +379,9 @@ &sdhci1 { &cpsw3g { pinctrl-names = "default"; - pinctrl-0 = <&main_rgmii1_pins_default>; + pinctrl-0 = <&main_mdio1_pins_default + &main_rgmii1_pins_default + &main_rmii2_pins_default>; }; &cpsw_port1 { @@ -454,9 +390,7 @@ &cpsw_port1 { }; &cpsw3g_mdio { - status = "okay"; - pinctrl-names = "default"; - pinctrl-0 = <&main_mdio1_pins_default>; + status = "okay"; cpsw3g_phy0: ethernet-phy@0 { reg = <0>; @@ -501,16 +435,9 @@ &usbss1 { }; &usb0 { - #address-cells = <1>; - #size-cells = <0>; - usb-role-switch; - - port@0 { - reg = <0>; - usb0_hs_ep: endpoint { - remote-endpoint = <&usb_con_hs>; - }; - }; + dr_mode = "host"; + pinctrl-names = "default"; + pinctrl-0 = <&main_usb0_pins_default>; }; &usb1 { @@ -520,23 +447,7 @@ &usb1 { }; &mcasp1 { - status = "okay"; - #sound-dai-cells = <0>; - - pinctrl-names = "default"; - pinctrl-0 = <&main_mcasp1_pins_default>; - - op-mode = <0>; /* MCASP_IIS_MODE */ - tdm-slots = <2>; - - serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */ - 1 0 2 0 - 0 0 0 0 - 0 0 0 0 - 0 0 0 0 - >; - tx-num-evt = <32>; - rx-num-evt = <32>; + status = "disabled"; }; &ospi0 { @@ -559,12 +470,15 @@ &dss { }; &dss_ports { + #address-cells = <1>; + #size-cells = <0>; + /* VP2: DPI Output */ port@1 { reg = <1>; dpi1_out: endpoint { - remote-endpoint = <&sii9022_in>; + remote-endpoint = <&panel_in>; }; }; };
All content on the panel is very slow, the mouse is almost immovable.
It looks like a display driver issue. How can we fix this?
Best Regards.