Commit Graph

13972 Commits

Author SHA1 Message Date
rtr e9c95bf579 patch posted to tech-kern@ 2014/06/25 for review with minor changes
resulting from feedback.

move multiple copies of code for parsing boot.cfg file from sparc, i386
and zaurus into libsa/bootcfg.{h,c}. largely retained i386 parsing logic
in addition to keeping sparc dispatch function while remaining consistent
with boot.cfg(5).

previous sparc64 file format has been obsoleted but only used by boot
CDs distrib/sparc64/bootfs/boot.cfg has been updated to compensate.

exported names have been prefixed with either BOOTCFG_ or bootcfg_ as per
feedback from christos@

tested on amd64 & sparc64 but not zaurus.
2014-06-28 09:16:18 +00:00
alnsn c923aef9b6 Add new libbpfjit tests. 2014-06-25 19:20:46 +00:00
christos 3a6f0f67e4 remove gdbint.info; it is no more. 2014-06-23 15:22:07 +00:00
shm 509eb314f7 Add bm(3) tests 2014-06-23 10:53:20 +00:00
skrll 377f7201a6 Increase IMAGESIZE to fix build. 2014-06-19 16:34:21 +00:00
christos 00f836315e more mktemp flavors. 2014-06-18 17:52:49 +00:00
christos b7b5f0e5c2 bump libc. 2014-06-18 17:50:14 +00:00
alnsn be10a58478 Add sljit support to arm. 2014-06-17 06:36:39 +00:00
joerg 13b8fa7d71 Add modfl(3). From FreeBSD. 2014-06-16 12:54:42 +00:00
joerg 3adc1c7681 Add asysctl(3) and asysctlbyname(3) wrappers for the common idiom of
fetching dynamically sized data via sysctl.
2014-06-13 15:45:05 +00:00
hikaru 73c29dd7cc Add VMware VMXNET3 ethernet driver from OpenBSD, vmx(4). 2014-06-10 01:42:38 +00:00
uebayasi 0bf7a3d460 Execute sub-${MAKE} from within a source directory. 2014-06-09 01:17:44 +00:00
martin 1d2ec51731 When uncompressing the kernel, allow overwriting of an existing one in the
cdrom content directory - this helps update builds.
2014-06-04 19:31:57 +00:00
tsutsui b13a31e41c Apply patch in PR port-alpha/48697 (with some tweaks).
Tru64 UNIX's disklabel is the same format as BSD disklabel,
and it seems Tru64 stores incorrect geometry values in
d_nsectors (sectors/track) and d_secpercyl (sectors/cylinder).
d_secperunit seems always reliable so use it to get
dlsec (sectors/track) and dlcylsize (sectors/cylinder) values.

