[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#952452: initramfs-tools: prefers serial console over framebuffer console



On 27/02/2020 02:10, Ben Hutchings wrote:
A device that is intended to be used with keyboard and video display
should not have this in the device tree for production units.  If we
ship the device tree then we can correct that.  If not, then the boot
loader should be configured to override it, and the installer could do
that by default.

I'm using rk3399-gru-kevin.dtb from the Debian package. The stdout-path property comes from arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi in the kernel tree. Setting a serial console this way seems to be ordinary, a lot of other devices have it too.

For the bootloader (part of the firmware), I don't know if there is a way to make it change that property in the device-tree file. Meanwhile I've added "console=tty0" to the default cmdline my bootloader-handler project uses, so everything should be fine for now.

I don't think it makes sense for initramfs-tools to do this, as the
wrong default console will still affect other software.

I intended to say that maybe initramfs-tools should correct the default console to the virtual console not just for itself but for the entire userspace. (I don't even know if that's possible.)


Reply to: