Commit Graph

4998 Commits

Author SHA1 Message Date
matt 297071a176 alphabetize armv7 kernels 2015-05-15 06:11:06 +00:00
jmcneill 0ca3b6a4da hook JETSONTK1 kernel into build 2015-05-14 00:59:03 +00:00
matt ee4600c1cb Build ERLITE and INSTALL_ERLITE if mips64eb 2015-05-01 23:55:14 +00:00
mrg aaabec45f9 two changes to radeon drm firmware:
- only install it by default on x86, set new MKRADEONFIRMWARE variable
- install in /libdata, so that separate /usr systems work

(this still doesn't solve PR#49811, which possibly could be handled by
having them being a kernel module loaded by /boot.)
2015-04-26 21:37:22 +00:00
pgoyette 6b45f4ed79 Set the redirection correctly, so that stderr gets duped to the
already redirected stdout, rather than duping stdout to stderr!

Without this fix, the disklabel output is included in the log file
rather than being discarded as intended.  (The purpose of running
disklabel this first time is only to check for success.)
2015-04-20 22:46:35 +00:00
prlw1 68974b6b61 Apply modified version of patch from Wolfgang Stukenbrock in PR bin/41766
This forcibly unmounts tmpfs file systems, so that swapctl doesn't run
out of swap itself, eventually trying to kill pid 1.

No objections since:
  http://mail-index.netbsd.org/current-users/2015/03/16/msg026908.html
2015-04-20 18:01:46 +00:00
jmcneill 703f075e77 Rename beagleboard.img to armv7.img. The new image includes the same
kernels as beagleboard.img plus support for Raspberry Pi 2, ODROID-C1,
Cubieboard2, Cubietruck, Hummingbird A31, and Banana Pi.
2015-04-09 10:55:23 +00:00
jmcneill f02362348e fix typo in previous; pass -y unconditionally to resize_ffs, not -p 2015-04-07 18:02:11 +00:00
jmcneill 906c0d847e add KEYWORD: interactive, honour resize_root_flags and resize_root_postcmd rc vars 2015-04-06 22:40:09 +00:00
mlelstv b68ba22239 Parse config file like ifconfig.if(5).
First word is always the module name, followed by options.
Load modules right after root filesystem is checked and before it
becomes writable.
2015-04-06 15:07:50 +00:00
joerg b4ee0ddd0f Add CI20 install kernel and build that and the normal image as kernel set. 2015-04-06 14:18:08 +00:00
chopps 94dff34741 Add resize_root boot operation. If resize_root=YES in rc.conf then
the system attempts to resize the root file system to fill it's
partition prior to mounting read-write. Useful for things like AMI
file system images. May eventually be used by arm images after
coming up with similar solution for increasing the parition size.
2015-03-30 10:58:37 +00:00
jmcneill 7ba4328bfa Process /etc/modules.conf (if present) at startup, before securelevel is
raised, to allow module loading on ports without a module aware bootloader.
2015-03-21 19:10:43 +00:00
jmcneill e4dc7f14f3 hook ODROID-C1 into build 2015-03-16 22:18:14 +00:00
mrg 820bac9951 remove vga@isa and pcdisplay@isa from i386 GENERIC, and create a new
LEGACY kernel that includes them instead.  now radeon@pci is able to
properly claim wsdisplay0 on i386 systems, and radeondrmkms has a good
chance of working.

