Re: allwinner h616 + serial console glitch

titus <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
it may have to with this
> 
>         /* UART_BGR_REG Enabling the gate enable weir behavior ... */
>         /* CCU_GATE(CLK_BUS_UART0, "bus-uart0", "apb2", 0x90c, 0) */
>         /* CCU_GATE(CLK_BUS_UART1, "bus-uart1", "apb2", 0x90c, 1) */
>         /* CCU_GATE(CLK_BUS_UART2, "bus-uart2", "apb2", 0x90c, 2) */
>         /* CCU_GATE(CLK_BUS_UART3, "bus-uart3", "apb2", 0x90c, 3) */
this is from the ccu_h6.c clock driver
i had them enabled for the h616 code (now i commented it out and it works)
thanks for the clock idea

> On Jun 27, 2023, at 10:53 AM, Marcin Cieslak <[email protected]> wrote:
> 
> On Tue, 27 Jun 2023, titus wrote:
> 
>>> #  stty -a
>>> speed 115384 baud; 0 rows; 0 columns;
> 
>   ^^^^^^^^^^^^
> 
> looks like you have a clock problem, either the base UART clock or the divisor
> are not quite right. Probably you want to have 115200 here, so it is slightly off.
> 
> (Just guessing, never had such an issue before)
> 
> Marcin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.