Go back to using console=hvc0

This commit is contained in:
Rodrigo Arias 2024-10-02 14:52:10 +02:00
parent 1cf4e576d6
commit f8886b28dd

View File

@ -494,6 +494,7 @@
# Set kernel bootcmd options. # Set kernel bootcmd options.
# rdinit=/preinit boot custom preinit script # rdinit=/preinit boot custom preinit script
# console=ttyS0,115200n8 use serial driver (slow)
# Systemd options # Systemd options
# systemd.log_level=debug # systemd.log_level=debug
# systemd.log_target=console # systemd.log_target=console
@ -511,7 +512,7 @@
in prev.runCommand "uboot.txt" {} '' in prev.runCommand "uboot.txt" {} ''
cat > $out <<EOF cat > $out <<EOF
xtrace=yes xtrace=yes
bootargs=root=/dev/ram0 loglevel=7 rw earlycon=sbi console=ttyS0,115200n8 debug2 init=${init} bootargs=root=/dev/ram0 loglevel=7 rw earlycon=sbi console=hvc0 debug2 init=${init}
ramdisk_size=$(stat --format %s $(readlink -f ${initrd})) ramdisk_size=$(stat --format %s $(readlink -f ${initrd}))
bootcmd=fdt print; booti \''${kernel_addr_r} \''${ramdisk_addr_r}:\''${ramdisk_size} \''${fdtcontroladdr} bootcmd=fdt print; booti \''${kernel_addr_r} \''${ramdisk_addr_r}:\''${ramdisk_size} \''${fdtcontroladdr}
EOF EOF