Hi Baruch, On Thu, Nov 3, 2022 at 9:29 AM Baruch Siach <bar...@tkos.co.il> wrote: > > Hi u-boot list, > > I am trying to migrate the Hummingboard platform to DM_SERIAL. See below > what I got so far. Booting this on top of master (as of commit > 8bc87a4c5) shows nothing on the serial console. Next thing I plan to try > is toggle GPIOs in entry code to see how far the code proceeds. > > Any idea where to look before I go down that way? > > Thanks, > baruch > > diff --git a/arch/arm/dts/imx6qdl-hummingboard2-emmc-som-v15-u-boot.dtsi > b/arch/arm/dts/imx6qdl-hummingboard2-emmc-som-v15-u-boot.dtsi > index 400b885e4370..8507b818d4cf 100644 > --- a/arch/arm/dts/imx6qdl-hummingboard2-emmc-som-v15-u-boot.dtsi > +++ b/arch/arm/dts/imx6qdl-hummingboard2-emmc-som-v15-u-boot.dtsi > @@ -15,6 +15,10 @@ > }; > }; > > +&uart1 { > + u-boot,dm-pre-reloc; > +};
Here you also need to pass &aips1, &pinctrl_uart1, and &soc. Please look at the following commit for reference: commit 8fbca1a8b9b02fbc40147401d9af764e07dc96af Author: Fabio Estevam <feste...@denx.de> Date: Tue Mar 15 17:47:05 2022 -0300 tbs2910: Convert to DM_SERIAL Conversion to DM_SERIAL is mandatory. Select DM_SERIAL and add a imx6q-tbs2910-u-boot.dtsi file that describes the nodes that require dm-pre-reloc, which allows the DM model to configure the UART pinctrl early. Remove the now unneeded board UART initialization. Signed-off-by: Fabio Estevam <feste...@denx.de> Tested-by: Soeren Moch <sm...@web.de>