Post by Gary JennejohnPost by Lev SerebryakovPost by Jung-uk KimPut this line in /etc/make.conf.
BOOT_BOOT0_COMCONSOLE_SPEED=0
Then, boot0sio will not change serial port configuration.
I've tried this, and it doesn't help. Maybe, BIOS reset settings before
calling boot code.
The answer is in the Makefile. All possible supported baud rates
are checked there. If the value set in
BOOT_BOOT0_COMCONSOLE_SPEED does not match one of the
pre-defined values, it defaults to 9600 baud. Since 0 is not a
valid baudrate, 9600 is used.
Nope. If BOOT_BOOT0_COMCONSOLE_SPEED defined, it is used as-is. If it
is not defined it is derived from BOOT_COMCONSOLE_SPEED. So, defining it
to "0" should work. And disassembling boot0sio confirms it.
.if !defined(BOOT_BOOT0_COMCONSOLE_SPEED)
BOOT_COMCONSOLE_SPEED?= 9600
.if ${BOOT_COMCONSOLE_SPEED} == 9600
BOOT_BOOT0_COMCONSOLE_SPEED= "7 << 5 + 3"
.elif ${BOOT_COMCONSOLE_SPEED} == 4800
BOOT_BOOT0_COMCONSOLE_SPEED= "6 << 5 + 3"
.elif ${BOOT_COMCONSOLE_SPEED} == 2400
BOOT_BOOT0_COMCONSOLE_SPEED= "5 << 5 + 3"
.elif ${BOOT_COMCONSOLE_SPEED} == 1200
BOOT_BOOT0_COMCONSOLE_SPEED= "4 << 5 + 3"
.elif ${BOOT_COMCONSOLE_SPEED} == 600
BOOT_BOOT0_COMCONSOLE_SPEED= "3 << 5 + 3"
.elif ${BOOT_COMCONSOLE_SPEED} == 300
BOOT_BOOT0_COMCONSOLE_SPEED= "2 << 5 + 3"
.elif ${BOOT_COMCONSOLE_SPEED} == 150
BOOT_BOOT0_COMCONSOLE_SPEED= "1 << 5 + 3"
.elif ${BOOT_COMCONSOLE_SPEED} == 110
BOOT_BOOT0_COMCONSOLE_SPEED= "0 << 5 + 3"
.else
BOOT_BOOT0_COMCONSOLE_SPEED= "7 << 5 + 3"
.endif
.endif
--
// Lev Serebryakov