Date: Tue, 27 Jun 2023 12:08:56 +0300 From: titus <titus@edc.ro> To: Marcin Cieslak <saper@saper.info> Cc: freebsd-arm@freebsd.org Subject: Re: allwinner h616 + serial console glitch Message-ID: <1261C333-8E21-4C8B-A002-205043B66506@edc.ro> In-Reply-To: <p929pp25-9s60-s54o-2714-971101r12po4@fncre.vasb> References: <FCC43C68-9B0E-43DE-A47A-93D0C5BE9073@edc.ro> <sr31p5os-q763-p32r-9433-poq9pprr604q@fncre.vasb> <E10E7DF9-C188-4674-AF9C-5DC7E45839D7@edc.ro> <p929pp25-9s60-s54o-2714-971101r12po4@fncre.vasb>
next in thread | previous in thread | raw e-mail | index | archive | help
it may have to with this >=20 > /* 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 <saper@saper.info> wrote: >=20 > On Tue, 27 Jun 2023, titus wrote: >=20 >>> # stty -a >>> speed 115384 baud; 0 rows; 0 columns; >=20 > ^^^^^^^^^^^^ >=20 > 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. >=20 > (Just guessing, never had such an issue before) >=20 > Marcin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1261C333-8E21-4C8B-A002-205043B66506>