Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set tty0 in cmdline as the default preferred console #3402

Merged
merged 1 commit into from
Jun 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1 +1 @@
console=tty1 console=ttyS0
console=ttyS0 console=tty0
3 changes: 1 addition & 2 deletions buildroot-external/board/asus/hassos-hook.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ function hassos_pre_image() {
mkdir -p "${BOOT_DATA}/overlays"
cp "${BINARIES_DIR}"/*.dtbo "${BOOT_DATA}/overlays/"
cp "${BOARD_DIR}/boot-env.txt" "${BOOT_DATA}/haos-config.txt"

echo "console=tty1" > "${BOOT_DATA}/cmdline.txt"
cp "${BOARD_DIR}/cmdline.txt" "${BOOT_DATA}/cmdline.txt"

# SPL
create_spl_image
Expand Down
1 change: 1 addition & 0 deletions buildroot-external/board/asus/tinker/cmdline.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
console=tty0
2 changes: 1 addition & 1 deletion buildroot-external/board/hardkernel/odroid-c2/cmdline.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
console=tty0 console=ttyAML0,115200n8
console=ttyAML0,115200n8 console=tty0
2 changes: 1 addition & 1 deletion buildroot-external/board/hardkernel/odroid-c4/cmdline.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
console=tty0 console=ttyAML0,115200n8
console=ttyAML0,115200n8 console=tty0
1 change: 1 addition & 0 deletions buildroot-external/board/hardkernel/odroid-m1/cmdline.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
console=tty0
1 change: 1 addition & 0 deletions buildroot-external/board/hardkernel/odroid-m1s/cmdline.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
console=tty0
2 changes: 1 addition & 1 deletion buildroot-external/board/hardkernel/odroid-n2/cmdline.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
console=tty0 console=ttyAML0,115200n8
console=ttyAML0,115200n8 console=tty0
2 changes: 1 addition & 1 deletion buildroot-external/board/hardkernel/odroid-xu4/cmdline.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
console=tty1 console=ttySAC2,115200
console=ttySAC2,115200 console=tty0
2 changes: 1 addition & 1 deletion buildroot-external/board/khadas/vim3/cmdline.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
console=tty0 console=ttyAML0,115200n8
console=ttyAML0,115200n8 console=tty0
1 change: 1 addition & 0 deletions buildroot-external/board/nabucasa/green/cmdline.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
console=tty0
2 changes: 1 addition & 1 deletion buildroot-external/board/pc/generic-x86-64/cmdline.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
console=tty1
console=tty0
2 changes: 1 addition & 1 deletion buildroot-external/board/pc/ova/cmdline.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
console=ttyS0 console=tty1
console=ttyS0 console=tty0
2 changes: 1 addition & 1 deletion buildroot-external/board/raspberrypi/cmdline.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
dwc_otg.lpm_enable=0 console=tty1 usb-storage.quirks=174c:55aa:u,2109:0715:u,152d:0578:u,152d:0579:u,152d:1561:u,174c:0829:u,14b0:0206:u,174c:225c:u,7825:a2a4:u,152d:0562:u,125f:a88a:u
dwc_otg.lpm_enable=0 console=tty0 usb-storage.quirks=174c:55aa:u,2109:0715:u,152d:0578:u,152d:0579:u,152d:1561:u,174c:0829:u,14b0:0206:u,174c:225c:u,7825:a2a4:u,152d:0562:u,125f:a88a:u
2 changes: 1 addition & 1 deletion buildroot-external/board/raspberrypi/rpi5-64/cmdline.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
zram.enabled=1 zram.num_devices=3 rootwait cgroup_enable=memory fsck.repair=yes console=tty1 root=PARTUUID=8d3d53e3-6d49-4c38-8349-aff6859e82fd rootfstype=squashfs ro rauc.slot=A
zram.enabled=1 zram.num_devices=3 rootwait cgroup_enable=memory fsck.repair=yes console=tty0 root=PARTUUID=8d3d53e3-6d49-4c38-8349-aff6859e82fd rootfstype=squashfs ro rauc.slot=A
2 changes: 1 addition & 1 deletion buildroot-external/board/raspberrypi/yellow/cmdline.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
dwc_otg.lpm_enable=0 console=tty1 console=ttyAMA2,115200n8
dwc_otg.lpm_enable=0 console=tty0 console=ttyAMA2,115200n8