Hi everyone,
I tried to run the latest u-boot-imx on the mx28evk, but this hangs just after startup reporting only 61 bytes of DRAM. This is the debug output it shows:
PowerPrep start initialize power...
Battery Voltage = 4.23V
boot from battery. 5v input not detected
Feb 26 201314:24:45
FRAC 0x92925552
memory type is DDR2
Wait for ddr ready 1power 0x00820616
Frac 0x92925552
start change cpu freq
hbus 0x00000003
cpu 0x00010001
start test memory accress
ddr2 0x40000000
finish simple test
U-Boot 2013.01-10534-gbec0160 (Feb 26 2013 - 15:35:44)
CPU: Freescale i.MX28 rev1.2 at 454 MHz
BOOT: PHY ID 1 register
I2C: ready
DRAM: 61 Bytes
I followed these steps to create this u-boot version:
//Get latest u-boot-imx
git clone git://git.denx.de/u-boot-imx.git
//Set cross compiler environment
export ARCH=arm
export CROSS_COMPILE=arm-none-linux-gnueabi-
export PATH="$PATH:/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/"
export PATH="$PATH:/opt/freescale/ltib/usr/bin/"
//Make the u-boot for the mx28evk
make mx28evk_config
make u-boot.sb
Since the imx28 on the evk requires a secure boot, I took the following extra steps:
Plugged in the sd-card and powered on the board.
My guess is, that the building of the u-boot requires some extra configuration. But from earlier posts I understood it could run "out of the box". Does anyone have an idea what goes wrong here?
N.B. The board itself is OK. If I take the u-boot from the original ltib (2009.08), the startup is OK, showing 128 MB of DRAM.
Regards,
Ruud
Solved! Go to Solution.
You do not need to use the bootlets packages at all when using mainline U-boot.
Please read these two docs that will explain how to build and flash the U-boot binary:
and
If you have further questions, please post into the U-boot mailing list and I will help you from there.
You do not need to use the bootlets packages at all when using mainline U-boot.
Please read these two docs that will explain how to build and flash the U-boot binary:
and
If you have further questions, please post into the U-boot mailing list and I will help you from there.
Hi Fabio,
Thanks for your answer, that helped. By just writing the earlier created u-boot.sb to SD-card, I could startup the mainline u-Boot. I was convinced that I should use a HAB encrypted boot stream (like the _ivt_ ones from ltib) for the mx28evk, but apparently this is not required.
Anyway: I do have some further questions, but if you say "post into the U-boot mailing list", do you mean mailing to u-boot@lists.denx.de, or just another entry within this community?
Thanks, Ruud
Hi Ruud,
Correct, I mean the public U-boo mailing list:
U-Boot mailing list
http://lists.denx.de/mailman/listinfo/u-boot
Regards,
Fabio Estevam