Project

General

Profile

Activity

From 11/29/2024 to 12/28/2024

12/10/2024

JC 03:03 PM Software Development: RE: USB Device mode communication problems
https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1449610/am625-backport-disable-usb-lpm-to-6-6-kernel-- Jonathan Cormier
JC 02:44 PM Software Development: RE: USB Device mode communication problems
iseori kang wrote in message#6830:
> Hello,
> ...
Good find. Interestingly in the 6.6 kernel both the AM62A and AM62P have those lpm-disable options for both USB0 and USB1.
https://lore.kernel.org/all/20240412-for-v6-10-am62-usb-t...
Jonathan Cormier
IK 09:46 AM Software Development: RE: USB Device mode communication problems
Hello,
The team seems to have solved it with the following settings.
Fixed Dts file
snps,usb2-lpm-disable;
snps,usb2-gadget-lpm-disable;
best regards,
iseori kang
IK 03:06 AM Software Development: RE: USB Device mode communication problems

Forwarding additional content
Messages when USB is working
[ 259.298196] drivers/usb/dwc3/gadget.c:3693 dwc3_gadget_interrupt() event->type = 0/Disconnect
[ 267.416974] drivers/usb/dwc3/gadget.c:3693 dwc3_gadget_interrupt() even...
iseori kang
IK 12:21 AM Software Development: RE: USB Device mode communication problems
Hello,
We noticed that the message is different for success and failure.
It is only coming from a few laptops.
(Lenovo family more often)
I've attached a schematic, nothing special.
USB1 is being used for internal communicatio...
iseori kang

12/09/2024

JC 03:27 PM Software Development: RE: USB Device mode communication problems
> Have you sent Jonathan a copy of your schematic, I can review that as well.
The schematic I received was only the ethernet section so its missing the USB.
Jonathan Cormier
MW 02:15 PM Software Development: RE: USB Device mode communication problems
I have not been able to reproduce it here, yet.
Do you get any messages from "dmesg" when the communication is dropped?
If you unplug and replug the cable, does the connection re-establish?
Have you sent Jonathan a copy of your ...
Michael Williamson
IK 07:10 AM Software Development: RE: USB Device mode communication problems
Hello, Mike.
Do you have any updates on this?
Thank you and best regards,
iseori kang

12/03/2024

JC 04:13 PM Software Development: RE: flash script needs to boot enable the device
Hi Nathan, Thanks for letting us know. I've pushed the fix to the kirstone and scarthgap branches. Jonathan Cormier

12/02/2024

JC 07:18 PM Software Development: RE: u-boot environment initialization
> The probable source of my confusion is that I thought those we were same place.
> ...
Correct. eMMC spec adds two unique boot sections and an rpmb? section. Which are distinct from the regular flash storage area seen on sdcards.
Jonathan Cormier
JC 04:56 PM Software Development: RE: u-boot environment initialization
Pushed fix to u-boot 2023 and 2024
https://support.criticallink.com/gitweb/?p=u-boot-ti.git;a=commit;h=bb86b0aa5782cc2dcf2fe95c6009c93ae9394263
Test printing the environment after having saved it from u-boot
Jonathan Cormier
JC 04:10 PM Software Development: RE: u-boot environment initialization
It looks to me like this is misconfigured in both 2023 and 2024 u-boot.
Here is a trimmed-down version of the u-boot config.
Jonathan Cormier
NW 03:32 PM Software Development: RE: u-boot environment initialization
In my checks I tested both blocks. Reading back mmcblk0boot0 did show the environment. Reading back mmcblk0 did not have the environment. This is why I was speculating that Linux wasn't really writing to the actual device.
The prob...
Nathan Wright
JC 03:14 PM Software Development: RE: u-boot environment initialization
Note according to our emmc boot instructions. https://support.criticallink.com/redmine/projects/mitysom_am62x/wiki/Boot_EMMC#EMMC-Layout
We do expect the environment to be in the boot0 block. My first guess is this was tested with th...
Jonathan Cormier
JC 03:08 PM Software Development: RE: u-boot environment initialization
> Or did you mean you dumped out /dev/mmblk0boot0 in your check?
Can you confirm this part of Mike's question?
It sounds like you were writing to mmcblk0boot0 but u-boot is using mmblk0 instead for the environment location. If that'...
Jonathan Cormier
NW 01:38 PM Software Development: RE: u-boot environment initialization
How would I determine that?
In uboot, there is the mmc command and the existing script sets mmcdev to 0 and bootpart to 0 (once it failed to boot at mmcdev 1, bootpart 1:2).
I was under the impression that the mmcblk0boot0 was a ...
Nathan Wright

11/30/2024

MW 12:16 PM Software Development: RE: u-boot environment initialization
Hi Nathan,
Based on this from your comment:
_So I took an image of first 9000 512 blocks of /dev/mmcblk0 ..._
I am wondering if uBoot is booting from /dev/mmcblk0 and not /dev/mmblk0boot0 (which would explain your results). Or ...
Michael Williamson
 

Also available in: Atom