summaryrefslogtreecommitdiffstats
path: root/sys/arch/macppc/stand (follow)
Commit message (Collapse)AuthorAgeFilesLines
* spellingjsg2021-03-111-2/+2
|
* 6.9-betaderaadt2021-02-061-2/+2
|
* satisfy -fno-commonderaadt2021-01-302-4/+4
|
* Use daddr_t and not daddr32_t in boot media.krw2020-12-092-4/+4
| | | | | | | | | | At a minimum, amd64/i386 should now boot from 4TB GPT formatted disks. More daddr32_t terminations with extreme prejudice to follow. Tested by various, in snaps for a few days. ok deraadt@
* Increase CLAIM_LIMIT from 11M to 14M to make room for retguardgkoehler2020-10-032-5/+5
| | | | | | | | | | | | | The kernel text will grow larger when retguard adds code to many functions to check their return addresses. The entire kernel (including text, data, bss, symbol table, and ramdisk) must fit under the CLAIM_LIMIT. A kernel that overflows this limit may fail very quickly, by causing a "DEFAULT CATCH!" error in Open Firmware. Crank version to "1.10", so I can see whether the running ofwboot uses the higher CLAIM_LIMIT. ok deraadt@
* crank to 6.8-betaderaadt2020-08-311-2/+2
|
* increment version numbers, due to recent RB_GOODSEED and fchmod +T changesderaadt2020-05-261-2/+2
|
* Bootblocks convert RB_GOODRANDOM to -R option, kernel converts it back into howtoderaadt2020-05-251-1/+3
|
* Move boot.mac into the Attic.patrick2020-05-183-310/+0
| | | | ok deraadt@
* crank to 6.7-betaderaadt2020-04-051-2/+2
|
* Teach macppc ofwboot(8) about ffs2. Test and ok gkoehler@otto2020-03-163-9/+15
|
* try disconnecting old world boot.mac bootloader for a bittedu2020-01-261-2/+2
|
* The boot loader allows to inspect memory with the hexdump command.bluhm2019-12-231-2/+7
| | | | | Document the new feature in boot(8) man page. OK jmc@ deraadt@
* Implement a hexdump command in the boot loader. This helps tobluhm2019-11-282-3/+4
| | | | | | inspect the memory layout that the firmware has created. It is especially useful for UEFI debugging. OK deraadt@ kettenis@
* Use arc4 to bit-spread the 512-byte random buffer over the .openbsd.randomdataderaadt2019-10-292-4/+4
| | | | | | | | | section, which has grown a fair bit with the introduction of retguard. Mortimer discovered the repeated 512-byte sequence as retguard keys, and this resolves the issue. (Chacha does not fit on the media, so 1.5K early drop RC4 is hopefully sufficient in our KARL link universe) Version crank the bootblocks. sysupgrade -s will install new bootblocks. ok djm mortimer
* Various fixes to make clang happy.kettenis2019-09-029-23/+46
| | | | ok deraadt@
* move to 6.6-betaderaadt2019-08-101-2/+2
|
* crank version, following fchmod changederaadt2019-08-041-3/+3
|
* In the bootblocks, after discovering and opening /bsd.upgrade, fchmod -xderaadt2019-08-032-4/+4
| | | | | | | | | | | | | | | | so the file cannot be re-executed upon the next boot. This provides a stronger one-shot-upgrade model than the upgrade script's rm /bsd.upgrade. Now various forms of upgrade failure will reboot into /bsd, which is probably more recoverable. Performing fchmod -x depends on (1) use of MI boot.c (not alpha/macppc/sparc64/sgi/octeon) and (2) "can write blocks" functionality in the IO layer. Most architectures have this support now. Two diagnostics "fchmod a-x %s: failed" and "/bsd.upgrade is not u+x" will remain in the tree while refinements happen for some of the laggard architectures. based upon a discussion florian tested in snapshots for more than a week without any complaints
* libsa's memcpy() is actually memmove(). make a proper memmove(), and givederaadt2019-04-202-4/+4
| | | | memcpy() correct behaviour. This also brings the bcopy() macro into line.
* change marks[] array to uint64_t, so the code can track full 64-bitderaadt2019-04-101-2/+2
| | | | | details from the ELF header instead of faking it. Proposal from mlarkin, tested on most architectures already
* crank to 6.5-betaderaadt2019-02-261-2/+2
|
* markup boot prompt commands using Ic, not Nm; ok jmc@anton2019-01-021-16/+16
|
* crank to 6.4-betaderaadt2018-08-101-2/+2
|
* move to 6.3-betaderaadt2018-02-281-2/+2
|
* crank to 6.2-betaderaadt2017-08-201-2/+2
|
* crank to 6.1-betaderaadt2017-03-041-2/+2
|
* Do not create machine@ symlinks in obj as root during includes:, buttb2016-11-061-2/+3
| | | | | | | | | defer their creation to later, so that they are owned by BUILDUSER. This eliminates the last root-owned files in obj/ from 'make build'. In addition, place a MACHINE == hppa test in hppa/stand/Makefile.inc to avoid creating bogus symlinks on all other archs. joint work with & ok natano, "let's try it" deraadt
* crank bootloader version after .SUNW_ctf changejasper2016-09-131-2/+2
| | | | | as discussed with jsing@ it's easier this way to ensure people have bootblocks capable of loading the section
* Prep for relro: make sure it's off for any non-PIE stand/ programguenther2016-07-302-4/+4
| | | | ok millert@ kettenis@
* crank to 6.0-betaderaadt2016-05-111-2/+2
|
* for some time now mandoc has not required MLINKS to functionjmc2016-03-301-2/+1
| | | | | | | | | | | | correctly - logically complete that now by removing MLINKS from base; authors need only to ensure there is an entry in NAME for any function/ util being added. MLINKS will still work, and remain for perl to ease upgrades; ok nicm (curses) bcook (ssl) ok schwarze, who provided a lot of feedback and assistance ok tb natano jung
* Change a bunch of (<blah> *)0 to NULL.krw2016-03-141-2/+2
| | | | ok beck@ deraadt@
* move to 5.9-betaderaadt2015-12-191-2/+2
|
* unify free(NULL,size) behaviour by allowing passing NULLsemarie2015-09-141-2/+7
| | | | ok millert@ jasper@
* Build actual boot code with -D_STANDALONE so that we do not include userlandmiod2015-09-112-2/+4
| | | | headers by mistake.
* document that boot.conf can contain comments;jmc2015-06-221-3/+8
| | | | | | | from tilo stritzky thanks miod for help with the diff, and who also noted that leading whitespace gets stripped too;
* crank to 5.8-betaderaadt2015-06-171-2/+2
|
* Fix buglet in previous ofdev change causing NFS boot to fail; found the hardmiod2015-03-232-4/+4
| | | | | way by mpi@. Bump version. ok mpi@
* Allow for multiple concurrent devopen() calls, and fill the .readdir membermiod2015-03-145-38/+43
| | | | of fs_ops; makes the `ls' command finally work in the boot loader.
* move to 5.7-betaderaadt2015-01-011-2/+2
|
* Add netudp.c here too for consistency, even though this code ends up not beingmiod2014-11-192-4/+6
| | | | referenced by the bootblocks.
* Kill the remaining <netinet/in_systm.h> inclusion!mpi2014-08-212-4/+2
|
* crank to 5.6-betaderaadt2014-07-151-2/+2
|
* more hanging tabsjasper2014-07-132-4/+4
|
* ugly hanging tabs; ok jasperderaadt2014-07-132-5/+6
|
* No libsa putchar wanted here actuallymiod2014-07-131-2/+2
|
* Needs getchar.c nowmiod2014-07-131-1/+2
|
* move putchar() into libsajasper2014-07-131-2/+3
| | | | "sure" miod@
* move getchar() into libsa where applicablejasper2014-07-122-19/+3
| | | | ok miod@