Home | History | Annotate | Download | only in zboot
History log of /src/sys/arch/zaurus/stand/zboot/boot.c
RevisionDateAuthorComments
 1.8  11-Jun-2016  dholland PR 51200 gets in libsa considered harmful: use kgets
 1.7  31-May-2016  dholland PR 51195 David Binderman: simplify redundant conditional.

XXX: there are too many copies of this function floating around ("gettrailer")
 1.6  28-Jun-2014  rtr branches: 1.6.4;
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.
 1.5  18-Jan-2012  nonaka branches: 1.5.6; 1.5.20;
Support to read the kernel from local file system.

ex. boot path:/mnt/card/netbsd
 1.4  25-Dec-2011  tsutsui Apply the following patch submitted by Evgeniy Ivanov:
http://mail-index.NetBSD.org/tech-kern/2011/12/15/msg012226.html
http://mail-index.NetBSD.org/tech-kern/2011/12/17/msg012229.html

- add 'ls' op to struct fs_ops to support ls command on each fs,
enabled by -DLIBSA_ENABLE_LS_OP and SAMISCMAKEFLAGS+="SA_ENABLE_LS_OP=yes"
in libsa
- split sys/lib/libsa/ufs_ls.c into UFS specific part and MI part (ls.c)
that opens the target fs and calls fs-depedent XXX_ls() functions
- add a ls op for ext2fs
(all other fs than ufs and ext2fs don't have actual ls ops yet)
- replace existing MD ufs_ls() calls with this new MI ls()

The original patch was written for i386 and ext2fs.
zaurus zboot has been tested by nonaka@.
ews4800mips and x68k loaders have been tested by me (with several fixes).
landisk might be okay since it was almost copied from i386.

XXX1: "ls" op in fs_ops looks a bit inconsistent, but we will be able to
replace it with real fs ops like readdir if it's really worth
XXX2: someone might have to check sys/arch/ia64/stand/efi/libefi/efifs_ls.c
 1.3  20-Jun-2011  nonaka branches: 1.3.2; 1.3.6;
support SL-C1000.
 1.2  22-Jan-2011  joerg branches: 1.2.2;
Drop bootprog_maker (formerly enabled by -M) and bootprog_date (formerly
disabled by -D) from the output of newvers_stand.sh. Change -D to the
inverted logic, so that it adds the date to bootprog_rev in ().

Change all platforms accordingly. -D is added if MKREPRO is not yes and
wasn't present before. Platforms that didn't use -D don't depend on
MKREPRO now either.
 1.1  02-Mar-2009  nonaka branches: 1.1.2; 1.1.4; 1.1.6; 1.1.10; 1.1.12; 1.1.14;
Added zboot from OpenBSD.
 1.1.14.1  08-Feb-2011  bouyer Sync with HEAD
 1.1.12.1  06-Jun-2011  jruoho Sync with HEAD.
 1.1.10.1  05-Mar-2011  rmind sync with head
 1.1.6.2  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.1.6.1  02-Mar-2009  jym file boot.c was added on branch jym-xensuspend on 2009-05-13 17:18:54 +0000
 1.1.4.2  04-May-2009  yamt sync with head.
 1.1.4.1  02-Mar-2009  yamt file boot.c was added on branch yamt-nfs-mp on 2009-05-04 08:12:16 +0000
 1.1.2.2  03-Mar-2009  skrll Sync with HEAD.
 1.1.2.1  02-Mar-2009  skrll file boot.c was added on branch nick-hppapmap on 2009-03-03 18:29:50 +0000
 1.2.2.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.3.6.1  18-Feb-2012  mrg merge to -current.
 1.3.2.1  17-Apr-2012  yamt sync with head
 1.5.20.1  10-Aug-2014  tls Rebase.
 1.5.6.2  03-Dec-2017  jdolecek update from HEAD
 1.5.6.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.4.1  09-Jul-2016  skrll Sync with HEAD

RSS XML Feed