Commit Graph

15884 Commits

Author SHA1 Message Date
joerg ebb4ff5f50 Update build glue and configuration for libarchive 3.4.0. 2019-07-24 14:07:16 +00:00
wiz 7cf3371d55 Move bcm43xx firmware back to /usr/libdata/firmware.
On popular request.
2019-07-24 06:53:42 +00:00
wiz d3d2abdc28 Move bcm43xx to /libdata/firmware, where all the other firmwares live.
Deprecate /usr/libdata/firmware.
2019-07-22 14:47:51 +00:00
rin 272639de87 Fallback to non-EFI boot script if EFI bootloader is absent.
Note that we do not currently build EFI bootloader for earmv7hf-eb,
as it requires little-endian version of toolchain.
2019-07-21 16:05:24 +00:00
rjs 6aef75e147 Add ftcolor.h to build from freetype2. 2019-07-21 12:15:13 +00:00
wiz c4e128da50 Install the nouveau gm206 firmware as used by my graphics card.
Also add the other gm20x nouveau firmwares to the source tree
to make it easier to add them for someone who can test them.

Installed if MKNOUVEAUFIRMWARE is set to 'yes'.
This defaults to no except on amd64 and i386 (like for radeon).
2019-07-20 19:09:21 +00:00
bouyer 10bccfac7a Add newfs_msdos to amd64 install media, proposed on port-amd64@ back in
december.
newfs_msdos is needed to make a UEFI bootable disk.
2019-07-20 15:55:40 +00:00
mrg 8811cab792 updates for freetype 2.10.0 2019-07-20 02:06:12 +00:00
mrg a58cd20e28 update for libepoxy 1.4.3. 2019-07-09 22:17:33 +00:00
christos a3d27ef828 PR/54351: Izumi Tsutsui: Remove obsolete entries that are in
/usr/share/examples/dhcpcd/hooks/, so that when someone uses
the examples, they don't get removed by postinstall. A more
advanced way to fix this is to put a date in the the obsolete
entry and only remove files when they pre-date that date. But
this is too much complexity for little benefit for now.
2019-07-06 19:45:25 +00:00
martin 1f8ec81122 Fix debug sets for curses bump 2019-07-01 07:57:01 +00:00
blymn 79e0261391 Bump libcurses major and all dependent libraries. 2019-06-30 22:15:06 +00:00
maya 9ed3bfe045 Fix typo in via openchrome driver description (no "s") 2019-06-27 15:47:10 +00:00
uki d4dc8199e7 Add comment/description for new packages 2019-06-27 11:30:21 +00:00
martin 0ce0a2fa8f Bump ramdisk slightly (non MKREPRO builds with long paths fail otherwise) 2019-06-26 07:33:19 +00:00
christos c8ad2fbe87 More fat trimming defines and we managed to feat in our tight jeans. 2019-06-22 23:42:44 +00:00
christos d33bb7af26 Add an empty fmtcheck 2019-06-22 22:50:39 +00:00
isaki e0eeaafc81 Rewrite t_pad test.
Previous version compared the pad's output binary passed mulaw-slinear
conversion and frequency conversion with the prepared "good result".
In such case, a test may fail when the implemantation changes.  In fact,
the frequency conversion algorithm was changed in isaki-audio2, so
output waveforms is not completely the same (but that's no problem with
the audio waveforms).
New version uses slinear_le/2ch/44100Hz input data and compares the
output binary with the input data.  pad with no conversions should
output the same binary.
Fix PR kern/54187.
2019-06-20 12:14:46 +00:00
uki 6e7f222be9 Mark "xbase-obsolete" to obsolete files 2019-06-20 12:09:28 +00:00
pgoyette aa59c1fcb7 Update sets lists for new ufs module 2019-06-20 03:31:55 +00:00
martin d61ed317c0 Bump file system size slightly 2019-06-14 16:34:31 +00:00
christos 4e6ce3fb28 fix eager sed that broke xorg_glamor. 2019-06-13 19:37:36 +00:00
christos 6a99759cc6 Consistency in keyword order and contents:
debug*,xorg -> xorg,debug*
	xorg,debug*,*,obsolete	-> xorg,obsolete,*
