History log of /openbsd-current/sys/arch/hppa/stand/libsa/Makefile
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.23 12-Mar-2020 otto

Allow hppa boot(8) to read from an ffs2 filesystem; ok kettenis@


# 1.22 29-Oct-2019 deraadt

Use arc4 to bit-spread the 512-byte random buffer over the .openbsd.randomdata
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


Revision tags: OPENBSD_6_6_BASE
# 1.21 03-Aug-2019 deraadt

In the bootblocks, after discovering and opening /bsd.upgrade, fchmod -x
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


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.20 16-Nov-2015 miod

Replace unbounded gets() in libsa with getln() which takes a buffer size,
and convert all gets() users.
ok deraadt@


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.19 13-Jul-2014 jasper

move putchar() into libsa

"sure" miod@


# 1.18 12-Jul-2014 jasper

unify cnspeed()


# 1.17 12-Jul-2014 jasper

move getchar() into libsa where applicable

ok miod@


Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.16 31-Aug-2012 pascal

Kill NOPIE and NOPIE_FLAGS in hppa/stand.

ok deraadt@


# 1.15 21-Aug-2012 pascal

Add NOPIE= bits for sys/arch/*/stand to ensure that bootblocks will always be
built with -fno-pie. This gets the hairiest part of PIE out of the way ...

ok deraadt@


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE
# 1.14 26-Dec-2007 kettenis

Teach the hppa bootloader how to boot 64-bit kernels.

ok miod@, deraadt@


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE SMP_SYNC_A SMP_SYNC_B
# 1.13 08-Jun-2003 miod

snprintf needed here.


Revision tags: UBC_SYNC_A
# 1.12 16-Apr-2003 mickey

clean some spaces and registers and other fluff


Revision tags: OPENBSD_3_3_BASE
# 1.11 20-Dec-2002 mickey

do not compile what we already get from libkern (size does not matter)


Revision tags: UBC_SYNC_B
# 1.10 24-Oct-2002 mickey

use loadfile


Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE
# 1.9 02-Mar-2002 miod

Add machine specific commands to the bootblocks, to let the user display
and change the console and keyboard settings; and devise a manual page for
it, with lots of loot borrowed from the i386 version.

These commands have been extensively tested on 712, 715, and 720, although
your mileage may vary and scary warnings may appear in the manual page in
the future.

ok mickey@


Revision tags: OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE UBC_BASE
# 1.8 11-Oct-2000 mickey

branches: 1.8.8;
memset.c is in libkern


Revision tags: OPENBSD_2_7_BASE SMP_BASE
# 1.7 23-Dec-1999 mickey

branches: 1.7.2;
some support for hp som executables


Revision tags: OPENBSD_2_6_BASE kame_19991208
# 1.6 20-Apr-1999 mickey

no need for any networking code


Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE
# 1.5 29-Sep-1998 mickey

more used, less unused


# 1.4 14-Jul-1998 mickey

add som support


# 1.3 13-Jul-1998 mickey

since i blew up prev commit msg, here it is:
upgrade to new coming stand/exec framework


# 1.2 13-Jul-1998 mickey

libsa/itecons.c


# 1.1 23-Jun-1998 mickey

branches: 1.1.1;
Initial revision


# 1.22 29-Oct-2019 deraadt

Use arc4 to bit-spread the 512-byte random buffer over the .openbsd.randomdata
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


Revision tags: OPENBSD_6_6_BASE
# 1.21 03-Aug-2019 deraadt

In the bootblocks, after discovering and opening /bsd.upgrade, fchmod -x
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


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.20 16-Nov-2015 miod

Replace unbounded gets() in libsa with getln() which takes a buffer size,
and convert all gets() users.
ok deraadt@


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.19 13-Jul-2014 jasper

move putchar() into libsa

"sure" miod@


# 1.18 12-Jul-2014 jasper

unify cnspeed()


# 1.17 12-Jul-2014 jasper

move getchar() into libsa where applicable

ok miod@


Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.16 31-Aug-2012 pascal

Kill NOPIE and NOPIE_FLAGS in hppa/stand.

ok deraadt@


# 1.15 21-Aug-2012 pascal

Add NOPIE= bits for sys/arch/*/stand to ensure that bootblocks will always be
built with -fno-pie. This gets the hairiest part of PIE out of the way ...

