| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
order. The kernel used to shuffle them around to get things right,
but that was recently fixed. This makes our boot loader match the
behavior of most other boot loaders for the atmel parts. This bug was
inherited from the Kwikbyte loader that we started from.
This bug was discovered by Bj.ANvrn KNvnig back in June, but fell on the
floor. He provided patches to the kernel, include backwards
compatibility options that were similar to Olivier's if_ate.c commit.
|
|
|
|
|
|
|
| |
passed into the kernel, and the kernel will soon grow that ability on
arm.
Approved by: re@ (blanket)
|
|
|
|
|
|
|
| |
but I'm unsure of its provenance, so rather than add it here, revert
the migration to it.
Approved by: re@ (blanket)
|
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
| |
fast enough, or there's other issues that cause the first try to fail.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
CRTR register to be 1/32768th of a second in init, we don't need to do
it here.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CSD is usually 512 (well, 9), but for 2GB (and the rogue 4GB SD cards)
it is 1024 (or 2048 for 4GB). This value doesn't work for the block
read commands (which really want 512). Hardcode 512 for those. This
may break really old MMC cards that don't have a 512 block size (I've
never seen one: make my day and send me one :-), but since the MMC
side of the house is currently broken, it should only have the effect
that 2GB (and non-conforming 4GB) SD cards will work.
My 'non-conforming' 4GB SD card also works now too. The
non-conforming 4GB SD cards were sold for a while before the SD
association was worried they would be (a) incompatible (different FAT
flavor on them) and (b) confusing for the new SDHC standard and
cracked down on suppliers' bogus use of the SD trademark...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The changes to getstr() is so that the character that is
passed in to it, is also processed just as the rest. I also
removed one of the getc() calls otherwise you loose every
second character.
I also changed the strcpy of kname, so that it only happens if
kname is '\0'. This is so that one can pass a kernel in
through /boot.config.
The last change to boot2.c is in parse(). If you tried to type
a kernel name to boot, the first character was lost, the arg--
fix that.
Submitted by: jhay
|
|
|
|
|
|
| |
character after the character that was the same.
Submitted by: jhay
|
|
|
|
| |
Submitted by: jhay
|
|
|
|
|
|
|
| |
It isn't relevant to FreeBSD as a whole, breaks the build, and isn't
even needed for my company's boards anymore...
MFC After: 2 weeks
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Add an automatic reset for remote operational luvin' goodness.
|
| |
|
|
|
|
| |
merged ito sd-card.c, but this is an imperfect world.
|
|
|
|
| |
different at this point.
|
|
|
|
| |
to fixing this problem.
|
|
|
|
| |
part of the spi flash.
|
| |
|
| |
|
| |
|
|
|
|
| |
somewhat.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Tidy up a bit. Make sure that the burned image matches the downloaded
one.
|
|
|
|
| |
Simplify life a little for such a simple program.
|
|
|
|
|
|
|
|
|
|
|
| |
8k boundary with this program still.
text data bss dec hex filename
7925 4 4476 12405 3075 bootiic.out
so we have like 293 bytes left before we have to play games. There
may be ways to reduce that somewhat, but they start to be very board
specific.
|
|
|
|
|
|
| |
Reach over into the arm tree to grab some at91 definitions.
Better warnings
Lots of build tweaks
|
| |
|
|
|
|
|
| |
Remove obsolete files in list
Add spi flash reading routines
|
|
|
|
|
| |
reduce code footprint, etc. While some problems still remain, the
reliability of tftp is much improved.
|
| |
|