boot: the Makronix M and the squirrel in the booter, no NetBSD labels

Konrad, 2026-11-16: the bootloader's NetBSD mountain goes; the Makronix
mark and the mascot come in.

- lib/libsa/bootcfg.c prints the M tile of docs/logo/makronix.txt (the
  ASCII the logo tool draws) with the booter name, revision and
  https://makronix.hiddenbox.org when a boot.cfg has no banner.
  BOOTCFG_MAXBANNER is 24: the mascot alone is eleven lines.
- installdvd, installcd and bootcd carry the squirrel of
  ~/src/mikronix/sys/stand/banner.sh above their welcome text, and their
  "Makronix is based on NetBSD (www.NetBSD.org)" line becomes
  "Makronix (https://makronix.hiddenbox.org/)".
- User-facing NetBSD in the booters is Makronix: the "from NetBSD" in the
  dosboot, multiboot2 and efiboot banners, the filesystem labels in
  biosdisk.c (Makronix RAID/FFS/LFS/Swap/ccd/cgd) and the MBR banner
  ("Makronix MBR boot").  The FIRMWARE path esp:/EFI/NetBSD/boot.cfg and
  the FAT OEM names stay: they are protocol, not a label.

The stand code compiled with -Werror in make release.  The medium itself
could not be built: the release stopped at checkflist because the failed
make userland left the MCDE package out of the sysroot (2576 missing
/usr/pkg files, tasksd t0217, MCDE scope).  The banner is measured on the
next medium once that is fixed.
This commit is contained in:
lotherk committed 2026-11-16 15:37:38 +00:00
1 parent bd472dc661
commit d059e53852
10 files changed
+60 -22

No files matched your search

