Commit Graph

215774 Commits

Author SHA1 Message Date
jmcneill a00d05234c pass cmdline.txt boot arguments to kernel 2013-01-07 20:42:24 +00:00
jmcneill abb27e5481 add vcmbox driver 2013-01-07 20:20:22 +00:00
jmcneill 376e8f54a7 add support for rpi temperature sensor 2013-01-07 20:19:33 +00:00
jmcneill a7ba26882a add some more vcprop definitions -- power, temperature, and voltage related 2013-01-07 20:18:28 +00:00
jmcneill e27de4fba2 allow for a single board specific device to attach to the mbox driver 2013-01-07 20:15:32 +00:00
chs d26d978fbd rearrange the LDT entries so that (32-bit) COMPAT_10 binaries work again.
in long mode, call gates use two slots, so the first entry (a call gate)
would overlap the second one (the 32-bit user code descriptor).
2013-01-07 17:03:06 +00:00
chs d4d0b05e7a switch to __USE_TOPDOWN_VM. 2013-01-07 16:58:08 +00:00
chs c01b2a5d97 switch to __USE_TOPDOWN_VM.
move the stack to the top of the user address space so that
the available free space is more contiguous.
2013-01-07 16:57:28 +00:00
chs 8f9db9bc46 fix setrlimit(RLIMIT_STACK) for __MACHINE_STACK_GROWS_UP platforms. 2013-01-07 16:54:54 +00:00
christos b9b5b7dc44 more debug flags. 2013-01-07 15:14:17 +00:00
prlw1 584e4370b5 Allow USB memory allocation by multiple segments in scatter/gather lists
rather than in a single contiguous block which causes problems with
large USB video frames.
Based on a patch by Jeremy Morse in the thread
http://mail-index.netbsd.org/current-users/2011/01/26/msg015532.html
Tested by developing http://code.opencv.org/issues/2360
OK jmcneill@
2013-01-07 15:07:40 +00:00
jmcneill e892f15350 emmc supports 1k block size, so set SDHC_MAX_BLK_LEN_1024 in host caps 2013-01-07 13:23:46 +00:00
jakllsch 85cce6af47 Find correct slot index in sdhc_cfprint(). 2013-01-07 02:56:24 +00:00
dsl 6d15685a79 Use full model number to index name strings - a lot of 256 element arrays
don't matter in usespace.
Update list of intel family 6 model names (all current cpus) to include
everything upto and including sandy bridge and ivy bridge.
My i7 is no longer reported as a random P II.
2013-01-06 23:17:35 +00:00
dsl 5c34b7d59f Correct the comment about the extended family and model bits.
Add some definitions related to the process extended state enumeration.
2013-01-06 22:37:36 +00:00
riastradh ac9a343544 Show pass1 SIGINFO output on stderr like other passes, not on stdout. 2013-01-06 22:06:00 +00:00
wiz 67fcfbd462 Fix grammar. New sentence, new line. 2013-01-06 21:27:11 +00:00
wiz b47ead0fc1 Fix grammar. 2013-01-06 21:26:59 +00:00
wiz e73ce5c11b Fix typo. New sentence, new line. Fix grammar. 2013-01-06 21:25:54 +00:00
jakllsch 3a82d47fe6 Add man page for cpsw(4). 2013-01-06 18:30:10 +00:00
tron aa2dcc1a61 Comment out "inet_protocols = ipv4" line which came from up-stream.
We want Postfix to support IPv6 out of the box.

Pointed out by Dieter Roelants on "current-users" mailing list.
2013-01-06 13:58:24 +00:00
kiyohara eb18e4a249 Remove unused a C-source. 2013-01-06 11:31:39 +00:00
kiyohara 720aa978fb Call main() in locore.S. like other arch. 2013-01-06 11:29:35 +00:00
kiyohara a5f6963176 Add IA64_VEC_SPECULATION into trap(). From FreeBSD. 2013-01-06 11:25:13 +00:00
tsutsui fce6f7dfc3 Build and install resurrected luna68k bootloader. 2013-01-06 07:04:48 +00:00
christos fa04e235ed remove the new command not the old one. 2013-01-06 04:17:27 +00:00
christos 2869772d30 remove show dmesg 2013-01-06 03:35:21 +00:00
christos cc78507c3a remove previous, dmesg just works. 2013-01-06 03:34:52 +00:00
christos 2f1fdee1b8 add show dmesg 2013-01-06 03:25:01 +00:00
christos 81736cc9cd Add "show dmesg" that prints the contents of the message buffer. 2013-01-06 03:23:55 +00:00
christos 353430cc63 fix messages. 2013-01-06 02:22:50 +00:00
christos a2757a6074 add the udp test. 2013-01-06 00:36:29 +00:00
christos 436fdc82bd new udp test 2013-01-06 00:35:22 +00:00
wiz 4bdac686eb Sort options in man page SYNOPSIS and sync usage with it.
Bump date.
2013-01-06 00:19:13 +00:00
christos 0c1215940c PR/47408: Anthony Mallet: sendto(2) issue with IPv6 UDP datagrams
- don't connect when the local port is 0, just set the local port number.
- remove redundant assignment
XXX: pullup-6
2013-01-06 00:17:13 +00:00
christos 38f4ff5bf5 fix debug variables.
- include opt_usb.h in usb.h so that USB_DEBUG gets set properly in it.
- normalize and sort debugging variables
2013-01-05 23:34:16 +00:00
dsl cbb941ff11 The Intel and AMD docs (more or less) agree on how the cpuid 'extended
family' and 'extended model' bits are used to create larger values
  than the original 16bit value allowed for.
