Commit Graph

15782 Commits

Author SHA1 Message Date
isaki
b040836639 Update manpages respond to isaki-audio2 branch. 2019-05-08 14:25:38 +00:00
thorpej
02d67d1066 Add installboot(8) support for evbarm (and, in the future, other evb*)
boards that use u-boot.  A known board database lists boards and their
respective u-boot packages.  u-boot packages are discovered at run-time
(in /usr/pkg/share/u-boot, by default).  These packages contain board
database overlays that describe u-boot installation procedure that's
specific for that board.

Support this as a native tool and as a host tool.  The native tool
will attempt to determine the running board type using OpenFirmware
calls.  Host tool and native tool alike may also specify a board type
directly using the "-o board=xxx option" or have installboot(8) determine
the board type from a device tree blob using "-o dtb=/path/to/board.dtb".
A "-o media=xxx" option is provided for boards that have different u-boot
binaries and/or installation procedures for different media types (e.g.
SDMMC, eMMC, or USB).

This is trivial to extend to other evb* platforms that use u-boot, even if
they don't use FDT for autoconfiguration.
2019-05-07 05:02:41 +00:00
sevan
114620fd30 Bump size to resolve build. 2019-05-06 17:20:38 +00:00
sevan
41dcfb613c Mark the set obsolete as well.
Heads up <jmcneill>
2019-05-04 17:03:39 +00:00
sevan
b59b1793d5 sup.NetBSD.org is no longer around. 2019-05-03 11:29:06 +00:00
mlelstv
e0c8918e3e Add man pages for Amiga clock chips 2019-05-01 06:47:45 +00:00
christos
d75e0e3089 bump bind 2019-04-28 00:03:46 +00:00
kamil
0c003f5999 Add a C99 symbol to libm: nexttowardl
It's an alias for an already existing symbol nextafterl.

Patch obtained from <mgorny>

Detected by the LLVM buildbot breakage in tests.
2019-04-27 23:04:31 +00:00
skrll
7977da520a Add mount_cd9660 and sysctl 2019-04-26 18:25:08 +00:00
maya
ff9d8a09c1 Add a test case for signbit.
(paranoia prior to a libm change)
2019-04-26 08:52:16 +00:00
maya
3cdbcb3e1b document cosl with MLINKS and in the man page 2019-04-25 23:17:24 +00:00
roy
d73f7f4f61 Don't install YP rc.d files with MKYP=no 2019-04-25 08:56:21 +00:00
kamil
945ffcea06 Bump the libpthread(3) minor number to 4
Added C11 Threading library support.
2019-04-24 13:01:52 +00:00
kamil
a9ca1710c0 Add a complete C11 threads(3) implementation
C11 Thread support library is a portable threading C API between OSs,
similar to std::threads in the C++ world.

The library is implemented as a thin shim over POSIX interfaces.

NetBSD implements the API as a part of the POSIX threading library
(libpthread(3)).

C11 threads(3) are in the process of making them an integral part
of the POSIX standard. The interface has been implemented in major
OSs and used with stopgap libraries for older versions of them.

C11 threading library is already used (with a stopgap implementation)
in the NetBSD distribution in MESA.

Original implementation by myself from 2016.

ATF tests are new and cover almost all interfaces.

Proposed on tech-userlevel@.
2019-04-24 11:43:19 +00:00
wiz
3229b961ff Fix typo. 2019-04-24 10:43:00 +00:00
roy
81b96f23a9 Don't install YP headers when MKYP=no 2019-04-24 10:26:08 +00:00
maya
dc81fb4d95 Add awge(4) man page 2019-04-22 21:58:56 +00:00
maya
8d57144a9c Express more confidence in our ability to boot on hardware with ACPI
enabled and don't warn our users that it might not and already suggest
workarounds.

The ability to disable ACPI and SMP is still there, by dropping to
the boot prompt.
2019-04-22 13:27:39 +00:00
christos
045eecf05c bump libssh 2019-04-20 17:24:06 +00:00
mrg
badcd40f23 - various updates for GCC 7 riscv definitions: -mabi and -march changed
- add missing LIBGCC_MACHINE_ARCH
- add the new ldscripts for riscv64 MKCOMPAT.
2019-04-18 10:07:07 +00:00
rin
1b7de8e902 Add missing ./var/db/dhcpcd 2019-04-18 03:50:12 +00:00
mrg
81f4fdd260 fix MKCOMPAT=no builds. 2019-04-17 07:55:33 +00:00
mrg
1ce78da3f1 enable EGL and glamor. partly from maya@.
for x86 and evbarm:
- install headers and libEGL
- install xorg-server glamoregl component
- link xorg drivers against gbm/egl

bonus fix:
- fix some wrongly marked compatx11file files