Should be pulled up to netbsd-6 branches.
2014-06-02 15:03:47 +00:00
christos 9cf96bf22e add missing files for dotcmd tests 2014-05-31 20:26:51 +00:00
christos 50fbec612b new shell tests 2014-05-31 14:36:03 +00:00
martin 8d9bfc398a Instead of running MAKEDEV inside the image content dir (which would only
work for root), make it emit a mtree spec file and pass that to makefs.
This should also work for unprivileged builds.
Problem pointed out by Izumi Tsutsui.
2014-05-31 10:43:00 +00:00
martin 836e302df5 Add a variable CDMAKEFSEXTRAOPTS to provide additional parameters to the
makefs invocation that do not belong in the image option list (CDMAKEFSOPTIONS)
2014-05-31 10:18:47 +00:00
joerg b1bb3099bf Update build system for LLVM/Clang snapshot r209886. This brings in the
merged AArch64 backend and the move of eARM to DWARF exception handling
for NetBSD. C++11 is required for building.
2014-05-30 18:28:13 +00:00
martin 598e3edde3 Pre-populate /dev on the CD - with rockridge extensions we can do this and
it saves us one tmpfs (or mfs) instance, which helps quite a bit on low
memory machines.
2014-05-30 13:24:22 +00:00
martin 3a97fc059a The current vax /boot is super slow unziping kernels - and this is a CD, wich
has space enough, so unzip the kernel on it to speed up the boot process.
XXX The /boot bug should nevertheless be fixed.
2014-05-30 13:23:05 +00:00
martin 6514db7aa7 Make it deal with /dev being the result of a "MAKDEV all" instead of
"MAKEDEV init" by mounting a ptyfs if needed.
2014-05-30 13:19:42 +00:00
uebayasi ba7dc1f3c8 Convert mtree spec path characters with sed(1) to avoid tool'ifying vis(1). 2014-05-30 08:37:35 +00:00
tron 2cbd21c61e Update for OpenLDAP 2.4.39. 2014-05-28 11:32:50 +00:00
martin 41671a8417 Enable swap during sysinst as early as possible 2014-05-28 11:16:03 +00:00
mrg e9fe6f353d add new htmintrin.h and htmxlintrin.h files for GCC 4.8.3. 2014-05-28 09:38:46 +00:00
palle 3ce6c8957e Ensure a disklabel is present since sun4v OpenBoot requires a valid disklabel in the disk file image. With this change the miniroot.fs can be used as a virtual disk when using sun4v LDOMs. OK martin@ 2014-05-27 19:04:29 +00:00
rmind 3da69dd68c MI IPI interface:
- Implement support for the asynchronous IPI calls.
- Rework synchronous IPI code to reuse the asynchronous mechanism.
- Add ipi(9) manual page; needs wizd(8).

Note: MD code can now provide a low level primitive for the ipi(9) and
reuse this interface instead of open-coding.  Portmasters are encouraged
to convert.  Ride 6.99.43!
2014-05-25 15:34:19 +00:00
uebayasi bfc7c5220a Unbreak syspkg by escaping '[' by vis(1) to match the new mtree(8) format. 2014-05-24 13:27:13 +00:00
martin 798dfc7221 If mounting the various tmpfs instances fails, we do not have enough
RAM installed. Tell the user about it and exec a single user shell
(instead of randomly failing later and hanging the machine.)
2014-05-23 12:25:46 +00:00
martin 944ff57caa Use GENERIC instead of INSTALL (including the ramdisk) for this CD image
and mount the CD filesystem as root instead for installation.
2014-05-21 14:21:35 +00:00
martin 25fbf89b06 Create /var/tmp for vi. Pointed out by Izumi Tsutsui. 2014-05-19 15:57:04 +00:00
jakllsch 68fd71584a add hythygtemp module to set lists 2014-05-18 18:28:48 +00:00
jakllsch 7236048644 add hythygtemp man page files to setlist 2014-05-18 18:24:16 +00:00
martin 483126c11b PR install/48818: put vi on install CDs 2014-05-18 13:06:12 +00:00
nat dc2ecd830b libossaudio minor version bump to signify new ioctls. 2014-05-18 10:36:34 +00:00
apb a5a1461c5e sort 2014-05-15 16:32:28 +00:00
apb 36f73837c6 Teach "make sortlists" to ignore .#* files (sometimes created by cvs),
and to squeeze multiple blank lines.
2014-05-15 16:32:07 +00:00
apb 5aa908ce9e Add ./usr/share/zoneinfo/Antarctica/Troll for tzdat2014c 2014-05-15 16:06:38 +00:00
martin 9ce5f7726e Add a test case for PR kern/48787. 2014-05-10 14:15:25 +00:00
uebayasi 413d532bcc Minimal execve(2) ATF test. 2014-04-29 06:29:02 +00:00
abs 2678a1c767 Fix MKPAM=no build 2014-04-25 12:11:27 +00:00
pooka 0159a35e80 obsolete the installed <rump/scsitest.h> header and make it private
to tests/dev/scsipi
2014-04-25 00:24:39 +00:00
pooka 8fa17e4756 scsitest is a SCSI target emulator used by one test, and has little
reason to get installed.  Make the component private to the test using
it and obsolete the installed one.

