Commit Graph

1716 Commits

Author SHA1 Message Date
skrll 6d3ceb1d61 Rename NetBSD/hp700 to NetBSD/hppa.
Unfortunately our VCS isn't very helpful here.
2014-02-24 07:23:38 +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
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
christos 2b043c75b6 eliminate use of bsd.sys.mk from Makefiles 2014-01-16 01:15:32 +00:00
christos 73e8f5b689 refer to our own h_errno so we don't fetch the libc one 2013-12-21 20:10:02 +00:00
martin 5a653d813b Add a tmpfs for /var/shm on machines with more than 16MB ram to the created
/etc/fstab.
2013-12-07 20:40:42 +00:00
martin 1b1205ff08 Remove duplicated line for /etc/fstab in file list 2013-12-07 19:42:36 +00:00
skrll a47f2be0b8 Put console=fb back as autodetect is bunged up. 2013-11-28 13:39:18 +00:00
skrll bc409d7b58 Fix /dev population of the evbarm images by using MAKEDEV -s and appending
to the mtree spec file passed to makefs.
2013-11-22 11:13:54 +00:00
christos f55ff5e8dd vax specific gcc 4.8.1 hacks 2013-11-09 21:39:27 +00:00
christos d0cb43a4be remove unused variable 2013-11-07 17:18:22 +00:00
christos debabdd480 fix unitialized variable access 2013-11-04 20:07:49 +00:00
drochner 958a129dbd -recognize CF cards by the magic value in inquiry data
-kill CFG_ATAPI_MASK, didn't see anything in the specs supporting
 that it exists
2013-10-30 15:37:49 +00:00
mrg 82ccf86971 remove unused variables 2013-10-30 08:39:01 +00:00
tsutsui 65aea71825 Fix another botch of my dumb patch in PR/45990; add missing braces.
The offset of MBR partition 0 was unintentionally set to 2048 even on
small (<=128GB) disks.  Probably we should rethink the threshold,
but anyway sysinst(8) should follow fdisk(8) default.
http://nxr.NetBSD.org/xref/src/sbin/fdisk/fdisk.c?r=1.145#1199
http://cvsweb.NetBSD.org/bsdweb.cgi/src/sbin/fdisk/fdisk.c#rev1.129

The problem is pointed out and analyzed by Simon Nicolussi in PR/48304.

Should be pulled up to all netbsd-6* branches.
2013-10-13 15:32:14 +00:00
ast d134b5afd8 After discussions with cristos regarding the previous commit, he
convinced me it was sufficient to define GZIP_CMD only in
distrib/utils/embedded/mkimage and not again in the config files
beagleboard.conf, rpi.conf, and rpi_inst.conf similar to how the
other variables $src, $release, $mnt, ... are only defined there.
2013-09-16 15:23:57 +00:00
ast 555103854f Fix build release of evbarm which had been failing in mkimage
beagleboard_smp with the elusive message:

    "gzip: can't stat: gzip: No such file or directory"

This was due to GZIP=gzip being defined in mkimage; we now use:

    GZIP_CMD=${TOOL_GZIP:-gzip} # ${GZIP} is special to gzip(1)

as distrib/sets/sets.subr already does in these files as well:

    distrib/utils/embedded/mkimage
    distrib/utils/embedded/conf/beagleboard.conf
    distrib/utils/embedded/conf/rpi.conf
    distrib/utils/embedded/conf/rpi_inst.conf
