Commit Graph

60 Commits

Author SHA1 Message Date
joff
3a8922c4d8 descend into TS7200_flash_0x60660000 2004-12-28 16:19:41 +00:00
joff
b6d96c3c3d Pad .sdata section to a 4-byte boundary so that the .image section
is always aligned.  This makes md_root_loadaddr always 4 byte aligned.
Without this, may get an un-aligned access trap before we even print
anything on the console which was a pain in the neck to debug since so
early in the bootstrap the CPU usually just halts on exceptions.
2004-12-24 16:17:27 +00:00
joff
eadf291885 On-chip EP93xx UART support 2004-12-24 10:34:27 +00:00
joff
a1ed993cf1 generic TS-7200 gzboot support 2004-12-24 10:33:54 +00:00
joff
04fb7eeb00 support for gzimg's in TS-7200 Redboot on-board flash 2004-12-24 10:32:40 +00:00
jmc
84fafa3db5 Ignore errors on some rm -rf's for platforms that aren't quite
POSIX compliant
and return errors on r/o source (FreeBSD) for -rf. Fixes PR#25022
2004-06-21 18:20:08 +00:00
thorpej
f84850f7df Assign to CPUFLAGS to add -march=armv4 instead of adding to COPTS. 2004-04-22 22:41:42 +00:00
drochner
cf8b697c65 remove license clauses 3 and 4 from my cpoyright notices 2004-03-24 17:06:57 +00:00
lukem
f85d2d1c14 Use ${HOST_SH} instead of `sh'.
If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
2003-10-26 07:25:33 +00:00
bsh
fba8e3e432 add -DCPU_S3C{2800,2410} for board/sscom.c 2003-10-05 06:58:26 +00:00
bsh
55f95bf493 move back get_com_freq() to sscom.c with #ifdef CPU_{S3C2800,S3C2410} 2003-10-05 06:57:20 +00:00
mycroft
9b3ff19873 Whoops, reenable some stuff. 2003-09-03 03:19:04 +00:00
mycroft
7929022703 Add gzboot support for SMDK2410. 2003-09-03 03:18:30 +00:00
bsh
7fc9d147bb gzboot for SMDK2800. 2003-07-30 18:54:18 +00:00
briggs
ed5f36a260 Deal with case where __data_store == _edata. 2003-07-22 04:57:24 +00:00
thorpej
eaf50189f3 Don't build a big-endian image on platforms which don't run big-endian. 2003-05-26 15:17:38 +00:00
thorpej
5f03eb91bb Don't set the output format explicitly; let the linker use its defaults. 2003-05-26 15:07:53 +00:00
thorpej
d762fbd09d Fix the name of the image. 2003-04-29 05:38:52 +00:00
thorpej
7733ffd60d Make these images concatenating images. 2003-04-29 05:36:20 +00:00
thorpej
fb01afa9c7 Descend into the gzboot directories. 2003-04-29 05:35:08 +00:00
thorpej
8163f9a129 * Add ${PROGSYM} to CLEANFILES.
* Instsall either the .bin or the .sym, based on whether or not
  the resulting gzboot needs to be mdsetimage'd.
2003-04-29 05:32:41 +00:00
thorpej
a8d10ed83c Also build a flat binary version of the gzboot program. 2003-04-29 05:15:14 +00:00
thorpej
893a35a154 Bump version to 1.2 for the concatenation feature. 2003-04-29 05:05:41 +00:00
thorpej
00b159e3dc Rename the IQ80310 directory to have all nibbles of the address in the name. 2003-04-29 05:04:37 +00:00
thorpej
04f47aa1d2 Allow MAXIMAGESIZE to be set to 0. For gzboot's that are linked
for flash, this allows us to basically do:

	cat gzboot.bin netbsd.bin.gz > gzimg

to produce the bootable image.
2003-04-29 05:01:34 +00:00
thorpej
7a3fa51b7f Garbage-collect the DYNAMIC_CRC_TABLE stuff. The table it computed
was incompatible with the new CRC code, and it is largely unnecessary
now, since the static table is so much smaller.

Fixes PR kern/20935.
2003-03-29 22:25:25 +00:00
thorpej
eb7195a019 Gzboot support for the ADI BRH eval board. This flash address allows
the kernel to be decompressed and started at board reset if the BRH's
rotary switch is set to position 5.
2003-03-25 23:38:00 +00:00
thorpej
0a6cf80b25 Standalone board support routines for the ADI BRH. 2003-03-25 23:34:26 +00:00
thorpej
78c15d17f8 Memory routines for boards using the ADI BECC companion chip. 2003-03-25 23:33:49 +00:00
thorpej
9c484bd88d Allow the frequency to be set by the Makefile. 2003-03-25 23:32:41 +00:00
bjh21
d599df9587 Continue the " - . - 8" purge. Specifically:
add	rd, pc, #foo - . - 8		->	adr	rd, foo
ldr	rd, [pc, #foo - . - 8]		->	ldr	rd, foo

Also, when saving the return address for a function pointer call, use
"mov lr, pc" just before the call unless the return address is somewhere
other than just after the call site.

Finally, a few obvious little micro-optimisations like using LDR directly
rather than ADR followed by LDR, and loading directly into PC rather than
bouncing via R0.
2002-10-14 22:32:50 +00:00
thorpej
6b4a2676fd Give gzboot a 1M heap, so that loading gzip -9'd kernels works
reliably.
2002-04-25 22:30:38 +00:00
thorpej
248e944701 Allow the size of the heap to be specified at build time. 2002-04-25 22:11:51 +00:00
thorpej
1ca5e360be Use LOADADDR() where appropriate. 2002-04-25 01:48:21 +00:00
thorpej
48774f52db Add iq80321.c 2002-04-25 01:47:54 +00:00
thorpej
509fd84067 Add iq80310.c 2002-04-25 01:47:41 +00:00
thorpej
0f3cb4bcae Add a standalone routine for fetching the memory size from the
core module on an ARM Integrator board.
2002-04-18 05:30:45 +00:00
thorpej
a7a582e392 * Call board_init() rather than mem_init() (board_init() will take
care of that for us).
* Call board_fini() right before jumping to the kernel entry point.
2002-04-17 17:38:58 +00:00
thorpej
a400421fe8 Add board_init() and board_fini() routines for IQ80310 and IQ80321
eval boards.
2002-04-17 17:37:52 +00:00
thorpej
49df0c927f Lose -nbsd 2002-04-11 21:47:36 +00:00
thorpej
6cd0f2f79c Add -nbsd to OUTPUT_FORMAT BFD target names. 2002-04-01 20:34:36 +00:00
thorpej
8345db18a3 Example gzboot config for the IQ80321. 2002-03-28 20:44:07 +00:00
thorpej
b5b0fd2467 Define CONADDR. 2002-03-28 20:41:45 +00:00
thorpej
242be7009e Rename iq80310_cons.c to ns16550.c. Require that CONADDR be
defined by the Makefile at build time.
2002-03-28 20:40:47 +00:00
thorpej
33bf2a81e0 Note that this module will also work with the IQ80321 eval board. 2002-03-27 04:14:25 +00:00
thorpej
eb1415ce49 Stand-alone memory sizing routine for the Intel i80321 I/O processor
("Verde").
2002-03-27 04:13:39 +00:00
thorpej
20dd585980 Add RCS ID. 2002-03-02 22:29:40 +00:00
thorpej
c92241b420 Correct a comment. 2002-02-24 20:51:56 +00:00
thorpej
4af7d26f26 Fix a couple of comments. 2002-02-24 20:44:28 +00:00
thorpej
0a4bc3ccd5 This file is obsolete. 2002-02-24 20:32:40 +00:00