Tools to boot omap44xx over USB.
C Assembly
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 3 commits ahead, 12 commits behind swetland:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
arch
build tidy up the build system a bunch Apr 25, 2011
include backported clock.c from x-loader, fixes USB xfer failure on my EA1 bo… Aug 3, 2011
libc build system overhaul Dec 19, 2010
tools backported sdram initialization from x-loader and corrected revision … Aug 2, 2011
.gitignore
Makefile
README add some minimal documentation Dec 19, 2010
aboot.c backported omap4 revision detection from x-loader Aug 2, 2011
aboot.lds omap4: relocator support to deal with differences in GP/HS/EMU Apr 13, 2011
agent.c
board_blaze.c backported sdram initialization from x-loader and corrected revision … Aug 2, 2011
board_panda.c backported sdram initialization from x-loader and corrected revision … Aug 2, 2011
board_tuna.c
boot.c
config_blaze.h
config_panda.h more build system cleanup Apr 25, 2011
config_tuna.h more build system cleanup Apr 25, 2011
misc.c cleanup and board files Apr 14, 2011

README

USB downloader and USB second stage bootloader for OMAP44xx
===========================================================

aboot.bin
---------

aboot.bin is a designed to be a second stage USB bootloader (what TI
calls x-loader) for the USB peripheral boot mode of OMAP44xx.

Currently it's somewhat pandaboard-centric, but that should be
easy enough to clean up -- it shouldn't touch any gpiomux config
except (maybe) for the UART.

All it does is send a u32 message (0xaabbccdd) back over the USB link, 
then reads a u32 size from the host.  Then it downloads size bytes
from the host to 0x82000000 and jumps to that address.


usbboot
-------

usage: usbboot <2ndstage> [ <image> ]

- usbboot will poll every 250ms until it locates an OMAP device 
  (VID 0451, PID d00f)
- it then will send the 2ndstage binary to the device 
- if an image was also provided, it will wait for the 2ndstage to
  send the go-ahead response (0xaabbccdd) and then send that image