this "fixes" PR#49290.
2015-03-07 07:28:37 +00:00
skrll 28e709c9a3 Add RPI2 to kernels build for both earmv[67].
Use the earmv6 built kernels to create an image that can be used on both
RPI and RPI2
2015-03-06 11:11:55 +00:00
christos bef8765f0a there is no more makewhatis 2015-03-04 14:54:38 +00:00
kiyohara a82af3b335 Add OVERO to v7 and v7hf. 2015-02-26 14:00:17 +00:00
mrg eeeb0a0c08 add ttyC00/ttyC01 as found on eg, com(4)-based serial port systems like
the sunblade 2500.
2015-02-23 13:52:51 +00:00
christos f7f367e20c don't make ipty. postinstall removes them. 2015-02-22 14:42:44 +00:00
joerg 88c9fb0be8 Add rc script for /sbin/iscsid. 2015-02-21 23:13:00 +00:00
nakayama 29acffa014 Avoid nfs devices correctly. 2015-02-14 19:46:55 +00:00
nonaka f8baa4e97e iwm(4) works now, but 2.4GHz only.
> iwm0 at pci2 dev 0 function 0: Intel Dual Band Wireless AC 3160 (rev. 0x83)
> iwm0: interrupting at ioapic0 pin 18
> iwm0: hw rev: 0x160, fw ver 25.228 (API ver 9), address XX:XX:XX:XX:XX:XX
> iwm0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
> iwm0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
2015-02-13 18:57:46 +00:00
snj 18762df49a don't create an empty installation/misc directory in the release tree. 2015-02-05 21:50:42 +00:00
nonaka 79aad7ee9b Added RouterBOARD RB850Gx2 config. md root only. 2015-01-30 15:04:35 +00:00
jmcneill a185a6f4c2 build INTEGRATOR_CP_INSTALL 2015-01-27 20:26:34 +00:00
christos 3e734a9422 add blacklistd 2015-01-25 16:26:34 +00:00
christos cb9ad4358c add blacklist example 2015-01-25 15:49:39 +00:00
jmcneill f1c95757e8 It doesn't make sense to start wpa_supplicant from an rc.d script without
the -B flag, so always prepend it to $rc_flags.
2015-01-22 19:50:21 +00:00
snj 85566b644e Nuke the five(!) install floppies. Welcome to 2015. Approved by
dsl@, Master of Port.
2015-01-11 04:03:47 +00:00
christos 19e95bc726 Missed one 2015-01-06 03:26:05 +00:00
christos fb3ca3528d new tests directory 2015-01-06 03:14:03 +00:00
uebayasi c4f304668a Add entries, sort, etc. 2014-12-30 03:52:03 +00:00
spz 1690f8559d new ntpd wants to be able to translate ntp into a port number after chroot,
so give it its own small copy of /etc/services in the chroot
2014-12-25 23:00:18 +00:00
jmcneill b5a75d40b2 build ALLWINNER_A80 kernel 2014-12-14 18:12:55 +00:00
christos 4cab6c2235 add missing /fs/ 2014-12-13 19:23:35 +00:00
christos 78e728f7ef Add missing include directories 2014-12-13 18:55:18 +00:00
uebayasi ec8eede4a0 Indent. 2014-12-13 02:53:08 +00:00
uebayasi b249d4b6e0 Indent and space fixes. 2014-12-13 02:17:35 +00:00
christos 86aec1e590 more test directories. 2014-12-03 01:29:33 +00:00
christos 70469cdbb4 add new test directories 2014-12-03 00:52:52 +00:00
riz fd7966dae0 Freshen up the commented-out suggested PKG_PATH a bit. 2014-11-30 23:43:30 +00:00
uebayasi 0a333665fa Add a new build make variable, CONFIGOPTS, which is passed to config(1)
when building kernels.  Revert "mkernel=*" and "mkernels" in favor of
this option.

Diff posted on source-changes-d@, approved by (null).
2014-11-30 15:53:29 +00:00
christos 3c3f7bb88a - generate the list of disks only once and select from them later
- don't generate empty/useless files when disklabel or dkctl don't have data
2014-11-23 16:36:03 +00:00
uebayasi 3dcb1bdb52 Minimal linker script test. 2014-11-14 09:03:39 +00:00
tsutsui 30bc235eca Stop building a.out kernels so that mkldscript.sh is no longer necessary.
Tested "build.sh release", and the default ELF GENERIC kernel loaded by
the native bootloader just works on LUNA-II.
2014-11-13 16:18:38 +00:00
christos bd08953ecc Add new keytype, replace duplicated code with loop 2014-10-19 16:33:01 +00:00
christos bad357ce4f fix syntax error 2014-10-14 20:49:47 +00:00
jmcneill 1b1d0196e9 add HUMMINGBIRD_A31 kernel 2014-10-13 14:01:49 +00:00
uebayasi 67857e2074 Dig mcast test directories. 2014-10-12 12:32:15 +00:00
roy ccc4fd50bb sleep for 0.05 seconds instead of 2 seconds when checking if the pids
are still alive for a much faster exit.
2014-10-07 19:09:45 +00:00
tron a0fbec155b Revert last change. This was already fixed differently and something
went wrong with the change anyway. Sorry
2014-09-26 11:04:06 +00:00
tron 4c439aa401 Re-add default for "rtsol". "/etc/rc.d/network" still checks for this
setting and complains if it isn't defined at all. Add a comment that
it is deprecated and suggest to use "dhcpcd=YES" instead.
2014-09-26 10:36:11 +00:00
mbalmer 69c9176b64 unfold comment and fix spelling 2014-09-25 11:33:33 +00:00
roy f68fe4cac7 Use checkyesnox to test rtsol as it has been removed including its
default configuration which we should not warn about.
2014-09-21 09:48:32 +00:00
roy 56e4b525ee Add checkyesnox function so we can test a configurable without
being warned of its non-existance.
2014-09-21 09:47:24 +00:00
roy 679020a8a6 More rtsold removal, thanks to Henning Petersen.
Fixes PR misc/49228.
2014-09-20 15:10:41 +00:00
matt 6cf6fe02a9 New files for Userland support of UCB RISC-V (both 32-bit and 64-bit) 2014-09-19 17:36:24 +00:00
matt e8e589879a Teach this to deal with the use of include in majors files. 2014-09-19 09:01:05 +00:00
matt 59f16e16f4 add random/urandom to MAKEDEV std 2014-09-19 09:00:23 +00:00
ozaki-r de6373426e Add net/if_bridge test 2014-09-18 15:25:10 +00:00
roy d784a83a57 rtsol has gone. 2014-09-13 11:07:08 +00:00
roy cb2e7b1a58 Add the -M flag to dhcpcd so it stays in master mode even for one
interface. Suggested by apb@
2014-09-13 11:06:42 +00:00
roy f542fd2122 Don't try and install rc.d/rtsold 2014-09-11 18:01:22 +00:00
roy c6314d6139 Remove rtsol(8) and rtsold(8) as their functionality is in dhcpcd(8).
Remove rtsol(8) from rc.d/network.
Add -w seconds command to ifconfig to wait for N seconds for until DAD
has finished on all addresses.
Use ifconfig -w in rc.d/network instead of a forced sleep.