IOW, rename sys/rump/dev/lib/libscsitest -> tests/dev/scsipi/libscsitest
2014-04-24 21:46:44 +00:00
kardel 04f5544c2e install bcmgpio.4 for evbarm arch 2014-04-23 07:04:01 +00:00
kardel 511648e509 add a driver for BCM2835 obio gpio 2014-04-22 18:51:35 +00:00
christos 36a92b0a64 Kill lint libraries we don't (or can't yet) produce 2014-04-22 15:27:50 +00:00
christos 722e1fac67 fix sparc debug sets 2014-04-21 19:26:56 +00:00
joerg 09f7b6d69d /usr/include/g++/bits/${CONFIG} directories are created independent of
MKGCC, so fix file lists.
2014-04-21 00:17:50 +00:00
abs a260d75005 Mark /rescue/ldconfig as 'pic' only to enable building static releases (NOPIC=).
Only MKX11=no tested.
2014-04-20 13:41:21 +00:00
pgoyette 282ceca326 Reference the correct test file name...
Hello again, xtos!
2014-04-17 23:15:27 +00:00
christos a20e9a10c9 add new lint tests 2014-04-17 18:37:07 +00:00
htodd c33d0dd3ae Add getaddrinfo.debug to lists. 2014-04-16 00:41:07 +00:00
ginsbach 42bc9b7b73 Hook getaddrinfo(1) into the build. Hi riastradh! 2014-04-15 22:09:27 +00:00
skrll 85857b7e96 The ctf tools are controlled by MKCTF now. Mark the debug files
accordingly.
2014-04-13 17:13:27 +00:00
snj f45011fb30 NetBSD.org police. 2014-04-12 18:30:39 +00:00
asau dd8566755f Mark /lib/libnpf.so as a part of NPF to fix builds without NPF (MKNPF=no). 2014-04-10 22:11:57 +00:00
pooka ef453332be add aio driver as rump kernel component 2014-04-10 00:09:08 +00:00
christos 020a8485e4 add stp*cpy tests. 2014-04-06 19:51:39 +00:00
kardel a845bf81d9 add Microchip MCP23S17 GPIO driver
(via SPI interface)
2014-04-06 17:59:39 +00:00
christos b862878222 merge more, and add an i386 image 2014-04-04 16:45:51 +00:00
christos 9926e61998 now that fdisk has optional arguments, don't pass -1 2014-04-03 22:51:38 +00:00
riastradh ed2e9169d8 Update reachover makefiles and set lists for xf86-video-intel 2.21.15. 2014-04-03 02:51:19 +00:00
ozaki-r 66441ce925 Include evbarm.conf as same as other conf files
evbarm.conf ensures ${mnt}/boot exists so that it avoids the error:
  /home/builds/ab/HEAD/src/distrib/utils/embedded/mkimage: cannot create \
  /tmp/mkimage.24444a/mnt/boot/cmdline.txt: directory nonexistent
