help on udoo_neo power up on mainline uboot

Tommaso Merciai tomm.merciai at gmail.com
Thu Dec 30 00:27:24 CET 2021


On Wed, Dec 29, 2021 at 08:07:04PM -0300, Fabio Estevam wrote:
> Hi Peter and Tommaso,
> 
> On Wed, Dec 29, 2021 at 7:38 PM Fabio Estevam <festevam at gmail.com> wrote:
> 
> > Yes, according to Peter, the failure comes only during the second call
> > to get_board_value()
> 
> I managed to get my Udoo Neo board working again.
> 
> With only the change below on top of Peter's series, I can get the
> board version to be printed correctly:
> 
> --- a/board/udoo/neo/neo.c
> +++ b/board/udoo/neo/neo.c
> @@ -383,18 +383,13 @@ static char *board_string(void)
>         return "UNDEFINED";
>  }
> 
> -int checkboard(void)
> -{
> -       printf("Board: UDOO Neo %s\n", board_string());
> -       return 0;
> -}
> -
>  int board_late_init(void)
>  {
>  #ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
>         env_set("board_name", board_string());
>  #endif
> 
> +       printf("Board: UDOO Neo %s\n", board_string());
>         return 0;
>  }
> 
> U-Boot log:
> 
> U-Boot SPL 2022.01-rc4-00031-gc5c4ced998e3-dirty (Dec 29 2021 - 20:03:26 -0300)
> Trying to boot from MMC1
> 
> 
> U-Boot 2022.01-rc4-00031-gc5c4ced998e3-dirty (Dec 29 2021 - 20:03:26 -0300)
> 
> CPU:   Freescale i.MX6SX rev1.2 996 MHz (running at 792 MHz)
> CPU:   Extended Commercial temperature grade (-20C to 105C) at 64C
> Reset cause: POR
> Model: UDOO Neo Basic
> I2C:   ready
> DRAM:  1 GiB
> PMIC:  PFUZE3000 DEV_ID=0x30 REV_ID=0x11
> MMC:   FSL_SDHC: 1, FSL_SDHC: 2
> Loading Environment from MMC... OK
> In:    serial
> Out:   serial
> Err:   serial
> Board: UDOO Neo FULL
> Net:   eth0: ethernet at 2188000
> Hit any key to stop autoboot:  0
> ethernet at 2188000 Waiting for PHY auto negotiation to
> complete.......user interrupt!
> Could not initialize PHY ethernet at 2188000
> BOOTP broadcast 1

Hi Fabio,
I test BASIC board and it work too, below some log:

U-Boot SPL 2022.01-rc4-00030-gb3f84a939f-dirty (Dec 30 2021 - 00:20:36 +0100)
Trying to boot from MMC1


U-Boot 2022.01-rc4-00030-gb3f84a939f-dirty (Dec 30 2021 - 00:20:36 +0100)

CPU:   Freescale i.MX6SX rev1.2 996 MHz (running at 792 MHz)
CPU:   Extended Commercial temperature grade (-20C to 105C) at 46C
Reset cause: POR
Model: UDOO Neo Basic
DRAM:  512 MiB
MMC:   FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from MMC... OK
In:    serial
Out:   serial
Err:   serial
Board: UDOO Neo BASIC
Net:   eth0: ethernet at 2188000
Hit any key to stop autoboot:  0

Acked-by: Tommaso Merciai <tomm.merciai at gmail.com>
Tested-by: Tommaso Merciai <tomm.merciai at gmail.com>

Well play :)

I think all the series can me merged now, what do you think
about? You need a clear series?
Let me know.

Thanks,
Tommaso


More information about the U-Boot mailing list