freebsd-dev/sys/boot/arm/at91/bootspi
Warner Losh ae78672c56 MFp4 (checkpoint of work in progress):
o Use a directory layout that is more akin to the i386 boot layout.
o Create a libat91 for library routines that are used by one or more
  of the boot loaders.
o Create bootiic for booting from an iic part.
o Create bootspi for booting from an spi part.
o Optimize the size of many of these routines (especially emac.c).  Except
  for the emac.c optimizations, all these have been tested.
o eliminate the inc directory, libat91 superceeds it.
o Move linker.cfg up a layer to allow it to be shared.
2006-04-19 17:16:49 +00:00
..
arm_init.s
main.c
Makefile
README

$FreeBSD$

This image is intended to be programmed into boot EEPROM.  The image is nearly
0x4000 so it will not fit in KB9200's 0x2000.  It is intended for KB9201 or
later.  Alternatively, the KB9200 can be upgraded with larger EEPROM.
It performs basic functions prior to executing an image at a
specified address.  The pre-boot functions can be modified and saved back into
EEPROM.
The MAC address is set with 0.0.0.0.0.0 by default.  This is an invalid address
and must be changed to a valid value in order to use the ethernet interface.

Memory usage:

EEPROM = 0x4000
SDRAM = 
  run stack = 0x21800000
  variables = 0x21200000
  ethernet  = 0x21000000 (buffers and descriptors)


Functions supported:

	c 		- copy
	d 		- display auto command table (in RAM)
	e 		- execute image
	? 		- help
	ip 		- set local ip
	m 		- set mac
	server_ip 	- set server ip
	s 		- set auto command entry
	t 		- create linux boot tag list
	tftp 		- download image via tftp
	w 		- update auto command table
	x 		- download image via xmodem