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:
- copied the generated u-boot file to the ltib/rootfs/u-boot
- ran "./ltib -p boot_stream.spec -f" to create a secured bootstream
- ran "./mk_mx28_sd -u -b /dev/sdc" to create a bootable sd-card
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