Commit Graph

1278 Commits

Author SHA1 Message Date
kiyohara
3137e2afff bebox not support md_post_newfs() and md_post_disklabel() now. Change null-func. 2011-08-25 15:42:33 +00:00
christos
b182f6a794 document non-literal formats 2011-08-23 10:26:07 +00:00
phx
1cc96bc3f9 The ofppc generic kernel has tmpfs, so use it. 2011-08-21 15:21:46 +00:00
phx
4875a7e930 Use PRIi64 for printing tmp_ramdisk_size, which is a daddr_t (64 bits).
This fixes the size of the ramdisk file system being 0 on big endian
systems.
2011-08-21 15:06:41 +00:00
phx
fd263523fc Unmounting /targetroot in md_post_newfs() is not needed.
Use target_prefix() instead of /mnt2 in md_post_extract().
2011-08-21 13:40:08 +00:00
wiz
3de59c619c Improve a comment. For Snader_LB. 2011-08-16 18:28:41 +00:00
wiz
e6edecb609 Fix typo in comment, from Snader_LB. 2011-08-16 13:58:21 +00:00
tsutsui
44631bea4d Some style nits. 2011-07-16 23:49:10 +00:00
tsutsui
bf2202e183 Revive NetBSD/luna68k.
Even after almost a lost decade since NetBSD/luna68k was
switched to using ELF format by default back in 2001,
actually only one fix (bus.h) is required for a GENERIC kernel itself
to get multiuser login: prompt on a real hardware.  Hurrahhh!!!

Demonstrated with a working Xorg mono server on the NetBSD booth
at Open Source Conference 2011 Kansai @ Kyoto:
 http://www.ospn.jp/osc2011-kyoto/

"Very impressed," commented by Tomoko YOSHIDA,
Program Committee Chair of the Conference,
and some other OMRON guys.

Special Thanks to Tadashi Okamura, for providing
a working SX-9100/DT "LUNA" for this mission.


Changes details:

sys/arch/luna68k/include/bus.h
 - handle stride properly even on multi and region ops for MI spc(4)
 - also fix stride handling of (currently unused) 2 and 4 byte ops

sys/arch/luna68k/conf/Makefile.luna68k
sys/arch/luna68k/conf/kern.ldscript.head
sys/arch/luna68k/conf/kern.ldscript.tail
 - build a faked a.out kernel using elf2aout(8) tool
   and a linker script derived from cats and shark
   for the LUNA firmware that loads a.out binary directly
   via network or from a UNIOS partition on a local disk

sys/arch/luna68k/dev/omrasops.c
sys/arch/luna68k/dev/omron_rfont.h
 - use the original OMRON font derived from 4.4BSD-Lite/luna68k
   rather than gallant19 which is used on Sun workstations
   (XXX omrasops.c should be rewritten to use generic wsfont(4))

