u-boot/arch
Mark Kettenis a609353e82 arm: apple: Point stdout-path to framebuffer when keyboard present
Unless you have a spare Apple Silicon machine, getting access to
the serial port on Apple Silicon machines requires special
hardware. Given that most machines come with a built-in screen
the framebuffer is likely to be the most convenient output device
for most users. While U-Boot will output to both serial and
framebuffer, OSes might not. Therefore set stdout-path to point
at /chosen/framebuffer when a keyboard is connected to the machine.

This behaviour can be overridden by setting the "stdout" variable
in the U-Boot environment. I addition to that keep the serial
console as the default when running under the m1n1 hypervisor.
The m1n1 hypervisor virtualizes the serial port such that it
can be easily accessed from any other machine with a USB port.

Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
Reviewed-by: Janne Grunau <j@jannau.net>
Tested-by: Janne Grunau <j@jannau.net>
2022-04-22 15:56:39 -04:00
..
arc dts: automatically build necessary .dtb files 2022-02-09 12:26:12 -07:00
arm arm: apple: Point stdout-path to framebuffer when keyboard present 2022-04-22 15:56:39 -04:00
m68k Convert CONFIG_MCFRTC et al to Kconfig 2022-04-01 10:28:46 -04:00
microblaze microblaze: Migrate DCACHE/ICACHE to Kconfig 2022-04-08 10:46:22 -04:00
mips event: Convert arch_cpu_init_dm() to use events 2022-03-10 08:28:36 -05:00
nds32 nds32: Migrate CONFIG_DEBUG_LED to Kconfig 2022-04-08 10:46:22 -04:00
nios2 event: Convert arch_cpu_init_dm() to use events 2022-03-10 08:28:36 -05:00
powerpc PPC: Enable Job ring driver model. 2022-04-12 11:20:30 +02:00
riscv riscv: alloc space exhausted 2022-04-06 10:58:13 +08:00
sandbox sandbox: Align linker lists to a 32-byte boundary 2022-04-18 17:53:56 -04:00
sh Split CONFIG_CC_OPTIMIZE_FOR_SIZE into two configs 2022-03-25 13:35:50 -04:00
x86 Remove duplication of table_compute_checksum function 2022-04-14 15:39:15 -04:00
xtensa Convert CONFIG_BOARD_POSTCLK_INIT to Kconfig 2022-03-03 16:51:19 -05:00
.gitignore
Kconfig treewide: Enable SPL_SEPARATE_BSS if SPL_BSS_START_ADDR is used 2022-04-21 09:08:57 -04:00
u-boot-elf.lds