opnsense-src/stand
Jose Luis Duran 7d1d7f4230
stand: Fix brand positioning on framebuffer console
The drawer.lua script ignores the values in loader_brand_x and
loader_brand_y on framebuffer consoles, always positioning the brand at
(1, 1).

Allow it to be positioned by accepting the x and y values just like the
text version.  For example:

/boot/lua/gfx-nanobsd.lua:

    return {
    	brand = {
    		graphic = {
    			""
    		},
    		requires_color = true,
    		image = "/boot/images/freebsd-logo-rev.png"
    	}
    }

/boot/loader.conf.d/bootloader.conf:

    loader_logo="none"
    loader_brand="nanobsd"
    loader_brand_x="15"

PR:		255202
Reviewed by:	manu, imp
Approved by:	emaste (mentor)
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D49092
2025-02-24 14:36:10 +00:00
..
arm64 Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
common loader.efi: add "gop blt <on|off>" command 2025-02-20 21:50:20 +02:00
defaults loader.conf: Document boot_verbose 2025-02-09 11:24:22 -07:00
efi loader.efi: add "gop blt <on|off>" command 2025-02-20 21:50:20 +02:00
fdt Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
ficl stand: Remove dangling mips references 2024-02-28 07:09:41 -07:00
ficl32 Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
fonts Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
forth loader: set boot_safe when safe mode is selected 2024-12-13 22:31:28 -06:00
i386 stand: use globals for the kernel and module types 2025-01-24 14:29:39 -07:00
images Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
kboot stand/efi: move G(x) and M(x) macros to loader_efi.h 2024-12-04 17:19:17 -07:00
kshim stand/kshim: Replace devclass_equal with calls to strcmp 2025-01-10 23:03:32 -05:00
liblua Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
liblua32 Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
libofw Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
libsa Standardize the definition of a UFS dinode. 2025-01-27 17:39:45 -08:00
libsa32 Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
lua stand: Fix brand positioning on framebuffer console 2025-02-24 14:36:10 +00:00
man loader: set boot_safe when safe mode is selected 2024-12-13 22:31:28 -06:00
powerpc ports/filesystems: Fix fallout 2025-01-27 15:03:10 -05:00
uboot stand: use globals for the kernel and module types 2025-01-24 14:29:39 -07:00
usb stand/usb: Quiet warnings so this builds again 2025-01-10 23:03:32 -05:00
userboot stand: use globals for the kernel and module types 2025-01-24 14:29:39 -07:00
defs.mk Add option to clear caller-used registers on function return. 2025-01-22 19:33:23 +01:00
fdt.mk stand: Rename LIBFDT to LIBSAFDT 2023-11-07 09:57:32 -05:00
ficl.mk Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
loader.mk loader/loader.mk: add docs for LOADER_*_SUPPORT variables 2024-10-24 20:26:26 -06:00
lua.mk Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile loader: Don't need the arch list 2024-11-12 22:01:24 -07:00
Makefile.amd64 Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
Makefile.inc Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
veriexec.mk libsecureboot do not report expected unverified files 2024-02-12 14:35:01 -08:00