i.MX28 ROM boot loader process stopping before FRAC

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

i.MX28 ROM boot loader process stopping before FRAC

1,974 Views
Jean_Marc
Contributor II

Hello,


We did design a board based on the Freescale i.MX28 EVK, we are trying to boot it using the MfgTool which work fine with the EVK. But with our board the boot stop during ROM loader process.

The message I get from the DEBUG UART is :


PowerPrep start initialize power...

Battery Voltage = 0.40V

No battery or bad battery detected!!!.

Disabling battery

voltage measurements./r/nLLLCDec 27 201009:58:45

 

with the EVK it continue like written below :

 

PowerPrep start initialize power...

Battery Voltage = 1.18V

No battery or bad battery                                       detected!!!.Disa

bling battery                                   voltage measurements./r/nDec 27

201009:22:42

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

 

It might be a hardware problem on our board but we did not find any yet. Did somebody had a similar problem or have an idea about what could make the ROM loader stop at this point ?

Any suggestion or ideas how to investigate are welcome.

 

Thanks by advance

Jean-Marc

Tags (1)
0 Kudos
9 Replies

1,174 Views
VladanJovanovic
NXP Employee
NXP Employee

You build&deploy it with :

./ltib -m scbuild -p imx-bootlets

./ltib -m scdeploy -p imx-bootlets

You then use the bootstream generated in rootfs/boot/

0 Kudos

1,174 Views
Nico
Contributor II

Thanks Vladan...

I'm now able to modify the bootlet code....What's the next step to use the changed code in my imx28 board?

 


Vladan Jovanovic said:

./ltib -m prep -p imx-bootlets

 

They will be in <ltib>/rpm/BUILD/ directory.

 

0 Kudos

1,174 Views
VladanJovanovic
NXP Employee
NXP Employee

./ltib -m prep -p imx-bootlets

 

They will be in <ltib>/rpm/BUILD/ directory.

0 Kudos

1,174 Views
Nico
Contributor II

Hello,

where can i find bootlet source?
I'm using iMX28 board with LTIB.

 

Thanks.
Rt said:

Thanks very much for reply , We are stuck  after , LCLLJUncompressing Linux...

Thanks once again!!

RA.

 

 

0 Kudos

1,174 Views
Rt1z
Contributor I

Thanks very much for reply , We are stuck  after , LCLLJUncompressing Linux...

Thanks once again!!

RA.

0 Kudos

1,174 Views
Jean_Marc
Contributor II

Hello,

My problem was inside bootlets during power_prep, by uncomment the #define NO_BATTERY_VOLTAGE_SOURCE in power_prep.c, the operation and automatic voltage measurements are disabled and then it worked. The boot was stopping inside the bootlets, your problem seems to be different. I guesss you see finish simple test then nothing more. It's the kernel which doesn't show any message. I would verify the jump adress, the adress where kernel is copied, also if kernell start but console is not set on the right serial port.

Best regards

0 Kudos

1,174 Views
Rt1z
Contributor I

Hi Jean-Marc,

We have exact same issue, on our custom board , we dont see any thing after linux_prea.

I have debug print just before jump to KERNEL, after that nothing ??

Any idea on the fix, Will appricate any help.

 

our ddr part number is W971GG6JB form winbound - 64Mbyte

 

BR,

RA

0 Kudos

1,174 Views
Jean_Marc
Contributor II

Thank you very much for your help Vladan.

I did not know it work this way with the bootlets, by adding some printf I was able to find the problem come from the power rails. It's now working.

 

Best regards.

0 Kudos

1,174 Views
VladanJovanovic
NXP Employee
NXP Employee

This is not ROM loader failure, it's a failure in one of the bootlets that runs at startup to initialize basic system settings (power rails, memory etc.). Add some printfs there to locate the issue (look at boot_prep package in ltib). This probably happens due to differences between your schematic and ref. design, so you have to adjust the bootlets (can be memory timing issue for example)...

 

br,

Vladan

0 Kudos