Go to file
tnn bbae070d2b gpioctl: implement support for "gpioctl gpioN list". Like pcictl(8).
For drivers that name their pins, this can be used to determine how the
logical pins are mapped to physical pins. Example from sunxigpio(4):

# gpioctl gpio0 list
0: PA0
1: PA1
2: PA2
...
2019-10-20 09:41:53 +00:00
bin remove masking and cast (requested by kre@) 2019-10-14 13:34:14 +00:00
common Remove htonll and ntohll as symbols from aarch64 libc. 2019-10-12 09:22:36 +00:00
compat make all lines look the same, and put one arch per line. 2019-06-13 21:17:54 +00:00
crypto - factor out common code 2019-10-19 15:55:50 +00:00
dist/pf grammar 2019-09-21 19:48:15 +00:00
distrib remove sup 2019-10-15 18:33:23 +00:00
doc evbarm: Add support for Amazon Graviton "a1.metal" instances. 2019-10-17 23:10:23 +00:00
etc Update to 2019093001 2019-10-09 22:58:39 +00:00
external remove LD_WRAP 2019-10-17 16:53:06 +00:00
extsrc
games adjust a fallthru comment and add a missing break. 2019-10-13 07:42:57 +00:00
include remove comment for incomplete x/open impl (kamil) 2019-09-15 23:52:59 +00:00
lib Put back 'default', because llvm apparently doesn't realize that all cases 2019-10-19 19:45:10 +00:00
libexec bump sizes 2019-10-15 18:29:32 +00:00
regress Eliminate regress/libexec/ld.elf_so/expand 2019-04-06 16:25:52 +00:00
rescue Remove ldconfig from /rescue, and mark it MI obsolete. 2019-10-02 09:45:10 +00:00
sbin Switch files copyright Reinoud Zandijk from BSD 4 clause to BSD 2 clause. 2019-10-16 21:52:22 +00:00
share Add support for Killer E2400 and E2500. 2019-10-17 09:13:48 +00:00
sys gpio: make GPIOREAD return also the symbolic name of the pin, if it is set 2019-10-20 09:35:18 +00:00
tests tests: add tests for the validateion of net.inet6.ip6.temppltime 2019-10-16 07:42:22 +00:00
tools copy arm-cpu.h and arm-isa.h for arm platforms. 2019-10-16 06:57:24 +00:00
usr.bin use stdarg, annotate function as __printflike and fix broken formats. 2019-10-19 15:44:31 +00:00
usr.sbin gpioctl: implement support for "gpioctl gpioN list". Like pcictl(8). 2019-10-20 09:41:53 +00:00
BUILDING Fix a typo 2019-05-08 14:03:57 +00:00
Makefile Enhance the support of LLVM sanitizers 2019-08-27 22:48:53 +00:00
Makefile.inc
README.md Tidy up a bit. 2018-10-23 15:44:42 +00:00
UPDATING add a note about GCC 8.3 import probably needing cleaning. 2019-10-01 09:36:56 +00:00
build.sh Fix long-term broken pattern match when determining if uname -p output is 2019-06-07 15:49:20 +00:00

README.md

NetBSD

NetBSD is a free, fast, secure, and highly portable Unix-like Open Source operating system. It is available for a wide range of platforms, from large-scale servers and powerful desktop systems to handheld and embedded devices.

Building

You can cross-build NetBSD from most UNIX-like operating systems. To build for amd64 (x86_64), in the src directory:

./build.sh -U -u -j4 -m amd64 -O ~/obj release

Additional build information available in the BUILDING file.

Binaries

Testing

On a running NetBSD system:

cd /usr/tests; atf-run | atf-report

Troubleshooting

Latest sources

To fetch the main CVS repository:

cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P src

To work in the Git mirror, which is updated every few hours from CVS:

git clone https://github.com/NetBSD/src.git