Sat Jun 16 13:38:56 EDT 2001 Ben Collins * Makefile: Cleanups. * Rules.make: Up version. * silo.spec: Likewise. * docs/LSM: Likewise. * second/util.c: Cleanups. * silo/confcheck.c: Get enum arch from promlib.h. * silo/silo.c: Grammar fixes. * silo/silocheck.c: Fix include of ufs.c. This might not work anymore on Solaris because this file changed so much. I really need to get that crappy OS installed just to test this shit. Sat Jun 16 02:15:35 EDT 2001 Ben Collins * common/printf.c: Cleanups, and document correct allowed formats. Also output format if unrecognized. * common/stringops2.c: Remove unused code that was only needed for libext2fs.a. * common/tree.c: Remove unused code. * first/cd.S: Minor formatting changes to match fd.S. * include/promlib.h: Remove non-existent declerations. * include/silo.h: Likewise. * include/stringops.h: Likewise. * include/ext2fs/bitops.h: Updated from current e2fsprogs. * include/ext2fs/ext2_err.h: Likewise. * include/ext2fs/ext2fs.h: Likewise. * include/ext2fs/ext2_io.h: Used to be io.h, from update. * second/file.c: Remove extraneous includes. * second/fs/ext2.c: Add realloc() and time() stubs. * include/et/error_table.h: Removed. * include/et/internal.h: Removed. * include/et/mit-sipb-copyright.h: Removed. * include/ext2fs/ext2_err.et: Removed. * include/ext2fs/io.h: Removed. * include/non-linux/iso_fs.h: Removed. * include/non-linux/romfs_fs.h: Removed. Fri Jun 15 23:45:53 EDT 2001 Ben Collins * The "Fix the FSF Address Update". Replace the COPYING file with the latest GPL v2. * Lots of Makefile updates and cleanups. Fri Jun 15 14:23:20 EDT 2001 Ben Collins * Updates for makefiles, including revup Fri Jun 15 12:36:26 EDT 2001 Ben Collins * common/printf.c: Check for null pointer for %s format. Fri Jun 8 10:27:29 EDT 2001 Ben Collins * second/main.c (tab_complete): Support tab completion for other than the first item on the command line. Fri Jun 8 10:10:47 EDT 2001 Ben Collins * second/file.c (dump_block): Kill common args. * second/file.h: Update decleration of dump_block. * second/fs/ext2.c: Update dump_block Interface. * second/fs/isofs.c: Likewise. * second/fs/ufs.c: Likewise. * second/fs/romfs.c: Likewise. Also fix cut and paste error. * second/fs/romfs.c: Add ls support. Wed Jun 6 14:48:30 EDT 2001 Ben Collins * second/Makefile: Add fs/ufs.o and fs/romfs.o to libfs.a. * second/file.c: Add ufs and romfs file ops. * second/fs/romfs.c: Romfs support for SILO. * second/fs/ufs.c: UFS support for SILO. * second/fs/isofs.c: Oops, forget to set/unset have_inode. Wed Jun 6 13:02:34 EDT 2001 Ben Collins * common/Makefile: Clean up the "clean" target. * first/Makefile: Likewise. * second/Makefile: Likewise. * silo/Makefile: Likewise. * tilo/Makefile: Likewise. * common/udiv.S: Updated from 2.4 kernel source. * common/urem.S: Likewise. * second/divdi3.S: Likewise. * second/muldi3.S: Likewise. * second/rem.S: Likewise. * second/sdiv.S: Likewise. Wed Jun 6 04:30:21 EDT 2001 Ben Collins * docs/README: Updated. * second/9660.c: Removed. * second/9660.h: Likewise. * second/romfs.c: Likewise. * second/romfs.h: Likewise. * second/ufs.c: Likewise. * second/ufs.h: Likewise. * second/file.c: Stripped down, and rewrote to be more abstract. Now supports easy addition of new filesystems. * second/file.h: New file, describe interfaces for filesystem modules with file.c. * second/fs/iom.c: I/O Manager for file.c. * second/fs/ext2.c: EXT2 Filesystem support rewritten for new interface. * second/fs/isofs.c: ISO-9660 Filesystem support rewritten for new interface. This was almost a complete rewrite. It now supports extended Rock Ridge information, but also supports ls and tab completion. * second/fs/rock.h: Rock Ridge definitions for isofs.c. * second/Makefile: Build new fs/ subdir as libfs.a and tack it into the second stage boot loader. * Still need to update the romfs and ufs filesystems to the new layout. Mon Jun 4 22:42:03 EDT 2001 Ben Collins * Rules.make: Update for 1.1.0 release. * silo.spec: Likewise. * docs/LSM: Likewise. * include/silo.h: Add macros for load_file cmd options. (do_ls): Returns int, and takes int* as second arg now. (cfg_print_images): Also returns int, and now takes two char* args. * second/cmdline.c: Rewrote logic into a case switch, and added extra handling of the tab function. * second/cfg.c (cfg_print_images): Take two extra args, one for an address to write the aliases/labels to (nil delimited), and another to use as a matching. Pass these two args to printlabel. Also, return number of labels printed/written. (printlabel): Accept the two extra args from above, and use them. * second/file.c (ls_ext2): Take an extra arg to match against. Rework for new macro setup. Allow for no error output if matching. Pass the match as private to ls_ext2_proc. (ls_ext2_proc): Use the extra private data for matching, if present. (load_file): Use new macros. For matching, breakdown the dir/file components, and pass them along to ls_ext2. Don't print any errors if LOADFILE_QUIET. * second/ls.c (do_ls): Take an extra arg, which is used for ambiguity in matching. This signifies that our output is for tab completion. If ambiguous, output a list of possible completions, if not, then complete the command line as much as possible. * second/main.c (maintabfunc): Recognize new tab completion. Call tab_complete if the command line is non-empty, and contains no spaces. Call cfg_print_images if it is empty. (tab_complete): New function. Handles parsing of the command line, and attempted completion against either files on an ext2 fs, or aliases/labels in silo.conf. Use new macros. * docs/README: Scratch tab completion from the TODO list. Sat Jun 2 23:43:11 EDT 2001 Ben Collins * Makefile: Ok, if we aren't using DESTDIR, then warn user that they need to run silo after install. Thu May 31 13:21:27 EDT 2001 Ben Collins * second/crt0.S: Recognize SPARC64-III and SPARC64-IV, patch from Ralf Liesegang * tilo/crt0.S: Likewise. Mon May 28 09:28:01 EDT 2001 Ben Collins * common/stringops2.c: Update comment about time(), which is only a stub for libext2fs.a. * second/file.c: Remove include for sys/time.h. It doesn't appear to be needed. * include/stringops.h: Remove decleration of time(). * silo.spec: Updated for new manpages and URL, from Pieter Krul. Fri May 25 20:28:01 EDT 2001 Ben Collins * Rules.make: Final cleanups. * common/inflate.c: Add rotate() here so silo and tilo get it. * second/file.c: Remove rotate() from here. Fri May 25 18:35:21 EDT 2001 Ben Collins * Makefile: Add install of man pages. Reorder SUBDIRS so tilo gets built before silo. * Rules.make: Move CFLAGS definition to here. * common/Makefile: Remove from here. * tilo/Makefile: Likewise. * first/Makefile: Likewise. * second/Makefile: Likewise. Also fixup LDFLAGS so that don't trump over other declerations. * silo/Makefile: Likewise. * common/bin2h.c: Add some includes to make it compile without warnings. * common/prom.c: Fix some multi-line strings. * common/stringops2.c: Fix strn* declerations to use size_t and not int for size. * include/md-int.h: Fix trailing text after last #endif. * include/silo.h: Remove strn* prototypes from here. * include/stringops.h: Fix strn* prototypes. * second/9660.c: Prototype alloca(). * second/bmark.S: Add newline to end of file. * second/crt0.S: Cleanups to make it match tilo/crt0.S. * second/decomp.c: Cleanups to match crt0.S. * second/main.c: Likewise. * second/timer.c: Fix some multi-line strings. * tilo/crt0.S: Cleanups to make it match second/crt0.S. * tilo/tilo.c: Match crt0.S * tilo/maketilo.c: Fix some multi-line strings. * Rules.make: Define BIN2H, initially as the one in common/ * silo/Makefile: Use that define. * tilo/Makefile: Likewise. * second/Makefile: Likewise. Fri May 25 10:16:39 EDT 2001 Ben Collins * second/console.c: Move to common/ * second/udiv.S: Likewise. * second/inflate.c: Likewise. * second/jmp.S: Likewise. * second/malloc.c: Likewise. * second/printf.c: Likewise. * second/prom.c: Likewise. * second/stringops1.c: Likewise. * second/stringops2.c: Likewise. * second/tree.c: Likewise. * second/urem.S: Likewise. * second/bin2h.c: Likewise. * second/stringops.h: Move to include/ * second/promlib.h: Likewise. * second/silo.h: Likewise. * common/Makefile: New file. Build common objects. * docs/README.tilo: New file. README from original TILO. * man/maketilo.1: New file. Maketilo manpage. * man/tilo.1: New file. Tilo script man page. * tilo/Makefile: New file. Welcome TILO * tilo/crt0.S: Likewise. * tilo/maketilo.c: Likewise. * tilo/tilo.c: Likewise. * tilo/tilo.sh: Likewise. * second/setjmp.h: Removed. * silo/util.c: Removed in favor of bin2h. * common/bin2h.c: Modified so it takes a -l option which can be the name of a define for the length of the file being converted. * second/Makefile: Modify for new location of objects and the new command line for bin2h. * silo/Makefile: Likewise. * Makefile: Add the common and tilo subdirectories. * Rules.make: Add rules for ../common/% and move some common values here (LD, CC, ELFTOAOUT, ...) * first/Makefile: Modify for new header and object locations. * second/9660.c: Likewise. * second/cfg.c: Likewise. * second/cmdline.c: Likewise. * second/decomp.c: Likewise. * second/disk.c: Likewise. * second/file.c: Likewise. * second/ls.c: Likewise. * second/main.c: Likewise. * second/memory.c: Likewise. * second/misc.c: Likewise. * second/ranges.c: Likewise. * second/romfs.c: Likewise. * second/timer.c: Likewise. * second/ufs.c: Likewise. Tue May 22 20:16:48 EDT 2001 Ben Collins * silo/Makefile: Rewrite logic for checking arch/OS. Make it cleaner. Remove need for seperate names of programs on Solaris. * silo/silo.c: Rename __solaris__ to __sun__ so cpp handles this for us. The Makefile will weed out unsupported builds. Also, include ufs.c on Solaris builds. * silo/silocheck.c: Likewise. * silo/util.c: Take array name on the command line, and add some error checking. Tue May 22 12:14:55 EDT 2001 Ben Collins * Rules.make: New file. For now just includes the VERSION and IMGVERSION. * second/Makefile: Include Rules.make. * first/Makefile: Likewise. * silo/Makefile: Likewise. * Makefile: Implement DESTDIR to make packaging easier. * silo/confcheck.c: New file. Called by silo, and uses cfg_parse to find errors in the silo.conf file, when silo is called. * silo/silo.c: Use it. Also add a "-a" option to allow the check to fail. * man/silo.8: Document the new "-a" option. * silo/Makefile: Add confcheck.c to the silo build. Also some other minor build cleanups. * second/cfg.c: This file now gets #include'd by confcheck.c. Needed to make it a little friendlier for userspace headers. * second/main.c: Fix some gramatical errors. * silo/silocheck.c: Include ../second/ufs.h instead of ufs.h. Makes the build a little cleaner. Tue May 22 00:51:33 EDT 2001 Ben Collins * Makefile: export VERSION and IMGVERSION for other files to use. Add DESTDIR as a prefix for install directories. * first/Makefile: Remove VERSION, and use IMGVERSION. * second/Makefile: Likewise. * silo/Makefile: Add defines for VERSION and IMGVERSION for silo.c * silo/silo.c: Use them. Tue May 22 00:06:50 EDT 2001 Ben Collins * Makefile: do not execute silo/solarissilo on the install target. Add a clean target, and remove boot/*.b * first/Makefile: Add -Wall to CFLAGS. Also, get rid of the gcc/as/rm combinations and use gcc with -Wa instead. * second/Makefile: Likewise. * silo/Makefile: Likewise. * second/stringops.h: New file. Declerations for stringops1.c and stringops2.c * second/9660.c: Include it. * second/cfg.c: Likewise. * second/file.c: Likewise. * second/inflate.c: Likewise. * second/ls.c: Likewise. * second/main.c: Likewise. * second/tree.c: Likewise. * second/ufs.c: Likewise. * second/romfs.c: Likewise. * second/disk.c: Likewise. * second/misc.c: Likewise. * second/silo.h: Remove declerations added to stringops.h * second/stringops1.c: Remove size_t typedef and include stringops.h. * second/stringops2.c: Likewise. * second/disk.c (read): Remove unused vars. * second/misc.c (set_prollargs): Cast integer to struct silo_to_proll. * silo/silocheck.c: General cleanup. Removed unused vars and initialized others. Mon May 21 20:00:19 EDT 2001 Ben Collins * Updated URL's and emails to point to the sourceforge site and mailing list Fri Feb 11 14:56:15 2000 Jakub Jelinek * RAID1 support. * JavaStation support (js patches by Pete Zaitcev). * Forgot to write changelog for quite some time, so many other things... Mon Sep 20 15:55:12 1999 Jakub Jelinek * New man pages. Fri Sep 17 15:45:11 1999 Jakub Jelinek * Revamped bootable CD support. Now SILO understands ISO9660 and RR and actual CD preparation is done in mkisofs. See docs/CDROM.HOWTO. * Support for cat and ls commands. * Support for single-key (like in lilo.conf). Mon Oct 19 18:51:23 1998 Jakub Jelinek * Initrd should be working again. * The rotating dash should be fixed on serial console. * A bunch of fixes here and there. Wed Sep 30 14:40:19 1998 Jakub Jelinek * Romfs support. * Conditionals in silo.conf. * Make CD and floppy do the combo boot. * Fixed -r handling. * root=/dev/fd0 gets rewritten to /dev/fd1 if the machine has a single floppy fd1 (e.g. UltraAX). * If you have root specified in silo.conf before any images (that is, a default root) and you boot some custom kernel and don't pass root= to it (and it has not been rdev'ed), SILO will fill it in. * Support for huge kernels on sparc64 (up to 3.5MB). * a bunch of other changes (sorry, I did not keep notes). Thu Apr 9 13:25:17 1998 Jakub Jelinek * Allow multiple segments in linux kernel. * Fix timeout issues on Ultra5. Fri Mar 20 21:28:20 1998 Jakub Jelinek * Support glibc. * SS1000/SC2000 support. * sun4u support (well, it has been in for a while, but I haven't bothered to update ChangeLog). Fri Aug 30 13:00:54 1996 Jakub Jelinek * A workaround for sun4c timer * As davem suggested, when booted just with boot or auto-booted and you have garbage in boot-file or diag-file (from previous SunOS/Solaris bootings), you're just warned and SILO acts as if there were no arguments at all from PROM. On the other side, if you type wrong imagename on the PROM command line, you'll have to type it correctly again. Also, error messages changed a bit and added `help' keyword which shows some help screen. * Halfway of support for Solaris SILO (bootblock will have to be compiled under Linux still, but there will be a solaris program which will install SILO under solaris, /sbin/silo in Linux will stay there as well, of course) - not yet tested - do not try yet (you have been warned). Mon Aug 26 13:48:12 1996 Jakub Jelinek * Support for symlinks inside of ext2fs. * Support for having second.b on an ufs partition. Tue Aug 20 12:20:10 1996 Jakub Jelinek * A trial to support nearly all starting cylinders of partitions, so that it will be always possible to boot from the first one (ie. by just booting boot disk or boot sd(), as partition 0/a/sda1 (v0/v2/linux naming) is the default one for PROM). The only requirement is that if you don't have sda1 and sda3 starting at offsets 0, you should rerun /sbin/silo after every fdisk change which will make any partition starting before at cylinder 0 (this usualy includes disabled partitions as well) start at non-zero cylinder afterwards. * cdrom support (read README for a short HOWTO) - not yet tested. Tue Jul 30 22:48:12 1996 Jakub Jelinek * Fixed together with Andrew Tridgell the v0 argument stuff and mapio stuff, so that on v0 sun4c it runs ok, except some timer bugs still * Fixed several bugs in /sbin/silo, added -f argument to force overwriting of boot sector * memory.c (ensure_sun4m_mapping): Step by step checking of page tables if it is already mapped and thus can be used for initial ramdisk Mon Jul 8 23:13:17 1996 Jakub Jelinek * Changed syntax for v0 proms and left partition handling for prom * Initrd support * Floppy support Thu Jun 27 22:01:13 1996 Jakub Jelinek * Mostly rewritten. Thanks to David Miller, Peter Zaitcev, Miguel de Icaza and Mauricio Plaza for their code and Eddie Dost for shortening first stage for v0 architecture, so that it can print SILO (512B is horribly short). Fri Mar 22 19:05:26 1996 Mauricio Plaza Villegas * Ext2fs and libs are now on the distribution. * second/prom_io.c: Allowing prom paths. Thu Mar 21 13:59:41 1996 Mauricio Plaza Villegas * second/main.c: Support for booting from other disks. Tue Mar 19 07:23:28 1996 David Miller * The first stage loader can be compiled under SunOS. Fri Mar 15 18:03:38 1996 Mauricio Plaza Villegas * second/prom_io.c: BUG FIXED: Block Size was hardcoded as 1024, now it should work for other block sizes. Thu Mar 14 19:35:51 1996 Mauricio Plaza Villegas * bin/uninstall: Uninstall Utility (a pretty simple one). * second/main.c: CHAIN LOADING, Now we are able to load another Operating System by saving the old loader and re-running it instead of the kernel (tree steps). There are olny two reserved words when second stage loader prompts, "halt" and "sunos". Halt will interrupt the whole process backing you to the "ok" prompt. Sunos will load the original loader of the original Operating System like SunOS. * instboot/instboot.c: BUG FIXED: Default parameters are keeped. * second/prom_io.c (load_kernel): BUG FIXED: Other partition loading now works. Wed Mar 13 09:22:32 1996 Mauricio Plaza Villegas * second/main.c: Adding support for default partition (same partition where the first stage is). (readhint): Parameters from the blocktable. * instboot/instboot.c: Adding the params support. Read old parameters and give the chance to change them. * storage.h (struct Block_Table): Adding a field called params so we can have default booting parameters. Also SILO_MAGIC has changed so we can boot without prompting, if light runs out the machine will be able to reboot.