Commit Graph

87493 Commits

Author SHA1 Message Date
mycroft
201d66a064 Remove calculation of crc_total from here, making the routine approximately
twice as fast.
2001-11-10 05:16:43 +00:00
mycroft
23b6355049 Add a separate version of the CRC routine that listens to sflag. 2001-11-10 05:10:22 +00:00
sato
c702430929 MCR-300/310/320/330/for Docomo have same PWCTL_LCDLIGHT, PWCTL_LCD port. 2001-11-10 04:53:47 +00:00
thorpej
615b7aff22 Delete an option that doesn't really exist. 2001-11-10 00:18:17 +00:00
thorpej
fa6ae96384 This file is not used. 2001-11-10 00:13:58 +00:00
thorpej
f03c5f5a7c Add VERBOSE_INIT_ARM and SYMTAB_SPACE options (commented out). Add
devices: iopxs (i80312 Companion I/O), pci, ppb, fxp, inphy, ukphy.
2001-11-10 00:11:11 +00:00
thorpej
8a0624f3a4 Add some missing backslashes. 2001-11-09 23:36:52 +00:00
thorpej
d1f4bf74ca Add support for PCI DMA on the i80312. We currently just do
DMA via the Secondary Inbound window, for now.  Will probably
need to revisit this at some point.

Require that the board-specific i80312 front-end slice off a
subregion for the memory controller before calling i80312_attach(),
and fix a bug in the IQ80310 front-end that caused the Secondary
Inbound window to be configured incorrectly.
2001-11-09 23:15:52 +00:00
thorpej
3797f5214d Fix typos in determing the ATU and PPB bus numbers. 2001-11-09 22:47:48 +00:00
tsutsui
67c466f89d Use ${VND} (not ${VND_DEV}) for vnconfig in unconfig target. 2001-11-09 21:00:04 +00:00
thorpej
c3dc4c8c9e Add PCI_NETBSD_CONFIGURE. 2001-11-09 20:59:39 +00:00
thorpej
393b381a6d PCI interrupt mapping support for the IQ80310. 2001-11-09 20:58:57 +00:00
tsutsui
14f6bfa64d Use "vnd0" instead of "/dev/vnd0c" as argument for "vnconfig" because it
is more portable and works with the latest "vnconfig".

XXX news68k (and alpha) use /dev/vnd0c to installboot vnd images..
2001-11-09 20:52:18 +00:00
scw
45e7238a02 Bump the version numbers of all bootloaders which use loadfile_elfXX() now
that it tries hard to avoid backwards seeks.
2001-11-09 19:53:11 +00:00
thorpej
d32191e3da Add support for configuring the PCI bus (starting with the Secondary
bus only, for now).

XXX Some cleanup wrt. pci_conf_interrupt() needs to happen.
2001-11-09 19:48:35 +00:00
thorpej
b1ec255377 Add a "firstbus" argument to pci_configure_bus(), indicating the
first bus number to use, rather than always assuming that we should
start at bus #0.
2001-11-09 19:29:12 +00:00
christos
c89e803d30 Remove USB copyrights. The coff and elf loading code did not come with BSD4.4. 2001-11-09 19:27:25 +00:00
thorpej
716af300ee In query_bus(), use the parent pciconf_bus_t's PCI chipset tag,
not the new bus's (which is potentially uninitialized when some
calls are made).
2001-11-09 19:20:19 +00:00
thorpej
671a1b111f Print the fault PC for non-USR Prefetch Aborts. 2001-11-09 19:04:23 +00:00
scw
f1defc3543 To avoid backwards seeks on sequential devices (eq. QIC tapes), read all
the program headers in one operation into an internal buffer.
2001-11-09 18:31:08 +00:00
scw
439d3ea3cb G/C some debug printfs inadvertently left in the last commit. 2001-11-09 18:27:59 +00:00
scw
2f42a5932e Implement just enough of an lseek() to keep loadfile_elf32() happy.
While I'm here, bump RAWFS_BSIZE up to 8192 since the installation
instructions use "bs=8k oconv=sync". My Archive Viper now streams
nicely while booting.
2001-11-09 18:25:11 +00:00
scw
dca93f1b48 The success/failure status for some Bug syscalls is indicated by the Z
flag in the status register, not by a value on the stack.