2014-04-03 01:36:20 +00:00
riastradh 93797f6cf7 Install compositeext.h and shmint.h from X.org. 2014-04-02 01:22:11 +00:00
christos 681726d876 add kvno 2014-04-01 21:40:46 +00:00
martin 2f8231a7ba Add two missing include files 2014-04-01 19:13:31 +00:00
martin e1fb7646e5 Do not set MDSET_RELEASEDIR - need to revisit 2014-04-01 14:06:38 +00:00
christos 652c754390 remove swap; these days x86 machines don't need it. 2014-03-31 18:18:45 +00:00
christos 1ccc28a220 provide a -r rootdev option to handle the wd/sd/ld lossage. 2014-03-31 18:18:29 +00:00
christos 08207c1137 these changes produce a bootable system under qemu, but its root is trashed. 2014-03-31 17:05:03 +00:00
christos b87f017469 Add preliminary support for creating x86 usb sticks with mkimage.
This is untested, and just a checkpoint of the work. Image looks
ok, but I have not tried if it boots.
2014-03-31 16:20:48 +00:00
martin aad6ef8bb5 Bring back the playstation2 port - now that a toolchain for it is
available again.
2014-03-31 11:25:47 +00:00
adam 22b703c4c2 Fix for /usr/include/g++/bits directory, which is only for MKGCC=yes 2014-03-29 20:22:16 +00:00
hsuenaga 99b1ffd423 Added myself, hsuenaga 2014-03-28 08:24:06 +00:00
apb 594d9bd67e Use calloc instead of malloc + memset. This fixes a bug
in which the wrong size was passed to memset.
2014-03-27 16:34:37 +00:00
ozaki-r 1339b2cc13 Add MKCTF
This variable separates CTF stuffs from MKDTRACE; we can build DTrace
solely without building and using them. This allows us to use DTrace
even if CTF stuffs have problems (actually they have now).

This variable would be merged into MKDTRACE eventually, once CTF stuffs
work correctly again.
2014-03-25 09:52:55 +00:00
hannken f3cf481632 - Make VI_XLOCK, VI_CLEAN and VI_LOCKSHARE private to kern/vfs_*.c.
- Make vwait() static.
- Add  vdead_check() to check a vnode for being or becoming dead.

Discussed on tech-kern.

Welcome to 6.99.38
2014-03-24 13:42:40 +00:00
njoly 7c7fa700e5 Add a few xorg lint libraries. 2014-03-22 13:40:55 +00:00
skrll 532f35877f Add mtsleep(9) and a description of how it, tsleep(9), and wakeup(9)
should all be replaced with condvar(9).

While here clear out the lock(9) reference(s) and the obsoleted example.

Based on misc/48671
2014-03-22 11:24:35 +00:00
christos ad99e7817d bump libssl 2014-03-21 17:00:18 +00:00
wiz ba2e1ecb62 Fix simplelock entry. 2014-03-21 13:30:39 +00:00
martin 2f7cf5b01f Add libpthread-stubs_g.a 2014-03-21 12:30:00 +00:00
riastradh 5e5d46fece Update libfreetype debug data version. Hi mrg! 2014-03-20 15:20:44 +00:00
mrg ac142a8081 merge freetype 2.5.3. 2014-03-20 08:57:48 +00:00
skrll 8cb3822189 simplelock.h is no longer used. 2014-03-20 06:50:54 +00:00
nonaka c3077021ad Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.
2014-03-19 15:26:41 +00:00
hannken b349ee43ab Operations vmark(), vunmark() and vismarker() have been replaced by
vfs_vnode_iterator_*(), remove them.

Document vfs_vnode_iterator_*().

Make VI_MARKER private to vfs_vnode.c, vfs_mount.c and unfortunately
to ufs/lfs/lfs_segment.c.

