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.

AM625: PWM: Need ePWM0 (C13) support for LVDS Display.

Part Number: AM625
Other Parts Discussed in Thread: TPS65219, TMP100

Hi Expert!

We are dealing with AM625 chipset.

Our custom HW has LVDS interface. we are dealing with epwm0 signal.

We are using epwm0 pin for pwm C13 bolling number.

EHRPWM0_B                 2  

For DTS we used below changes.

backlight: backlight {
compatible = "pwm-backlight";
pwms = <&epwm0 0 1000000 0>;
status = "okay";
brightness-levels = <
0 20 20 21 21 22 22 23
23 24 24 25 25 26 26 27
27 28 28 29 29 30 30 31
31 32 32 33 33 34 34 35
35 36 36 37 37 38 38 39
40 41 42 43 44 45 46 47
48 49 50 51 52 53 54 55
56 57 58 59 60 61 62 63
64 65 66 67 68 69 70 71
72 73 74 75 76 77 78 79
80 81 82 83 84 85 86 87
88 89 90 91 92 93 94 95
96 97 98 99 100 101 102 103
104 105 106 107 108 109 110 111
112 113 114 115 116 117 118 119
120 121 122 123 124 125 126 127
128 129 130 131 132 133 134 135
136 137 138 139 140 141 142 143
144 145 146 147 148 149 150 151
152 153 154 155 156 157 158 159

160 161 162 163 164 165 166 167
168 169 170 171 172 173 174 175
176 177 178 179 180 181 182 183
184 185 186 187 188 189 190 191
192 193 194 195 196 197 198 199
200 201 202 203 204 205 206 207
208 209 210 211 212 213 214 215
216 217 218 219 220 221 222 223
224 225 226 227 228 229 230 231
232 233 234 235 236 237 238 239
240 241 242 243 244 245 246 247
248 249 250 251 252 253 254 255
>;
default-brightness-level = <200>;

};
display {
compatible = "sgd,gktw70sdae4se";
backlight = <&backlight>;
status = "okay";

port@0 {
lcd_in0: endpoint {
remote-endpoint = <&oldi_out0>;
};
};
};

For Pinumux used below 

