History log of /freebsd-10-stable/sys/boot/arm/at91/libat91/emac.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 172991 25-Oct-2007 cognet

Fix signedness to make gcc happy.


# 171426 13-Jul-2007 imp

MFp4:
Add support for the CENTIPAD board (http://www.harerod.de/centipad/index.html)
(which is a very cool, very small ARM board)
Add support for KB9202B (it has different memory)
Make BOOT_FLAVOR settable
Minor cleanup nits

Approved by: re@


# 168013 28-Mar-2007 imp

RTC_TIMR's RTC_SEC field is BCD. That makes it unsuitable for
GetSeconds(). Instead, use CRTR register shifted right 15. This
gives us a range of 32 seconds we can do for timeout.

Shift to using == rather than < or > for calculating the timeout,
since if we can't read the ST_CTRT register twice in a second we have
even bigger problems to worry about, and == deals with the 'wrap'
issue.

This lets me type at the boot2 prompt again! Woo Hoo!

Bogusness noticed by: tisco
Pointy Hat to: That silly imp guy


# 165401 20-Dec-2006 imp

MFp4: differences for bwct ethernet attachment


# 164137 09-Nov-2006 imp

MFp4: boot on KB9202 correctly. Also, reduce the size of the SD/MMC driver
somewhat.


# 163533 20-Oct-2006 imp

MFp4:

Massive update. The highlights:
o dramatically cut memory usage by writing better, less intertwingled
code.
o implement booting off mmc/sd cards (sd only tested one at the moment)
o start to split out board specific stuff for boot2.


# 161370 16-Aug-2006 imp

MFp4: First cut at making spi and/or sd card booting work, needs work


# 161196 10-Aug-2006 imp

MFp4: Numerous changes from p4 to try to improve tftp downloading,
reduce code footprint, etc. While some problems still remain, the
reliability of tftp is much improved.


# 157873 19-Apr-2006 imp

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.