U-Boot for Raspberry Pi, step 7: cleanup

June 17, 2012 — 4 Comments

More progress on the subject:

  • I cleaned up sources and pushed new version to github.
  • Stephen Warren submitted patches for R-Pi support to U-Boot mailing list here and here. His version is much cleaner so I spent some time combining his patches with ported USB driver. So now target is called rpi_b and you should use “make rpi_b_config” instead of “make raspberry_pi_config” step when building U-Boot from sources.
  • Pre-built binaries are available for download here.



4 responses to U-Boot for Raspberry Pi, step 7: cleanup

  1. You are my hero! I just looked into this today thinking… “Hmmm, I wonder if I could just setup a TFTP Server with a BUNCH of the current RPi OSes and play with them individually without having to constantly reflash my SD-Card or have many around. I then found a forum that mentioned U-Boot for this. Then I searched more and found you! I have been using Linux for some time, but have managed to compile from source very seldom. So, the thought of trying this when I have no basis from which to tackle any bugs… You. Are. My. Hero. Thank you for taking the time to make this work.

  2. Steven Richardson June 20, 2012 at 7:27 am

    Great work! Just trying your binary files but USB start crashes it.

    U-Boot 2012.04.01-00476-gd141598-dirty (Jun 17 2012 – 19:05:28)

    DRAM: 128 MiB
    WARNING: Caches not enabled
    Using default environment

    In: serial
    Out: serial
    Err: serial
    Net: Net Initialization Skipped
    No ethernet found.
    U-Boot> usb start
    (Re)start USB…
    USB: Core Release: 2.80a
    scanning bus for devices… USB device descriptor short read (expected 18, got 8)
    DWC OTG: hang at line 625: 00000082

    Are you able to push the console to HDMI? that would be great.

  3. Steven Richardson June 20, 2012 at 7:32 am

    Ah, it worked when I unplugged my keyboard that was connected to the PI.

    However now as soon as i type DHCP it goes off and gets an IP address then immediately starts trying to tftp?

    U-Boot> dhcp
    Waiting for Ethernet connection… done.
    BOOTP broadcast 1
    BOOTP broadcast 2
    DHCP client bound to address
    *** Warning: no boot file name; using ‘0A09007A.img’
    Using sms0 device
    TFTP from server; our IP address is
    Filename ‘0A09007A.img’.
    Load address: 0x1000000
    Loading: T
    TFTP error: ‘File not found’ (1)
    Not retrying…

Leave a Reply

Text formatting is available via select HTML. <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>