oreboot / oreboot/oreboot

write USB driver so we get fastboot

Open
#786 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
1.8k
Forks
113
PR merge metrics
No merged PRs in 30d

Description

Use drviver toolkit for registers; see https://crates.io/crates/device-driver

A USB crate already exists, providing the trait to implement per platform:
https://crates.io/crates/usb-device

USB

DWC2

There is already a Synopsys USB OTG crate:
https://github.com/stm32-rs/synopsys-usb-otg

Look at Linux, U-Boot etc for register block for DWC2 (DesignWare USB 2.0 controller; commonly used on SoCs we support)

NOTE: variants exists; start with one thing, don't care about quirks, just get it done

fastboot

we can implement fastboot on top, which is rather simple; we already have https://github.com/platform-system-interface/fastboot

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the device-driver, usb-device, and synopsys-usb-otg crates, then compare the Linux DWC2 sources in drivers/usb/dwc2/core.c and hw.h. Define a supported DWC2 variant and verify that its USB functionality can support the fastboot implementation from platform-system-interface/fastboot; the issue does not name an oreboot file or test.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
embedded-iot, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.