I can’t program the SD card. I’ve now tried multiple images, multiple SD card adapters (including the slot on the side of my laptop), and 2 different microSD cards.
I get this errors, which doesn’t give me much to go by (the image I’m flashing is not compressed)
Please try this version: Release v1.18.12 · balena-io/etcher · GitHub
(that’s the version i use daily) i’ll try newer ones to see where it broke…
Regards,
I was able to flash the SD card at home last night…not sure what was different (different laptop perhaps) --took a few tries, though.
I updated the S/w on the beagle bone:
And am now able to ssh into the beaglebone – SUCCESS!!
– now on to try and see if I can get it to generate the USB test patterns
thank you very much for your patience and help!
Jorge
should I be able to make the menuconfig file? or are these files missing from this build?
I’m trying to follow this:
7115.UsbgeneralpageLinuxCore - Texas Instruments Wiki.pdf (360.7 KB)
(last page).
So we built-in musb
for the Beagle/am335x devices. Looking at that pdf, are you more interested in the MUSB configuration or the Gadget stuff?
MUSB: we PIO mode for USB stability (MUSB DMA mode is fundamentally broken on am335x, except for specific usb corner cases)
Gadget: this document is going down the path of discrete gadget drivers, we’ve moved on to using libcomposite/configfs to configure our usb gadget’s…
For example, on your build, this the usb gadget stack:
On bootup, systemd fires usb-gadget.target
this triggers our service file: repos/bb-usb-gadgets/suite/bullseye/debian/bb-usb-gadgets.bb-usb-gadgets.service at master · rcn-ee/repos · GitHub
This loads libcomposite
and starts: /usr/bin/bb-start-usb-gadgets
: repos/bb-usb-gadgets/suite/bullseye/debian/bb-start-usb-gadgets at master · rcn-ee/repos · GitHub
/usr/bin/bb-start-usb-gadgets
is where i was playing around with built-in examples from libusbgx/examples at master · linux-usb-gadgets/libusbgx · GitHub
But we by default run our /usr/bin/bb-start-acm-ncm-rndis-old-gadget
which mirrors the default we’ve used for years… repos/bb-usb-gadgets/suite/bullseye/debian/bb-start-acm-ncm-rndis-old-gadget at master · rcn-ee/repos · GitHub
Windows 10 RNDIS driver: repos/bb-usb-gadgets/suite/bullseye/debian/bb-start-acm-ncm-rndis-old-gadget at master · rcn-ee/repos · GitHub
Windows 11/Linux/Mac NCM driver: repos/bb-usb-gadgets/suite/bullseye/debian/bb-start-acm-ncm-rndis-old-gadget at master · rcn-ee/repos · GitHub
When Windows 10 goes EOL next year, we will drop RNDIS…
USB Flash drive: repos/bb-usb-gadgets/suite/bullseye/debian/bb-start-acm-ncm-rndis-old-gadget at master · rcn-ee/repos · GitHub
libcomposite: support a lot of usb functions, so you can tweak these. function « gadget « usb « drivers - kernel/git/torvalds/linux.git - Linux kernel source tree
Regards,
MUSB…
all I"m looking to do at the moment is run the USB test patterns from the beaglebone…
that doc has an older directory…
debian@23-am335x-bbb:~$ uname -r
5.10.168-ti-r77
debian@23-am335x-bbb:~$ tree /sys/kernel/debug/usb/musb-hdrc.*/
/sys/kernel/debug/usb/musb-hdrc.0/
├── regdump
├── softconnect
└── testmode
/sys/kernel/debug/usb/musb-hdrc.0.dsps/
└── regdump
/sys/kernel/debug/usb/musb-hdrc.1/
├── regdump
├── softconnect
└── testmode
/sys/kernel/debug/usb/musb-hdrc.1.dsps/
└── regdump
0 directories, 8 files
Regards,