2013-09-14 12:51:27 +00:00
christos 27af00aa70 avoid copying most of libc (except gethostent_r, which unfortunately
adds a resolver dependency) by callling the internal nsswitch functions.
2013-08-27 09:53:33 +00:00
christos 5f8c91aab5 provide the symbols sethostent.c in libc is missing. 2013-08-25 08:46:34 +00:00
jmcneill 9ca21b5a2d 4th time's a charm (I hope). Make sure that we pick up the kernel path passed to
mkimage command line, and not the default.
2013-08-21 22:52:28 +00:00
christos f5cfca3b2e modernize, comment out dead code, amend gethostbyaddr prototype. 2013-08-20 15:44:17 +00:00
jmcneill fbfe999cbc Instead of trying to pass two kernels to beagleboard.conf, pass one and
derive the path to the second from the first.
2013-08-19 04:27:22 +00:00
jmcneill 0b185da1b6 Try to pick up the right location for BEAGLEBONE and BEAGLEBOARD kernels. 2013-08-17 13:08:16 +00:00
jmcneill 4aa709989e support beaglebone and beagleboard with the same image 2013-08-16 00:03:01 +00:00
jmcneill dff3087daa use console auto detection, ok nick 2013-08-01 10:45:21 +00:00
joerg ad436ff631 Fix stack overflow. 2013-07-10 08:00:29 +00:00
matt 21ab2522a4 Keep both c: and d: paritions so this can work with systems that have
RAW_PART as 2 or 3.  Addresses PR/47688.
2013-07-05 15:45:17 +00:00
matt cf364a0187 Just split it into two strings and eliminate the newline.
This goes into .ident so the newline doesn't matter.
2013-07-03 14:29:28 +00:00
matt 741c872fa1 Use ANSI C string concatenation 2013-06-28 15:44:27 +00:00
christos 59f914cb33 SSD cards is stupid. 2013-06-27 14:51:30 +00:00
christos 63f6ce0ea2 explain -m better 2013-06-27 03:03:16 +00:00
christos ccedefbe54 tidy up, fix usage 2013-06-27 03:00:53 +00:00
jakllsch a78ff5d27c Use TOOL_GZIP in mkimage, and pass the TOOL_GZIP into it. 2013-06-16 13:47:42 +00:00
christos 483cb9d94d If minwrites is set:
- set noatime, nodevmtime for root
	- use tmpfs for frequently written files
	- use unix sockets instead of fifos for postfix
From:
http://rich-tbp.blogspot.com/2013/03/netbsd-on-rpi-minimizing-disk-writes.html
2013-05-20 19:28:44 +00:00
christos 1ecbd28829 - explanations for single letter flags
- flag to add debug sets
- flag to minimize writes to sd's
2013-05-20 19:27:17 +00:00
tsutsui 186ae29489 Add SET_X11_NOSERVERS for default installation sets.
Althrough landisk doesn't have any screen console (except possible udl(4)
and ukbd(4)), it's a good environment to build packages binaries for sh3el,
including dreamcast.
2013-05-14 13:41:48 +00:00
tsutsui 18d49399c6 Remove pasted but obsolete comments. 2013-05-14 13:15:55 +00:00
tsutsui 8d0fe2ad86 Use the default MD_SETS_SELECTED for ports which have Xservers. 2013-05-14 13:14:27 +00:00
tsutsui 10c998805e Use the default MD_SETS_SELECTED in util.c which includes an Xserver set.
luna68k has working Xserver so no need to specify md MD_SETS_SELECTED
with SET_X11_NOSERVERS.
2013-05-14 13:08:57 +00:00
isaki 89a2e05aa5 Enable rc_configured=YES in sysinst.
The problem that sed was not contained in ramdisk was already gone.
analized by tsutsui@.
XXX Only hp300 and mvme68k seem to have the same problem.
2013-04-21 06:24:42 +00:00
joerg ed6b016ecc More locale hacks. 2013-04-19 18:45:03 +00:00
joerg ddb0cef57c Override localeconv_l as well, when providing an alternative
implementation of localeconv.
2013-04-18 16:25:55 +00:00
htodd 297d30db54 Double extra to fix image size to fix build. 2013-04-03 19:37:43 +00:00
jmcneill b40b80aea7 For ffs, set bytes per inode to 4K. Otherwise we get a density based on
the contents of the image, which aren't very useful after the file-system
has been resized -- for rpi.img, this was 22K per inode!
2013-03-28 00:20:02 +00:00
garbled 143c554557 Add def for KERNEL_9
Get rid of unneeded disklabel -D in md.c
Fix pr/47684 by getting rid of a stupid NULL.
2013-03-26 20:56:54 +00:00
joerg 18115f664e Cleanup prelim_menu definition. 2013-03-24 20:57:19 +00:00
christos a34568e5de Nothing uses the old small dhclient, and the new version is gigantic since it
brings in libisc.
2013-03-24 20:26:29 +00:00
jmcneill 8dfeb61e2b turn on devpubd 2013-03-24 14:11:59 +00:00
tsutsui 1623b8ef7d Remove non-en translations. en is enough for poor Tier II ports. 2013-03-23 18:15:06 +00:00
tsutsui f8c98e11e4 Remove rarely maintained and required non-en translations. 2013-03-23 17:29:38 +00:00