How this ever worked for so long is beyond me...
2001-11-09 18:18:19 +00:00
thorpej
82c11eec1c Clear the Master Abort after reading config space for a non-existent
PCI device.  Disable debugging messages, as PCI config space works now.
2001-11-09 18:04:10 +00:00
thorpej
42a10f6cd4 Implement a badaddr_read() routine which performs a load of the
specified size for the caller, and returns true or false indicating
whether or not a Data Abort occurred (i.e. the address was "bad").
2001-11-09 17:58:00 +00:00
thorpej
d16c00cfb2 Disable the ATU interrupt sources (i.e. interrupts that occur when
we get Master or Target aborts).
2001-11-09 17:44:43 +00:00
thorpej
10392361f8 Make the DDB trace output a lot easier to look at. 2001-11-09 16:49:29 +00:00
hubertf
6e25baad1d /vmunix => /netbsd
Reported by Hiramatsu Yoshifumi <hiramatu@boreas.dti.ne.jp> in PR 14513
2001-11-09 16:32:16 +00:00
joda
ad8a74803b ...but the preformatted pages should be labelled as -catman 2001-11-09 15:57:26 +00:00
joda
24e81c59a8 add a bunch of MLINK's 2001-11-09 15:44:31 +00:00
thorpej
f48c450929 Build the cross-dbsym. 2001-11-09 15:07:25 +00:00
augustss
495b9bd7d5 Fix a bug in xfer abort processing when the HC executes ahead of what
the driver aborts.
Don't block RHSC interrupts.
2001-11-09 15:01:57 +00:00
augustss
3dd8433864 Add a debug message. 2001-11-09 14:59:11 +00:00
lukem
bae654cfa1 When used without -F, search for `special' in fstab and use the raw version
of the fs_spec. In any case, use opendisk(3) to open the device.

When used with -F just open `special' as-is.
2001-11-09 12:01:13 +00:00
lukem
fbab1e72fb move guts of non-F special parsing into separate openpartition() func 2001-11-09 11:48:39 +00:00
wiz
1c65d6114b Remove a trailing space. 2001-11-09 09:30:59 +00:00
lukem
e48d7547e2 Change -F from "special must be a regular file" to "special can be any type,
and don't attempt to do any file name translation (e.g, search in fstab)".

In the non -F case, search for special in fstab. If found, convert fs_spec
to a raw device name. In any case, use opendisk(3) to open the device.
2001-11-09 09:05:51 +00:00
lukem
949fa9ae03 remove blank lines from the lists of files to backup_and_diff 2001-11-09 09:01:20 +00:00
lukem
3c367dcbb0 use MAXPATHLEN instead of 32 as the size of the rawbuf 2001-11-09 07:50:19 +00:00
thorpej
2436e0546d This is not a Sun3-specific program. 2001-11-09 07:43:16 +00:00
thorpej
13aa19d0fc Eval boards usually don't have boot loaders. If we're lucky, we
have firmware that understands ELF.  We're usually stuck with S-Records.
To make life easier, attempt to stuff kernel symbols into the image
with dbsym(8).

If the kernel doesn't have SYMTAB_SPACE, or if the SYMTAB_SPACE is too
small, the kernel build continues as normal; this is just a convenience
measure.
2001-11-09 07:39:25 +00:00
thorpej
028f694d86 Make an error message more informative. 2001-11-09 07:36:03 +00:00
thorpej
73f86f9fe4 Add a DBSYM variable for the dbsym(8) host tool. 2001-11-09 07:30:55 +00:00
thorpej
147b1bdc1c Add some rudimentary support for ELF symbols in DDB on the ARM ports.
On platforms which load the kernel sans symbols directly from firmware
(possibly in e.g. S-Record format), call ddb_init() with empty arguments,
so that it will search any compiled in SYMTAB_SPACE.  On all other platforms,
if __ELF__, also call ddb_init() with empty arguments until ELF bootloaders
which pass symbol information are ready.
2001-11-09 07:21:37 +00:00
lukem
704b08b696 Generally don't need the extra byte in MAXPATHLEN sized buffers, because
pathnames are guaranteed by POSIX to be MAXPATHLEN-1 bytes long.
Kindly pointed out by Warner Losh in private email.
2001-11-09 06:55:56 +00:00
thorpej
47514a31be Remove unneeded declarations of the db_machine_init() function. The
ARM ports are the only ones that actually have one, and it is about
to change.
2001-11-09 06:52:23 +00:00
thorpej
ca61e8a63a Support for building the new BFD-using dbsym(8) as a targeted host
tool.
2001-11-09 05:53:26 +00:00
thorpej
aeeee8c24d New BFD-using dbsym(8) written by Simon Burge, with some code
derived from the BFD-using mdsetimage(8).

TODO:
* Use loadfile(), rather than home-grown ELF parsing code (requires
  some changes to loadfile()).
* Support a.out like the gwr's dbsym(8) (this comes for free when
  we switch to loadfile()).
2001-11-09 05:52:20 +00:00
augustss
1315ed7da5 Regen. 2001-11-09 05:49:53 +00:00
augustss
1018a07d67 Add a device (from OpenBSD). 2001-11-09 05:49:09 +00:00