Re: help on udoo_neo power up on mainline uboot

Fabio Estevam
2021-12-29T20:51:34Z

Hi Tommaso,

On Wed, Dec 29, 2021 at 5:33 PM Tommaso Merciai <tomm.merciai@gmail.com> wrote:

> > Please try this patch series from Peter:
> > https://lore.kernel.org/all/20211221123249.455347-1-pbrobinson@gmail.com/T/
> >
> > Does it boot for you after applying this series?
>
> Hi Fabio,
> I test this series. By that I'm able to boot the board from uSD.
> Thanks.

Thanks for testing. Glad to know it is booting fine.

> Below some log's from the board:
>
> U-Boot SPL 2022.01-rc4-00030-gb3f84a939f-dirty (Dec 29 2021 - 21:22:30 +0100)
> Trying to boot from MMC1
>
>
> U-Boot 2022.01-rc4-00030-gb3f84a939f-dirty (Dec 29 2021 - 21:22:30 +0100)
>
> CPU: Freescale i.MX6SX rev1.2 996 MHz (running at 792 MHz)
> CPU: Extended Commercial temperature grade (-20C to 105C) at 30C
> Reset cause: POR
> Model: UDOO Neo Basic
> Board: UDOO Neo UNDEFINED

Could you please help to investigate this output? It should not print
"UNDEFINED".

Could you please add this debug patch below and let me know what it prints?

--- a/board/udoo/neo/neo.c
+++ b/board/udoo/neo/neo.c
@@ -301,6 +301,9 @@ static int get_board_value(void)

r184 = gpio_get_value(IMX_GPIO_NR(4, 13));
r185 = gpio_get_value(IMX_GPIO_NR(4, 0));
+
+ printf("********* r184 is %d\n", r184);
+ printf("********* r185 is %d\n", r185);

/*
* Machine selection -

> DRAM: 512 MiB
> MMC: FSL_SDHC: 1, FSL_SDHC: 2
> Loading Environment from MMC... OK
> In: serial
> Out: serial
> Err: serial
> Net: eth0: ethernet@2188000
> Hit any key to stop autoboot: 0
> =>
>
> Why this series is not already merged on mainline?
> Let me know.

Hopefully, Tom or Stefano can pick up Peter's series in time for the
2022.01 release.

Thanks