[PATCH v2 2/2] ARM: boards: i.MX93: Add NXP FRDM i.MX93 support

Ahmad Fatoum a.fatoum at pengutronix.de
Tue Oct 21 04:43:31 PDT 2025


Hello Fabian,

On 10/21/25 1:37 PM, Fabian Pflug wrote:
> Hello Ahmad,
> 
> On Tue, 2025-10-21 at 13:11 +0200, Ahmad Fatoum wrote:
>> Hello Fabian,
>>
>>> +static noinline void frdm_imx93_continue(void)
>>> +{
>>> +	void __iomem *base = IOMEM(MX9_UART1_BASE_ADDR);
>>> +	void __iomem *muxbase = IOMEM(MX9_IOMUXC_BASE_ADDR);
>>> +
>>> +	/* configure LPUART1 TX pin */
>>> +	writel(0x0, muxbase + 0x184);
>>> +
>>> +	imx9_uart_setup(base);
>>> +	pbl_set_putc(lpuart32_putc, base + 0x10);
>>> +	putchar('>');
>>
>> Do you see the > character on bootup if CONFIG_PBL_CONSOLE is enabled?
>> Maud (Cc'd) mentioned on the IRC that the 0x10 offset shouldn't be
>> necessary.
>>
> 
> I did see the > character with (working with a 2025.07.0 barebox here):

Ok, good to know.


> But there seems to be another Problem. If I enable
> 
> CONFIG_DEBUG_LL=y
> CONFIG_DEBUG_IMX_UART=y
> CONFIG_DEBUG_IMX8M_UART=y
> CONFIG_DEBUG_IMX_UART_PORT=1
> CONFIG_DEBUG_PBL=y

Given that you are using the i.MX9's LPUART, I think it's expected that
DEBUG_LL misbehaves. PBL output works, because the PBL console has
precedence over DEBUG_LL.

Cheers,
Ahmad

-- 
Pengutronix e.K.                  |                             |
Steuerwalder Str. 21              | http://www.pengutronix.de/  |
31137 Hildesheim, Germany         | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686  | Fax:   +49-5121-206917-5555 |




More information about the barebox mailing list