Browse Source

rpi: init_resize: pull changes done to cmdline.txt from upstream script

It seems some additional manipulation was added to cmdline.txt in the upstream
init_resize.sh script, the part that removed the 'quiet' kernel argument is what
will add the Linux kernel console on HDMI again and if 'quiet' is present nothing is
shown on the HDMI output resulting in a "black screen".

MEN-2673

Changelog: Fix console not being available on HDMI on Raspberry Pi in Raspbian Buster.

Signed-off-by: Mirza Krak <mirza.krak@northern.tech>
1.2.x
Mirza Krak 5 years ago
parent
commit
9043d8ddfe
  1. 4
      files/init_resize.sh

4
files/init_resize.sh

@ -88,6 +88,10 @@ mount -t sysfs sys /sys
mount /uboot
sed -i 's| init=/usr/lib/raspi-config/init_resize.sh||' /uboot/cmdline.txt
sed -i 's| sdhci\.debug_quirks2=4||' ${output_dir}/cmdline.txt
if ! grep -q splash /uboot/cmdline.txt; then
sed -i "s/ quiet//g" /uboot/cmdline.txt
fi
mount /uboot -o remount,ro
sync

Loading…
Cancel
Save