As discussed on tech-net@
2014-09-11 13:10:03 +00:00
matt 72f73e6846 Add CUBIETRUCK 2014-09-10 05:03:50 +00:00
skrll c170a85cb4 Add BPI to the list of kernels to build. 2014-09-07 20:17:57 +00:00
matt 27620987b8 New files for OR1K support 2014-09-03 19:34:25 +00:00
apb 8ce568ce88 Split some long lines. 2014-08-27 13:56:02 +00:00
apb 6b933a652f Test make(1) by running the maintained tests, not unmaintained
copies of them.

* Remove all old tests from src/tests/usr.bin/make/d_*.  These tests
  were unmaintained old copies of the actual tests which are maintained
  under src/usr.bin/make/unit-tests.  One exception is the test in
  d_unmatchedvarparen.mk, which was new, but has nw been added to
  src/usr.bin/make/unit-tests/varmisc.mk.
* In src/tests/usr.bin/make/Makefile, copy all
  the tests from src/usr.bin/make/unit-tests to
  ${DESTDIR}/usr/tests/usr.bin/make/unit-tests.
* In src/tests/usr.bin/make/t_make.sh, run the tests installed above,
  instead of the old tests.
* In etc/mtree/NetBSD.dist.tests, create the
  usr/tests/usr.bin/make/unit-tests diectory.
* Update the set lists for all the above.
2014-08-22 16:45:32 +00:00
matt 1ab7f387c3 Add eabihf directories 2014-08-10 23:31:41 +00:00
joerg f14316bcbc Update build glue for LLVM/Clang 3.6svn r215315. Changes include various
performance improvements across all backends and a much improved PPC32
backend.
2014-08-10 17:32:54 +00:00
matt 547b3a3b01 Changes to existing files to enable building AARCH64 userland.
evbarm64-el
This is clang only.  While gcc4.8 supports aarch64, no netbsd support has
been written for aarch64 with gcc4.8.
2014-08-10 05:56:36 +00:00
matt beb9c6d1b5 Preliminary files for AARCH64 (64-bit ARM) support.
Enough for a distribution build.
2014-08-10 05:47:35 +00:00
apb 9e8101899d To make pax use ${TOOL_GZIP}, we need to pass "--use-compress-program
${TOOL_GZIP}" on the command line, and refrain from passing "-z".  If
passed "-z", pax will use plain "gzip", ignoring --use-compress-program.
2014-08-06 11:41:18 +00:00
apb 5a18c2965e Introduce and use GZIP_FLAGS variable, to fix a quoting error
in the way we tried to use GZIP="-9 ${GZIP_N_FLAG}".
For consistency, also use GZIP_FLAGS elesehere in this file.
2014-08-06 10:37:30 +00:00
martin 10683121fc Add a directory for sysinst language files 2014-08-05 18:45:35 +00:00
apb f78c710fb2 Pass GZIP="-9 ${GZIP_N_FLAG}" instead of GZIP=-9n
in the environmentto commands that invoke ${TOOL_GZIP}.
This will allow them to use -nT instead of just -n with pigz.
2014-08-05 15:43:50 +00:00
apb 71da667fc9 Use ${TOOL_GZIP_N} instead of ${TOOL_GZIP} -n, and similarly
use ${TOOL_GZIP_N} -9 instead of ${TOOL_GZIP} -9n, etc.

