opnsense-src/stand
Ad Schellevis d7d6d360f4 stand: add EFI support for mmio serial consoles
When no legacy serial is found, we may be looking at a non-legacy mmio
serial device mapping, in which case the efi_devpath_name() for name
ConOutDev looks like this:

    VenHw(XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX,0090DCFE00000000)/Uart(115200,8,N,1)/VenVt100()

Which should tell the kernel to attach a console to 0xfedc9000
(little endian 64 bit value).  The value is stored behind the
VENDOR_DEVICE_PATH struct as a byte stream hence we need to check
if said address is appended behind the node.  Also enforce use for
uart by requiring the console speed read from the same device.

There is no scientific process for "rs:2" derivation, but evidence would
indicate that this is the correct setting for existing MMIO EFI consoles.

See also: http://bsdimp.blogspot.com/2018/07/how-to-get-memory-mapped-serial-console.html
2024-12-11 11:10:50 +01:00
..
arm64 stand: Automated cleanup of cdefs and other formatting 2024-04-15 20:32:05 -06:00
common loader: Add TSLOG to interpreter built-ins 2024-09-29 08:24:52 -07:00
defaults loader: Make EFI entropy size configurable 2024-09-29 08:24:52 -07:00
efi stand: add EFI support for mmio serial consoles 2024-12-11 11:10:50 +01:00
fdt libsa: Remove redundant sys/cdefs.h 2024-04-16 13:54:26 -06:00
ficl stand: Remove dangling mips references 2024-04-16 13:54:28 -06:00
ficl32 Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
fonts Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
forth loader.4th dictthreshold too small 2024-04-16 13:54:30 -06:00
i386 stand: Ugly hack due to default change 2024-10-30 22:07:11 -06:00
images stand: Fix logo alpha 2024-07-29 18:37:09 +02:00
kboot loader: Bump all versions to 3.0 2024-08-01 08:49:54 -06:00
kshim Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
liblua stand: Spell LUA_COMPILE_SET correctly. 2024-05-20 19:08:53 +02:00
liblua32 Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
libofw libsa: Remove redundant sys/cdefs.h 2024-04-16 13:54:26 -06:00
libsa loader: dosfs fails to access directory data with large cluster number 2024-10-10 15:52:50 +03:00
libsa32 Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
lua loader: Fix boot menu on BIOS 2024-11-06 16:13:14 -07:00
man loader.efi.8: Remove rogue duplicated lines 2024-09-03 17:56:38 -06:00
powerpc loader/powerpc: Add some CAS support for newer POWER CPUs 2024-10-23 22:07:20 -04:00
uboot loader: Bump all versions to 3.0 2024-08-01 08:49:54 -06:00
usb Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
userboot loader: Bump all versions to 3.0 2024-08-01 08:49:54 -06:00
defs.mk kboot: Add our own lua bindings 2024-04-16 13:54:24 -06:00
fdt.mk stand: Rename LIBFDT to LIBSAFDT 2023-11-16 10:18:58 -05:00
ficl.mk Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
loader.mk Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
lua.mk Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.amd64 Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.inc Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
veriexec.mk libsecureboot do not report expected unverified files 2024-04-16 13:54:22 -06:00