&main_pmx0 {

main_gp_output_pins_default: main_gp_output_pins_default {
pinctrl-single,pins = <
AM62X_IOPAD(0x0194, PIN_OUTPUT, 7) /* (B19) I2C0_EEPROM_WP ->24c08 pin is default pulled low*/
>;
};

main_epwm0_pins_default: main_epwm0-pins-default {
pinctrl-single,pins = <
AM62X_IOPAD(0x01b8, PIN_OUTPUT, 2) /* (C13) SPI0_CS1.EHRPWM0_B */
>;
};

below is binding node

&epwm0 {
pinctrl-names = "default";
pinctrl-0 = <&main_epwm0_pins_default>;
status = "okay";
};

&dss {

pinctrl-names = "default";
pinctrl-0 = <&main_oldi0_pins_default>;
status = "okay";
};
&dss_ports {
#address-cells = <1>;
#size-cells = <0>;

/* VP1: LVDS Output (OLDI TX 0) */
port@0 {
reg = <0>;
oldi_out0: endpoint {
remote-endpoint = <&lcd_in0>;
};
};
};

 

We are observing there is no pwm on console and it was not working.

For epwm0 anything different we need to give here?

or anything i miss here ?

Adding logs for your reference.

*********************************************************************************

switch to partitions #0, OK
mmc0(part 0) is current device
SD/MMC found on device 0
Failed to load 'boot.scr'
** Unrecognized filesystem type **
19640832 bytes read in 108 ms (173.4 MiB/s)
58865 bytes read in 6 ms (9.4 MiB/s)
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Device Tree to 000000008feee000, end 000000008fffffff ... OK

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.10.184-rt90-gcfc102d877 (oe-user@oe-host) (aarch64-poky-linux-gcc (GCC) 9.5.0, GNU ld (GNU Binutils)3
[ 0.000000] Machine model: Onecontrol AM625 Dev Board-28022023
[ 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 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 15 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 0x000000009db00000, size 12 MiB
[ 0.000000] OF: reserved mem: initialized node r5f-dma-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-0x000000009cafffff]
[ 0.000000] node 0: [mem 0x000000009cb00000-0x000000009e6fffff]
[ 0.000000] node 0: [mem 0x000000009e700000-0x000000009e77ffff]
[ 0.000000] node 0: [mem 0x000000009e780000-0x000000009fffffff]
[ 0.000000] node 0: [mem 0x00000000a0000000-0x00000000ffffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff]
[ 0.000000] On node 0 totalpages: 524288
[ 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] cma: Reserved 512 MiB at 0x00000000dd000000
[ 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 18 pages/cpu s35392 r8192 d30144 u73728
[ 0.000000] pcpu-alloc: s35392 r8192 d30144 u73728 alloc=18*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: ARM erratum 845719
[ 0.000000] CPU features: detected: GIC system register CPU interface
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 516096
[ 0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=PARTUUID=4746ecf6-52da-c144-bddt
[ 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: 1458700K/2097152K available (11456K kernel code, 1260K rwdata, 4408K rodata, 1920K init, 477K bss, 114164K r)
[ 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] rcu: RCU priority boosting: priority 1 delay 500 ms.
[ 0.000000] rcu: RCU_SOFTIRQ processing moved to rcuc kthreads.
[ 0.000000] No expedited grace period (rcu_normal_after_boot).
[ 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] GICv3: Distributor has no Range Selector support
[ 0.000000] GICv3: 16 PPIs implemented
[ 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] 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.000000] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
[ 0.008551] Console: colour dummy device 80x25
[ 0.013147] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
[ 0.023827] pid_max: default: 32768 minimum: 301
[ 0.028652] LSM: Security Framework initializing
[ 0.033467] AppArmor: AppArmor initialized
[ 0.037711] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.045295] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.055353] rcu: Hierarchical SRCU implementation.
[ 0.060832] Platform MSI: msi-controller@1820000 domain created
[ 0.067233] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created
[ 0.076526] EFI services will not be available.
[ 0.081498] smp: Bringing up secondary CPUs ...
I/TC: Secondary CPU 1 initializing
I/TC: Secondary CPU 1 switching to normal world boot
[ 0.094973] Detected VIPT I-cache on CPU1
[ 0.099109] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
[ 0.106146] GICv3: CPU1: using allocated LPI pending table @0x0000000080060000
[ 0.113585] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
I/TC: Secondary CPU 2 initializing
I/TC: Secondary CPU 2 switching to normal world boot
[ 0.129180] Detected VIPT I-cache on CPU2
[ 0.133306] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
[ 0.140341] GICv3: CPU2: using allocated LPI pending table @0x0000000080070000
[ 0.147762] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
I/TC: Secondary CPU 3 initializing
I/TC: Secondary CPU 3 switching to normal world boot
[ 0.163265] Detected VIPT I-cache on CPU3
[ 0.167386] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
[ 0.174421] GICv3: CPU3: using allocated LPI pending table @0x0000000080080000
[ 0.181835] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.188596] smp: Brought up 1 node, 4 CPUs
[ 0.192799] SMP: Total of 4 processors activated.
[ 0.197619] CPU features: detected: 32-bit EL0 Support
[ 0.202880] CPU features: detected: CRC32 instructions
[ 0.215864] CPU: All CPU(s) started at EL2
[ 0.220074] alternatives: patching kernel code
[ 0.225874] devtmpfs: initialized
[ 0.237927] KASLR disabled due to lack of seed
[ 0.242689] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.252670] futex hash table entries: 1024 (order: 5, 131072 bytes, linear)
[ 0.274442] pinctrl core: initialized pinctrl subsystem
[ 0.280425] DMI not present or invalid.
[ 0.285072] NET: Registered protocol family 16
[ 0.291675] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[ 0.299051] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.307152] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.315383] audit: initializing netlink subsys (disabled)
[ 0.321188] audit: type=2000 audit(0.256:1): state=initialized audit_enabled=0 res=1
[ 0.321778] thermal_sys: Registered thermal governor 'step_wise'
[ 0.322428] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.342288] ASID allocator initialised with 65536 entries
[ 0.375639] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.382552] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.389418] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.396307] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.404239] cryptd: max_cpu_qlen set to 1000
[ 0.411892] k3-chipinfo 43000014.chipid: Family:AM62X rev:SR1.0 JTAGID[0x0bb7e02f] Detected
[ 0.421063] vcc_5v0: supplied by vmain_pd
[ 0.425630] vcc_3v3_sys: supplied by vmain_pd
[ 0.430547] vcc_1v8: supplied by vcc_3v3_sys
[ 0.436060] iommu: Default domain type: Translated
[ 0.441473] SCSI subsystem initialized
[ 0.445827] mc: Linux media interface: v0.10
[ 0.450247] videodev: Linux video capture interface: v2.00
[ 0.455943] pps_core: LinuxPPS API ver. 1 registered
[ 0.461017] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.470367] PTP clock support registered
[ 0.474406] EDAC MC: Ver: 3.0.0
[ 0.478320] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fc9100
[ 0.485539] FPGA manager framework
[ 0.489136] Advanced Linux Sound Architecture Driver Initialized.
[ 0.496331] clocksource: Switched to clocksource arch_sys_counter
[ 0.502829] VFS: Disk quotas dquot_6.6.0
[ 0.506900] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.514587] AppArmor: AppArmor Filesystem Enabled
[ 0.525589] NET: Registered protocol family 2
[ 0.530353] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.539228] tcp_listen_portaddr_hash hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.548069] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.556325] TCP bind hash table entries: 16384 (order: 7, 917504 bytes, linear)
[ 0.564867] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.571860] UDP hash table entries: 1024 (order: 5, 131072 bytes, linear)
[ 0.578986] UDP-Lite hash table entries: 1024 (order: 5, 131072 bytes, linear)
[ 0.586820] NET: Registered protocol family 1
[ 0.591879] RPC: Registered named UNIX socket transport module.
[ 0.597975] RPC: Registered udp transport module.
[ 0.602785] RPC: Registered tcp transport module.
[ 0.607593] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.614183] NET: Registered protocol family 44
[ 0.618744] PCI: CLS 0 bytes, default 64
[ 0.623668] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[ 0.636115] Initialise system trusted keyrings
[ 0.640965] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[ 0.652564] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.659289] NFS: Registering the id_resolver key type
[ 0.664530] Key type id_resolver registered
[ 0.668829] Key type id_legacy registered
[ 0.673018] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.679873] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 0.687681] 9p: Installing v9fs 9p2000 file system support
[ 0.727741] NET: Registered protocol family 38
[ 0.732365] Key type asymmetric registered
[ 0.736573] Asymmetric key parser 'x509' registered
[ 0.741638] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[ 0.749212] io scheduler mq-deadline registered
[ 0.753852] io scheduler kyber registered
[ 0.760467] pinctrl-single 4084000.pinctrl: 34 pins, size 136
[ 0.766812] pinctrl-single f4000.pinctrl: 171 pins, size 684
[ 0.775597] pwm-backlight backlight: supply power not found, using dummy regulator
[ 0.789960] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[ 0.802721] panel-simple display: supply power not found, using dummy regulator
[ 0.819886] brd: module loaded
[ 0.832206] loop: module loaded
[ 0.836560] megasas: 07.714.04.00-rc1
[ 0.844690] tun: Universal TUN/TAP device driver, 1.6
[ 0.850211] CAN device driver interface
[ 0.854741] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[ 0.861209] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[ 0.867330] sky2: driver version 1.30
[ 0.872167] VFIO - User Level meta-driver version: 0.3
[ 0.878673] i2c /dev entries driver
[ 0.883624] sdhci: Secure Digital Host Controller Interface driver
[ 0.890027] sdhci: Copyright(c) Pierre Ossman
[ 0.894885] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.902155] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[ 0.910556] optee: probing for conduit method.
[ 0.915208] optee: revision 3.19 (d6c5d003)
[ 0.915516] optee: dynamic shared memory is enabled
[ 0.925231] optee: initialized driver
[ 0.931171] NET: Registered protocol family 17
[ 0.935815] can: controller area network core
[ 0.940390] NET: Registered protocol family 29
[ 0.945106] 9pnet: Installing 9P2000 support
[ 0.949553] Key type dns_resolver registered
[ 0.954335] printk: bootconsole [ns16550a0]: printing thread started
[ 0.954401] Loading compiled-in X.509 certificates
[ 0.958014] Loaded X.509 cert 'Build time autogenerated kernel key: 8e3cc30e8bcf0cb54680e7f2a0a61bf1761f8936'
[ 0.959495] AppArmor: AppArmor sha1 policy hashing enabled
[ 0.964456] pwm-backlight backlight: supply power not found, using dummy regulator
[ 0.966146] panel-simple display: supply power not found, using dummy regulator
[ 0.972281] ti-sci 44043000.system-controller: lpm region is required for suspend but not provided.
[ 0.972436] ti-sci 44043000.system-controller: ABI: 3.1 (firmware rev 0x0008 '8.6.1--v08.06.01 (Chill Capybar')
[ 1.034716] omap_timer 2400000.timer: PM domain pd:36 will not be powered off
[ 1.040119] omap-gpmc 3b000000.memory-controller: GPMC revision 6.0
[ 1.040137] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
[ 1.043407] tps65219 0-0030: Failed to request IRQ 0 for tps65219_irq: -22
[ 1.043505] tps65219: probe of 0-0030 failed with error -22
[ 1.043579] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz
[ 1.045442] omap_i2c 20010000.i2c: bus 1 rev0.12 at 400 kHz
[ 1.068866] pcf85363 2-0051: registered as rtc0
[ 1.069198] pcf85363 2-0051: setting system clock to 2023-08-14T13:29:51 UTC (1692019791)
[ �r��ʲ���lm75 2-004e: supply vs not found, using dummy regulator
[ 1.070430] hwmon hwmon0: temp1_input not attached to any thermal zone
[ 1.100442] printk: console [ttyS2]: printing thread started
[ 1.070439] lm75 2-004e: hwmon0: sensor 'tmp100'
[ 1.100458] printk: console [ttyS2] enabled
[ 1.100461] printk: bootconsole [ns16550a0] disabled
[ 1.117506] printk: bootconsole [ns16550a0]: printing thread stopped
[ 1.118533] panel-simple display: supply power not found, using dummy regulator
[ 1.121271] [drm] Initialized tidss 1.0.0 20180215 for 30200000.dss on minor 0
[ 1.126674] tidss 30200000.dss: [drm] fb0: tidssdrmfb frame buffer device
[ 1.141133] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode
[ 1.180343] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
[ 1.182521] davinci_mdio 8000f00.mdio: phy[1]: device 8000f00.mdio:01, driver TI DP83825S
[ 1.182537] davinci_mdio 8000f00.mdio: phy[2]: device 8000f00.mdio:02, driver TI DP83867
[ 1.182650] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 qu6
[ 1.183091] am65-cpsw-nuss 8000000.ethernet: Use random MAC address
[ 1.183102] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
[ 1.183108] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
[ 1.183919] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:0
[ 1.185973] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
[ 1.190332] rtc-ti-k3 2b1f0000.rtc: registered as rtc1
[ 1.293762] mmc0: CQHCI version 5.10
[ 1.294182] mmc1: CQHCI version 5.10
[ 1.294829] mmc2: CQHCI version 5.10
[ 1.300567] pinctrl-single f4000.pinctrl: pin PIN110 already requested by 23000000.pwm; cannot claim for 601000.gpio
[ 1.300585] pinctrl-single f4000.pinctrl: pin-110 (601000.gpio) status -22
[ 1.300592] pinctrl-single f4000.pinctrl: could not request pin 110 (PIN110) from group main_gpio1_pins_default on device pincte
[ 1.300602] davinci_gpio 601000.gpio: Error applying setting, reverse things back
1.300621] davinci_gpio: probe of 601000.gpio failed with error -22
[ 1.303851] debugfs: Directory 'pd:53' with parent 'pm_genpd' already present!
[ 1.303907] debugfs: Directory 'pd:52' with parent 'pm_genpd' already present!
[ 1.303966] debugfs: Directory 'pd:51' with parent 'pm_genpd' already present!
[ 1.304630] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
[ 1.319280] ALSA device list:
[ 1.319295] No soundcards found.
[ 1.345579] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
[ 1.345884] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
[ 1.484573] mmc0: error -110 whilst initialising MMC card
[ 1.710245] mmc0: Command Queue Engine enabled
[ 1.710269] mmc0: new HS200 MMC card at address 0001
[ 1.711067] mmcblk0: mmc0:0001 DG4016 14.7 GiB
[ 1.711266] mmcblk0boot0: mmc0:0001 DG4016 partition 1 4.00 MiB
[ 1.711466] mmcblk0boot1: mmc0:0001 DG4016 partition 2 4.00 MiB
[ 1.711675] mmcblk0rpmb: mmc0:0001 DG4016 partition 3 4.00 MiB, chardev (237:0)
[ 1.715001] mmcblk0: p1
[ 2.809585] sdhci-am654 fa20000.mmc: Power on failed
[ 2.840212] mmc2: SDHCI controller on fa20000.mmc [fa20000.mmc] using ADMA 64-bit
[ 2.847103] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[ 2.847195] VFS: Mounted root (ext4 filesystem) on device 179:1.
[ 2.849346] devtmpfs: mounted
[ 2.850832] Freeing unused kernel memory: 1920K
[ 2.864423] Run /sbin/init as init process
INIT: version 2.96 booting
Starting board_start
FBIOPUT_VSCREENINFO failed, double buffering disabledchown: cannot access '/var/log/syslog': No such file or directory
chgrp: cannot access '/var/log/syslog': No such file or directory
[ 3.354147] EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)
Mon Aug 14 13:56:31 UTC 2023
[ 5.919662] random: dd: uninitialized urandom read (512 bytes read)
ALSA: Restoring mixer settings...
/usr/sbin/alsactl: load_state:1735: No soundcards found...
chown: invalid user: 'fireapp'
starting /root/test/TestCases/Server_TestCases/Server.sh
OK
starting /etc/init.d/inotify_test.sh
OK
Configuration file wrong or corrupted
Configuring packages on first boot....
(This may take several minutes. Please do not power off the machine.)
Running postinst /etc/ipk-postinsts/000-apparmor...
System startup links for /etc/init.d/apparmor already exist.
Running postinst /etc/ipk-postinsts/001-sysvinit-inittab...
update-rc.d: /etc/init.d/run-postinsts exists during rc.d purge (continuing)
Removing any system startup links for run-postinsts ...
/etc/rcS.d/S99run-postinsts
INIT: Entering runlevel: 5
Configuring network interfaces... [ 6.932303] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:02] driver [TI DP83867] (i)
[ 6.932365] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
[ 10.552496] am65-cpsw-nuss 8000000.ethernet eth1: PHY [8000f00.mdio:01] driver [TI DP83825S] (irq=POLL)
[ 10.552529] am65-cpsw-nuss 8000000.ethernet eth1: configuring for phy/rmii link mode
Cannot find device "wlan0"
Cannot find device "wlan0"
Cannot find device "wlan0"
[ 10.730551] random: dbus-uuidgen: uninitialized urandom read (12 bytes read)
[ 10.730624] random: dbus-uuidgen: uninitialized urandom read (8 bytes read)
Starting system message bus: [ 10.756163] random: dbus-daemon: uninitialized urandom read (12 bytes read)
dbus.
[ 11.021942] pvrsrvkm: loading out-of-tree module taints kernel.
[ 11.029131] pvrsrvkm: module verification failed: signature and/or required key missing - tainting kernel
[ 11.048782] PVR_K: 527: Read BVNC 33.15.11.3 from HW device registers
[ 11.048897] PVR_K: 527: RGX Device registered with BVNC 33.15.11.3
[ 11.049640] [drm] Initialized pvr 1.15.6133109 20170530 for fd00000.gpu on minor 1
Upgrade : MMC0 EXIST
openvt: can't find open VT
Couldn't start Weston automatically.
Loaded PowerVR consumer services.
Setting environment variables...Starting UI app... UI app started.
Starting rpcbind daemon...QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/var/volatile/tmp/runtime-root'
[ 11.849688] NET: Registered protocol family 10
[ 11.855409] Segment Routing with IPv6
done.
[ 11.869265] PVR_K: 560: RGX Firmware image 'rgx.fw.33.15.11.3' loaded
[ 11.875247] PVR_K: 560: Shader binary image 'rgx.sh.33.15.11.3' loaded
Starting Quagga daemons: zebra bgpd ripd ripngd ospfd ospf6d isisd.
Starting advanced power management daemon: No APM support in kernel
(failed.)
Starting ntpd: done
starting rsyslogd ... chown: cannot access '/var/log/syslog*': No such file or directory
done
arch elf mapping not found
There was an error in line 54 of /etc/audit/audit.rules
* Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon
[ 12.588037] random: avahi-daemon: uninitialized urandom read (4 bytes read)
[ 12.597361] random: avahi-daemon: uninitialized urandom read (4 bytes read)
...done.
Starting LCDproc display server daemon: Could not open driver module /usr/lib/lcdproc/curses.so: /usr/lib/lcdproc/curses.so: cannoty
Driver [curses] binding failed
Could not load driver curses
There is no output driver
Critical error while initializing, abort.
Starting LCDproc system status monitor: sock_connect: connect failed
Error connecting to LCD server localhost on port 13666.
Check to see that the server is running and operating normally.
[ 12.824800] random: cupsd: uninitialized urandom read (4096 bytes read)
cups: started scheduler.
Starting crond: OK
Starting AppArmor profiles
Mounting securityfs on /sys/kernel/security
.
Starting udev
[ 14.289595] udevd[749]: starting version 3.2.9
[ 14.293573] random: udevd: uninitialized urandom read (16 bytes read)
[ 14.294112] random: udevd: uninitialized urandom read (16 bytes read)
[ 14.294166] random: udevd: uninitialized urandom read (16 bytes read)
[ 14.314313] udevd[750]: starting eudev-3.2.9
[ 14.413985] Initializing MS/TP network device driver version 1.02-003
[ 14.420681] random: crng init done
[ 14.420703] random: 6 urandom warning(s) missed due to ratelimiting
[ 14.614154] m_can_platform 20701000.can: m_can device registered (irq=41, version=32)
[ 14.619620] [FTS_TS]fts_ts_init: Enter
[ 14.630213] [FTS_TS/I]fts_ts_probe:Touch Screen(I2C BUS) driver prboe...
[ 14.630234] [FTS_TS]fts_ts_probe_entry: Enter
[ 14.630237] [FTS_TS/I]fts_ts_probe_entry:Focaltech V3.2 20200422
[ 14.630241] [FTS_TS]fts_parse_dt: Enter
[ 14.630247] [FTS_TS/I]fts_get_dt_coords:display x(0 1024) y(0 600)
[ 14.630264] [FTS_TS/E]fts_parse_dt:Unable to get reset_gpio
[ 14.630287] [FTS_TS/I]fts_parse_dt:max touch number:10, irq gpio:412, reset gpio:-2
[ 14.630292] [FTS_TS]fts_parse_dt: Exit(1262)
[ 14.630826] [FTS_TS]fts_bus_init: Enter
[ 14.630841] [FTS_TS]fts_bus_init: Exit(175)
[ 14.630849] [FTS_TS]fts_input_init: Enter
[ 14.654167] input: fts_ts as /devices/platform/bus@f0000/20010000.i2c/i2c-1/1-0038/input/input0
[ 14.665580] [FTS_TS]fts_input_init: Exit(802)
[ 14.665602] [FTS_TS]fts_gpio_configure: Enter
[ 14.665620] [FTS_TS]fts_gpio_configure: Exit(1133)
[ 14.665624] [FTS_TS]fts_power_source_init: Enter
[ 14.665681] fts_ts 1-0038: supply vdd not found, using dummy regulator
[ 14.692741] fts_ts 1-0038: supply vcc_i2c not found, using dummy regulator
[ 14.694074] [FTS_TS]fts_power_source_ctrl: Enter
[ 14.694088] [FTS_TS]fts_power_source_ctrl:regulator enable !
[ 14.694098] [FTS_TS]fts_power_source_ctrl: Exit(978)
[ 14.694104] [FTS_TS]fts_power_source_init: Exit(1038)
[ 14.716758] [FTS_TS]fts_get_chip_types:verify id:0x5422
[ 14.716782] [FTS_TS/I]fts_get_ic_information:get ic information, chip id = 0x5422
[ 14.716806] [FTS_TS/I]fts_create_apk_debug_channel:Create proc entry success!
[ 14.721663] [FTS_TS/I]fts_create_sysfs:[EX]: sysfs_create_group() succeeded!!
[ 14.722348] [FTS_TS]fts_ex_mode_init:create sysfs(ex_mode) succeedfully
[ 14.722362] [FTS_TS]fts_gesture_init: Enter
[ 14.723139] [FTS_TS]fts_gesture_init: Exit(450)
[ 14.723157] [FTS_TS/I]fts_irq_registration:irq:304, flag:2002
[ 14.723505] [FTS_TS/I]fts_fwupg_init:fw upgrade init function
[ 14.723533] [FTS_TS]fts_ts_probe_entry: Exit(1627)
[ 14.723538] [FTS_TS/I]fts_ts_probe:Touch Screen(I2C BUS) driver prboe successfully
[ 14.723595] [FTS_TS/I]fts_fwupg_work:FTS_AUTO_UPGRADE_EN is disabled, not upgrade when power on
[ 14.736771] [FTS_TS]fts_ts_init: Exit(1911)
[ 14.821735] k3-m4-rproc 5000000.m4fss: assigned reserved memory node m4f-dma-memory@9cb00000
[ 14.821902] k3-m4-rproc 5000000.m4fss: configured M4 for IPC-only mode
[ 14.847648] remoteproc remoteproc0: 5000000.m4fss is available
[ 14.847772] remoteproc remoteproc0: attaching to 5000000.m4fss
[ 14.847802] Unable to handle kernel paging request at virtual address ffff800015ffffff
[ 14.867633] printk: console [ttyS2]: printing thread stopped
[ 14.868681] Mem abort info:
[ 14.877280] ESR = 0x96000006
[ 14.880918] EC = 0x25: DABT (current EL), IL = 32 bits
[ 14.887908] SET = 0, FnV = 0
[ 14.891544] EA = 0, S1PTW = 0
[ 14.894859] Data abort info:
[ 14.897830] ISV = 0, ISS = 0x00000006
[ 14.901740] CM = 0, WnR = 0
[ 14.904816] swapper pgtable: 4k pages, 48-bit VAs, pgdp=0000000082f93000
[ 14.911632] [ffff800015ffffff] pgd=00000000fffff003, p4d=00000000fffff003, pud=00000000ffffe003, pmd=0000000000000000
[ 14.922323] Internal error: Oops: 96000006 [#1] PREEMPT_RT SMP
[ 14.928177] Modules linked in: virtio_rpmsg_bus ti_k3_m4_remoteproc(+) rti_wdt j721e_csi2rx videobuf2_dma_contig sa2ul videobuf2)
[ 14.954349] CPU: 1 PID: 754 Comm: udevd Tainted: G OE 5.10.184-rt90-gcfc102d877 #1
[ 14.963125] Hardware name: Onecontrol AM625 Dev Board-28022023 (DT)
[ 14.969383] pstate: 00000005 (nzcv daif -PAN -UAO -TCO BTYPE=--)
[ 14.975378] pc : rproc_handle_resources.constprop.0+0x94/0x168
[ 14.981222] lr : rproc_boot+0x464/0x6a0
[ 14.985066] sp : ffff8000120337c0
[ 14.988372] x29: ffff8000120337c0 x28: ffff800011322098
[ 14.993680] x27: ffff00007fbe2308 x26: ffffffffffffffff
[ 14.998983] x25: ffff800016000000 x24: ffff800010ec5508
[ 15.004286] x23: ffff00000798d038 x22: 0000000000000000
[ 15.009601] x21: ffff8000112944f8 x20: ffff00000798d000
[ 15.014928] x19: 0000000000000000 x18: 0000000000000000
[ 15.020231] x17: 0000000000000000 x16: 0000000000000000
[ 15.025535] x15: ffff0000082b8000 x14: ffffffffffffffff
[ 15.030840] x13: ffffffffffffffff x12: ffffffffffffffff
[ 15.036145] x11: ffffffffffffffff x10: ffffffffffdfffff
[ 15.041450] x9 : fffffff7ffffffff x8 : ffffffffffffffff
[ 15.046752] x7 : ffffffffffffffff x6 : ffff000007477b00
[ 15.052051] x5 : ffff00007fb9fb38 x4 : 0000000000000000
[ 15.057350] x3 : 00000000000000fd x2 : 00000000ffffffff
[ 15.062651] x1 : ffff800016000003 x0 : ffff800016000000
[ 15.067952] Call trace:
[ 15.070390] rproc_handle_resources.constprop.0+0x94/0x168
[ 15.075871] rproc_boot+0x464/0x6a0
[ 15.079353] rproc_add+0x88/0x168
[ 15.082660] k3_m4_rproc_probe+0x784/0x868 [ti_k3_m4_remoteproc]
[ 15.088664] platform_drv_probe+0x54/0xa8
[ 15.092667] really_probe+0xec/0x400
[ 15.096234] driver_probe_device+0x58/0xf0
[ 15.100321] device_driver_attach+0x74/0x80
[ 15.104494] __driver_attach+0x68/0xf8
[ 15.108232] bus_for_each_dev+0x70/0xc8
[ 15.112058] driver_attach+0x24/0x30
[ 15.115625] bus_add_driver+0x150/0x210
[ 15.119451] driver_register+0x64/0x120
[ 15.123277] __platform_driver_register+0x48/0x58
[ 15.127970] k3_m4_rproc_driver_init+0x20/0x1000 [ti_k3_m4_remoteproc]
[ 15.134489] do_one_initcall+0x54/0x1c8
[ 15.138317] do_init_module+0x44/0x1f0
[ 15.142060] load_module+0x2204/0x27a8
[ 15.145799] __do_sys_finit_module+0xb8/0x100
[ 15.150144] __arm64_sys_finit_module+0x20/0x30
[ 15.154664] el0_svc_common.constprop.0+0x78/0x1c8
[ 15.159447] do_el0_svc+0x24/0xa0
[ 15.162753] el0_svc+0x14/0x20
[ 15.165799] el0_sync_handler+0xb0/0xb8
[ 15.169625] el0_sync+0x180/0x1c0
[ 15.172938] Code: 128002b3 91134021 97ffeb65 1400002e (b87a6b20)
[ 15.179021] ---[ end trace 0000000000000002 ]---
[ 15.188646] platform 78000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state ()
[ 15.196585] udevd[750]: worker [754] terminated by signal 11 (Segmentation fault)
[ 15.196619] udevd[750]: worker [754] failed while handling '/devices/platform/bus@f0000/bus@f0000:bus@4000000/5000000.m4fss'
[ 15.202998] platform 78000000.r5f: configured R5F for IPC-only mode
[ 15.241158] platform 78000000.r5f: device does not have reserved memory regions, ret = -22
[ 15.250158] k3_r5_rproc bus@f0000:bus@b00000:r5fss@78000000: reserved memory init failed, ret = -22
[ 15.275071] remoteproc remoteproc1: releasing 78000000.r5f

