<macromorgan>
would it be bad practice to add a u-boot.dtsi file that enables a serial console that isn't there? The issue I'm having is auto detection where some boards have a serial port and some boards don't. Even if I set CONFIG_REQUIRE_SERIAL_CONSOLE to N and CONFIG_NULLDEV_SERIAL it still doesn't want to work...
<macromorgan>
if I enable the UART that's otherwise unused and add the proper chosen node, however, it works
slobodan_ has quit [Read error: Connection reset by peer]
Stat_headcrabed has quit [Quit: Stat_headcrabed]
__nick__ has joined #u-boot
___nick___ has quit [Ping timeout: 272 seconds]
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yann-kaelig has quit []
goliath has quit [Quit: SIGSEGV]
eballetbo has quit [Quit: Connection closed for inactivity]
<cambrian_invader>
macromorgan: what is going wrong?
<macromorgan>
I need to somehow disable the serial console at runtime, or be allowed to include references to a serial console that doesn't really exist
<macromorgan>
I have some "auto detect" code I'm trying to migrate to use mainline device trees, and for 3 of the devices I'm trying to detect they don't have a UART console (because they don't)
<macromorgan>
so far the things I've tried to boot one of the boards without a UART don't work, except specifying the UART that isn't there in u-boot.dtsi trees
<macromorgan>
I've tried setting gd->flags to be silent, I've tried using null console, and tried allowing device to boot without a serial console
mmu_man has joined #u-boot
mmu_man has quit [Ping timeout: 260 seconds]
crb has quit [Ping timeout: 264 seconds]
mmu_man has joined #u-boot
crb has joined #u-boot
ellyq_ has quit []
mmu_man has quit [Ping timeout: 260 seconds]
__nick__ has quit [Ping timeout: 260 seconds]
___nick___ has joined #u-boot
ldevulder has quit [Quit: Leaving]
zear_ has joined #u-boot
lehmanju3 has joined #u-boot
stefanct__ has joined #u-boot
JPEW_ has joined #u-boot
narmstrong_ has joined #u-boot
umbramalison has joined #u-boot
cyrozap_ has joined #u-boot
marex_ has joined #u-boot
redbrain_ has joined #u-boot
qschulz_ has joined #u-boot
mckoan_ has joined #u-boot
derRicha1d has joined #u-boot
Rahix_ has joined #u-boot
alan_o has quit [*.net *.split]
redbrain has quit [*.net *.split]
qschulz has quit [*.net *.split]
lehmanju has quit [*.net *.split]
derRichard has quit [*.net *.split]
Rahix has quit [*.net *.split]
narmstrong has quit [*.net *.split]
marex has quit [*.net *.split]
mckoan|away has quit [*.net *.split]
umbramalison_alt has quit [*.net *.split]
stefanct has quit [*.net *.split]
urja has quit [*.net *.split]
alpernebbi has quit [*.net *.split]
JPEW has quit [*.net *.split]
zear has quit [*.net *.split]
cyrozap has quit [*.net *.split]
lehmanju3 is now known as lehmanju
narmstrong_ is now known as narmstrong
JPEW_ is now known as JPEW
stefanct__ is now known as stefanct
cyrozap_ is now known as cyrozap
zear_ is now known as zear
slobodan has joined #u-boot
alan_o has joined #u-boot
urja has joined #u-boot
alpernebbi has joined #u-boot
mmu_man has joined #u-boot
<cambrian_invader>
macromorgan: have you tried silent console?
<macromorgan>
yes, but searching in menuconfig I'm seeing a few other things to try (like SILENT_CONSOLE_UPDATE_ON_RELOC for starters)
___nick___ has quit [Ping timeout: 252 seconds]
prabhakalad has quit [Quit: Konversation terminated!]
prabhakalad has joined #u-boot
<macromorgan>
figured it out... need CONFIG_DISABLE_CONSOLE=y set and then need once board detect runs to set the correct gd flags to disable the console if one is not available
slobodan has quit [Read error: Connection reset by peer]