ok deraadt@


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE
# 1.14 26-Dec-2007 kettenis

Teach the hppa bootloader how to boot 64-bit kernels.

ok miod@, deraadt@


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE SMP_SYNC_A SMP_SYNC_B
# 1.13 08-Jun-2003 miod

snprintf needed here.


Revision tags: UBC_SYNC_A
# 1.12 16-Apr-2003 mickey

clean some spaces and registers and other fluff


Revision tags: OPENBSD_3_3_BASE
# 1.11 20-Dec-2002 mickey

do not compile what we already get from libkern (size does not matter)


Revision tags: UBC_SYNC_B
# 1.10 24-Oct-2002 mickey

use loadfile


Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE
# 1.9 02-Mar-2002 miod

Add machine specific commands to the bootblocks, to let the user display
and change the console and keyboard settings; and devise a manual page for
it, with lots of loot borrowed from the i386 version.

These commands have been extensively tested on 712, 715, and 720, although
your mileage may vary and scary warnings may appear in the manual page in
the future.

ok mickey@


Revision tags: OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE UBC_BASE
# 1.8 11-Oct-2000 mickey

branches: 1.8.8;
memset.c is in libkern


Revision tags: OPENBSD_2_7_BASE SMP_BASE
# 1.7 23-Dec-1999 mickey

branches: 1.7.2;
some support for hp som executables


Revision tags: OPENBSD_2_6_BASE kame_19991208
# 1.6 20-Apr-1999 mickey

no need for any networking code


Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE
# 1.5 29-Sep-1998 mickey

more used, less unused


# 1.4 14-Jul-1998 mickey

add som support


# 1.3 13-Jul-1998 mickey

since i blew up prev commit msg, here it is:
upgrade to new coming stand/exec framework


# 1.2 13-Jul-1998 mickey

libsa/itecons.c


# 1.1 23-Jun-1998 mickey

branches: 1.1.1;
Initial revision


# 1.21 03-Aug-2019 deraadt

In the bootblocks, after discovering and opening /bsd.upgrade, fchmod -x
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


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.20 16-Nov-2015 miod

Replace unbounded gets() in libsa with getln() which takes a buffer size,
and convert all gets() users.
ok deraadt@


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.19 13-Jul-2014 jasper

move putchar() into libsa

"sure" miod@


# 1.18 12-Jul-2014 jasper

unify cnspeed()


# 1.17 12-Jul-2014 jasper

move getchar() into libsa where applicable

ok miod@


Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.16 31-Aug-2012 pascal

Kill NOPIE and NOPIE_FLAGS in hppa/stand.

ok deraadt@


# 1.15 21-Aug-2012 pascal

