imx51evk and u-boot


Mauro Ziliani
 

Hi all.

I'm trying to build Yocto dunfell for imx51evk derived board.

The board has only sd card with 1 dram of ram.


It is better u-boot-imx or u-boot-fslc as bootloader?


I try the two version of u-boot but I get only the presentation of uboot.

Uboot is not able to boot


MZ


Otavio Salvador
 



Em sáb., 11 de jun. de 2022 às 13:55, Mauro Ziliani <mauro@...> escreveu:
I'm trying to build Yocto dunfell for imx51evk derived board.

The board has only sd card with 1 dram of ram.


It is better u-boot-imx or u-boot-fslc as bootloader?


I try the two version of u-boot but I get only the presentation of uboot.

Uboot is not able to boot

u-boot-fslc

It has been ages since I used those. @Fabio Estevam have you tried them lately?

--
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854          Mobile: +1 (347) 903-9750


Fabio Estevam
 

On Sat, Jun 11, 2022 at 2:50 PM Otavio Salvador
<otavio.salvador@...> wrote:

I'm trying to build Yocto dunfell for imx51evk derived board.

The board has only sd card with 1 dram of ram.
imx51evk has 512MB of RAM.

You need to adapt the DDR for your specific board to be able to boot it.

It has been ages since I used those. @Fabio Estevam have you tried them lately?
Yes, it boots well with the top of tree U-Boot:

U-Boot 2022.07-rc4-00007-g57bd363de7 (Jun 11 2022 - 17:26:16 -0300)

CPU: Freescale i.MX51 rev3.0 at 800 MHz
Reset cause: POR
Model: Freescale i.MX51 Babbage Board
Board: MX51EVK
DRAM: 512 MiB
Core: 20 devices, 9 uclasses, devicetree: separate
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... OK
In: serial
Out: serial
Err: serial
Net: No ethernet found.
Hit any key to stop autoboot: 0


Mauro Ziliani
 

My boot stops here


U-Boot 2020.04-mz-imx_v2020.04_5.4.24_2.1.0+g4979a99482 (May 30 2020 - 06:50:01 +0000)

CPU:   i.MX51 rev3.0 at 800 MHz
Reset cause: POR
Model: Freescale i.MX51 Babbage Board
Board: MX51EVK
DRAM:  512 MiB

Il 11/06/22 22:33, Fabio Estevam ha scritto:
On Sat, Jun 11, 2022 at 2:50 PM Otavio Salvador
<otavio.salvador@...> wrote:

I'm trying to build Yocto dunfell for imx51evk derived board.

The board has only sd card with 1 dram of ram.
imx51evk has 512MB of RAM.

You need to adapt the DDR for your specific board to be able to boot it.

It has been ages since I used those. @Fabio Estevam have you tried them lately?
Yes, it boots well with the top of tree U-Boot:

U-Boot 2022.07-rc4-00007-g57bd363de7 (Jun 11 2022 - 17:26:16 -0300)

CPU: Freescale i.MX51 rev3.0 at 800 MHz
Reset cause: POR
Model: Freescale i.MX51 Babbage Board
Board: MX51EVK
DRAM: 512 MiB
Core: 20 devices, 9 uclasses, devicetree: separate
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... OK
In: serial
Out: serial
Err: serial
Net: No ethernet found.
Hit any key to stop autoboot: 0


Fabio Estevam
 

Hi Mauro,

[Please note that this is offtopic here]

On Tue, Jun 14, 2022 at 2:03 PM Mauro Ziliani <mauro@...> wrote:

My boot stops here


U-Boot 2020.04-mz-imx_v2020.04_5.4.24_2.1.0+g4979a99482 (May 30 2020 -
06:50:01 +0000)

CPU: i.MX51 rev3.0 at 800 MHz
Reset cause: POR
Model: Freescale i.MX51 Babbage Board
Board: MX51EVK
DRAM: 512 MiB
Yes, this is expected.

You are using the U-Boot mx51evk target, but your board is a custom one.

You said it has 1GB of RAM, so you need to adapt the DDR
initialization to your custom board.

Using the imx51evk target with your board does not work.


Mauro Ziliani
 

Sorry for my offtopic.

I need to study better the schema


Thanks for your time.


MZ

Il 14/06/22 19:10, Fabio Estevam ha scritto:
Hi Mauro,

[Please note that this is offtopic here]

On Tue, Jun 14, 2022 at 2:03 PM Mauro Ziliani <mauro@...> wrote:
My boot stops here


U-Boot 2020.04-mz-imx_v2020.04_5.4.24_2.1.0+g4979a99482 (May 30 2020 -
06:50:01 +0000)

CPU: i.MX51 rev3.0 at 800 MHz
Reset cause: POR
Model: Freescale i.MX51 Babbage Board
Board: MX51EVK
DRAM: 512 MiB
Yes, this is expected.

You are using the U-Boot mx51evk target, but your board is a custom one.

You said it has 1GB of RAM, so you need to adapt the DDR
initialization to your custom board.

Using the imx51evk target with your board does not work.