Character Interface

To open the character interface, use Ctrl + Alt + F3 to switch to the character interface for rescue if the graphical interface crashes.

Kernel Settings

In the kernel directory, open the kernel configuration options menu:

make rockchip_linux_defconfig
make menuconfig

After entering the kernel configuration menu, sequentially select: search for framebuffer and check Framebuffer Console support.

../../_images/demo_framebuffer.png

After enabling all necessary and some optional configurations, remember to save:

make ARCH=arm64 savedefconfig
mv defconfig arch/arm64/configs/rockchip_linux_defconfig

Or directly add the following three configurations in kernel/arch/arm64/configs/rockchip_linux_defconfig:

CONFIG_DUMMY_CONSOLE_COLUMNS=100
CONFIG_DUMMY_CONSOLE_ROWS=100
CONFIG_FRAMEBUFFER_CONSOLE=y

Then compile the kernel:

#Return to the SDK directory
cd ..
#Compile the kernel
./build.sh kernel