GithubHelp home page GithubHelp logo

Comments (11)

pelwell avatar pelwell commented on June 2, 2024 2

Cool. We're happy that it's a low-risk change, so it will appear in the next firmware release.

from linux.

pelwell avatar pelwell commented on June 2, 2024 1

There is a surprising amount that needs to be done when enabling the XHCI controller on that port. I don't think it's reasonable to expect the kernel to do it. However, the firmware could fairly easily look at the state of the USB controllers in DT, determine that the XHCI controller is wanted, and set otg_mode=1 automatically.

We'll give it some thought.

from linux.

pelwell avatar pelwell commented on June 2, 2024

we don't want to touch the config.txt

How are you applying the overlays - U-boot?

from linux.

iluminat23 avatar iluminat23 commented on June 2, 2024

No, with a hat-eeprom. This Test was done with the config.txt and an cm4 io-board. But it's the same on our custom hardware

from linux.

iluminat23 avatar iluminat23 commented on June 2, 2024

This would be great for us

from linux.

pelwell avatar pelwell commented on June 2, 2024

Here's a test firmware (the various start4 and fixup4 files) that should do what you want:
xhci_test_240325.zip
It's tested to the extent that it boots with and without the xhci node being enabled, and with it enabled an extra USB bus appeared.

from linux.

iluminat23 avatar iluminat23 commented on June 2, 2024

Hi Phil, this works great.

from linux.

iluminat23 avatar iluminat23 commented on June 2, 2024

Will this also appear for bullseye?

from linux.

pelwell avatar pelwell commented on June 2, 2024

There's no reason it couldn't. If we were to make further bullseye releases, they would include this new firmware and presumably any 6.1 backports, but the frequency of such releases is TBD.

from linux.

dirkdimehead avatar dirkdimehead commented on June 2, 2024

sorry for bothering you here.

I have a similar problem. If I activate BCM-USB-MSD in the BOOT_ORDER and have xhci (regardless of otg_mode=1 or overlay) active at the same time, the boot process hangs until I insert a USB stick:
MESS:00:00:32.645213:0: Loaded 'Image.bin' to 0x200000 size 0x15dea00
MESS:00:00:32.651393:0: Device tree loaded to 0x2eff2c00 (size 0xd3a0)
MESS:00:00:32.660049:0: uart: Set PL011 baud rate to 103448.300000 Hz
MESS:00:00:32.666693:0: uart: Baud rate change done...
MESS:00:00:32.668715:0:

from linux.

pelwell avatar pelwell commented on June 2, 2024

This is definitely not the right place - https://github.com/raspberrypi/rpi-eeprom would be better. You'll need to explain which boot mode you are expecting it to use, and where that boot mode is in the sequence.

from linux.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.