This will pass -nT instead of just -n if the gzip program is
actually pigz.
2014-08-05 15:40:58 +00:00
dholland 0b2a19e1a1 Remove "tags=nodiff" from /var/log/authlog as suggested by uebayasi@;
part of PR 49031.
2014-08-05 07:34:52 +00:00
apb a2fb9dacaf BUILDINFO part 3: Add BUILDINFO to RELEASEVARS and /etc/release
The BUILDINFO string will appear nearthe top of /etc/release,
indented by 8 spaces and with a blank line above and below it,
but without a heading.  The BUILDINFO string is expected to
be self-explanatory.

Also change some other headings near the top of /etc/release.
2014-08-03 09:19:34 +00:00
apb 8a948b4343 In the background subshell that flushes partial output every few
seconds, detach from the controlling terminal.  Without this, pressing
control-T (to send SIGINFO from the terminal) would almost always result
in the sleep process printing "about N seconds left of the original 3",
which is useless information.
2014-07-29 20:39:16 +00:00
apb 7bc384757f In rc.subr, add _have_rc_postprocessor function and use it instead of
inline tests like [ -n "${_rc_postprocessor_fd}" ]. The new function
performs a few new tests, including verifying that /etc/rc is still
running (using a new _rc_pid variable set by /etc/rc).

This is intended to deal with the case that a script run from /etc/rc
spawns a background process, then /etc/rc exits, but the background
process still has environment variables inherited from /etc/rc.

Fixes PR 46546.
2014-07-27 07:46:46 +00:00
hkenken 3515fb1d7c Initial commit of support for Kobo touch. (i.MX507 or i.MX508)
(http://www.kobo.com)
2014-07-25 11:22:50 +00:00
wiz 7f6fa64667 'file system' for consistency with documentation (instead of 'filesystem'). 2014-07-22 17:11:09 +00:00
macallan ff8e33c9e6 since we support 601 hardware now, let's build the kernel for it as well 2014-07-20 14:52:29 +00:00
lneto 4ab4902eb2 lua: updated from 5.1 to 5.3 work3
* lua(1):
  - changed lua_Integer to intmax_t
  - updated distrib/sets/lists and etc/mtree
  - updated bsd.lua.mk
  - fixed bozohttpd (lua-bozo.c)
  - compatibilized bindings: gpio, sqlite
* lua(4):
  - removed floating-point and libc dependencies using '#ifndef _KERNEL'
  - fixed division by zero and exponentiation
  - libkern: added isalnum(), iscntrl(), isgraph(), isprint() and ispunct()
  - acpica: removed isprint() from acnetbsd.h
  - libc: moved strcspn.c, strpbrk.c and strspn.c to common
  - removed stub headers
  - compatibilized bindings: luapmf, luasystm
* reorganized luaconf.h
* updated doc/CHANGES and doc/RESPONSIBLE
2014-07-19 18:38:33 +00:00
spz 652bd7d1b3 Create the dhcpd.leases file if it doesn't exist already, don't just
warn about it not being there.
Closes PR misc/48868
2014-07-17 07:17:03 +00:00
mbalmer e119d14fc9 Consistency changes only. Start sentences with a capital letter and end
them with a full stop.
2014-07-14 12:29:48 +00:00
tls 916085404d Make named and the rest of BIND seed their RNG from /dev/urandom, not /dev/random. Better would be to rip the enormous gonkulating RNG machinery out of libisc entirely. Later. 2014-07-13 22:06:56 +00:00
spz 46ee6da10e create /etc/rndc.key on start if it doesn't already exist 2014-07-08 07:04:07 +00:00
dholland 5e7854467d Update the distrib-dirs mtree specification for the new /usr/share/doc
layout.
2014-07-05 19:23:56 +00:00
taca de6fa99741 Update root.cache to 2014060201.
Now B.ROOT-SERVERS.NET and C.ROOT-SERVERS.NET has an AAAA record.
2014-07-01 03:33:28 +00:00
alnsn e281e658e4 Add new net/t_bpfjit test. 2014-06-30 21:32:59 +00:00
martin 59ac30731b Undo the mac68k specific previous change and instead move all mkisofs-based
images into ${RELEASEDIR}/images (just like the makefs ones).
2014-06-30 15:34:57 +00:00
martin cc489da3c3 Make sure the iso target directory is created in-time for the mkisofs
invocation
2014-06-29 17:49:04 +00:00
apb d768eb27cb Print BUILDID near the top of /etc/release. 2014-06-14 12:26:26 +00:00
christos cf026aea41 add one more directory. 2014-05-31 14:36:53 +00:00
christos 6162057ac7 add new directory 2014-05-31 14:31:01 +00:00
uebayasi 582f22c9fc Tag all 0600 files as "nodiff" (== secret). 2014-05-19 05:43:35 +00:00