Commit Graph

615 Commits

Author SHA1 Message Date
tron
04b9c3437f Add (commented out) IPSEC_NAT_T option. 2005-07-07 17:05:46 +00:00
pooka
5b4bcc52c2 Adapt conf for PXA2X0 split to PXA250 and PXA270. 2005-07-04 14:10:23 +00:00
bsh
be2e0be463 adapt to changes for PXA270 support. 2005-07-04 00:47:49 +00:00
bsh
c48d9c757e option CPU_XSCALE_PXA2X0 is now obsoleted by CPU_XSCALE_PXA2[57]0. 2005-07-04 00:46:04 +00:00
bsh
af51d61dc0 make this compile again.
+ fix wrong prototype for obio_search()
 + avoid warning by const.
ANSIfy obio_search()
2005-07-03 18:10:53 +00:00
drochner
996c273eda adaptions to config_search() change, and minor autoconf fixes, mostly from Havard Eidnes 2005-06-30 17:03:51 +00:00
drochner
b081eee072 convert remaining autoconf bus "submatch" functions to use the new
signature (passing locators), and remove some which obviously don't
serve any purpose
(untested, sorry)
2005-06-28 18:29:58 +00:00
atatat
df13e3579e Change the rest of the sysctl subsystem to use const consistently.
The __UNCONST macro is now used only where necessary and the RW macros
are gone.  Most of the changes here are consumers of the
sysctl_createv(9) interface that now takes a pair of const pointers
which used not to be.
2005-06-20 02:49:18 +00:00
dyoung
a37289db57 Make disklabel(8) and fdisk(8) into "host tools " last step: build
and install ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-disklabel,
${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-fdisk by "reaching over" to
the sources in ${NETBSDSRCDIR}/sbin/{disklabel fdisk}/.

To avoid clashes with a build-host's header files, especially on
*BSD, the host-tools versions of fdisk and disklabel search for
#includes such as disklabel.h, disklabel_acorn.h, disklabel_gpt.h,
and bootinfo.h in a new #includes namespace, nbinclude/.  That is,
they #include <nbinclude/sys/disklabel.h>, <nbinclude/machine/disklabel.h>,
<nbinclude/sparc64/disklabel.h>, instead of <sys/disklabel.h> and
such.  I have also updated the system headers to #include from
nbinclude/-space when HAVE_NBTOOL_CONFIG_H is #defined.
2005-06-12 19:46:15 +00:00
pooka
d42ccd3441 Add initial support for the PXA255-based Arcom Viper ARM board.
The system can boot into multiuser, but most of the peripheral
driver attachments are still missing.

Thanks go to Jan Nyman for arranging access to the hardware and to
Steve Woodford for reviewing the code.
2005-06-06 20:24:10 +00:00
he
cc129440dd Fix -Wcast-qual warnings, unfortunately using __UNCONST() for sysctl()
function parameters.
2005-06-04 22:40:03 +00:00
he
fb96dc834d Rename an (unused) argument to appease -Wshadow. 2005-06-04 20:19:47 +00:00
he
aafdb08c5a Fix the various todr_gettime() and todr_settime() fallouts from
-Wcast-qual differently, by instead changing the signatore of those
"functions" to take a "volatile struct timeval*" instead of a
"struct timeval*".  Many places, these functions are called with
&time, and time is declared as volatile in <sys/kernel.h>.  This
way we can get rid of all the ugly casts which now also triggered
warnings, and caused more code to be added to work around the
problem.

Reviewed by thorpej.
2005-06-04 20:14:24 +00:00
rearnsha
f1bd8659de Include arm/bootconfig.h rather than duplicating common code. 2005-06-04 13:39:20 +00:00
rearnsha
b1f70d4d2d Fix shaddowed declarations of cn_trapped. 2005-06-04 13:38:08 +00:00
rearnsha
0d4235a6ac Fix shaddowed declaration. 2005-06-04 13:35:05 +00:00
rearnsha
2de4086f52 Enable use of the CM1136J-s core module on the Integrator. 2005-06-03 15:56:49 +00:00
rearnsha
a53d9d9c2a Disable some debugging options, add space for the symbol table. 2005-06-03 15:41:39 +00:00
rearnsha
4987034e09 Fix the v6 boot check: A '6' in the architecture field really means
Architecture v5TEJ.
2005-05-25 09:20:33 +00:00
christos
7cdea212c0 No 0x in front of %p... 2005-05-22 15:54:45 +00:00
rearnsha
c28a42708d Add a couple of sanity checks in case someone tries to boot the kernel
on a CM board that we can't support.  In essence that means any board
without an MMU.  For now also fault v6 based CPUs since the kernel
doesn't know how to handle these yet.
2005-05-21 11:46:56 +00:00
rearnsha
492fb6662e Use makeoptions CPUFLAGS not COPTS. 2005-05-07 22:22:02 +00:00
bsh
6c6d96d112 dependencies for .BEGIN is not accepted by the latest nbmake. 2005-05-03 14:51:42 +00:00
itohy
d665949330 Add ukyopon(4). 2005-04-15 17:27:20 +00:00
scw
1cc2a2688d Add support for the DMA and AC97 controllers on PXA2x0, and enable them
on the Lubbock evaluation board.

Many thanks to Hiroyuki Bessho for testing this driver with the new
aurateconv interface, as I no longer have access to the hardware.

Contributed by Wasabi Systems, Inc.
2005-04-13 07:42:28 +00:00
yamt
6b2d8b66a4 merge yamt-km branch.
- don't use managed mappings/backing objects for wired memory allocations.
  save some resources like pv_entry.  also fix (most of) PR/27030.
- simplify kernel memory management API.
- simplify pmap bootstrap of some ports.
- some related cleanups.
2005-04-01 11:59:21 +00:00
bsh
25645b8f42 modify comments for clarity.
Original comments made several people misunderstand that the comment
says kernel's pagetable is at 0xa0004000.  What the comment says is
about RedBoot's pagetable.
2005-03-18 11:22:23 +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
a5d9dab3e0 Switch kernels for Lubbock and TwinTail to use pmap_devmap to map
I/O registers that are used in early start-up stage.  Also stop using
special bootstrap-time-only bus_space_map function in {lubbock,g42xxeb}_machdep.c.

This makes initarm() for them a bit simpler, and gives us smaller diffs
to other evbarm platforms.
2005-03-17 16:22:56 +00:00
bsh
4c5c06097c Switch SMDK2410 and SMDK2800 kernels to use pmap_devmap_bootstrap() to map
I/O registers that are used in early start-up stage.  This replaces the
special bootstrap-time-only bus_space_map function in smdk{2410,2800}_machdep.c.

This makes SMDK{2410,2800}'s initarm() a bit simpler, and gives us smaller diffs
to other evbarm platforms.

An another good thing for SMDK2800 is that now we have all built-in peripheral
registers mapped in 2 segments.  We may expect less TLB miss on I/O access
(very slightly).
2005-03-16 05:02:12 +00:00
bsh
513d8a771b move a few definitions to smdk2800var.h to share them between smdk2800_machdep.c and smdk2800_start.S 2005-03-11 14:28:52 +00:00
joff
b9ac414499 Use special spaces for ISA that don't assert USER CS# 2005-03-09 21:19:59 +00:00
bsh
a7d17de7d6 delete unused stuff. 2005-03-08 16:51:44 +00:00
bsh
3066388bf6 add install kernels for SMDK2410/2800.
CVS: ----------------------------------------------------------------------
CVS: CVSROOT  cvs.NetBSD.org:/cvsroot
CVS: ----------------------------------------------------------------------
CVS: CVSROOT  cvs.NetBSD.org:/cvsroot
2005-02-27 02:25:09 +00:00
bsh
53259c6163 sync pseudo device part with other platforms.
disable pseudo-device md (enabled in SMDK2800_INSTALL)
CVS: ----------------------------------------------------------------------
CVS: CVSROOT  cvs.NetBSD.org:/cvsroot
2005-02-27 02:18:34 +00:00
bsh
6c82f22455 This file is not used.
CVS: ----------------------------------------------------------------------
CVS: CVSROOT  cvs.NetBSD.org:/cvsroot
CVS: ----------------------------------------------------------------------
CVS: CVSROOT  cvs.NetBSD.org:/cvsroot
2005-02-27 02:02:02 +00:00
simonb
798eed2639 Watch out for those unexpected tains. 2005-02-26 12:00:52 +00:00
bsh
629db0b989 TWINTAIL (official product name is G4255EB) is an evaluation board
with Intel PXA255 processor from Genetec corp.  You can get some
information on the board from http://ad.genetec.co.jp/ but only in Japanese.
2005-02-26 10:49:53 +00:00
bsh
94b724fc67 align md_root_loadaddr to word boundary. 2005-02-26 10:45:29 +00:00
bsh
355d1500b7 fix xi@pcmcia configuration 2005-02-26 10:30:56 +00:00
bsh
b42e2b64d1 Fix kgdb_port_init() to make it compile with options KGDB. 2005-02-26 10:22:41 +00:00
simonb
ff8f0b23c9 Add COMPAT_20 (and COMPAT_16 in some cases) to kernel config files
that didn't have those options but had other earlier compat options.
2005-02-25 13:46:48 +00:00
joff
7f97da202c Add sysctl tree hw.tspld.* for query of jumper states, pld revision,
board model/options, etc...
2005-02-24 03:52:22 +00:00
rearnsha
3351f73643 Add on-board CompactFlash device. 2005-02-19 16:57:58 +00:00
rearnsha
7af50b5bf5 Add support for the on-board CompactFlash card. 2005-02-19 16:56:04 +00:00
rearnsha
575ff76f8f Add bus-space write-multi-2 and read-multi-2 methods. 2005-02-19 16:55:11 +00:00
dsl
4822cbaae2 Invert FFS_SNAPSHOT to FFS_NO_SNAPSHOT 2005-02-18 21:05:50 +00:00
rearnsha
ef3f4c0f7e DMA on the i31244 is now enabled by default. 2005-02-12 10:23:21 +00:00
rearnsha
16574672f1 Document the types and addresses of the IIC devices
(Disabled, beacuse they seem to be non-functional at present).
2005-02-12 09:59:29 +00:00
rearnsha
fdac3760e5 ... but make it's filesystem type FFS (not NFS :-). 2005-02-12 09:54:36 +00:00