I'm currently trying to build my own custom Linux OS for my Raspberry Pi 3 and am experiencing some trouble.
I'm using buildroot v2018_2.
I configured the system using
Then just changed the following options :
- C library : use
- Increased filesystem size from 60M to 100M
- Add password
rootto root user under
[*] Enable root login with password
After compiling, flashing the generated
sdcard.img and booting, I can see kernel logs on the HDMI connected screen.
However after booting, the OS doesn't propose any prompt on the HDMI screen and I'm stuck here.
I know that the system is not freezed because I can see kernel logs if I plug/unplug my keyboard.
I suppose that the console is connected to the UART and only kernel logs are sent to HDMI port.
However I can't find how to force console prompt on HDMI.
Here are my config.txt and cmdline :
$ cat config.txt
# Please note that this is only a sample, we recommend you to change it to fit
# your needs.
# You should override this file using a post-build script.
# See http://buildroot.org/manual.html#rootfs-custom
# and http://elinux.org/RPiconfig for a description of config.txt syntax
# To use an external initramfs file
# Disable overscan assuming the display supports displaying the full resolution
# If the text shown on the screen disappears off the edge, comment this out
# How much memory in MB to assign to the GPU on Pi models having
# 256, 512 or 1024 MB total memory
# fixes rpi3 ttyAMA0 serial console
$ cat cmdline
root=/dev/mmcblk0p2 rootwait console=tty1 console=ttyAMA0,115200
I didn't change any configuration in kernel and I'm using the one from raspberry-pi github repository.
Does someone know how I could get a prompt on the HDMI screen ?