Quantcast
Viewing all articles
Browse latest Browse all 4844

Troubleshooting • Re: Bios does not recognize raspberry Pi in g_multi mode

Power might also be an issue. If the Pi is solely powered by the laptop enough current may not be available. USB2 devices shouldn't draw more than 500mA (100mA before enumeration), USB3 devices without PD should draw no more than 900mA. 500mA is border line for a 4B let a lone a Pi5.
I cant say exacly how much power the Laptop is giving to the Pi but iam 99% sure its enough, the Raspberry is connected through a thunderbolt port which should be more than capable of delivering enough power for the RaspberryPi.

Don't know much about the thunderbolt specs. The Pi5 uses USB PD and requires a 5V/5A mode for full functionality. If the other end doesn't support that I'd expect the most you'll get is 5V/3A but that very much depends on what the laptop offers/defaults to.

On your config.txt:
  • You could remove

    Code:

    [cm5]dtoverlay=dwc2,dr_mode=peripheral
    . It should never be active on a P5.
  • Try changing

    Code:

    [all]dtoverlay=dwc2,dr_mode=peripheral
    to

    Code:

    [all]dtoverlay=dwc2
    There is no ID pin on the USB C connector and the SoC pin is left floating so peripheral is the default.
On your cmdline.txt and g_multi.conf:
I usually pass module parameters in cmdline.txt not via a .conf file. For example:

Code:

modules-load=dwc2,g_ether g_ether.dev_addr=12:22:33:44:55:66 g_ether.host_addr=16:22:33:44:55:66
On your backing store creation script:
That's not the way I do it. I generally create a non-sparse file then partition and format it on the target OS by passing it to g_mass_Storage.

You need to start looking at your logs. Bookworm doesn't use /var/log/syslog so see the ouput from dmesg and journalctl

Bottom Line: if your current g_multi setup can be seen on the same laptop after booting/outside its BIOS the BIOS is almost certainly the problem.

Statistics: Posted by thagrol — Tue Jul 23, 2024 12:34 pm



Viewing all articles
Browse latest Browse all 4844

Trending Articles