Skip to content

arm: rpi: Enable USB, Ethernet, MMC, Video driver model on Raspberry Pi

Stefan Bruens u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v5 Latest5 of 19 patches 0 repliesNew

5 of 19 patches are in this archive. The cover letter announces 19.

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/19usb: dwc2: Use separate input and output buffers+0 -01 reply
2/19usb: dwc2: Use separate input and output buffers+0 -01 reply
2/19usb: dwc2: Use separate input and output buffers+0 -01 reply
2/19usb: dwc2: Use separate input and output buffers+0 -01 reply
2/19usb: dwc2: Use separate input and output buffers+0 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [U-Boot] [PATCH v5 00/19] arm: rpi: Enable USB, Ethernet, MMC, Video driver model on Raspberry Pi
Quoted 31 lines · On Samstag, 1. April 2017 20:05:37 CEST Simon Glass wrote:

Raspberry Pi uses a DWC2 USB controller and a SMSC USB Ethernet adaptor. Driver model support for these is available.

This series does the following:
- Enable CONFIG_DM_ETH and CONFIG_DM_USB on Raspberry Pi
- Convert the MMC driver to driver model
- Convert the video driver to driver model
- Fixes a driver model video bug which accessed beyond the frame buffer
- Fixes start-up of MMC with driver model (e.g. at present it does not support env_fat)
- Clean up a few loose ends

With Ethernet active the device list looks something like this:

U-Boot> dm tree
Class Probed Name
----------------------------------------

 root        [ + ]    root_driver
 simple_bus  [ + ]    |-- soc
 gpio        [ + ]    |   |-- gpio at 7e200000
 serial      [ + ]    |   |-- serial at 7e215040
 mmc         [ + ]    |   |-- sdhci at 7e300000
 blk         [ + ]    |   |   `-- sdhci at 7e300000.blk
 video       [ + ]    |   |-- hdmi at 7e902000
 vidconsole0 [ + ]    |   |   `-- hdmi at 7e902000.vidconsole0
 usb         [ + ]    |   `-- usb at 7e980000
 usb_hub     [ + ]    |       `-- usb_hub
 usb_hub     [ + ]    |           `-- usb_hub
 eth         [ + ]    |               `-- smsc95xx_eth
 simple_bus  [   ]    `-- clocks
Quoted 5 lines

With version 4 a problem was discovered where tftpboot does not correctly read a file on rpi_2 and rpi_3. The cause is unknown but for now this series includes a work-around in the dwc2 driver. See here for details:

https://lists.denx.de/pipermail/u-boot/2017-April/285451.html

Have you seen https://lists.denx.de/pipermail/u-boot/2017-April/285546.html ?

This may fix the problem seen.

Kind regards,

Stefan

Signature · 3 lines
Stefan Brüns  /  Bergstraße 21  /  52062 Aachen
home: +49 241 53809034     mobile: +49 151 50412019
work: +49 2405 49936-424