Welcome to 6.99.37
2014-03-18 10:21:47 +00:00
mrg 5fedc2df63 updates for libdrm 2.4.52. 2014-03-17 08:11:32 +00:00
mrg 6f16f8b83f merge libxcb 1.10 and libpthread-stubs build.
update the libxcb generated files.
2014-03-17 07:25:34 +00:00
mrg 2c51d1ae0f merge xtrans 1.3.3 (deletes Xtranstli.c -- so sad, bye bye.) 2014-03-17 01:09:07 +00:00
mrg c23d29ea55 updates for libX11 1.6.2, dri3proto and presentproto, and fix
the libXrender build.
2014-03-16 23:25:15 +00:00
joerg 8512c71356 Bump INSTALL ramdisk size slightly to allow building with DBG=-g. 2014-03-16 13:37:36 +00:00
martin 8ada782766 Add umcs(4) 2014-03-16 09:28:43 +00:00
pooka 519e5d9ffc + rumpkern_time 2014-03-14 01:05:57 +00:00
nat 00def356cf Add myself. 2014-03-13 03:34:00 +00:00
njoly b2c88113da Add a few dwarf/elf cat pages. Sort list. 2014-03-12 12:26:40 +00:00
christos 2c78a050a7 fix libelf.so sets 2014-03-11 01:38:15 +00:00
martin 1484d21b0b Fix compat libelf version numbers 2014-03-10 13:19:53 +00:00
martin e54f44c728 Fix compat libelf version 2014-03-10 08:45:30 +00:00
htodd ac4d595faa Fixing sets. Adding dwarf/elf man pages and fixing library versions. 2014-03-10 00:23:22 +00:00
htodd ddd98b33bf Fix typo in library version. 2014-03-09 20:35:30 +00:00
christos e7afef90f3 bump libelf and libdwarf 2014-03-09 18:12:57 +00:00
matt db3aaf6ec5 Update for MKCOMPAT=yes 2014-03-07 05:50:41 +00:00
skrll 5c4082b335 Repeat after me... don't delete entries mark them obsolete. 2014-03-06 12:17:11 +00:00
martin 17aac1395e It is md.${MACHINE}.${MACHINE_ARCH} 2014-03-05 08:23:16 +00:00
martin f53fda53b2 Rename md.evbppc to md.evbppc-powerpc, to separate it from the evbppc64
one (which is nonexistant for now).
2014-03-04 11:53:48 +00:00
joerg 25dea22938 Pass down TOOL_STAT here as well. 2014-03-03 19:14:00 +00:00
pooka 98974ef8eb add man page for rumpfs 2014-03-03 18:27:20 +00:00
skrll 2b310a0c9d Restore the hp700 file entries and mark them obsolete.
Don't mark any hppa files obsolete - delete them.
2014-03-03 13:54:43 +00:00
ozaki-r fd90b32458 Add micphy 2014-03-03 02:10:24 +00:00
joerg eb64341606 Bump sshramdisk size to 3800k, reserve 4MB in the install kernel. 2014-03-02 13:25:43 +00:00
joerg e216bba83c Clang needs a slightly larger MD image, so bump the size to 2300k. 2014-03-02 13:24:38 +00:00
tsutsui b76049b5e9 Add X11R7 X68k server stuff. 2014-03-01 19:46:43 +00:00
dsl bb937bf907 Replace all the libbind9.so.7 with libbind9.so.8.
Hmm... why isn't the list of 32bit compat libs based on the normal list?
2014-03-01 15:41:00 +00:00
christos 4ae39b5fdc bump bind libraries 2014-03-01 03:28:06 +00:00
matt 610fda19da Split ARMv6 and ARMv7 kernels.
Handle armeb properly.
Add CUBIEBOARD
2014-03-01 01:53:36 +00:00
matt 279db79088 TARGETS -> ARCH_TARGETS 2014-03-01 01:52:13 +00:00
skrll 1e41b26996 Bump IMAGESIZE 2014-02-28 09:50:48 +00:00
martin 778a834ff6 Mark two gcc-4.8-only files as such (while the directories they live in
are only dependend on "compat" for now - sigh)
2014-02-28 09:31:17 +00:00
joerg 45ad289cdd Use gcc,compat, directory creation only depends on the MKCOMPAT switch. 2014-02-27 15:56:12 +00:00
isaki 0f8a3551c1 Increase the image size to 1600KB. 2014-02-27 09:13:20 +00:00
martin 0e1ee3bc54 Fix obvious copy&pasto 2014-02-25 14:05:35 +00:00
joerg fe94801223 Fix compat entries. 2014-02-24 21:14:13 +00:00
ozaki-r 4c90c2b202 Add myself 2014-02-24 11:56:01 +00:00
skrll 6d3ceb1d61 Rename NetBSD/hp700 to NetBSD/hppa.
Unfortunately our VCS isn't very helpful here.
2014-02-24 07:23:38 +00:00
jdc c2a0934238 Add the tsciic manual pages to the sets lists. 2014-02-21 12:26:40 +00:00
tsutsui b2183d3ee1 Add dhcpcd(8) to luna68k sysinst. Also bump ramdisk size. 2014-02-20 14:30:23 +00:00
tsutsui 2bfe408bb8 Improve luna68k md part of sysinst.
- setup a boot UFS partition and install native bootloader
- add messages how to setup NVRAM variables for firmware to load bootloader
- enable swap on <= 32MB machines
2014-02-19 12:14:40 +00:00
dsl 63b89b358b Unobsolete fpu.h 2014-02-18 22:03:52 +00:00
christos 6255e66148 bump sqlite3 2014-02-16 18:19:10 +00:00
tsutsui bde3bdd586 Use msg_display(3) rather than printf(3) to print dobootblk messages.
The latter won't show any characters on the sysinst screen
and other ports have used the former.
2014-02-15 19:45:43 +00:00
tsutsui b5686ed1fa Put a bootloader binary into install ramdisk.
sysinst support will come soon.
2014-02-15 18:41:20 +00:00
dsl ec9cf4df7b If MAKEVERBOSE < 2 remove the -v from pax command lines. 2014-02-15 09:43:02 +00:00
dsl 6609905aac Mark i386/npx.h obsolete.
I'd forgotten it was released here as well.
2014-02-13 17:42:24 +00:00
dsl e405c62563 Change i386 to use x86/fpu.c instead of i386/isa/npx.c
This changes the trap10 and trap13 code to call directly into fpu.c,
  removing all the code for T_ARITHTRAP, T_XMM and T_FPUNDA from i386/trap.c