Carrier Linux Reference Distrbution 3.1.26 am62xx-onecontrol-[ 15.281256] k3_r5_rproc bus@f0000:bus@b00000:r5fss@78000000: k3_r5_2
lrd ttyS2

Warning: Use of this System is Restricted to Autho[ 15.297455] k3_r5_rproc: probe of bus@f0000:bus@b00000:r5fss@78000000 failed 2
rized Users

This computer system is the private property of the Company and may be
used only by those individuals authorized by the Company, in accordance
with Company policy. Unauthorized, illegal or improper use may result
in disciplinary action and/or civil or criminal prosecution.

Your use of Company electronic systems is subject to monitoring and
disclosure in accordance with Company policy and applicable law. By
continuing to access this system, you agree that your use of Company
electronic systems is subject to the foregoing and that you have no
expectation of privacy in regard to any files or data stored, accessed,
transmitted or received on such systems.
am62xx-onecontrol-lrd login: [ 15.937786] remoteproc remoteproc1: 30074000.pru is available
[ 15.953919] remoteproc remoteproc2: 30078000.pru is available
[ 15.981871] cdns-csi2rx: probe of 30101000.csi-bridge failed with error -22
[ 16.058586] dwc3 31000000.usb: Configuration mismatch. dr_mode forced to gadget
Version of Business Unit build =
CRLD Build
[ 16.162406] usbcore: registered new interface driver usbfs
[ 16.168103] usbcore: registered new interface driver hub
[ 16.173735] usbcore: registered new device driver usb
[ 16.232867] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 16.238502] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
[ 16.246410] xhci-hcd xhci-hcd.1.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000000000010010
[ 16.256147] xhci-hcd xhci-hcd.1.auto: irq 395, io mem 0x31100000
[ 16.262457] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 16.267977] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
[ 16.275666] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[ 16.282353] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[ 16.290629] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 16.297848] usb usb1: Product: xHCI Host Controller
[ 16.302735] usb usb1: Manufacturer: Linux 5.10.184-rt90-gcfc102d877 xhci-hcd
[ 16.309775] usb usb1: SerialNumber: xhci-hcd.1.auto
[ 16.315402] hub 1-0:1.0: USB hub found
[ 16.319252] hub 1-0:1.0: 1 port detected
[ 16.324927] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 16.333274] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
[ 16.341584] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 16.348856] usb usb2: Product: xHCI Host Controller
[ 16.353753] usb usb2: Manufacturer: Linux 5.10.184-rt90-gcfc102d877 xhci-hcd
[ 16.360822] usb usb2: SerialNumber: xhci-hcd.1.auto
[ 16.366488] hub 2-0:1.0: USB hub found
[ 16.370314] hub 2-0:1.0: config failed, hub doesn't have any ports! (err -19)