Add NOPIE= bits for sys/arch/*/stand to ensure that bootblocks will always be
built with -fno-pie. This gets the hairiest part of PIE out of the way ...

ok deraadt@


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE
# 1.14 26-Dec-2007 kettenis

Teach the hppa bootloader how to boot 64-bit kernels.

ok miod@, deraadt@


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE SMP_SYNC_A SMP_SYNC_B
# 1.13 08-Jun-2003 miod

snprintf needed here.


Revision tags: UBC_SYNC_A
# 1.12 16-Apr-2003 mickey

clean some spaces and registers and other fluff


Revision tags: OPENBSD_3_3_BASE
# 1.11 20-Dec-2002 mickey

do not compile what we already get from libkern (size does not matter)


Revision tags: UBC_SYNC_B
# 1.10 24-Oct-2002 mickey

use loadfile


Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE
# 1.9 02-Mar-2002 miod

Add machine specific commands to the bootblocks, to let the user display
and change the console and keyboard settings; and devise a manual page for
it, with lots of loot borrowed from the i386 version.

These commands have been extensively tested on 712, 715, and 720, although
your mileage may vary and scary warnings may appear in the manual page in
the future.

ok mickey@


Revision tags: OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE UBC_BASE
# 1.8 11-Oct-2000 mickey

branches: 1.8.8;
memset.c is in libkern


Revision tags: OPENBSD_2_7_BASE SMP_BASE
# 1.7 23-Dec-1999 mickey

branches: 1.7.2;
some support for hp som executables


Revision tags: OPENBSD_2_6_BASE kame_19991208
# 1.6 20-Apr-1999 mickey

no need for any networking code


Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE
# 1.5 29-Sep-1998 mickey

more used, less unused


# 1.4 14-Jul-1998 mickey

add som support


# 1.3 13-Jul-1998 mickey

since i blew up prev commit msg, here it is:
upgrade to new coming stand/exec framework


# 1.2 13-Jul-1998 mickey

libsa/itecons.c


# 1.1 23-Jun-1998 mickey

branches: 1.1.1;
Initial revision


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.20 16-Nov-2015 miod

Replace unbounded gets() in libsa with getln() which takes a buffer size,
and convert all gets() users.
ok deraadt@


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.19 13-Jul-2014 jasper

move putchar() into libsa

"sure" miod@


# 1.18 12-Jul-2014 jasper

unify cnspeed()


# 1.17 12-Jul-2014 jasper

move getchar() into libsa where applicable

ok miod@


Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.16 31-Aug-2012 pascal

Kill NOPIE and NOPIE_FLAGS in hppa/stand.

ok deraadt@


# 1.15 21-Aug-2012 pascal

Add NOPIE= bits for sys/arch/*/stand to ensure that bootblocks will always be
built with -fno-pie. This gets the hairiest part of PIE out of the way ...

ok deraadt@


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE
# 1.14 26-Dec-2007 kettenis

Teach the hppa bootloader how to boot 64-bit kernels.

ok miod@, deraadt@


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE SMP_SYNC_A SMP_SYNC_B
# 1.13 08-Jun-2003 miod

snprintf needed here.


Revision tags: UBC_SYNC_A
# 1.12 16-Apr-2003 mickey

clean some spaces and registers and other fluff


Revision tags: OPENBSD_3_3_BASE
# 1.11 20-Dec-2002 mickey

do not compile what we already get from libkern (size does not matter)


Revision tags: UBC_SYNC_B
# 1.10 24-Oct-2002 mickey

use loadfile


Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE
# 1.9 02-Mar-2002 miod

Add machine specific commands to the bootblocks, to let the user display
and change the console and keyboard settings; and devise a manual page for
it, with lots of loot borrowed from the i386 version.

These commands have been extensively tested on 712, 715, and 720, although
your mileage may vary and scary warnings may appear in the manual page in
the future.

ok mickey@


Revision tags: OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE UBC_BASE
# 1.8 11-Oct-2000 mickey

branches: 1.8.8;
memset.c is in libkern


Revision tags: OPENBSD_2_7_BASE SMP_BASE
# 1.7 23-Dec-1999 mickey

branches: 1.7.2;
some support for hp som executables


Revision tags: OPENBSD_2_6_BASE kame_19991208
# 1.6 20-Apr-1999 mickey

no need for any networking code


Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE
# 1.5 29-Sep-1998 mickey

more used, less unused


# 1.4 14-Jul-1998 mickey

add som support


# 1.3 13-Jul-1998 mickey

since i blew up prev commit msg, here it is:
upgrade to new coming stand/exec framework


# 1.2 13-Jul-1998 mickey

libsa/itecons.c


# 1.1 23-Jun-1998 mickey

branches: 1.1.1;
Initial revision