i.MX287 SD Card boot problem with a custom board

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX287 SD Card boot problem with a custom board

Jump to solution
1,852 Views
overflow
Contributor I

Hello!

I have a problem with a custom i.MX287 board, based on Freescale EVK. It is using 5V only connection scheme with no battery present, and booting from an SD card. The same image is booting fine in EVK. Boot process goes fine until the Linux should boot up. Then the processor reboots endlessly. Debug data from DUART given below:

*************************************

PowerPrep start initialize power...

Configured for 5v only power source.            Battery powered operation disabled.

LLLCJan 16 201315:05:46

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

LLLLLLLFLCLLJ

*************************************

The next thing that should appear, is "Uncompressing Linux", but it never appears. The operating voltages seem to be at correct levels and stable.

Thanks in advance,


Elias

Labels (1)
0 Kudos
Reply
1 Solution
1,108 Views
VladanJovanovic
NXP Employee
NXP Employee

Are you using same DDR2 memory devices as on i.MX28EVK? If not, you will have to adjust memory controller setup sequence in the bootlets package.

Files to help with finding memory controller setup are here:

Memory controller setup for i.MX28 and i.MX50

View solution in original post

0 Kudos
Reply
4 Replies
1,108 Views
overflow
Contributor I

I downloaded the files you suggested. After correcting the memory bank count I have made progress. Now the kernel tries to boot:

LLLLLLLFLCLLJUncompressing Linux... done, booting the kernel.

Freescale OBDS boots to the following:

********************************************************

     Diagnostics Suite (1.0) on i.MX28 evk

     Build: Jan 25 2013, 10:32:42

     Freescale Semiconductor, Inc.

********************************************************

---- Running < UART > test

Please enter y or Y to confirm

We are still not sure about those various parameters to do with the specific memory used.

0 Kudos
Reply
1,108 Views
overflow
Contributor I

The system is booting now. Thank you for your help!

We found the appropriate memory settings in this thread:

Re: Kernel execution stops at decompress function

regards,

Elias

0 Kudos
Reply
1,108 Views
OtavioSalvador
Senior Contributor II

You might be interested in checking U-Boot 2013.01 as it has full support to mx28evk; to adapt the code to your board shouldn't be hard and you can drop imx-bootlets.

0 Kudos
Reply
1,109 Views
VladanJovanovic
NXP Employee
NXP Employee

Are you using same DDR2 memory devices as on i.MX28EVK? If not, you will have to adjust memory controller setup sequence in the bootlets package.

Files to help with finding memory controller setup are here:

Memory controller setup for i.MX28 and i.MX50

0 Kudos
Reply