Part Number: LM5117-Q1
Dear colleague,
Our customer asked how to realize LM5117-Q1 OVP self-locking protection.
Do you have some suggestions?
Thanks a lot!
Best Regards,
Rock Su
Part Number: LM5117-Q1
Dear colleague,
Our customer asked how to realize LM5117-Q1 OVP self-locking protection.
Do you have some suggestions?
Thanks a lot!
Best Regards,
Rock Su
Part Number: TMS320C6678
Hi,
Using C6678 and last pdk version and TI edma example: configure EDMA3_DRV_SYNC_A mode, acnt=4, bcnt=ccnt=2 and use it with EDMA3_DRV_TRIG_MODE_MANUAL.
I observed that the interrupt is triggered twice as it should be in this case: 8 times instead of 4 times (expected 4times = bcnt * ccnt).
If you disable the transfer intermediate interrupt (comment this line: "paramSet.opt |= (1 << OPT_ITCINTEN_SHIFT)") I observed the interrupt is triggered only after the first transfer request, then the interrupt is no more triggered, even if it is not disabled.
Is this happening on your side also?
What exactly should influence the enable or disable of intermediate transfer complete for this scenario - how many interrupts should be received after every transfer request (4 in total for my scenario) in both cases: intermediate interrupts enable or disable?
Thanks
Part Number: AM5718
Tool/software: Code Composer Studio
Hi,
I am trying to enable interrupts for DSP core (for bare metal /non OS application). I'm already completed it in arm core using APIs( from the file named 'interrupt.c').Similarly how we enable interrupts in DSP core.??.i think it is not available in your sdk. Please share API documents regarding this.
Part Number: TPS65235
Hi Experts,
Our customer is using our TPS65235 in their design, they found if they are not mounted D1 in below by mistake, the DC/DC will be easily burnt and damaged. Can you help to check what's failure scheme for this phenomenon? Is it expected behavior for our device? Thanks.
Part Number: UCD90160A
Hi all,
In the design, customer set SHUT_12V_B to 12V output high enable and controls DC-DC power-on. SOCPL_SHUT_12V_REQ_3V3 is 12V power-on trigger signal, "high" is enable.
When verifying on the Demo board, when SOCPL_SHUT_12V_REQ_3V3 is high. After 12V enable is turned on, if SOCPL_SHUT_12V_REQ_3V3 is set low again, it is found that the 12V enable signal is always on and cannot be turned off to power off 12V.
Image may be NSFW.
Clik here to view.Image may be NSFW.
Clik here to view.Image may be NSFW.
Clik here to view.
Part Number: MSP430F413
how to calculate tickDelay function need clear explanation and reference document and sample code
if (standard)
{
// Standard Speed
// why multiplication needed and why not used single multiplied value
A = 6 * 4;
B = 64 * 4;
Cd = 60 * 4;
D = 10 * 4;
E = 9 * 4;
F = 55 * 4;
G = 0;
H = 480 * 4;
I = 70 * 4;
J = 410 * 4;
}
else
{
// Overdrive Speed
A = 1.5 * 4;
B = 7.5 * 4;
Cd = 7.5 * 4;
D = 2.5 * 4;
E = 0.75 * 4;
F = 7 * 4;
G = 2.5 * 4;
H = 70 * 4;
I = 8.5 * 4;
J = 40 * 4;
}
}
Part Number: TMS320F280049C
We are currently developing a BLDC motor driver with DRV8353RS-EVM and F280049C MCU.
We are facing repeated failures of the DRV8353RS chip when trying to run the board with the motor connected.
Most of the time the gate driver failure occurs and the gate pin of one of the Mosfet gets damaged.
The test setup consists of
Configuration settings
Board Modifications
When we try to accelerate the motor by giving a higher PWM duty cycle, and the current crosses 8.33A. The gate drive in one of the phase fails.
The SPI status register shows Gate Drive Failure (GDF) and one of the MOSFET (VGSxx) failure.
We have tried similar PWM inputs/overcurrents in DRV8301-HC-EVM. It never failed.
We have checked the PWMs and found no cross conduction/shoot through happening.
In a recent case, the Failed driver gives 3V continuously to the MOSFET and the charge pump voltage is also around 3V.
The Failed Mosfet gate to source resistance shows (Mosfet in still in the board) around 91 ohms. (good one shows >100k)
Kindly suggest any modifications/workarounds we can to mitigate the driver failure.
Part Number: TPS54160
Hi,
As shown in the datasheet, "the COMP pin voltage will increase and decrease as the output current increases and decreases."
And i did some test,shown below.
Image may be NSFW.
Clik here to view.
And in these two tests, Vcomp is aligned with the datasheet. Iout increase, then Vcomp increase.
Until i see these in the datasheet: "The transconductance (gM) of the error amplifier is 97 μA/V during normal operation". So the output of the error amplifier, should be 97*0.795=77uA. Test 1 and test 2 should has the same EA output.
Here comes my question:
1. Why does Vcomp change while the output of the EA doesn't change? Is this relevant to the outside frequency compensation?
2. What in the output of EA? volt or current?
3. If Vout fixed, Vsense fixed, then the EA output should fixed. Am i right? And can i say the resistor divider outside the Vsense controls the Vout? and the PWM comparator controls the Iout?
Also, If you have some learning resources, you can send it to me.
Thanks.
Best regards
Mason Liu
Part Number: TMS320F2801
Hello everyone
I cant find any support libraries or examples for F2801pza MCU. C2000ware and control suite doesnt have a folder for F280x devices. please give me a reference where i can find examples and header files linker files and other supported files for this device. TI product page for this device does not have any reference specific to this device other than the data sheet.
Thank you
Part Number: USB2ANY
Team,
Customer is trying to make the firmware SW update (see pictures 1/2/3 below):
-Win 8.1 PC.
- run installer as ADMIN
At some point the USB2ANY need to be disconnected/reconnnected and BSL button pressed.
Doing this does not seem to update the firmware.
How can it be fixed?
Do we have a video or guide showing the exact sequence?
1) Firmware update:
Image may be NSFW.
Clik here to view.
2)Firware loader message:
Image may be NSFW.
Clik here to view.
3)BSL button:
BSL button is pressed (they even tried to remove the case just to be sure the button was properly pressed):
Image may be NSFW.
Clik here to view.
Thanks in advance!
A.
Part Number: AM5718
I am using AM5718 IDK EVM,and ti-processor-sdk-linux-am57xx-evm-05.03.00.07. I have enabled McSPI2 and have done McSPI transfers successfully .
I have a small issue.
I modified am57xx-idk-common.dts as given below to enable McSPI2:
-------------------------------
&mcspi2 {
status = "okay";
ti,pindir-d0-out-d1-in;
mydev@0 {
compatible = "rohm,dh2228fv";
spi-max-frequency = <1000000>;
reg = <0>;// Chip select 0
spi-cpol;
};
};
----------------------------------
/dev/spidev1.0 is created in this case and I am not able to open it.
/dev/spidev1.0 and /dev/spidev2.0 are created if I enable both McSPI1 and MCSPI2 as given below:
-------------------------------------------------------------
&mcspi1 {
status = "okay";
ti,pindir-d0-out-d1-in;
mydev@0 {
compatible = "rohm,dh2228fv";
spi-max-frequency = <1000000>;
reg = <0>;// Chip select 0
spi-cpol;
};
};
&mcspi2 {
status = "okay";
ti,pindir-d0-out-d1-in;
mydev@0 {
compatible = "rohm,dh2228fv";
spi-max-frequency = <1000000>;
reg = <0>;// Chip select 0
spi-cpol;
};
};
----------------------------------------------------
In this case, I am able to acces /dev/spidev2.0 and do McSPI transfers successfully.
I want to use only McSPI2. Can you tell me how to add a single node mcspi2 in DTS and make /dev/spidev2.0 enabled ?
Anupama
Part Number: LM98620
Hi,
In my project i am using lm98620.Regarding this i have 2 questions.
1.I am updating the gain value through spi communicaion(0x08,0x0C for Red channel) and enable red channel gain in 0x03 Register.After read the register(0x08 and 0x0C) through spi it's showing 0 value only.Apart from this,is there any setting for gain adjustment?
2.I am getting the camera waveform with up and down oscillation.So what are the parameters or registers or Signals should i check?
Thanks in advance.
Regards,
Kathir.
Part Number: TMS320F28335
Tool/software: Code Composer Studio
Hi,
I am exploring on GUI Composer feature in CCS. I want to connect my hardware (TMS320F28335) to GUI Composer.
I followed all steps to create application in GUI Composer. I have installed TI Cloud Agent still it is asking me to install the same as shown below.
Image may be NSFW.
Clik here to view.
I checked the help it is saying to change proxy settings. I am not getting how to do that.
Another thing is with GUI Composer it is not showing XDS510 Emulator option when we try to connect target board(TMS320F28335).
Is that not supported by GUI Composer?
Please help with the issue.
Thanks,
Namita
Part Number: LP5012EVM
Team,
Customer tries to connect to the http://www.ti.com/tool/LP5012EVM using USB2ANY.
-Specifically about the LP5012EVM GUI:
Trying to connect to the EVM:
- PC runs Win 8.1
- Script can not be run as admin since it is a VBS script.
After running the script the below message occur:
Image may be NSFW.
Clik here to view.
The the GUI appear:
(Note that updating the USB2ANY in stand alone mode ie without EVM connected fails as well (see this E2E post too)).
Image may be NSFW.
Clik here to view.
then firmware update starts but nothing seems to happen:
Image may be NSFW.
Clik here to view.
When the program is exited the below message appear:
Seems that the path to the script can not be found.
Image may be NSFW.
Clik here to view.
Thanks in advance.
A.
Part Number: TLV320AIC3262
Hi expert
My customer design this part and they have one question about the MEMS microphone start-up time which is connected to TLV320AIC3262IYZFR.
And when 3262 sent the first clock (DMIC_SCL) to MEMs microphone, 3262 should wait about 100ms then received MEMs' feedback- MIC_P valid output data.
So the customer would like to know is 100ms acceptable or not? Is it too long for our chip?
And do we have the specification for this response time?
Part Number: BQ25120A
Part Number: CC2640R2F
Hi TI support team,
If I supply VDDS = 3.3V, I need to know about input/output voltage level.
1. How much the value of input voltage for high level and low level ?
2. How much the value of output voltage for high level and low level ?
Thank you
Best Regards,
Part Number: CC1352P
Hi,
I'm using CC1352R1(peripheral) REV C and CC1352P1(central) REV E. When I run the peripheral and central examples from the sdk on respective launchpads(V2.4 for peripheral and V3.1 for central), the peripheral is getting disconnected. But it seems central device "doesn't know" about the disconnection as it is not printing "device address is disconnected" which is in GAP_LINK_TERMINATED_EVENT case. It seems this is the only way the central device knows that the peripheral is disconnected.
Is it a bug in the stack? If not, how to overcome it?
Part Number: AM5708
This is related to topic: https://e2e.ti.com/support/processors/f/791/t/639301
We have migrated from the 4.4 TI linux kernel to the newer 4.19.79+ kernel which is supported in the latest SDK release for AM57xx SoC.
Using the new U-Blox driver for a 4.20+ kernel on our platform, we see that the driver doesn't boot. According to U-Blox support this could be caused by SDHCI driver handling interrupts & clock:
"The problem is most likely related to SDIO IRQs from the module being lost, because the host switches off the SDIO clock between transfers, instead of keeping it running or switching to 1-bit mode as required by the spec. We've seen this issue on other TI AM57xx platforms as well with newer kernel versions that use sdhci driver instead of the older hsmmc."
Is there some way we could keep the sdio clock alive between transfers?
We are executing the following prior to loading the module:
echo on > /sys/class/mmc_host/mmc2/device/power/control echo on > /sys/class/mmc_host/mmc2/power/control echo 1 > /sys/devices/platform/44000000.ocp/480ad000.mmc/mmc_host/mmc2/rescan
But it isn't sufficient..
Below the full boot-log:
Thanks in advance,
Stef Boerrigter
Boot Log (Dmesg Output)
root@target:~# dmesg [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.19.73-00043-g58cd7d7-dirty (BEI\boerrs@aln-lx911922) (gcc version 7.3.0 (GCC)) #254 PREEMPT Mon Dec 2 13:35:42 CET 2019 [ 0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=10c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache [ 0.000000] OF: fdt: Machine model: TI AM5708 [ 0.000000] Memory policy: Data cache writeback [ 0.000000] Reserved memory: created CMA memory pool at 0x95800000, size 56 MiB [ 0.000000] OF: reserved mem: initialized node ipu2_cma@95800000, compatible id shared-dma-pool [ 0.000000] OMAP4: Map 0x9fe00000 to (ptrval) for dram barrier [ 0.000000] On node 0 totalpages: 119552 [ 0.000000] Normal zone: 1148 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 119552 pages, LIFO batch:31 [ 0.000000] CPU: All CPU(s) started in SVC mode. [ 0.000000] DRA722 ES2.1 [ 0.000000] random: get_random_bytes called from start_kernel+0xa0/0x49c with crng_init=0 [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 118404 [ 0.000000] Kernel command line: console=ttyO1,115200n8 rootwait noinitrd loglevel=7 HDMI-A-1:1280x800@60 vt.global_cursor_default=0 rw nfsroot=192.168.0.254:/srv/target/nfsroot root=/dev/nfs ip=192.168.0.1:192.168.0.254:192.168.0.254:255.255.255.0::eth0:off:: [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Memory: 390408K/478208K available (10240K kernel code, 791K rwdata, 3080K rodata, 1024K init, 7454K bss, 30456K reserved, 57344K cma-reserved, 0K highmem) [ 0.000000] Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xffc00000 - 0xfff00000 (3072 kB) vmalloc : 0xe0000000 - 0xff800000 ( 504 MB) lowmem : 0xc0000000 - 0xdfe00000 ( 510 MB) pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) modules : 0xbf000000 - 0xbfe00000 ( 14 MB) .text : 0x(ptrval) - 0x(ptrval) (11232 kB) .init : 0x(ptrval) - 0x(ptrval) (1024 kB) .data : 0x(ptrval) - 0x(ptrval) ( 792 kB) .bss : 0x(ptrval) - 0x(ptrval) (7455 kB) [ 0.000000] Running RCU self tests [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] rcu: RCU lockdep checking is enabled. [ 0.000000] Tasks RCU enabled. [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] OMAP clockevent source: timer1 at 32786 Hz [ 0.000000] arch_timer: cp15 timer(s) running at 6.14MHz (virt). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns [ 0.000005] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns [ 0.000023] Switching to timer-based delay loop, resolution 162ns [ 0.000280] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns [ 0.000295] OMAP clocksource: 32k_counter at 32768 Hz [ 0.001187] Console: colour dummy device 80x30 [ 0.001221] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar [ 0.001235] ... MAX_LOCKDEP_SUBCLASSES: 8 [ 0.001250] ... MAX_LOCK_DEPTH: 48 [ 0.001264] ... MAX_LOCKDEP_KEYS: 8191 [ 0.001277] ... CLASSHASH_SIZE: 4096 [ 0.001291] ... MAX_LOCKDEP_ENTRIES: 32768 [ 0.001304] ... MAX_LOCKDEP_CHAINS: 65536 [ 0.001317] ... CHAINHASH_SIZE: 32768 [ 0.001331] memory used by lock dependency info: 4655 kB [ 0.001344] per task-struct memory footprint: 1536 bytes [ 0.001392] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475) [ 0.001418] pid_max: default: 32768 minimum: 301 [ 0.001641] Security Framework initialized [ 0.001728] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.001748] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.003833] CPU: Testing write buffer coherency: ok [ 0.003945] CPU0: Spectre v2: using ICIALLU workaround [ 0.006421] Setting up static identity map for 0x80100000 - 0x80100060 [ 0.006783] rcu: Hierarchical SRCU implementation. [ 0.009952] devtmpfs: initialized [ 0.059014] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0 [ 0.060337] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.060381] futex hash table entries: 256 (order: 1, 11264 bytes) [ 0.062258] pinctrl core: initialized pinctrl subsystem [ 0.065351] NET: Registered protocol family 16 [ 0.065971] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.067743] omap_hwmod: l3_main_2 using broken dt data from ocp [ 0.369518] audit: initializing netlink subsys (disabled) [ 0.371328] cpuidle: using governor ladder [ 0.371476] cpuidle: using governor menu [ 0.380867] audit: type=2000 audit(0.360:1): state=initialized audit_enabled=0 res=1 [ 0.392134] gpio gpiochip0: (gpio-0-31): added GPIO chardev (254:0) [ 0.392417] gpiochip_setup_dev: registered GPIOs 0 to 31 on device: gpiochip0 (gpio-0-31) [ 0.392474] OMAP GPIO hardware version 0.1 [ 0.393789] gpio gpiochip1: (gpio-32-63): added GPIO chardev (254:1) [ 0.393941] gpiochip_setup_dev: registered GPIOs 32 to 63 on device: gpiochip1 (gpio-32-63) [ 0.395142] gpio gpiochip2: (gpio-64-95): added GPIO chardev (254:2) [ 0.395287] gpiochip_setup_dev: registered GPIOs 64 to 95 on device: gpiochip2 (gpio-64-95) [ 0.396484] gpio gpiochip3: (gpio-96-127): added GPIO chardev (254:3) [ 0.396637] gpiochip_setup_dev: registered GPIOs 96 to 127 on device: gpiochip3 (gpio-96-127) [ 0.397860] gpio gpiochip4: (gpio-128-159): added GPIO chardev (254:4) [ 0.398006] gpiochip_setup_dev: registered GPIOs 128 to 159 on device: gpiochip4 (gpio-128-159) [ 0.399216] gpio gpiochip5: (gpio-160-191): added GPIO chardev (254:5) [ 0.399367] gpiochip_setup_dev: registered GPIOs 160 to 191 on device: gpiochip5 (gpio-160-191) [ 0.400523] gpio gpiochip6: (gpio-192-223): added GPIO chardev (254:6) [ 0.400675] gpiochip_setup_dev: registered GPIOs 192 to 223 on device: gpiochip6 (gpio-192-223) [ 0.401956] gpio gpiochip7: (gpio-224-255): added GPIO chardev (254:7) [ 0.402103] gpiochip_setup_dev: registered GPIOs 224 to 255 on device: gpiochip7 (gpio-224-255) [ 0.435976] No ATAGs? [ 0.436014] hw-breakpoint: Failed to enable monitor mode on CPU 0. [ 0.437949] OMAP DMA hardware revision 0.0 [ 0.465211] edma 43300000.edma: memcpy is disabled [ 0.473880] edma 43300000.edma: TI EDMA DMA engine driver [ 0.491232] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported) [ 0.492181] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-vsys5v0[0]' [ 0.492689] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-vdd_3v3[0]' [ 0.493179] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-vdd_1v8[0]' [ 0.496149] omap-iommu 40d01000.mmu: 40d01000.mmu registered [ 0.496518] omap-iommu 40d02000.mmu: 40d02000.mmu registered [ 0.497013] omap-iommu 58882000.mmu: 58882000.mmu registered [ 0.497516] omap-iommu 55082000.mmu: 55082000.mmu registered [ 0.498216] iommu: Adding device 55020000.ipu to group 2 [ 0.499761] SCSI subsystem initialized [ 0.500274] usbcore: registered new interface driver usbfs [ 0.500411] usbcore: registered new interface driver hub [ 0.500572] usbcore: registered new device driver usb [ 0.503217] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz [ 0.504273] omap_i2c 48072000.i2c: bus 1 rev0.12 at 100 kHz [ 0.505104] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz [ 0.506399] omap_i2c 4807a000.i2c: bus 3 rev0.12 at 400 kHz [ 0.506815] pps_core: LinuxPPS API ver. 1 registered [ 0.506832] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.506875] PTP clock support registered [ 0.507851] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400 [ 0.508684] Advanced Linux Sound Architecture Driver Initialized. [ 0.511588] clocksource: Switched to clocksource arch_sys_counter [ 0.691131] missing cooling_device property [ 0.691155] failed to build thermal zone board_thermal: -2 [ 0.691463] NET: Registered protocol family 2 [ 0.692949] tcp_listen_portaddr_hash hash table entries: 256 (order: 1, 10240 bytes) [ 0.693024] TCP established hash table entries: 4096 (order: 2, 16384 bytes) [ 0.693101] TCP bind hash table entries: 4096 (order: 5, 147456 bytes) [ 0.693847] TCP: Hash tables configured (established 4096 bind 4096) [ 0.694082] UDP hash table entries: 256 (order: 2, 20480 bytes) [ 0.694206] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes) [ 0.694527] NET: Registered protocol family 1 [ 0.695747] RPC: Registered named UNIX socket transport module. [ 0.695800] RPC: Registered udp transport module. [ 0.695816] RPC: Registered tcp transport module. [ 0.695831] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.697784] Unpacking initramfs... [ 1.247625] Freeing initrd memory: 1648K [ 1.248805] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available [ 1.251846] Initialise system trusted keyrings [ 1.252276] workingset: timestamp_bits=14 max_order=17 bucket_order=3 [ 1.253243] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 1.254690] NFS: Registering the id_resolver key type [ 1.254779] Key type id_resolver registered [ 1.254830] Key type id_legacy registered [ 1.265618] Key type asymmetric registered [ 1.265703] Asymmetric key parser 'x509' registered [ 1.265809] io scheduler noop registered [ 1.265828] io scheduler deadline registered [ 1.265908] io scheduler cfq registered (default) [ 1.265926] io scheduler mq-deadline registered [ 1.265943] io scheduler kyber registered [ 1.272425] of_get_named_gpiod_flags: parsed 'device-enable' property of node '/tca9617bdgk@0[0]' - status (0) [ 1.272635] of_get_named_gpiod_flags: parsed 'device-enable' property of node '/tca9617bdgk@1[0]' - status (0) [ 1.278908] pinctrl-single 4a003400.pinmux: 282 pins, size 1128 [ 1.279355] pinctrl-single 4a002e8c.pinmux: initialized with no interrupts [ 1.279374] pinctrl-single 4a002e8c.pinmux: 1 pins, size 4 [ 1.287626] pwm-backlight backlight: GPIO lookup for consumer backlight-power-enable [ 1.287639] pwm-backlight backlight: using device tree for GPIO lookup [ 1.287685] of_get_named_gpiod_flags: parsed 'backlight-power-enable-gpios' property of node '/backlight[0]' - status (0) [ 1.287708] gpio gpiochip4: Persistence not supported for GPIO 18 [ 1.287727] pwm-backlight backlight: GPIO lookup for consumer enable [ 1.287737] pwm-backlight backlight: using device tree for GPIO lookup [ 1.287779] of_get_named_gpiod_flags: parsed 'enable-gpios' property of node '/backlight[0]' - status (0) [ 1.287844] gpio gpiochip0: Persistence not supported for GPIO 23 [ 1.288234] pwm-backlight backlight: Linked as a consumer to regulator.2 [ 1.290127] usbcore: registered new interface driver udlfb [ 1.290231] usbcore: registered new interface driver smscufx [ 1.305222] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 1.308982] omap_uart 4806a000.serial: no wakeirq for uart0 [ 1.309044] of_get_named_gpiod_flags: parsed 'rts-gpio' property of node '/ocp/serial@4806a000[0]' - status (0) [ 1.309138] serial_omap_probe_rs485: RSP RX Timeout set to 244 us [ 1.309157] serial_omap_probe_rs485: Driver vs Serial line discipline sync active [ 1.309494] 4806a000.serial: ttyO0 at MMIO 0x4806a000 (irq = 43, base_baud = 3000000) is a OMAP UART0 [ 1.310261] omap_uart 4806c000.serial: no wakeirq for uart1 [ 1.310305] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp/serial@4806c000[0]' [ 1.310400] 4806c000.serial: ttyO1 at MMIO 0x4806c000 (irq = 44, base_baud = 3000000) is a OMAP UART1 [ 2.192730] console [ttyO1] enabled [ 2.197592] usbcore: registered new interface driver udl [ 2.204058] omapdss_dss 58000000.dss: Linked as a consumer to regulator.2 [ 2.211252] omapdss_dss 58000000.dss: GPIO lookup for consumer lcd-power-enable [ 2.211264] omapdss_dss 58000000.dss: using device tree for GPIO lookup [ 2.211310] of_get_named_gpiod_flags: parsed 'lcd-power-enable-gpios' property of node '/ocp/dss@58000000[0]' - status (0) [ 2.211331] gpio gpiochip4: Persistence not supported for GPIO 19 [ 2.211903] omapdss_dss 58000000.dss: Dropping the link to regulator.2 [ 2.222480] dmm 4e000000.dmm: workaround for errata i878 in use [ 2.230716] dmm 4e000000.dmm: initialized all PAT entries [ 2.245976] panel-simple display: Linked as a consumer to regulator.2 [ 2.252989] panel-simple display: GPIO lookup for consumer enable [ 2.253001] panel-simple display: using device tree for GPIO lookup [ 2.253049] of_get_named_gpiod_flags: parsed 'enable-gpios' property of node '/display[0]' - status (0) [ 2.253071] gpio gpiochip6: Persistence not supported for GPIO 24 [ 2.270526] loop: module loaded [ 2.274463] of_get_named_gpiod_flags: parsed 'revision-gpios' property of node '/board-revision[0]' - status (0) [ 2.274522] of_get_named_gpiod_flags: parsed 'revision-gpios' property of node '/board-revision[1]' - status (0) [ 2.274579] of_get_named_gpiod_flags: parsed 'revision-gpios' property of node '/board-revision[2]' - status (0) [ 2.274638] of_get_named_gpiod_flags: parsed 'revision-gpios' property of node '/board-revision[3]' - status (0) [ 2.274762] of_get_named_gpiod_flags: parsed 'revision-gpios' property of node '/board-revision[4]' - status (0) [ 2.302440] BUCK0: supplied by vdd_3v3 [ 2.308500] BUCK1: supplied by vdd_3v3 [ 2.314310] LDO0: supplied by vdd_5v0 [ 2.319252] LDO1: supplied by vdd_5v0 [ 2.325433] BUCK0: supplied by vdd_5v0 [ 2.331001] BUCK1: supplied by vdd_5v0 [ 2.336627] LDO0: supplied by vdd_3v3 [ 2.341893] LDO1: supplied by vdd_3v3 [ 2.352078] mdio_bus fixed-0: GPIO lookup for consumer reset [ 2.352091] mdio_bus fixed-0: using lookup tables for GPIO lookup [ 2.352152] mdio_bus fixed-0: No GPIO consumer reset found [ 2.352325] libphy: Fixed MDIO Bus: probed [ 2.361294] mdio_bus 48485000.mdio: GPIO lookup for consumer reset [ 2.361307] mdio_bus 48485000.mdio: using device tree for GPIO lookup [ 2.361336] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/ethernet@48484000/mdio@48485000[0]' [ 2.361363] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/ethernet@48484000/mdio@48485000[0]' [ 2.361376] mdio_bus 48485000.mdio: using lookup tables for GPIO lookup [ 2.361389] mdio_bus 48485000.mdio: No GPIO consumer reset found [ 2.411644] davinci_mdio 48485000.mdio: davinci mdio revision 1.6, bus freq 1000000 [ 2.419669] libphy: 48485000.mdio: probed [ 2.433507] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/ethernet@48484000/mdio@48485000/ethernet-phy@1[0]' [ 2.434039] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driver TI DP83822 [ 2.443969] cpsw 48484000.ethernet: Read MACID from Registers = 74:e1:82:90:56:20 [ 2.452251] cpsw 48484000.ethernet: initialized cpsw ale version 1.4 [ 2.458901] cpsw 48484000.ethernet: ALE Table size 1024 [ 2.464524] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies) [ 2.474174] usbcore: registered new interface driver rtl8xxxu [ 2.490615] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 2.497491] ehci-platform: EHCI generic platform driver [ 2.503572] ehci-omap: OMAP-EHCI Host Controller driver [ 2.509534] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 2.516069] ohci-platform: OHCI generic platform driver [ 2.523749] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller [ 2.529611] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 1 [ 2.538005] xhci-hcd xhci-hcd.4.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x0000000002010010 [ 2.547910] xhci-hcd xhci-hcd.4.auto: irq 169, io mem 0x48890000 [ 2.555572] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19 [ 2.564337] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.571921] usb usb1: Product: xHCI Host Controller [ 2.577023] usb usb1: Manufacturer: Linux 4.19.73-00043-g58cd7d7-dirty xhci-hcd [ 2.584705] usb usb1: SerialNumber: xhci-hcd.4.auto [ 2.591815] hub 1-0:1.0: USB hub found [ 2.595961] hub 1-0:1.0: 1 port detected [ 2.601554] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller [ 2.607419] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 2 [ 2.615527] xhci-hcd xhci-hcd.4.auto: Host supports USB 3.0 SuperSpeed [ 2.622567] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 2.631373] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19 [ 2.640049] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.647637] usb usb2: Product: xHCI Host Controller [ 2.652776] usb usb2: Manufacturer: Linux 4.19.73-00043-g58cd7d7-dirty xhci-hcd [ 2.660429] usb usb2: SerialNumber: xhci-hcd.4.auto [ 2.666628] hub 2-0:1.0: USB hub found [ 2.670627] hub 2-0:1.0: 1 port detected [ 2.675944] xhci-hcd xhci-hcd.5.auto: xHCI Host Controller [ 2.681828] xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 3 [ 2.690126] xhci-hcd xhci-hcd.5.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x0000000002010010 [ 2.700096] xhci-hcd xhci-hcd.5.auto: irq 170, io mem 0x488d0000 [ 2.708346] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19 [ 2.717034] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.724618] usb usb3: Product: xHCI Host Controller [ 2.729720] usb usb3: Manufacturer: Linux 4.19.73-00043-g58cd7d7-dirty xhci-hcd [ 2.737397] usb usb3: SerialNumber: xhci-hcd.5.auto [ 2.743526] hub 3-0:1.0: USB hub found [ 2.747522] hub 3-0:1.0: 1 port detected [ 2.752482] xhci-hcd xhci-hcd.5.auto: xHCI Host Controller [ 2.758247] xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 4 [ 2.766362] xhci-hcd xhci-hcd.5.auto: Host supports USB 3.0 SuperSpeed [ 2.773447] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM. [ 2.782645] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19 [ 2.791297] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.798887] usb usb4: Product: xHCI Host Controller [ 2.804023] usb usb4: Manufacturer: Linux 4.19.73-00043-g58cd7d7-dirty xhci-hcd [ 2.811696] usb usb4: SerialNumber: xhci-hcd.5.auto [ 2.817784] hub 4-0:1.0: USB hub found [ 2.821860] hub 4-0:1.0: 1 port detected [ 2.826888] usbcore: registered new interface driver cdc_acm [ 2.832905] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 2.841415] usbcore: registered new interface driver usb-storage [ 2.848465] mousedev: PS/2 mouse device common for all mice [ 2.855796] atmel_mxt_ts 1-004a: GPIO lookup for consumer reset [ 2.855808] atmel_mxt_ts 1-004a: using device tree for GPIO lookup [ 2.855838] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/i2c@48072000/touch@4a[0]' [ 2.855866] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/i2c@48072000/touch@4a[0]' [ 2.855878] atmel_mxt_ts 1-004a: using lookup tables for GPIO lookup [ 2.855891] atmel_mxt_ts 1-004a: No GPIO consumer reset found [ 2.881793] atmel_mxt_ts 1-004a: __mxt_read_reg: i2c transfer failed (-121) [ 2.889252] atmel_mxt_ts 1-004a: mxt_bootloader_read: i2c recv failed (-121) [ 2.896659] atmel_mxt_ts 1-004a: Trying alternate bootloader address [ 2.903503] atmel_mxt_ts 1-004a: mxt_bootloader_read: i2c recv failed (-121) [ 2.911249] atmel_mxt_ts: probe of 1-004a failed with error -121 [ 2.917886] usbcore: registered new interface driver usbtouchscreen [ 2.953442] rtc-pcf85063 3-0051: rtc core: registered rtc-pcf85063 as rtc0 [ 2.960793] i2c /dev entries driver [ 2.974948] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec [ 2.985537] cpu cpu0: Linked as a consumer to regulator.9 [ 2.991357] cpu cpu0: Linked as a consumer to regulator.5 [ 3.002884] sdhci: Secure Digital Host Controller Interface driver [ 3.009349] sdhci: Copyright(c) Pierre Ossman [ 3.015277] sdhci-pltfm: SDHCI platform and OF driver helper [ 3.022092] sdhci-omap 4809c000.mmc: GPIO lookup for consumer cd [ 3.022104] sdhci-omap 4809c000.mmc: using device tree for GPIO lookup [ 3.022153] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@4809c000[0]' - status (0) [ 3.022176] gpio gpiochip5: Persistence not supported for GPIO 27 [ 3.022195] omap_gpio 4805d000.gpio: Could not set line 27 debounce to 200000 microseconds (-22) [ 3.031391] sdhci-omap 4809c000.mmc: Got CD GPIO [ 3.036320] sdhci-omap 4809c000.mmc: GPIO lookup for consumer wp [ 3.036331] sdhci-omap 4809c000.mmc: using device tree for GPIO lookup [ 3.036360] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@4809c000[0]' [ 3.036387] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@4809c000[0]' [ 3.036400] sdhci-omap 4809c000.mmc: using lookup tables for GPIO lookup [ 3.036412] sdhci-omap 4809c000.mmc: No GPIO consumer wp found [ 3.036732] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.4 [ 3.044059] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.2 [ 3.051210] sdhci-omap 4809c000.mmc: Dropping the link to regulator.2 [ 3.058281] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.2 [ 3.066494] mmc_add_host: mmc0 [ 3.070100] mmc_add_host: mmc0 [ 3.099784] mmc0: SDHCI controller on 4809c000.mmc [4809c000.mmc] using ADMA [ 3.110338] sdhci-omap 480b4000.mmc: GPIO lookup for consumer cd [ 3.110361] sdhci-omap 480b4000.mmc: using device tree for GPIO lookup [ 3.110420] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@480b4000[0]' [ 3.110596] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@480b4000[0]' [ 3.110623] sdhci-omap 480b4000.mmc: using lookup tables for GPIO lookup [ 3.110649] sdhci-omap 480b4000.mmc: No GPIO consumer cd found [ 3.110682] sdhci-omap 480b4000.mmc: GPIO lookup for consumer wp [ 3.110703] sdhci-omap 480b4000.mmc: using device tree for GPIO lookup [ 3.110755] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@480b4000[0]' [ 3.110806] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@480b4000[0]' [ 3.110831] sdhci-omap 480b4000.mmc: using lookup tables for GPIO lookup [ 3.110854] sdhci-omap 480b4000.mmc: No GPIO consumer wp found [ 3.113315] sdhci-omap 480b4000.mmc: Linked as a consumer to regulator.3 [ 3.120642] sdhci-omap 480b4000.mmc: Dropping the link to regulator.3 [ 3.127981] sdhci-omap 480b4000.mmc: Linked as a consumer to regulator.3 [ 3.137335] mmc_add_host: mmc1 [ 3.140936] mmc_add_host: mmc1 [ 3.169782] mmc1: SDHCI controller on 480b4000.mmc [480b4000.mmc] using ADMA [ 3.178559] sdhci-omap 480ad000.mmc: GPIO lookup for consumer cd [ 3.178574] sdhci-omap 480ad000.mmc: using device tree for GPIO lookup [ 3.178615] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@480ad000[0]' [ 3.178650] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@480ad000[0]' [ 3.178668] sdhci-omap 480ad000.mmc: using lookup tables for GPIO lookup [ 3.178684] sdhci-omap 480ad000.mmc: No GPIO consumer cd found [ 3.178705] sdhci-omap 480ad000.mmc: GPIO lookup for consumer wp [ 3.178719] sdhci-omap 480ad000.mmc: using device tree for GPIO lookup [ 3.178846] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@480ad000[0]' [ 3.178881] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@480ad000[0]' [ 3.178898] sdhci-omap 480ad000.mmc: using lookup tables for GPIO lookup [ 3.178914] sdhci-omap 480ad000.mmc: No GPIO consumer wp found [ 3.179544] sdhci-omap 480ad000.mmc: Linked as a consumer to regulator.2 [ 3.187220] sdhci-omap 480ad000.mmc: Dropping the link to regulator.2 [ 3.194524] sdhci-omap 480ad000.mmc: Linked as a consumer to regulator.2 [ 3.204337] mmc_add_host: mmc2 [ 3.207793] random: fast init done [ 3.212143] mmc_add_host: mmc2 [ 3.215412] mmc0: host does not support reading read-only switch, assuming write-enable [ 3.227544] mmc0: new high speed SDHC card at address aaaa [ 3.236488] mmcblk0: mmc0:aaaa SA08G 7.40 GiB [ 3.245874] mmcblk0: p1 p2 [ 3.248961] mmc2: SDHCI controller on 480ad000.mmc [480ad000.mmc] using PIO [ 3.261204] ledtrig-cpu: registered to indicate activity on CPUs [ 3.274819] ti-iodelay 4844a000.padconf: Set reg 0x194 Delay(a: 285 g: 0), Elements(C=0 F=8)0x29008 [ 3.286393] optee: probing for conduit method from DT. [ 3.291878] ti-iodelay 4844a000.padconf: Set reg 0x1ac Delay(a: 189 g: 0), Elements(C=0 F=5)0x29005 [ 3.301342] ti-iodelay 4844a000.padconf: Set reg 0x1b8 Delay(a: 0 g: 120), Elements(C=0 F=2)0x29002 [ 3.311228] optee: revision 3.2 (0dd915f1) [ 3.312041] optee: initialized driver [ 3.325495] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/i2c@4807a000/tlv320aic3104@18[0]' [ 3.325523] of_get_named_gpiod_flags: can't parse 'gpio-reset' property of node '/ocp/i2c@4807a000/tlv320aic3104@18[0]' [ 3.325887] tlv320aic3x-codec 3-0018: Linked as a consumer to regulator.2 [ 3.333154] ti-iodelay 4844a000.padconf: Set reg 0x1c4 Delay(a: 0 g: 70), Elements(C=0 F=1)0x29001 [ 3.342924] tlv320aic3x-codec 3-0018: Linked as a consumer to regulator.3 [ 3.350165] ti-iodelay 4844a000.padconf: Set reg 0x1d0 Delay(a: 730 g: 360), Elements(C=1 F=12)0x2902c [ 3.366645] oprofile: using timer interrupt. [ 3.371203] ti-iodelay 4844a000.padconf: Set reg 0x1dc Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000 [ 3.381353] Initializing XFRM netlink socket [ 3.385995] NET: Registered protocol family 17 [ 3.390685] NET: Registered protocol family 15 [ 3.395468] ti-iodelay 4844a000.padconf: Set reg 0x1e8 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000 [ 3.405192] Key type dns_resolver registered [ 3.409898] ti-iodelay 4844a000.padconf: Set reg 0x1f4 Delay(a: 70 g: 0), Elements(C=0 F=2)0x29002 [ 3.419517] ThumbEE CPU extension supported. [ 3.424117] Registering SWP/SWPB emulation handler [ 3.429201] ti-iodelay 4844a000.padconf: Set reg 0x200 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000 [ 3.438561] omap_voltage_late_init: Voltage driver support not added [ 3.445439] Power Management for TI OMAP4+ devices. [ 3.450729] ti-iodelay 4844a000.padconf: Set reg 0x368 Delay(a: 0 g: 120), Elements(C=0 F=2)0x29002 [ 3.462383] Loading compiled-in X.509 certificates [ 3.467607] ti-iodelay 4844a000.padconf: Set reg 0x190 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000 [ 3.484526] ti-iodelay 4844a000.padconf: Set reg 0x1a8 Delay(a: 231 g: 0), Elements(C=0 F=6)0x29006 [ 3.500812] ti-iodelay 4844a000.padconf: Set reg 0x1b4 Delay(a: 39 g: 0), Elements(C=0 F=1)0x29001 [ 3.510822] Key type encrypted registered [ 3.515925] ima: No TPM chip found, activating TPM-bypass! [ 3.522134] ima: Allocated hash algorithm: sha1 [ 3.526960] ti-iodelay 4844a000.padconf: Set reg 0x1c0 Delay(a: 91 g: 0), Elements(C=0 F=2)0x29002 [ 3.536811] evm: Initialising EVM extended attributes: [ 3.542359] evm: security.ima [ 3.545539] ti-iodelay 4844a000.padconf: Set reg 0x1d8 Delay(a: 176 g: 0), Elements(C=0 F=5)0x29005 [ 3.555388] evm: security.capability [ 3.559382] evm: HMAC attrs: 0x1 [ 3.563130] ti-iodelay 4844a000.padconf: Set reg 0x1e4 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000 [ 3.583232] ti-iodelay 4844a000.padconf: Set reg 0x1f0 Delay(a: 101 g: 0), Elements(C=0 F=2)0x29002 [ 3.601647] ti-iodelay 4844a000.padconf: Set reg 0x1fc Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000 [ 3.610947] ti-iodelay 4844a000.padconf: Set reg 0x364 Delay(a: 360 g: 0), Elements(C=0 F=10)0x2900a [ 3.659583] mmc1: new HS200 MMC card at address 0001 [ 3.674020] mmcblk1: mmc1:0001 004G60 3.67 GiB [ 3.680001] mmcblk1boot0: mmc1:0001 004G60 partition 1 2.00 MiB [ 3.702924] mmcblk1boot1: mmc1:0001 004G60 partition 2 2.00 MiB [ 3.710440] mmcblk1gp0: mmc1:0001 004G60 partition 4 4.00 MiB [ 3.732894] mmcblk1gp1: mmc1:0001 004G60 partition 5 4.00 MiB [ 3.746612] mmcblk1rpmb: mmc1:0001 004G60 partition 3 512 KiB, chardev (242:0) [ 3.756547] omapdss_dss 58000000.dss: Linked as a consumer to regulator.2 [ 3.763865] mmcblk1: p1 p2 [ 3.769970] omapdss_dss 58000000.dss: GPIO lookup for consumer lcd-power-enable [ 3.769989] omapdss_dss 58000000.dss: using device tree for GPIO lookup [ 3.770423] of_get_named_gpiod_flags: parsed 'lcd-power-enable-gpios' property of node '/ocp/dss@58000000[0]' - status (0) [ 3.770469] gpio gpiochip4: Persistence not supported for GPIO 19 [ 3.772150] DSS: OMAP DSS rev 6.1 [ 3.778431] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops) [ 3.824181] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 3.831311] [drm] No driver support for vblank timestamp query. [ 3.896641] [drm] Enabling DMM ywrap scrolling [ 3.920759] Console: switching to colour frame buffer device 160x50 [ 4.199476] omapdrm omapdrm.0: fb0: omapdrm frame buffer device [ 4.212501] [drm] Initialized omapdrm 1.0.0 20110917 for omapdrm.0 on minor 0 [ 4.224306] of_get_named_gpiod_flags: parsed 'amplifier-sd-gpio' property of node '/sound@0[0]' - status (0) [ 4.225017] of_get_named_gpiod_flags: can't parse 'simple-audio-card,hp-det-gpio' property of node '/sound@0[0]' [ 4.225074] of_get_named_gpiod_flags: can't parse 'simple-audio-card,mic-det-gpio' property of node '/sound@0[0]' [ 4.227337] asoc-simple-card sound@0: tlv320aic3x-hifi <-> 48468000.mcasp mapping ok [ 4.247080] of_get_named_gpiod_flags: parsed 'gpios' property of node '/on-off-key/on-off-key[0]' - status (0) [ 4.247108] gpio gpiochip4: Persistence not supported for GPIO 1 [ 4.247596] input: on-off-key as /devices/platform/on-off-key/input/input0 [ 4.258745] rtc-pcf85063 3-0051: setting system clock to 2019-09-15 09:00:41 UTC (1568538041) [ 4.271209] net eth0: initializing cpsw version 1.15 (0) [ 4.301412] TI DP83822 48485000.mdio:01: attached PHY driver [TI DP83822] (mii_bus:phy_addr=48485000.mdio:01, irq=POLL) [ 4.491677] Waiting up to 2 more seconds for network. [ 4.671733] Waiting up to 2 more seconds for network. [ 4.851676] Waiting up to 1 more seconds for network. [ 5.031676] Waiting up to 1 more seconds for network. [ 5.211677] Waiting up to 1 more seconds for network. [ 5.391739] Waiting up to 1 more seconds for network. [ 5.571677] Waiting up to 1 more seconds for network. [ 5.751672] Waiting up to 1 more seconds for network. [ 5.931670] Waiting up to 0 more seconds for network. [ 6.111679] Waiting up to 0 more seconds for network. [ 6.291783] Waiting up to 0 more seconds for network. [ 6.351678] IP-Config: Complete: [ 6.355119] device=eth0, hwaddr=74:e1:82:90:56:20, ipaddr=192.168.0.1, mask=255.255.255.0, gw=192.168.0.254 [ 6.366278] host=192.168.0.1, domain=, nis-domain=(none) [ 6.373091] bootserver=192.168.0.254, rootserver=192.168.0.254, rootpath= [ 6.382941] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 6.393220] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 6.400960] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 6.411519] ALSA device list: [ 6.414857] cfg80211: failed to load regulatory.db [ 6.420208] #0: Target-Audio [ 6.425638] Freeing unused kernel memory: 1024K [ 6.430635] Run /init as init process [ 6.436672] cpsw 48484000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx [ 7.254527] systemd[1]: systemd 234 running in system mode. (-PAM -AUDIT -SELINUX -IMA -APPARMOR -SMACK +SYSVINIT -UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL -XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN default-hierarchy=hybrid) [ 7.278760] systemd[1]: Detected architecture arm. [ 7.316553] systemd[1]: Set hostname to <target>. [ 7.946087] random: systemd: uninitialized urandom read (16 bytes read) [ 7.953509] systemd[1]: Listening on Network Service Netlink Socket. [ 7.993385] random: systemd: uninitialized urandom read (16 bytes read) [ 8.000707] systemd[1]: Listening on udev Kernel Socket. [ 8.031798] random: systemd: uninitialized urandom read (16 bytes read) [ 8.040008] systemd[1]: Listening on Journal Socket (/dev/log). [ 8.072125] systemd[1]: Reached target Paths. [ 8.114048] systemd[1]: Created slice System Slice. [ 8.148894] systemd[1]: Mounting Kernel Debug File System... [ 8.198046] systemd[1]: Mounting POSIX Message Queue File System... [ 8.830325] random: crng init done [ 8.833947] random: 7 urandom warning(s) missed due to ratelimiting [ 9.651515] systemd-journald[128]: Received request to flush runtime journal from PID 1 [ 12.973530] power_module: loading out-of-tree module taints kernel. [ 13.045099] of_get_named_gpiod_flags: parsed 'wlan-enable-gpio' property of node '/power-module[0]' - status (0) [ 13.045164] of_get_named_gpiod_flags: parsed 'power-good-gpio' property of node '/power-module[0]' - status (0) [ 13.045388] of_get_named_gpiod_flags: parsed 'bsp-support-gpios' property of node '/power-module[0]' - status (0) [ 13.045576] of_get_named_gpiod_flags: parsed 'bsp-support-gpios' property of node '/power-module[1]' - status (0) [ 13.156208] mmc2: new high speed SDIO card at address 0001 [ 14.112968] EXT4-fs (mmcblk1gp0): mounted filesystem with ordered data mode. Opts: (null) [ 14.150970] EXT4-fs (mmcblk1gp1): mounted filesystem with ordered data mode. Opts: (null) [ 24.371626] mlan: module license 'Marvell Proprietary' taints kernel. [ 24.378496] Disabling lock debugging due to kernel taint [ 24.454788] wlan: Loading MWLAN driver [ 24.465491] vendor=0x02DF device=0x9139 class=0 function=1 [ 24.473168] rx_work=0 cpu_num=1 [ 24.483761] Request firmware: mrvl/sd8801_uapsta.bin [ 25.284818] Wlan: FW download over, firmwarelen=256188 downloaded 256188 [ 25.495062] WLAN FW is active [ 25.498220] QUEUE_CMD: cmd=0xa9 is queued [ 25.504999] QUEUE_CMD: cmd=0x3 is queued [ 25.509124] DNLD_CMD (1568538062.750397): 0xa9, act 0x0, len 8, seqno 0x1 [ 25.518762] DNLD_CMD: [ 25.518773] a9 00 08 00 01 00 00 00 [ 30.561669] Driver version = SD8801-0.0.0.p0-C4X14C635-GPL-(FP68) [ 30.568216] main_state = 1 [ 30.571081] ioctl_pending = 0 [ 30.579071] tx_pending = 0 [ 30.585657] rx_pending = 0 [ 30.588496] lock_count = 28 [ 30.591470] malloc_count = 26 [ 30.598227] mbufalloc_count = 0 [ 30.601519] hs_skip_count = 0 [ 30.607315] hs_force_count = 0 [ 30.610539] Wakeup device... [ 30.616178] woal_request_fw failed - mrvl/sd8801_uapsta.bin [ 30.623345] Firmware Init Failed
Tool/software: TI C/C++ Compiler
Hello!
We have observed a big increase of code size when moving from using CGT 7.3.23 to CGT 8.3.4. In both compilations, we are using the same compiler flags:
--mem_model:data=far -pdse9 -pdse48 -pdse190 -pdse225 -pdse262 -pdse849 -pdse994 -mi1000 -mv6600 -mo --strip_coff_underscore --disable_push_pop -o3 -ms0
One reason why binary's size is increased is that compiler adds unnecessary NOPs to the code, to align fetch packet boundaries.
And that is visible when it is using so called compact instructions, i.e.16-bit op-codes
CGT 8.3.x
840006f0 10102413 CALLP.S2 $Tramp$S$$AaMemCheckTag (PC+33056 = 0x84008800),B3
840006f4 0c6e || NOP 1
840006f6 0c6e || NOP 1
840006f8 0c6e || NOP 1
840006fa 0c6e || NOP 1
840006fc ec401c0c .fphead n, l, W, BU, nobr, nosat, 1100010b
84000700 $C$RL204:
84000700 2226 CMPEQ.L1 1,A4,A0
84000702 3a76 || MVK.D1 1,A4
84000704 0473902b || MVK.S2 0xffffe720,B8
84000708 04737c29 || MVK.S1 0xffffe6f8,A8
8400070c 0727 || MVK.L2 0,B6
CGT 7.3.x
821f616c 100c1612 CALLP.S2 $Tramp$S$$AaMemCheckTag (PC+24752 = 0x821fc210),B3
821f6170 2226 CMPEQ.L1 1,A4,A0
821f6172 48aa [ A0] BNOP.S1 $C$L63 (PC+68 = 0x821f61a4),2
821f6174 0446aca9 MVK.S1 0xffff8d59,A8
821f6178 020017aa || MVK.S2 0x002f,B4
821f617c e2208003 .fphead n, l, W, BU, br, nosat, 0010001b
And an another problem which is visible, which also adds unnecessary NOPs, which is NOT visible with CGT 7.3.x compilations either:
1081ec50 0fff6410 B.S1 odo_send_helper (PC-1248 = 0x1081e760) -> here we call "odo_send_helper" and the actual "return" is done inside odo_send_helper
1081ec54 71f7 LDW.D2T2 *++B15[2],B3
1081ec56 8047 MV.L2 B0,B4
1081ec58 1313 MVK.S2 16,B6
1081ec5a 16c6 MV.L1X B5,A8
1081ec5c ec000000 .fphead n, l, W, BU, nobr, nosat, 1100000b
1081ec60 00000000 NOP
And the compiler generates an extra return symbol + NOPs, which is never used!!
1081ec64 $C$RL24:
1081ec64 00000000 NOP
1081ec68 00000000 NOP
1081ec6c 00000000 NOP
1081ec70 00000000 NOP
1081ec74 00000000 NOP
1081ec78 00000000 NOP
1081ec7c 00000000 NOP
1081ec80 send:
1081ec80 .text:send:
1081ec80 01ab0228 MVK.S1 0x5604,A3
1081ec84 018843e8 MVKH.S1 0x10870000,A3
1081ec88 018c0264 LDW.D1T1 *+A3[0],A3
1081ec8c d246 MV.L1X B4,A6
1081ec8e cf27 MVK.L2 14,B6
1081ec90 0400a358 MVK.L1 0,A8
1081ec94 0fff5c10 B.S1 odo_send_helper (PC-1312 = 0x1081e760)
1081ec98 020c4266 LDW.D1T2 *+A3[2],B4
1081ec9c e1000000 .fphead n, l, W, BU, nobr, nosat, 0001000b
1081eca0 00006000 NOP 4
1081eca4 $C$RL26:
1081eca4 00000000 NOP
1081eca8 00000000 NOP
1081ecac 00000000 NOP
1081ecb0 00000000 NOP
1081ecb4 00000000 NOP
1081ecb8 00000000 NOP
1081ecbc 00000000 NOP
1081ecc0 odo_send_w_s_safe:
Would you be able to explain why the new compiler generates such unoptimal code?
Second problem is that we are seeing unnecessary symbols (visible in the code but used nowhere) in DWARF structure:
0x00000000 0x00000004 poolIdPrivate
0x00000000 0x00000004 DSP2ARMSender1_
0x00000000 0x00000004 DSP2ARMReceiver1_
0x00000000 0x00000019 $P$T1$2
0x00000000 0x00000004 ret_addr
0x00000000 0x00000004 bufferSize
0x00000000 0x00000004 bufferSize
0x00000000 0x00000004 CHIPDSP_MASK
0x00000000 0x00000800 fftcHostDesc
0x00000000 0x00000004 TEST_LENGTH_IN_SECS
0x00000000 0x00000004 HwSemProcess5_
0x00000000 0x00000004 TBTS_TEST_COMPLETE_IND_MSG
0x00000000 0x00000018 gEthernetLoopbackStatsLastPeriod
0x00000000 0x00000008 IpAddr
0x00000000 0x00000400 gEthFrameBuffer
0x00000000 0x00000002 fragmentIdentification
Br,
Risto Alasaarela