<dujem>
my board has a 8250 compatible UART, im using CONFIG_SYS_NS16550 and it keeps freezing on bootup. however i am able to get a prompt if i comment out the entirety of ns16550_init(), any ideas?
<dujem>
(note: u-boot is a secondary bootloader here and the UART is already initialized by the second stage)
<dujem>
s/second/prior
<ja_02>
i had a similar problem iirc it was bc the uart wasn't completely compatible it was the PrimeCell UART PL011 and the kernel driver broke it during init. i think there is also a way to skip initialization of the uart in uboot too
flyback has quit [Ping timeout: 276 seconds]
<ja_02>
i wonder if its getting stuck at drivers/serial/ns16550.c:251 while (!(serial_in(&com_port->lsr) & UART_LSR_TEMT))
davlefou has quit [Ping timeout: 265 seconds]
flyback has joined #u-boot
<dujem>
ja_02: nope, but i *think* i may have figured it out
<dujem>
yep, i had to set CFG_SYS_NS16550_IER
<ja_02>
intresting
<dujem>
specifically to 0x40 as thats what it seems to be set to earlier
<dujem>
sure is, but im glad i figured it out
<dujem>
ill assume this fixes ns16550 debug uart init as well, but i fortunately dont need it anymore
warpme has joined #u-boot
<Tartarus>
marex: Crap. Merging v2025.01-rc5 to next causes rcar3_salvator-x to overflow, are you ready to merge to next at least that series that reduces size on all the rcar platforms?
<Tartarus>
And yeah, I might just have to hold up on updating next until later in the week
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mmu_man has quit [Ping timeout: 244 seconds]
warpme has joined #u-boot
slobodan_ has joined #u-boot
naoki has joined #u-boot
mrnuke has quit [Ping timeout: 244 seconds]
slobodan_ has quit [Ping timeout: 252 seconds]
mrnuke has joined #u-boot
joeskb7 has quit [Read error: Connection reset by peer]
joeskb7 has joined #u-boot
joeskb7 has quit [Ping timeout: 252 seconds]
davlefou has joined #u-boot
derRichard has quit [Ping timeout: 252 seconds]
mmu_man has joined #u-boot
ungeskriptet_ has joined #u-boot
ungeskriptet has quit [Ping timeout: 244 seconds]
ungeskriptet_ is now known as ungeskriptet
derRichard has joined #u-boot
ungeskriptet_ has joined #u-boot
joeskb7 has joined #u-boot
ungeskriptet has quit [Ping timeout: 265 seconds]
ungeskriptet_ is now known as ungeskriptet
warpme has quit [Read error: Connection reset by peer]
warpme has joined #u-boot
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
joeskb7 has quit [Ping timeout: 265 seconds]
mrnuke has quit [Ping timeout: 265 seconds]
joeskb7 has joined #u-boot
mrnuke has joined #u-boot
ikarso has joined #u-boot
joeskb7 has quit [Read error: Connection reset by peer]