Commit Graph

68 Commits

Author SHA1 Message Date
lukem a1f606d3fd Use the SI capitalization for "Hz", "kHz", and "MHz" in comments and strings.
Add a space between numbers and Hz unit.
2006-03-08 23:46:22 +00:00
christos 606bb2caed free -> dealloc
unsigned -> size_t for alloc/dealloc
2006-01-25 18:28:25 +00:00
he b1bcd0ffae The new zlib uses HEAP_SIZE, so instead use BOARD_HEAP_SIZE as the
symbol to use here.  Also adapt to the new zlib with the changed name
for the header file.
2006-01-16 19:34:53 +00:00
perry 5f1c88d70d Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete. 2005-12-24 20:06:46 +00:00
christos 95e1ffb156 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
bsh 6c6d96d112 dependencies for .BEGIN is not accepted by the latest nbmake. 2005-05-03 14:51:42 +00:00
bsh d608de2069 include <bsd.obj.mk> to teach make the rules for OBJDIR names.
This is to fix a problem on compiling gzboot with BUILDID defined
(by build.sh -B BUILDID).
2005-03-18 08:50:07 +00:00
bsh 94b724fc67 align md_root_loadaddr to word boundary. 2005-02-26 10:45:29 +00:00
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