Skip to content

Commit

Permalink
linux: renumber ttyS# devices to a more intuitive order
Browse files Browse the repository at this point in the history
New mapping:
ttyS0: BMC serial console
ttyS1-4: Serial connection to node 1-4

Closes turing-machines#181
  • Loading branch information
CFSworks committed Feb 12, 2024
1 parent c722ccc commit 5e886af
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions tp2bmc/board/tp2bmc/sun8i-t113s-turingmachines-tp2-bmc.dts
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@

aliases {
ethernet0 = &emac;
serial1 = &uart1;
serial2 = &uart2;
serial3 = &uart3;
serial4 = &uart4;
serial5 = &uart5;
serial0 = &uart3;
serial1 = &uart2;
serial2 = &uart1;
serial3 = &uart4;
serial4 = &uart5;
flash0 = &flash0;
};

chosen {
stdout-path = "serial3:115200n8";
stdout-path = "serial0:115200n8";
};

// The LEDs are actually GPIO lines that go to the front-panel LEDs.
Expand Down
2 changes: 1 addition & 1 deletion tp2bmc/configs/tp2bmc_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ BR2_ARM_EABI=y
BR2_TARGET_GENERIC_HOSTNAME="turingpi"
BR2_TARGET_GENERIC_ISSUE="Welcome to Turing Pi"
BR2_TARGET_GENERIC_ROOT_PASSWD="turing"
BR2_TARGET_GENERIC_GETTY_PORT="ttyS3"
BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y
BR2_SYSTEM_DHCP="eth0"
BR2_INIT_SYSV=y
Expand Down

0 comments on commit 5e886af

Please sign in to comment.