Calculate and save these values 'up-front' and use them throughout.
Untangle the (backwards) nested switch statement for amd 'model 15' cpus.
Works as badly as ever on my i7.
2013-01-05 21:16:22 +00:00
jakllsch 74dad3229c Add driver for BCM2835 SPI0 controller. 2013-01-05 20:31:23 +00:00
jakllsch 605407517d Add driver for Broadcom Serial Control (I²C) master on BCM2835. 2013-01-05 20:15:17 +00:00
jakllsch 4f7412af4d Add a function for adjusting the pin muxer in the GPIO block.
(This should probably be revisited later.)
2013-01-05 19:55:18 +00:00
jakllsch 1dc05e277c Whitespace style adjustments. 2013-01-05 19:47:17 +00:00
jakllsch f8c023710e The BSC (I²C) interrupt is actually shared between (at least) the BSC0 and
BSC1 units, so don't name it as belonging to only BSC0.
2013-01-05 19:44:44 +00:00
tsutsui 26ab297f8a Note luna68k bootloader. 2013-01-05 18:22:18 +00:00
tsutsui df6945b89f First cut at NetBSD/luna68k native bootloader.
Based on 4.4BSD-Lite2/luna68k "Stinger" loader revision "Phase-31"
 http://svnweb.freebsd.org/csrg/sys/luna68k/stand/
and MI libsa glue stuff are taken from hp300 etc.

Tested on LUNA-I and old DK315C SCSI disk drive.

LUNA's monitor PROM can load only an a.out binary in 4.3BSD FFS partition
(i.e. created by "newfs -O 0") on disks with OMRON's UniOS disklabel,
but now we can load an ELF kernel in root partition via this bootloader.
(See luna68k/disksubr.c for details of UniOS label)

TODO:
 - LUNA-II support (check 68040 to adjust cpuspeed for DELAY())
 - secondary SCSI support for LUNA-II
 - netboot via le(4) (should be trivial)
 - support boot options on bootloader prompt
 - bootinfo (passing info about booted device and kernel symbols)
 - support "press return to boot now, any other key for boot menu" method
   like x86 bootloader (needs cnscan() like functions)
 - tapeboot (anyone wants it?)
2013-01-05 17:44:24 +00:00
dsl cd90dce7d6 If the IOC_CPU_UCODE_GET_VERSION fails with ENOTTY, try issuing the
request that the amd64 kernel understands.
2013-01-05 16:38:12 +00:00
dsl 8e616b356f Add definitions so that the i386 cpuctl can issue IOC_CPU_UCODE_GET_VERSION
on amd64 kernels.
XXX This ioctl is horrid - writes into an unsized userspace buffer.
2013-01-05 16:36:38 +00:00
christos 79e7092a0d Fix bucket and chain counts on nat lists from Geoff Adams:
The problem was that ipf_nat_delete wasn't swapping inbound and
outbound hash codes for inbound NAT entries, so it was essentially
always looking in the wrong buckets in those cases. But because of
the way the linked list works, I don't think any NAT entries were
actually leaked. But since all the bucket counters and chain count
were getting messed up, things did start to go bad after a while.
(New NAT entries wouldn't be created, for instance.)

The fix is in the ipf_nat_delete function, itself; the other changes
are a slight refactoring of one method and adding some comments
that helped me figure out how the linked list with pointer-back-pointers
worked.

Also note that I haven't looked through the logic in ipf_nat_rehash;
it's likely that that might miss some things for the same reason.

I also haven't yet looked into the ipf_nat_newrdr problem with mappings
already existing. That'll be next.
2013-01-05 16:34:43 +00:00
dsl ef07d271f5 Fix x86_identify() for amd64 2013-01-05 15:33:00 +00:00
dsl 7d87936626 Change the i386 asm x86_identify() so it returns a value instead of writing
into global data.
Fix a stack alignment fubar that would cause a crash on a cirix 486.
Refactor identify code to common setup for normal identify and ucode
identify - which was missing a memset().
2013-01-05 15:27:45 +00:00
christos bd9e6f322e document show panic 2013-01-05 15:26:59 +00:00