summaryrefslogtreecommitdiff
path: root/distrib/loongson
AgeCommit message (Collapse)Author
2011-03-14unify a chunkTheo de Raadt
2010-10-18Place a smaller spwd.db onto the install media. Be consistant with the namingTheo de Raadt
of the "additional" list files (for architectures which split the list) Then... cleanup some TZ which it is clear should not have been placed onto certain media which don't have the space for them.
2010-04-03Use hw.product sysctl to tell whether we are installing on a Gdium LibertyMiod Vallat
system, or something else. Derive the fdisk instructions in `use the whole disk for OpenBSD' from this knowledge, and set up a 32MB ext2fs partition on Gdium, and the 1MB elsewhere (as was already been done). On Gdium, format this partition in fancy mode (-O 1) and 4KB blocks, so that PMON has a chance to load files larger than 4MB (such as bsd.rd) without failing in a pathetic way, and also copy the kernel image to the ext2fs partition after the installation has completed. Note that, apart from creating a larger ext2fs partition on Gdium, there should be no need for this. Unfortunately, since regular PMON does not have ext2fs code, Lemote wrote its own code to access ext2 filesystems. Saying that this code is full of shortcomings and bugs would be an understatement. What is worse is that this code has been written by people with no knowledge (or even insight) of how error conditions ought to be handled, and their ext2fs code will happily abort a read upon error with no error; if one does not compare the final read size to the file size obtained by stat(), there is no way to figure out that the read has been aborted. Of course since regular (upstream) PMON code is written correctly, it does not expect this, so it is easy to end up with PMON not loading a kernel image completely, yet proceeding happily to transfer control to this broken image. I guess the morale behind this is that system software is too difficult to get done correctly, to be done by hardware people.
2010-03-31put date(1) onto the media, it fitsTheo de Raadt
2010-03-08now that fsck_ext2fs is repaired wrt small filesystems, removeOtto Moerbeek
redundant comment
2010-02-19less verbose in congrats textOtto Moerbeek
2010-02-18-q for newfsOtto Moerbeek
2010-02-18loongson install procedure, using a newly created small ext2 partition (or anOtto Moerbeek
existing one) to install the bootloader on.
2010-02-18built minirootOtto Moerbeek
2010-02-18fsck_ext2fs is not reliable on small filesystems, so remove -f for nowOtto Moerbeek
2010-02-17Put /sbin/kbd on the ramdisk, as Gdium may have non-US keyboards.Miod Vallat
2010-02-16build an image of an ext2 fs that can be dd'ed to an usb stickOtto Moerbeek
2010-02-12do not build cd image; lemote pmon's are too braindead to boot from itOtto Moerbeek
2010-02-09mount_ext2fs and ral firmware on the ramdisk.Miod Vallat
2010-02-07build isoOtto Moerbeek
2010-02-06no bsd.bin here as wellOtto Moerbeek
2010-02-04no need for bsd.binOtto Moerbeek
2010-01-31initial ramdisk stuff, produces a working bsd.rdOtto Moerbeek