opnsense-src/stand
Leandro Lupori 8a62b07bce powerpc64le: stand fixes
Fix boot1 and loader on PowerPC64 little-endian (LE).

Due to endian issues, boot1 couldn't find the UFS boot partition
and loader wasn't able to load the kernel. Most of the issues
happened because boot1 and loader were BE binaries trying to access
LE UFS partitions and because loader expects the kernel ELF image
to use the same endian as itself.

To fix these issues, boot1 and loader are now built as LE binaries
on PPC64LE. To support this, the functions that call OpenFirmware
were enhanced to correctly perform endian conversion on its input
and output arguments and to change the CPU into BE mode before
making the calls, as OpenFirmware always runs in BE. Besides that,
some other small fixes were needed.

Submitted by:		bdragon (initial version)
Reviewed by:		alfredo, jhibbits
Sponsored by:		Instituto de Pesquisas Eldorado (eldorado.org.br)
Differential Revision:	https://reviews.freebsd.org/D32160

(cherry picked from commit f83288645c)
2021-11-05 11:29:40 -03:00
..
arm Remove tests for obsolete compilers in the build system 2020-05-12 15:22:40 +00:00
arm64 No need to make objects here. 2018-04-27 22:15:18 +00:00
common powerpc64le: stand fixes 2021-11-05 11:29:40 -03:00
defaults loader.conf(5): mention "efi" option for "console" parameter 2021-08-04 07:50:14 +08:00
efi amd64 UEFI loader: enable automatic disable of staging area copying 2021-10-01 03:32:24 +03:00
fdt stand/fdt: Scale blob size better as overlays apply 2020-01-09 04:34:42 +00:00
ficl loader: implement framebuffer console 2021-01-02 21:41:36 +02:00
ficl32 Enable veriexec for loader 2019-02-26 06:22:10 +00:00
fonts loader: really use bold font for vga text mode 2021-01-08 01:24:30 +02:00
forth loader: support.4th resets the read buffer incorrectly 2021-09-12 09:56:15 -06:00
i386 i386 loaders: avoid lld 13 garbage collecting linker sets 2021-09-15 12:28:44 +02:00
images loader: implement framebuffer console 2021-01-02 21:41:36 +02:00
kshim Fix build of stand/usb . 2021-05-10 16:11:19 +02:00
liblua contrib/lua: update to 5.4.2 2021-01-13 23:56:18 -06:00
liblua32 Add Lua as a scripting langauge to /boot/loader 2018-02-12 15:31:53 +00:00
libofw powerpc64le: stand fixes 2021-11-05 11:29:40 -03:00
libsa crypto: Permit variable-sized IVs for ciphers with a reinit hook. 2021-10-21 13:47:58 -07:00
libsa32 Enable veriexec for loader 2019-02-26 06:22:10 +00:00
lua cli.lua.8: make the command match the code 2021-09-12 09:56:15 -06:00
man loader: update autoboot description and move to loader.conf.5 2021-07-16 12:28:44 -06:00
mips loader: fix mips build with gfx_fb 2021-01-04 16:57:50 +00:00
powerpc powerpc64le: stand fixes 2021-11-05 11:29:40 -03:00
uboot loader: fix uboot build with gfx_fb 2021-01-03 20:45:37 +02:00
usb Fix build of stand/usb . 2020-01-23 10:40:34 +00:00
userboot loader: cstyle cleanup of userboot/devicename.c 2021-08-19 16:05:26 +03:00
defs.mk powerpc64le: stand fixes 2021-11-05 11:29:40 -03:00
fdt.mk
ficl.mk loader: implement framebuffer console 2021-01-02 21:41:36 +02:00
loader.mk loader: start kernel in text mode when there is no vbefb vt driver 2021-02-21 22:31:38 +02:00
lua.mk Do not include float interfaces when using libsa. 2018-02-23 04:04:25 +00:00
Makefile stand: ensure that the efi directory's dependencies are correct 2021-01-29 23:46:17 -06:00
Makefile.amd64 stand: properly declare subdir deps or .WAIT, do parallel build 2020-12-31 11:15:45 -06:00
Makefile.inc stand: properly declare subdir deps or .WAIT, do parallel build 2020-12-31 11:15:45 -06:00
uboot.mk Unify metadata load files for arm, mips, powerpc, sparc64 2018-02-13 03:44:50 +00:00