build tested on shark, sgimips, evbarm64-el, amd64 and i386.
run tested on radeon, intel and nvidia on amd64, including
'modesetting' driver on amd64.  however, my systems disable
it due to llvmpipe so i'm not sure what is happening.
2019-04-16 21:20:50 +00:00
jmcneill
337dcfaf52 Remove sun50i support from 32-bit GENERIC. 2019-04-13 10:58:11 +00:00
alnsn
6ea52a40bd Add a symlink to /altroot/stand to help the kernel find modules. 2019-04-11 23:50:01 +00:00
uki
9b084d16c2 Fix "build.sh syspkgs" error when creating base-util-root package 2019-04-11 08:34:19 +00:00
christos
a672382c55 adjust miniroot scripts to deal with the time prefix in dmesg 2019-04-10 14:52:53 +00:00
sevan
768ee5838e typo, pasto 2019-04-10 00:35:25 +00:00
sevan
967446d222 Include npf_boot rc.d scripts which loads an interim config early in boot.
By default /etc/default/npf.boot.conf which can be overriden by /etc/npf.boot.conf.
2019-04-10 00:32:15 +00:00
christos
7309e53737 bump 2019-04-07 20:28:55 +00:00
rin
e0d0a92b2a Bump for recent Mesa update. 2019-04-07 05:29:00 +00:00
kamil
13a8069b3f Register t_ufetchstore.debug in distrib files 2019-04-06 12:34:30 +00:00
kamil
929bdb0fb7 Correct ustore(9) entry for MKCATPAGES=yes 2019-04-06 12:33:18 +00:00
kamil
f8e2ee8875 Revert llvm -> llvmcmds unintended changes in distrib files 2019-04-06 09:33:07 +00:00
thorpej
91bfaeb675 Overhaul the API used to fetch and store individual memory cells in
userspace.  The old fetch(9) and store(9) APIs (fubyte(), fuword(),
subyte(), suword(), etc.) are retired and replaced with new ufetch(9)
and ustore(9) APIs that can return proper error codes, etc. and are
implemented consistently across all platforms.  The interrupt-safe
variants are no longer supported (and several of the existing attempts
at fuswintr(), etc. were buggy and not actually interrupt-safe).

Also augmement the ucas(9) API, making it consistently available on
all plaforms, supporting uniprocessor and multiprocessor systems, even
those that do not have CAS or LL/SC primitives.

Welcome to NetBSD 8.99.37.
2019-04-06 03:06:23 +00:00
christos
eca4585910 modernize, and avoid -a -o 2019-04-04 21:00:19 +00:00
christos
95c3b60f74 eXorcize and `` -> $() 2019-04-04 20:51:35 +00:00
kamil
d6a1bc3f07 Upgrade indent(1)
Merge all the changes from the recent FreeBSD HEAD snapshot
into our local copy.

FreeBSD actively maintains this program in their sources and their
repository contains over 100 commits with changes.

Keep the delta between the FreeBSD and NetBSD versions to absolute
minimum, mostly RCS Id and compatiblity fixes.

Major chages in this import:

 - Added an option -ldi<N> to control indentation of local variable names.
 - Added option -P for loading user-provided files as profiles
 - Added -tsn for setting tabsize
 - Rename -nsac/-sac ("space after cast") to -ncs/-cs
 - Added option -fbs Enables (disables) splitting the function declaration and opening brace across two lines.
 - Respect SIMPLE_BACKUP_SUFFIX environment variable in indent(1)
 - Group global option variables into an options structure
 - Use bsearch() for looking up type keywords.
 - Don't produce unneeded space character in function declarators
 - Don't unnecessarily add a blank before a comment ends.
 - Don't ignore newlines after comments that follow braces.

Merge the FreeBSD intend(1) tests with our ATF framework.
All tests pass.

Upgrade prepared by Manikishan Ghantasala.
Final polishing by myself.
2019-04-04 15:22:13 +00:00
jmcneill
edce60238f Re-enable efiboot for armv7 (thanks skrll@) 2019-04-04 14:26:39 +00:00
joerg
da48f03c8a Revert MKLLVMCMDS changes. 2019-04-03 15:12:44 +00:00
christos
4a154d606e Give us a bit of breathing room since the calculated size of mkfs is not
working.
2019-04-03 11:29:39 +00:00
jmcneill
d7a2d29c18 Turn off efiboot until we figure out why it fails on some boards. 2019-04-02 10:00:32 +00:00
christos
6772b6ffe7 need bigger clothes 2019-04-01 02:02:54 +00:00
christos
f6a35b660e paleo diet is not working 2019-04-01 02:01:39 +00:00
christos
1d2d37be68 bump 2019-03-31 16:09:14 +00:00
jmcneill
ba4377082a Install GENERIC ELF kernel as /netbsd for EFI booting 2019-03-30 13:43:52 +00:00
jmcneill
753fbe4bcd Switch to efiboot 2019-03-30 13:37:45 +00:00
jmcneill
7bee52e9e0 Install bootarm.efi to boot partition 2019-03-30 13:07:57 +00:00
jmcneill
c00f8285c0 Add bootarm.efi 2019-03-30 13:02:39 +00:00
christos
a9dcd151d2 Bumpity bump bump 2019-03-29 16:08:06 +00:00