+12 -1
View File
@@ -1,3 +1,14 @@
banner= _
banner= {' `- .
banner= { \ ( . _
banner= { | / o `.
banner= '} / .` . __ . `
banner= { . ' , \ _ / ' \
banner= } / ' _ ` - . ` = /
banner= { , ' \ ; ' ` '
banner= { ; _
banner= ` -- ` ... - ; ' __ \
banner=
banner=Welcome to the Makronix @@VERSION@@ boot-only install CD
banner================================================================================
banner=
@@ -5,7 +16,7 @@ banner=This media contains only the installation program. Binary sets to comple
banner=installation must be downloaded separately. The installer can download them
banner=if this machine has a working internet connection.
banner=
banner=Makronix is based on NetBSD (https://www.NetBSD.org/).
banner=Makronix (https://makronix.hiddenbox.org/).
menu=Install Makronix:boot netbsd
menu=Drop to boot prompt:prompt
timeout=5
+12 -1
View File
@@ -1,7 +1,18 @@
banner= _
banner= {' `- .
banner= { \ ( . _
banner= { | / o `.
banner= '} / .` . __ . `
banner= { . ' , \ _ / ' \
banner= } / ' _ ` - . ` = /
banner= { , ' \ ; ' ` '
banner= { ; _
banner= ` -- ` ... - ; ' __ \
banner=
banner=Welcome to the Makronix @@VERSION@@ installation CD
banner================================================================================
banner=
banner=Makronix is based on NetBSD (https://www.NetBSD.org/).
banner=Makronix (https://makronix.hiddenbox.org/).
menu=Install Makronix:load /amd64/installation/miniroot/miniroot.kmod;boot netbsd
menu=Drop to boot prompt:prompt
timeout=5
@@ -1,7 +1,18 @@
banner= _
banner= {' `- .
banner= { \ ( . _
banner= { | / o `.
banner= '} / .` . __ . `
banner= { . ' , \ _ / ' \
banner= } / ' _ ` - . ` = /
banner= { , ' \ ; ' ` '
banner= { ; _
banner= ` -- ` ... - ; ' __ \
banner=
banner=Welcome to the Makronix @@VERSION@@ installation DVD
banner================================================================================
banner=
banner=Makronix is based on NetBSD (https://www.NetBSD.org/).
banner=Makronix (https://makronix.hiddenbox.org/).
menu=Install Makronix:load /amd64/installation/miniroot/miniroot.kmod;boot netbsd
menu=Drop to boot prompt:prompt
timeout=5
+1 -1
View File
@@ -195,7 +195,7 @@ print_banner(void)
clear_pc_screen();
printf("\n"
">> %s, Revision %s (from NetBSD %s)\n"
">> %s, Revision %s (from Makronix %s)\n"
">> Memory: %d/%d k\n",
bootprog_name, bootprog_rev, bootprog_kernrev,
getbasemem(), extmem);
+1 -1
View File
@@ -804,7 +804,7 @@ command_version(char *arg)
}
printf("\n"
">> %s, Revision %s (from NetBSD %s)\n"
">> %s, Revision %s (from Makronix %s)\n"
">> Memory: %d/%d k\n",
bootprog_name, bootprog_rev, bootprog_kernrev,
getbasemem(), getextmem());
+6 -6
View File
@@ -158,12 +158,12 @@ const struct uuid GET_apple_ufs = GPT_ENT_TYPE_APPLE_UFS;
const struct uuid GET_bios = GPT_ENT_TYPE_BIOS;
const struct gpt_part gpt_parts[] = {
{ &GET_nbsd_raid, "NetBSD RAID" },
{ &GET_nbsd_ffs, "NetBSD FFS" },
{ &GET_nbsd_lfs, "NetBSD LFS" },
{ &GET_nbsd_swap, "NetBSD Swap" },
{ &GET_nbsd_ccd, "NetBSD ccd" },
{ &GET_nbsd_cgd, "NetBSD cgd" },
{ &GET_nbsd_raid, "Makronix RAID" },
{ &GET_nbsd_ffs, "Makronix FFS" },
{ &GET_nbsd_lfs, "Makronix LFS" },
{ &GET_nbsd_swap, "Makronix Swap" },
{ &GET_nbsd_ccd, "Makronix ccd" },
{ &GET_nbsd_cgd, "Makronix cgd" },
{ &GET_efi, "EFI System" },
{ &GET_mbr, "MBR" },
{ &GET_fbsd, "FreeBSD" },
@@ -481,7 +481,7 @@ mbi_boot_loader_name(struct multiboot_package *mbp, void *buf)
struct multiboot_tag_string *mbt = buf;
size_t len;
size_t strlen;
const char fmt[] = "%s, Revision %s (from NetBSD %s)";
const char fmt[] = "%s, Revision %s (from Makronix %s)";
/* +1 for trailing \0 */
+1 -1
View File
@@ -559,7 +559,7 @@ banner: .asciz "a: disk"
banner: .asciz "Fn: diskn"
#endif
#else
banner: .asciz "NetBSD MBR boot"
banner: .asciz "Makronix MBR boot"
#endif
#endif
+13 -8
View File
@@ -288,14 +288,19 @@ print_bootcfg_banner(const char *bootprog_name, const char *bootprog_rev)
return;
}
/* If the user has not specified a banner, print a default one. */
/*
* If the user has not specified a banner, print the Makronix M: the
* tile of docs/logo/makronix.txt (tools/logo-ascii.sh draws it from
* the logo). The NetBSD mountain the upstream booter printed is not
* Makronix's mark (Konrad, 2026-11-16).
*/
printf("\n");
printf(" \\\\-__,------,___.\n");
printf(" \\\\ __,---` %s\n", bootprog_name);
printf(" \\\\ `---,_. Revision %s\n", bootprog_rev);
printf(" \\\\-,_____,.---`\n");
printf(" \\\\\n");
printf(" \\\\\n");
printf(" \\\\\n\n");
printf(" .-----------. %s\n", bootprog_name);
printf(" | # # | Revision %s\n", bootprog_rev);
printf(" | ## ## | https://makronix.hiddenbox.org\n");
printf(" | # # # # # |\n");
printf(" | # # # # |\n");
printf(" | # # # |\n");
printf(" '-----------'\n\n");
}
+1 -1
View File
@@ -31,7 +31,7 @@
#define BOOTCFG_FILENAME "boot.cfg"
#define BOOTCFG_MAXMENU 20
#define BOOTCFG_MAXBANNER 12
#define BOOTCFG_MAXBANNER 24 /* the mascot alone is 11 lines */
#define BOOTCFG_CMD_DEV "dev"
#define BOOTCFG_CMD_FS "fs"