USB support for U-Boot on Raspberry-Pi
Oleksandr Tymoshenko
gonzo at bluezbox.com
Fri Jun 15 23:09:29 EDT 2012
Hello,
Last several weeks I've been working on porting U-Boot to Raspberry Pi
(as it turned out in parallel with Stephen Warren) and today I'm happy
to announce that network support works stable enough.
USB driver was not created from the scratch: I used Linux DWC OTG driver
as a
base. Current code still does not handle corner cases and contains
several hacks
that should be cleaned out.
Source code: https://github.com/gonzoua/u-boot-pi/tree/rpi
sample output log:
U-Boot 2012.04.01-00306-gecc6e3d-dirty (Jun 15 2012 - 19:05:09)
DRAM: 128 MiB
WARNING: Caches not enabled
Using default environment
In: serial
Out: serial
Err: serial
Net: No ethernet found.
Raspberry-Pi # usb start
(Re)start USB...
USB: Core Release: 2.80a
scanning bus for devices... 3 USB Device(s) found
scanning bus for ethernet devices... 1 Ethernet Device(s) found
Raspberry-Pi # dhcp
Waiting for Ethernet connection... done.
BOOTP broadcast 1
*** Unhandled DHCP Option in OFFER/ACK: 28
*** Unhandled DHCP Option in OFFER/ACK: 28
DHCP client bound to address 192.168.10.21
Using sms0 device
TFTP from server 192.168.10.1; our IP address is 192.168.10.21
Filename 'kernel.RPI'.
Load address: 0x700000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
######################################################
done
Bytes transferred = 4597674 (4627aa hex)
Raspberry-Pi # ping 192.168.10.1
Waiting for Ethernet connection... done.
Using sms0 device
host 192.168.10.1 is alive
Raspberry-Pi #
More information about the linux-rpi-kernel
mailing list