0ed4123326
This adds support for creating an early frame buffer and primatives for writing to this frame buffer as a console. This does require the font infrastructure as well as multiboot2. Additionally this can now be used with a UEFI bootloader long as it boots NuttX via Multiboot2. There does seem to be a PCI interrupt issue when running in UEFI mode. I was able to boot my laptop using this and see PCI devices enumerate. Signed-off-by: Brennan Ashton <bashton@brennanashton.com> x86_64: Add conditionals around the multiboot framebuffer
84 lines
1.6 KiB
Plaintext
84 lines
1.6 KiB
Plaintext
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
#
|
|
|
|
if ARCH_X86_64
|
|
comment "x86_64 Configuration Options"
|
|
|
|
config ARCH
|
|
string
|
|
default "x86_64"
|
|
|
|
choice
|
|
prompt "x86_64 arch selection"
|
|
default ARCH_INTEL64
|
|
|
|
config ARCH_INTEL64
|
|
bool "Intel x86_64"
|
|
select ARCH_HAVE_MPU
|
|
select ARCH_USE_MPU
|
|
select ARCH_HAVE_TICKLESS
|
|
select ARCH_HAVE_STACKCHECK
|
|
select ARCH_HAVE_RNG
|
|
---help---
|
|
Intel x86_64 architecture
|
|
|
|
config ARCH_CHIP_X86_64_CUSTOM
|
|
bool "Custom x86_64 chip"
|
|
select ARCH_CHIP_CUSTOM
|
|
---help---
|
|
Select this option if there is no directory for the chip under arch/x86_64/src/.
|
|
|
|
endchoice
|
|
|
|
choice
|
|
prompt "x86_64 system selection"
|
|
default ARCH_BOARD_QEMU
|
|
|
|
config ARCH_BOARD_QEMU
|
|
bool "Qemu environment"
|
|
---help---
|
|
Targeting virtualized qemu environment
|
|
|
|
endchoice
|
|
|
|
source "arch/x86_64/src/common/Kconfig"
|
|
|
|
if ARCH_INTEL64
|
|
source "arch/x86_64/src/intel64/Kconfig"
|
|
|
|
config ARCH_CHIP
|
|
string
|
|
default "intel64"
|
|
|
|
endif # ARCH_INTEL64
|
|
|
|
if ARCH_BOARD_QEMU
|
|
source "arch/x86_64/src/qemu/Kconfig"
|
|
|
|
config ARCH_BOARD
|
|
string
|
|
default "qemu-intel64"
|
|
|
|
endif # ARCH_CHIP_QEMU
|
|
|
|
config ARCH_MULTIBOOT2
|
|
bool "Append multiboot2 header"
|
|
default y
|
|
---help---
|
|
Include a multiboot2 header. This also provides information to the
|
|
system to enable certain features like the low level framebuffer.
|
|
|
|
if ARCH_MULTIBOOT2
|
|
config MULTBOOT2_FB_TERM
|
|
bool "Multiboot2 framebuffer terminal"
|
|
default n
|
|
depends on NXFONTS
|
|
---help---
|
|
Enable a framebuffer terminal for early debug printing
|
|
|
|
endif # ARCH_MULTIBOOT2
|
|
|
|
endif # ARCH_X86_64
|