2019-06-13 13:37:56 +00:00
uki 502a34f5ec Package naming to xbase md files 2019-06-13 12:01:20 +00:00
mrg 1e5b60d053 move creds_msdos.8 into the normal place and install it. 2019-06-12 09:03:31 +00:00
mrg f409dc043f various cleanups inspired by reviews:
- clean up variable usage
- be explicit that $ssh_userkeys is global
- don't assig id output to a variable not used
2019-06-12 03:06:48 +00:00
mrg 9cc213eff5 explicitly strip carriage return so that non-unix text files work. 2019-06-12 00:28:56 +00:00
wiz 8a8727e49a Use more markup, fix some typos. 2019-06-11 11:57:14 +00:00
mrg 3e5e960fa5 add a method to add user accounts or ssh keys to the embedded
(installable) images which may be run entirely headless and
have no current method to edit the installation without another
netbsd host to modify the root (FFS) partition.

creds_msdos reads the creds.txt file from the msdos boot
partition and provides 4 basic methods:

	sshkeyfile <user> <path on msdos>
	sshkey <user> <entry>
	useraddhash <user> <passwd hash>
	useradd <user> <passwd>

the first two create a user with ssh key(s), and the second
two create a user with a password.  if the last method is used
and raw passwords are given, the creds.txt file will be
shredded and deleted by rm -P.


inspired by a request from a pine64 user.  ok jmcneill@.
2019-06-11 10:50:57 +00:00
mrg fb1e2f4d33 it's html not himl. should fix build. 2019-06-10 10:28:41 +00:00
mrg cc4760dbd4 mark several things that are only built with MKLLVMRT=yes with 'llvmrt'.
from kre.
2019-06-10 00:51:46 +00:00
christos cd43014a0b new openssl man page 2019-06-09 18:42:43 +00:00
christos 51b44ee7a9 new origin test 2019-06-07 21:32:34 +00:00
mrg bdac6522d5 install new evbarm/rktsadc(4) manual. 2019-06-06 05:32:29 +00:00
hannken 25da6a6235 Implement xdrmem_control(), used as xdr_control(xdr, XDR_GET_BYTES_AVAIL ...
and bump libc minor number.

Final goal is to remove the unmaintained XDR implementation
at external/cddl/osnet/dist/uts/common/rpc.
2019-06-04 08:44:08 +00:00
thorpej 06edce6041 Fix building of gzboot images in the EABI MACHINE_ARCH universe. 2019-06-02 17:18:57 +00:00
kamil a30683d61b Fix CATPAGES entries in distrib files
Register CMSG_DATA.0, getcchar.0, acorn32/boot.0.

These files were marked as obsolete which is no longer true.
2019-06-01 21:42:02 +00:00
kamil 707a3080aa Add ATF KERN_PROC_CWD tests 2019-06-01 19:49:02 +00:00
jmcneill f3cfa6f6ce Install ssh-copy-id(1) from the OpenSSH 8.0p1 portable distribution. 2019-06-01 13:21:27 +00:00
mrg aaea552db1 radeon_drv major was bumped. 2019-06-01 07:55:31 +00:00
maya 2c5ca21ea9 Omit mention of the boot prompt having an ACPI off option, as it was removed 2019-05-31 13:38:57 +00:00
christos 4f265e8e66 sort. 2019-05-26 21:04:56 +00:00
hannken 7ec1cb816f Add entries for the recent tests/lib/libcurses commit. 2019-05-26 20:01:07 +00:00
mlelstv b1f23fc946 Add experimental userland interface to IPMI driver. Currently, transactions
(like sensor readout) are locked, so that a userland program may interfere with
envsys operation.

To use this you need a program like ipmitool built with OpenIPMI support.
2019-05-18 08:38:00 +00:00
skrll 2c9023a65e Switch the kernel7.img RaspberryPi kernel in the armv7 image to GENERIC
and thus reducing the number of kernels built in an evbarmv7 release.
2019-05-18 07:33:10 +00:00
christos 72f0997774 Add a comment about iLO 2019-05-15 13:47:41 +00:00
christos 7c1902722a clang binaries are so much bigger. 2019-05-14 15:41:23 +00:00
uki 5e0b33a7be Change package name "-obsolete-" to "<category>-obsolete". It is a little step. 2019-05-13 08:38:45 +00:00
maxv 907a706c0b Add smtoff, an rc.d script that disables Simultaneous Multi-Threading. It
parses the output of cpuctl, and executes "cpuctl offline" for each CPU
that has SmtID!=0.

The default is "smtoff=NO", which means that SMT remains enabled.
2019-05-11 19:31:03 +00:00
christos c975cf3b97 Undo previous 2019-05-11 13:41:52 +00:00
christos 914397cddf Add cpufunc.h 2019-05-11 13:04:40 +00:00
roy a876fb76fb Fix build with MKYP=no 2019-05-09 08:20:35 +00:00
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