am62xx-onecontrol-lrd login: root
Last login: Mon Aug 14 13:56:46 UTC 2023 on ttyS2

********************************************************************************************************************************

What we can do for PWM to get up here.

Let me know if anything required more.

Thanks,

Suraj.

  • FYI... 

    We tested another pin for testing so it is getting signal on that.(B18)

    But Our custom HW display connection use C13 only.

    We need support for C13 (epwm0) 

    Let me know if required more info.

    Thanks,

    Suraj.

  • Hello Suraj,

    1) To confirm, it sounds like the PWM signal is showing up as expected on the B18 pin?

    2) Is this the B18 pin on your custom board, or a pin on a TI EVM?

    3) What is the difference between your working pinmux configuration with B18, and the non-working pinmux configuration of C13?

    Regards,

    Nick

  • Hi Nick,

    I am able get signal on B18 number pin. 

    My custom Board is integrated with C13 pin for pwm. So with that it is not coming signal.

    What is the difference between your working pinmux configuration with B18, and the non-working pinmux configuration of C13?

    -> That I was not sure that I asked why it not worked for C13 pin. 

    -> We externally did some soldering for B18 pin and tested so PWM (Backlight came properly).

    This pin should work I am expecting but not working. (Not getting pulses on C13)

     To confirm, it sounds like the PWM signal is showing up as expected on the B18 pin?

    -> yes display is up and working with  B18. but we need help for C13.

    Is this the B18 pin on your custom board, or a pin on a TI EVM?

    ->C13 is there in my custom board. 

    thanks,

    Suraj.

  • Hello Suraj,

    1) You said that you got B18 working. Did you get B18 working on your custom board, or on a TI EVM?

    2) Please attach your pinmux settings for B18 and C13

    3) Please check to make sure you are not overwriting your C13 pinmux settings with different settings somewhere else in your Linux devicetree files.

    Regards,

    Nick