sys/boot: branding by the one and only @kurbel

This commit is contained in:
Franco Fichtner 2016-01-24 17:59:58 +01:00
parent b3810de7dc
commit 7930d3c381
10 changed files with 32 additions and 32 deletions

View file

@ -125,7 +125,7 @@ EFI_STATUS efi_main(EFI_HANDLE Ximage, EFI_SYSTEM_TABLE* Xsystab)
(void)ConsoleControl->SetMode(ConsoleControl,
EfiConsoleControlScreenText);
printf(" \n>> FreeBSD EFI boot block\n");
printf(" \n>> OPNsense EFI boot block\n");
printf(" Loader path: %s\n", path);
status = systab->BootServices->LocateHandle(ByProtocol,

View file

@ -163,7 +163,7 @@ main(void)
p_memset((char *)dmadat, 0, 32 * 1024);
bt = board_init();
printf("FreeBSD ARM (%s) boot2 v%d.%d\n", bt, 0, 4);
printf("OPNsense ARM (%s) boot2 v%d.%d\n", bt, 0, 4);
autoboot = 1;

View file

@ -1,4 +1,5 @@
\ Copyright (c) 2006-2015 Devin Teske <dteske@FreeBSD.org>
\ Copyright (c) 2016 Tobias Boertitz <tbor87@gmail.com>
\ All rights reserved.
\
\ Redistribution and use in source and binary forms, with or without
@ -24,7 +25,7 @@
\
\ $FreeBSD$
2 brandX ! 1 brandY ! \ Initialize brand placement defaults
17 brandX ! 1 brandY ! \ Initialize brand placement defaults
: brand+ ( x y c-addr/u -- x y' )
2swap 2dup at-xy 2swap \ position the cursor
@ -32,15 +33,14 @@
1+ \ increase y for next time we're called
;
: brand ( x y -- ) \ "FreeBSD" [wide] logo in B/W (7 rows x 42 columns)
: brand ( x y -- ) \ "OPNsense" [wide] logo in B/W (6 rows x 47 columns)
s" ______ ____ _____ _____ " brand+
s" | ____| | _ \ / ____| __ \ " brand+
s" | |___ _ __ ___ ___ | |_) | (___ | | | |" brand+
s" | ___| '__/ _ \/ _ \| _ < \___ \| | | |" brand+
s" | | | | | __/ __/| |_) |____) | |__| |" brand+
s" | | | | | | || | | |" brand+
s" |_| |_| \___|\___||____/|_____/|_____/ " brand+
s" ______ _____ _____ " brand+
s" / __ |/ ___ |/ __ | " brand+
s" | | | | |__/ | | | |___ ___ _ __ ___ ___ " brand+
s" | | | | ___/| | | / __|/ _ \ '_ \/ __|/ _ \" brand+
s" | |__| | | | | | \__ \ __/ | | \__ \ __/" brand+
s" |_____/|_| |_| /__|___/\___|_| |_|___/\___|" brand+
2drop
;

View file

@ -24,7 +24,7 @@
\
\ $FreeBSD$
46 logoX ! 7 logoY ! \ Initialize logo placement defaults
48 logoX ! 8 logoY ! \ Initialize logo placement defaults
: logo+ ( x y c-addr/u -- x y' )
2swap 2dup at-xy 2swap \ position the cursor
@ -35,18 +35,18 @@
: logo ( x y -- ) \ color Orb mascot (15 rows x 30 columns)
s" @[31m``` @[31;1m`@[31m" logo+
s" s` `.....---...@[31;1m....--.``` -/@[31m" logo+
s" +o .--` @[31;1m/y:` +.@[31m" logo+
s" yo`:. @[31;1m:o `+-@[31m" logo+
s" y/ @[31;1m-/` -o/@[31m" logo+
s" .- @[31;1m::/sy+:.@[31m" logo+
s" / @[31;1m`-- /@[31m" logo+
s" `: @[31;1m:`@[31m" logo+
s" `: @[31;1m:`@[31m" logo+
s" / @[31;1m/@[31m" logo+
s" .- @[31;1m-.@[31m" logo+
s" -- @[31;1m-.@[31m" logo+
s" @[30;1m``` @[31;1m`@[30;1m" logo+
s" s` `.....---...@[31;1m....--.``` -/@[30;1m" logo+
s" +o .--` @[31;1m/y:` +.@[30;1m" logo+
s" yo`:. @[31;1m:o `+-@[30;1m" logo+
s" y/ @[31;1m-/` -o/@[30;1m" logo+
s" .- @[31;1m::/sy+:.@[30;1m" logo+
s" / @[31;1m`-- /@[30;1m" logo+
s" `: @[31;1m:`@[30;1m" logo+
s" `: @[31;1m:`@[30;1m" logo+
s" / @[31;1m/@[30;1m" logo+
s" .- @[31;1m-.@[30;1m" logo+
s" -- @[31;1m-.@[30;1m" logo+
s" `:` @[31;1m`:`" logo+
s" @[31;1m.-- `--." logo+
s" .---.....----.@[m" logo+

View file

@ -24,7 +24,7 @@
\
\ $FreeBSD$
46 logoX ! 7 logoY ! \ Initialize logo placement defaults
48 logoX ! 8 logoY ! \ Initialize logo placement defaults
: logo+ ( x y c-addr/u -- x y' )
2swap 2dup at-xy 2swap \ position the cursor

View file

@ -470,7 +470,7 @@ also menu-infrastructure definitions
\ Print the frame caption at (x,y)
s" loader_menu_title" getenv dup -1 = if
drop s" Welcome to FreeBSD"
drop s" Welcome to OPNsense"
then
TRUE ( use default alignment )
s" loader_menu_title_align" getenv dup -1 <> if

View file

@ -646,9 +646,9 @@ os_dos:
.ascii "DO"; .byte 'S'|0x80
#endif
os_win: .ascii "Wi"; .byte 'n'|0x80
os_linux: .ascii "Linu"; .byte 'x'|0x80
os_freebsd: .ascii "Free"
os_bsd: .ascii "BS"; .byte 'D'|0x80
os_linux: .ascii "Lin"; .byte 'x'|0x80
os_freebsd: .ascii "OPNs"
os_bsd: .ascii "ens"; .byte 'e'|0x80
#ifndef SAVE_MORE_MEMORY
os_ext: .ascii "EX"; .byte 'T'|0x80
#endif

View file

@ -485,7 +485,7 @@ os_nt: .ascii "Windows NT/X"; .byte 'P'|0x80
os_windows: .ascii "Window"; .byte 's'|0x80
os_unix: .ascii "UNI"; .byte 'X'|0x80
os_linux: .ascii "Linu"; .byte 'x'|0x80
os_freebsd: .ascii "FreeBS"; .byte 'D'|0x80
os_freebsd: .ascii "OPNsens"; .byte 'e'|0x80
os_openbsd: .ascii "OpenBS"; .byte 'D'|0x80
os_netbsd: .ascii "NetBS"; .byte 'D'|0x80
os_bsdos: .ascii "BSD/O"; .byte 'S'|0x80

View file

@ -286,7 +286,7 @@ main(void)
for (;;) {
if (!autoboot || !OPT_CHECK(RBX_QUIET))
printf("\nFreeBSD/x86 boot\n"
printf("\nOPNsense/x86 boot\n"
"Default: %u:%s(%u,%c)%s\n"
"boot: ",
dsk.drive & DRV_MASK, dev_nm[dsk.type], dsk.unit,

View file

@ -566,7 +566,7 @@ main(void)
for (;;) {
if (!autoboot || !OPT_CHECK(RBX_QUIET)) {
printf("\nFreeBSD/x86 boot\n");
printf("\nOPNsense/x86 boot\n");
if (zfs_rlookup(spa, zfsmount.rootobj, rootname) != 0)
printf("Default: %s/<0x%llx>:%s\n"
"boot: ",