Re: DM_SERIAL for i.MX6 Hummingboard/Cubox-i

2022-11-03 Thread Fabio Estevam
Hi Baruch, On Thu, Nov 3, 2022 at 12:33 PM Baruch Siach wrote: > Without any u-boot,dm-pre-reloc or u-boot,dm-spl? I don't see any for > wandboard DT files in current master. Correct, just passing CONFIG_DM_SERIAL=y boots fine on wandboard. It does not have a imx6qdl-wandboard-u-boot.dtsi

Re: DM_SERIAL for i.MX6 Hummingboard/Cubox-i

2022-11-03 Thread Baruch Siach
Hi Fabio, On Thu, Nov 03 2022, Fabio Estevam wrote: > On Thu, Nov 3, 2022 at 11:28 AM Fabio Estevam wrote: >> On Thu, Nov 3, 2022 at 11:15 AM Fabio Estevam wrote: >> >> > Please try using u-boot,dm-spl for all nodes instead. >> >> In addition to using u-boot,dm-spl, please try calling >>

Re: DM_SERIAL for i.MX6 Hummingboard/Cubox-i

2022-11-03 Thread Baruch Siach
Hi Fabio, On Thu, Nov 03 2022, Fabio Estevam wrote: > On Thu, Nov 3, 2022 at 11:15 AM Fabio Estevam wrote: > >> Please try using u-boot,dm-spl for all nodes instead. > > In addition to using u-boot,dm-spl, please try calling > spl_early_init() like done here: >

Re: DM_SERIAL for i.MX6 Hummingboard/Cubox-i

2022-11-03 Thread Fabio Estevam
On Thu, Nov 3, 2022 at 11:28 AM Fabio Estevam wrote: > > Hi Baruch, > > On Thu, Nov 3, 2022 at 11:15 AM Fabio Estevam wrote: > > > Please try using u-boot,dm-spl for all nodes instead. > > In addition to using u-boot,dm-spl, please try calling > spl_early_init() like done here: >

Re: DM_SERIAL for i.MX6 Hummingboard/Cubox-i

2022-11-03 Thread Fabio Estevam
Hi Baruch, On Thu, Nov 3, 2022 at 11:15 AM Fabio Estevam wrote: > Please try using u-boot,dm-spl for all nodes instead. In addition to using u-boot,dm-spl, please try calling spl_early_init() like done here: https://source.denx.de/u-boot/u-boot/-/commit/7cf388fa6977136dd2384bd746d237efc306c829

Re: DM_SERIAL for i.MX6 Hummingboard/Cubox-i

2022-11-03 Thread Fabio Estevam
Hi Baruch, On Thu, Nov 3, 2022 at 11:06 AM Baruch Siach wrote: > I tried this (see below) but no luck yet. The tbs2910 appears not to use > SPL. I might be missing an SPL driver. That's a good point. imx8mm_evk_defconfig has been converted to DM_SERIAL and it uses SPL. > + { > +

Re: DM_SERIAL for i.MX6 Hummingboard/Cubox-i

2022-11-03 Thread Baruch Siach
Hi Fabio, On Thu, Nov 03 2022, Fabio Estevam wrote: > On Thu, Nov 3, 2022 at 9:29 AM Baruch Siach wrote: >> 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

Re: DM_SERIAL for i.MX6 Hummingboard/Cubox-i

2022-11-03 Thread Fabio Estevam
Hi Baruch, On Thu, Nov 3, 2022 at 9:29 AM Baruch Siach 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

DM_SERIAL for i.MX6 Hummingboard/Cubox-i

2022-11-03 Thread Baruch Siach
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