Not all of the code thate appeared to handle fpu traps was ever called!
Most of the changes just replace the include of machine/npx.h with x86/fpu.h
  (or remove it entirely).
2014-02-12 23:24:09 +00:00
dsl fbb90a6bbe Add x86/fpu.h
Nothing in i386 uses it yet, but it ends up in destdir so it has to be
released.
2014-02-11 22:48:25 +00:00
dsl 742d777c6d Move sys/arch/amd64/amd64/fpu.c and sys/arch/amd64/include/fpu.h
into sys/arch/x86 in preparation for using the same code for i386.
2014-02-11 20:17:16 +00:00
pedro 6ef01c7afe add myself 2014-02-10 06:36:53 +00:00
jmmv c973eabc21 Update file lists for atf 0.19.
This has been tested with both MKKYUA=no (the default) and MKKYUA=yes, as
well as with a non-clean tree and a clean build.  Hopefully I got the
details right... but they were tricky!
2014-02-08 19:17:42 +00:00
maxv 472e7df239 add myself 2014-02-08 15:50:29 +00:00
dsl f2491100df Add cpu_extended_state.h 2014-02-07 23:18:04 +00:00
christos d5946430b1 bump 2014-02-06 18:36:15 +00:00
njoly a935b103a7 Handle another declaration after statement case for lint in c99 mode.
Add the corresponding testcase.
2014-02-04 08:08:59 +00:00
matt 53a841187b Pass DBG to crunchgen so it can get into the created mk file. 2014-02-01 21:05:54 +00:00
jmmv 2d5468b007 Add missing Kyuafile for usr.bin/vmstat tests. 2014-02-01 20:49:11 +00:00
nakayama c7c583d9f6 Make sljit usable on sparc64 32-bit kernels. 2014-02-01 17:01:35 +00:00
christos 9f504665aa bump libc for ___lwp_park60 2014-01-31 20:48:49 +00:00
tsutsui f6b1443bfc Update md.ews4800mips list for xorg-server 1.9.2 merge. 2014-01-31 18:13:39 +00:00
joerg 048981b58c Add test for uint64 to real long double conversion. 2014-01-30 15:04:04 +00:00