distrib/luna68k/*
distrib/utils/sysinst/arch/luna68k/*
etc/etc.luna68k/MAKEDEV.conf
etc/etc.luna68k/Makefile.inc
sys/arch/luna68k/conf/INSTALL
 - build a ramdisk based INSTALL kernel with sysinst(8) for luna68k
 - also build an installation iso image for luna68k

sys/arch/luna68k/conf/GENERIC
 - enable SYSVSHM (and other SYSV*) options for Xorg server

More Xorg changes (which need some more cleanup) and
isiboot.c fixes will come soon.
2011-07-16 15:52:20 +00:00
mrg
008b45d2d8 avoid a "multi-level non-const cast" warning from GCC 4.5. 2011-07-06 01:19:45 +00:00
mrg
82112210da fix check against errstr to use the right variable. GCC 4.5 rightly
complained that err (the libc function) is always not NULL.
2011-07-06 01:18:08 +00:00
wiz
4cbd24b23f dependant -> dependent 2011-06-30 20:09:15 +00:00
mrg
75e42fa7da remove most of the remaining HAVE_GCC tests that are always true in
the modern world.
2011-06-20 07:43:56 +00:00
nonaka
665e83d2f3 MBR magic exists at the beginning of 'a' partition, BPB is cleared.
Avoid to detect msdosfs incorrectly at boot time.
2011-06-11 11:43:23 +00:00
joerg
56436077b3 Use proper format strings. 2011-05-30 14:20:48 +00:00
joerg
e4a1ce5cf6 Declare mmsg as string constant, not as a pointer to a string constant.
This avoids format strings warnings.
2011-05-30 14:20:19 +00:00
martin
1f1f76a438 Add an "exitstring" to the utility menu, so translations can provide
proper strings (like: "back to main menu"). For most translations set
to plain "Exit" (like it used to be) for now - natives, please fix!
2011-04-17 12:33:42 +00:00
martin
99f3e96716 Make all curses/$TERM related failures exit with error code 4 (everything
else in here only exits successfully or with error 1), so we can react
accordingly in the surrounding script. Part of fixing PR 44738.
2011-04-08 15:53:44 +00:00
mbalmer
3d6299dc28 Remove the advertisement clause from files copyrighted by Piermont Information
Systems, with the consent of the copyright owner, Perry E. Metzger.
2011-04-04 08:30:12 +00:00
phx
2511250d06 Remove debugging output. 2011-03-26 22:16:33 +00:00
martin
02bd0cacbd German spelling rules have changed - remove some sharp-ss accordingly. 2011-03-26 16:30:20 +00:00
riz
8058e4e3ef Fix pasto/sed errors, so acorn26/acorn32/alpha/bebox
builds can complete.
2011-03-25 22:56:34 +00:00
martin
2d9a4c8a05 Split "md_hello" meesage (wich was abused on most archs to tell the user it
is safe to remove a "floppy" now) into two parts: md_hello to tell MD
specific informations (empty on most archs), and md_may_remove_boot_medium,
which is only added if md_may_remove_boot_medium() says so - by default only
say so on non local / filesystems, and never if / is on CD/DVD.

Fixes first part of PR 44738.

XXX - I'm not a linguistic genious nor semantic mind reading sed process,
please fix any fallout if you are a native speaker of an affected language
and/or user of a port I did not test. Send-pr if in doubt.
2011-03-24 22:01:13 +00:00
phx
c04d0174cc Use sysctl-node machdep.prodfamily to decide about the kernel to install and
to fix the console speed in /etc/ttys.
2011-03-20 12:43:40 +00:00
adam
561fc3a751 Added missing Polish translations 2011-03-08 11:24:28 +00:00
matt
10df5a1be5 Deal with 64 bit versions of kernels 2011-02-20 08:26:08 +00:00
joerg
3cb4a8235c Update Spanish translation. From Riastradh on IRC 2011-02-01 01:43:15 +00:00
joerg
35fb1ac585 Introduce a new option for all base sets without X11.
From jmcneill with translation help from Daniel Horecki.
2011-02-01 01:42:07 +00:00
pooka
380d30c783 make this build on non-emips again 2011-01-26 10:58:19 +00:00
pooka
5f7e80a834 Add support for the Extensible MIPS ("eMIPS") platform. The
NetBSD/emips port runs on Xilinx and Beecube FPGA systems and the
Giano system simulator.

eMIPS is a platform developed at Microsoft Research for researching
reconfigurable computing.  eMIPS allows dynamic loading and scheduling
of application-specific circuits for the purpose of accelerating
computations based on the current workload.

NetBSD eMIPS support for NetBSD 4.x was written at Microsoft Research
by Alessandro Forin and Neil Pittman.  Microsoft Corporation has
donated full copyright to The NetBSD Foundation.

Platform support for eMIPS is the first part of Microsoft's
contribution.  The second part includes the hardware accelerator
framework and will be proposed on tech-kern soon.
2011-01-26 01:18:43 +00:00
jmmv
c3babaca78 Remove password cipher selection as discussed in current-users@.
Users who really really really want to change the default setting can
continue to change their cipher algorithm right after a clean install
by modifying /etc/passwd.conf and regenerating the root password if
previously set by sysinst.
2010-12-04 14:57:56 +00:00
tsutsui
1e8199a6ea Add dumb code to select an appropriate kernel set to be installed
per running INSTALL kernel name taken from sysctl kern.version.

XXX: on all arm ports, sysctl hw.cpu_model returns a processor name,
XXX: not machine model as mentioned in <sys/sysctl.h>.
2010-09-04 01:23:25 +00:00
martin
f5c8ee89a1 Re-enable LFS as /, now that booting from it works with the sysinst default
FS parameters.
2010-06-25 10:21:50 +00:00
phx
7031fa6dfc Automatically adjust the console speed to 57600 in /etc/ttys for KUROBOX
kernel.
2010-06-13 15:32:00 +00:00
phx
16b097908c Adapted sysinst and installation docs for modern NAS boxes. 2010-06-09 17:37:23 +00:00
tsutsui
3a09116b96 Sync with md.h rev 1.17:
> convert sparc64 to MULTIPROCESSOR kernel by default, and introduce
> s/MP/UP/ kernels were otherwise in place.
2010-05-11 09:46:46 +00:00
tsutsui
6ea92ed1bd Add WZERO3 kernel to MD kernel set menu for
possible newer users of these smartphones:
http://www.willcom-inc.com/ja/lineup/ws/004sh/
http://www.willcom-inc.com/ja/lineup/ws/007sh/
http://www.willcom-inc.com/ja/lineup/ws/011sh/
etc.

XXX: sysinst/util.c:init_set_status() calls md_init_set_status()
XXX: to allow MD hook choose the right kernel, but it can do nothing
XXX: because set_status[] was changed to static. Is it okay to export it?
2010-05-10 16:33:45 +00:00
tsutsui
30fe5a6c65 Remove non-English translations from ews4800mips sysinst.
I don't think there are any EWS4800 users outside Japan.
2010-05-04 13:33:13 +00:00
martin
22ccb73099 Prevent a -ve int -> uint32 underflow, noticed by joerg.
If a partition ends up 0-sized, set it to FS_UNUSED to avoid later warnings.
2010-05-03 23:04:12 +00:00
tsutsui
5b534b475e Add sysinst(8) for hpcsh.
Mostly taken from hpcsmips, but no non-English translations.

Tested on HPW-50PA.
2010-05-03 14:14:35 +00:00
tsutsui
b3d183afc6 There is no bootable floppy on hpc ports.
XXX: no translations
2010-05-02 16:35:09 +00:00
tsutsui
8fc25fb037 Remove unused messages. (mostly pulled from i386?)
XXX1: I don't think it's worth to keep bad144 for modern flash devices.
XXX2: Should we still maintain non-English translations without a maintainer
      even after we removed www translations?
2010-05-02 14:00:44 +00:00
tsutsui
d9f9bedcec hpcarm doesn't have GENERIC or TX3912.
Use IPAQ and JORNADA720 instead in messages per md.h.

XXX1: hpcarm seems to have more kernels.
XXX2: hpcarm doesn't have a common INSTALL kernel so
      choosing a kernel set during sysinst doesn't make sense.
2010-05-02 13:52:00 +00:00
tsutsui
6dda4ee2ed Fix pasto in comment. 2010-05-01 11:13:01 +00:00
martin
a08b65f1f7 Oops - last change could lead to crashes - when not asking for a geometry,
use the default one.
2010-04-19 21:12:51 +00:00
martin
0748c0df89 Do not ask for a "bios geometry" if we can not match the device to a bios
known device - it's most certainly a don't care.
2010-04-19 20:35:23 +00:00
martin
a00365f163 Fix a varargs argument type mismatch on 32bit archs - change format to
explicitly use %lu and cast the passed value accordingly.
2010-04-19 19:22:41 +00:00
martin
2a48105b23 Tune a message 2010-04-19 19:16:11 +00:00
martin
7824e94c72 The 16bit "bootmenu valid" magic is slightly week, collisions have been
seen in the wild. So, before accepting arbitrary strings from there,
validate at least slightly and ignore if the entries are not properly
0 terminated or contain controll characters.
2010-04-15 22:55:15 +00:00
nonaka
238763f6ce Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
2010-04-06 15:54:29 +00:00