bootlet fails to load u-boot

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

bootlet fails to load u-boot

ソリューションへジャンプ
2,209件の閲覧回数
B_K_Ankur
Contributor IV

Hello Friends,

I am using prototype board based on i.mx28.

power supply is configured for VDD5V only. Based on the Application note AN4199: "Using i.MX28 power management unit and battery charger" on Pg#20.

test.JPG.jpg

  To enable the VDD5V only, I am referring Patch L2.6.35_10.12_SDK_5V_SUPPLY_PATCH.tar.gz at freescale website. I have applied the patch to bootlet code imx-bootlets-src-10.12.01.tar.gz.


I followed below steps to boot the u-boot:

1) Copied the u-boot under imx-bootlets-src directory after untaring and patching the source. Prototype uses the same Winbond RAM so no changes.

2) Export Toolchain path and added "BOARD = iMX28_EVK" to the Makefile

3) Performed "make" to create imx28_ivt_uboot.sb

4) Boot the prototype with USB boot option

5) load the image via command "sb_loader.exe -f imx28_ivt_uboot.sb"


Output on console:

PowerPrep start initialize power...

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

Apr  3 201414:02:29

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.04-00053-g08868db-dirty (Mar 31 2014 - 15:23:12)

CPU:   Freescale i.MX28 rev1.2 at 454 MHz

BOOT:  <NULL>

DRAM:  61 Bytes

Any suggestions why U-boot fails to find the boot mode and fails to execute? Is there any way I can test the same code on EVK, as looking to the EVK schematics, it seems that it has implemented DCDC_BATT source hardware configuration?


Regards,

Ankur

ラベル(2)
0 件の賞賛
返信
1 解決策
1,416件の閲覧回数
fabio_estevam
NXP Employee
NXP Employee

Ankur,

Please report this on the U-boot mailing list.

Regards,

Fabio Estevam

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
1,416件の閲覧回数
B_K_Ankur
Contributor IV

I found that SPL is passing parameters to U-Boot which bootlets fails to do. Hence not able to get it working.

Need to fix the U-boot SPL code to boot u-boot.

Thanks All.

Regards,

Ankur.

0 件の賞賛
返信
1,417件の閲覧回数
fabio_estevam
NXP Employee
NXP Employee

Ankur,

Please report this on the U-boot mailing list.

Regards,

Fabio Estevam

0 件の賞賛
返信
1,416件の閲覧回数
B_K_Ankur
Contributor IV

Hello Fabio,

I have fix the boot mode and memory parameter in u-boot. Atlast, I have now bootlets loading the u-boot. All basic peripherials including NAND and RAM are working but Ethernet is not working. I have checked the voltages are all Good but there is no ENET_CLK Clock generated that goes to phy chip. When I run the U-boot with SPL on evk, I can see the ENET_CLK ethernet clock. I am sure that bootlets does miss something that u-boot spl does for Ethernet. I just tried comparing the bootlet code with u-boot spl especially related to enet but couldnt find any difference.

In addition, I have checked that u-boot code "board_eth_init" fn under mx28evk.c and subfunction "cpu_eth_init" configures the Ethernet clock and initialize it. Still u-boot with bootlet fails to enable ethernet.

Can anyone point me on bootlet how to enable the ethernet?

Console Output (u-boot loaded by bootlet):

PowerPrep start initialize power...

Battery Voltage = 0.71V

No battery or bad battery                                       detected!!!.Disabling battery                                    voltage measurements./r/nApr  8 201415:10:51

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.04-00053-g08868db-dirty (Apr 08 2014 - 14:03:18)

CPU:   Freescale i.MX28 rev1.2 at 454 MHz

BOOT:  <NULL>

DRAM:  64 MiB

NAND:  512 MiB

MMC:   MXS MMC: 0

In:    serial

Out:   serial

Err:   serial

Net: 

Under boardeth init function..

CPU ETH Init function..

FEC0 [PRIME], FEC1

Hit any key to stop autoboot:  0

MX28EVK U-Boot >

Regards,

Ankur

0 件の賞賛
返信
1,416件の閲覧回数
B_K_Ankur
Contributor IV

Thank you Fabio.

I will forward my query to U-boot mailing list.

Regards,

Ankur

0 件の賞賛
返信