Warner Losh
f358fbffa9
Mfp4: Remove mci_device.c. It should have been removed when it was
...
merged ito sd-card.c, but this is an imperfect world.
2006-11-16 00:55:24 +00:00
Warner Losh
e2302bcc3d
Move to using a common arm_init.S. These things are more similar than
...
different at this point.
2006-11-16 00:53:28 +00:00
Warner Losh
a2288572aa
MFp4: Don't fix the size at 8k, and some minor cleanups. andre@ contributed
...
to fixing this problem.
2006-11-16 00:49:50 +00:00
Warner Losh
b9f3efc87a
MFp4: Improvements, including the ability to download to an arbitrary
...
part of the spi flash.
2006-11-16 00:48:53 +00:00
Warner Losh
1920635c8e
Tweaks for better boot flavor support.
2006-11-16 00:48:04 +00:00
Warner Losh
88009adfcf
Mfp4: We no longer need ee.h included here.
2006-11-16 00:47:31 +00:00
Warner Losh
f31202e5dd
MFp4: boot2 should now build
2006-11-09 20:45:22 +00:00
Warner Losh
338cfe36cf
MFp4: boot on KB9202 correctly. Also, reduce the size of the SD/MMC driver
...
somewhat.
2006-11-09 20:32:36 +00:00
Warner Losh
ee9a71cdf5
MFp4: Support KB9202 booting better
2006-11-09 20:23:51 +00:00
Warner Losh
9b1ab45dc1
Fix typo
2006-11-09 20:08:46 +00:00
Warner Losh
e2a7a4c11c
MFp4: Make boot2 work on Kwikbyte KB9202 boards.
2006-11-09 20:07:26 +00:00
Warner Losh
c2c2926f9e
MFp4: Merge a slightly more generic build infrastructure.
2006-11-09 19:58:14 +00:00
Warner Losh
728ba3929d
MFp4: Remove bogus \r
2006-11-09 19:55:25 +00:00
Warner Losh
ecaaf14497
Don't descend into at91 until we sort out the boot loader issues more generally
2006-10-23 00:05:28 +00:00
Warner Losh
ea8c4b451e
MFp4: default to not loading the fpga
2006-10-21 22:51:21 +00:00
Warner Losh
7a7404e61a
MFp4: Update to smaller code footprint.
2006-10-21 22:44:26 +00:00
Warner Losh
5c58ee12d5
MFp4: Move to smaller code footprint.
2006-10-21 22:43:39 +00:00
Warner Losh
9c99b493ea
MFp4: Move to smaller code. This was somehow forgotten before.
2006-10-21 22:43:07 +00:00
Warner Losh
f8b97a442a
There's no fpga.c, so omit it.
2006-10-20 16:57:30 +00:00
Warner Losh
184ed5f988
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.
2006-10-20 09:12:05 +00:00
Warner Losh
1e99975d1f
Build at91
2006-08-18 21:37:27 +00:00
Warner Losh
7127c5f8f5
Support compiling as part of world
2006-08-18 20:26:54 +00:00
Warner Losh
aade86560a
MFp4: changes since .s -> .S rename. Use correct header for size
2006-08-17 00:14:32 +00:00
Warner Losh
fc96acb9c7
MFp4: First cut at making spi and/or sd card booting work, needs work
2006-08-16 23:39:58 +00:00
Warner Losh
a2d68f2284
MFp4:
...
Tidy up a bit. Make sure that the burned image matches the downloaded
one.
2006-08-16 23:18:07 +00:00
Warner Losh
5faf79cd4c
MFp4:
...
Simplify life a little for such a simple program.
2006-08-16 23:14:52 +00:00
Warner Losh
100d8ed79b
MFp4: Integrate a boatload of bug fixes from p4. We're right on the
...
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.
2006-08-10 19:55:52 +00:00
Warner Losh
8440b5885d
MFp4:
...
Reach over into the arm tree to grab some at91 definitions.
Better warnings
Lots of build tweaks
2006-08-10 18:22:56 +00:00
Warner Losh
20311a8e46
MFp4: remove obsolete files
2006-08-10 18:19:45 +00:00
Warner Losh
87ad01e6e3
MFp4:
...
Remove obsolete files in list
Add spi flash reading routines
2006-08-10 18:14:35 +00:00
Warner Losh
d4a46cca62
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.
2006-08-10 18:11:22 +00:00
Warner Losh
cabd3e547a
MFp4: consolidate #include files down to lib.h
2006-08-10 18:07:49 +00:00
Warner Losh
592c5848a6
MFp4: These will migrate to the boot specific directories because they
...
are too hard to share between the different boot loaders.
2006-08-10 18:07:01 +00:00
Warner Losh
98de821987
MFp4: Make it clearer that the address passed to the eeprom routines is
...
really an offset within the eeprom device, and not a IIC address.
2006-08-10 18:03:50 +00:00
Warner Losh
7492b55513
MFp4: Catchup with migration of some defines.
2006-08-10 18:02:27 +00:00
Warner Losh
5c35a13adf
MFp4: Tweaks for our board.
2006-08-10 17:59:22 +00:00
Warner Losh
b51b3172ba
MFp4: Increase character timeout to 10. Make it a #define for easier
...
changes in the future. This helps with getting started and to
overcome the really sucky level of granuality this timeout has in
getc. A timeout of 1 means 'wait until top of next second' rather
than 'wait for at least a second'.
2006-08-10 17:54:51 +00:00
Warner Losh
2e6c020cf2
Add a dummy makefile to keep build happy
2006-08-10 06:29:15 +00:00
Warner Losh
7ea1357336
MFp4:
...
Make getc(0) polling (this has the happy side effect of saving
8 bytes in the generated code).
2006-04-21 13:58:51 +00:00
Warner Losh
69f5220b21
MFp4: Loop forever getting characters... A kludge for now.
2006-04-21 13:56:26 +00:00
Warner Losh
750f97a294
MFp4: Integrate support for building tag support for linux booting.
2006-04-21 13:51:47 +00:00
Warner Losh
0cef210b08
MFp4:
...
Init eeprom here now that we don't init the eeprom in arm_init.s
and read in the second 8k of the data.
Tweak formatting.
2006-04-21 13:44:58 +00:00
Warner Losh
ca2c5ec68f
Move from arm_init.s -> .S. #ifdef linux vs freebsd defaults for the
...
boot loader (linux booting helps regression testing). No repo copy
because of limited history.
2006-04-21 13:40:26 +00:00
Warner Losh
9b062675f0
MFp4: formatting nits and minor style changes that likely won't matter.
2006-04-21 07:45:57 +00:00
Warner Losh
acc47bab5b
Allow one to enable building tags. Check the size of the boot imag.
2006-04-21 07:41:36 +00:00
Warner Losh
ac1e0174a6
MFp4:
...
On the KB9202 go ahead and enable the flash controller so the boot
loader can access the parallel flash.
2006-04-21 07:29:14 +00:00
Warner Losh
42ed626f87
MFp4:
...
Make this compile, assuming that you have linux installed in a
sensible place. tag_list is disabled by default, since we don't
distribute linux, but it is desirable to allow the boot loader to boot
Linux or FreeBSD (mostly for testing).
2006-04-21 07:19:22 +00:00
Warner Losh
9ac58632a3
MFp4:
...
Minor diffs to reduce diffs to p4.
2006-04-21 07:12:12 +00:00
Warner Losh
fe51f25d3f
spi flash updating boot loader. upload this file for the recovery
...
xmodem download. Then download the image you want in the flash.
This will burn the image into the flash. You must then reset the
unit and the new flash image will be used for booting...
2006-04-21 06:51:08 +00:00
Warner Losh
776524db7d
iic eeprom updating boot loader. upload this file for the recovery
...
xmodem download. Then download the image you want in the eeprom.
This will burn the image into the eeprom. You must then reset the
unit and the new eeprom image will be used for booting...
2006-04-21 06:48:52 +00:00