How to use hive-base registry in imx51

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

How to use hive-base registry in imx51

5,452件の閲覧回数
huzizhen
Contributor I

all:

     My platform is imx51 evk, and BSP is WCE600_11.04.02_ER. boot from sd card1

     I wanted to use hive-base registry,following steps

     1. in catalog ,choose hive-based registry .

     2. Menu "build--->Advanced Build Commands--->Sysgen".

     3.set BSP_HIVE_SDHC=1

     4.the attach file is  the platform.reg

     5.do build Current BSP and subproject

after do this , i boot failure, I see some debug msg in kitl mode.

Please, have you any advise/application note/doc to solve this problem??

thanks.

PB Debugger Kernel debugger connected.

PB Debugger Binary Image should be loaded at 0x80200000 / Data relocated at 0x82556000

PB Debugger Loaded symbols for 'C:\WINCE600\OSDESIGNS\IMX51-EVK-MOBILITY\RELDIR\FREESCALE_I_MX51_EVK_ARMV4I_RELEASE\NK.EXE'

PB Debugger Loaded symbols for 'C:\WINCE600\OSDESIGNS\IMX51-EVK-MOBILITY\RELDIR\FREESCALE_I_MX51_EVK_ARMV4I_RELEASE\COREDLL.DLL'

PB Debugger Loaded symbols for 'C:\WINCE600\OSDESIGNS\IMX51-EVK-MOBILITY\RELDIR\FREESCALE_I_MX51_EVK_ARMV4I_RELEASE\KERNEL.DLL'

PB Debugger Loaded symbols for 'C:\WINCE600\OSDESIGNS\IMX51-EVK-MOBILITY\RELDIR\FREESCALE_I_MX51_EVK_ARMV4I_RELEASE\KITL.DLL'

PB Debugger Loaded symbols for 'C:\WINCE600\OSDESIGNS\IMX51-EVK-MOBILITY\RELDIR\FREESCALE_I_MX51_EVK_ARMV4I_RELEASE\OALIOCTL.DLL'

PB Debugger Loaded symbols for 'C:\WINCE600\OSDESIGNS\IMX51-EVK-MOBILITY\RELDIR\FREESCALE_I_MX51_EVK_ARMV4I_RELEASE\HD.DLL'

PB Debugger Loaded symbols for 'C:\WINCE600\OSDESIGNS\IMX51-EVK-MOBILITY\RELDIR\FREESCALE_I_MX51_EVK_ARMV4I_RELEASE\OSAXST0.DLL'

PB Debugger Loaded symbols for 'C:\WINCE600\OSDESIGNS\IMX51-EVK-MOBILITY\RELDIR\FREESCALE_I_MX51_EVK_ARMV4I_RELEASE\OSAXST1.DLL'

PB Debugger Loaded symbols for 'C:\WINCE600\OSDESIGNS\IMX51-EVK-MOBILITY\RELDIR\FREESCALE_I_MX51_EVK_ARMV4I_RELEASE\KD.DLL'

PB Debugger Loaded symbols for 'C:\WINCE600\OSDESIGNS\IMX51-EVK-MOBILITY\RELDIR\FREESCALE_I_MX51_EVK_ARMV4I_RELEASE\K.COREDLL.DLL'

PB Debugger Loaded symbols for 'C:\WINCE600\OSDESIGNS\IMX51-EVK-MOBILITY\RELDIR\FREESCALE_I_MX51_EVK_ARMV4I_RELEASE\FILESYS.DLL'

PB Debugger Loaded symbols for 'C:\WINCE600\OSDESIGNS\IMX51-EVK-MOBILITY\RELDIR\FREESCALE_I_MX51_EVK_ARMV4I_RELEASE\K.FPCRT.DLL'

PB Debugger Loaded symbols for 'C:\WINCE600\OSDESIGNS\IMX51-EVK-MOBILITY\RELDIR\FREESCALE_I_MX51_EVK_ARMV4I_RELEASE\FSDMGR.DLL'

  16650 PID:400002 TID:690002 OALIoCtlHalInitRTC(2006/1/1 12:0:0.000)

PB Debugger Loaded symbols for 'C:\WINCE600\OSDESIGNS\IMX51-EVK-MOBILITY\RELDIR\FREESCALE_I_MX51_EVK_ARMV4I_RELEASE\ROMFSD.DLL'

 

Original Attachment has been moved to: platform.reg.zip

0 件の賞賛
返信
40 返答(返信)

2,721件の閲覧回数
henry_lee
Contributor I

请问都是中国同胞吗? 呵呵,看来这里同胞还不少啊,咱们要不谁建个QQ群吧。我的QQ :9504884 。交个朋友一起讨论i.mx:smileyhappy:

Translation: Are you Chinese? It looks like there are many. Could we set up QQ discussion group? My QQ number is 9504884, so that we can share something.

0 件の賞賛
返信

2,721件の閲覧回数
YixingKong
Senior Contributor IV

Henry, 这里是讨论技术问题的好地方。不需要建立QQ。如你英文不好可用中文。请不要用拼音。外国人看不懂拼音。

Translation: This is right place for you to discuss technical issue. There is no need for setting up QQ group. Please use Chinese directly if you are not confortable with English. Please do not use Pinyin.

0 件の賞賛
返信

2,720件の閲覧回数
henry_lee
Contributor I

OK. Thanks for your translation.:smileyhappy:

0 件の賞賛
返信

2,721件の閲覧回数
admin
Specialist II

YixingKong, can you please provide translation?  Thanks.    

0 件の賞賛
返信

2,720件の閲覧回数
king_jin
NXP Employee
NXP Employee

Please reference to followed link, HIVE registry was also supported.

https://community.freescale.com/thread/280663

0 件の賞賛
返信

2,720件の閲覧回数
huzizhen
Contributor I

thanks for your reply.

I just test that updata,but have many errors in that os.

liqiang relay the follow page,and i download all files,and do as readme.txt.you can see my reply ,the os can not boot

https://community.freescale.com/message/294791#294791

0 件の賞賛
返信

2,720件の閲覧回数
king_jin
NXP Employee
NXP Employee

Please be patient! Do it again!

Our customer have implemented it according to the reference.

0 件の賞賛
返信

2,720件の閲覧回数
huzizhen
Contributor I

I worked again,modifty nothing,and build a debug os.

when making,an error log like this."Failed to find a range for data of size 1024",this tell me the ramimage is small.

so i use

RAM_AUTOSIZE=ON
ROM_AUTOSIZE=ON

instead of OFF.So makimg sucesssed.

Then I use mfgtool to download xip.nb0 and xip.nb0 and eboot.nb0 to imx51 borad. Because eboot.nb0 is not create by debug makimg,so i used a release bin.

Power on the borad ,and it holed at these msg.(I set kitl mode)

INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xb

BSP Clock Configuration:

    CKIH        =   22579200 Hz

    PLL1        =  800000000 Hz

    PLL2        =  665000000 Hz

    PLL3        =  216000000 Hz

    LP_APM      =   24000000 Hz

    ARM         =  800000000 Hz

    AXI_A       =  166250000 Hz

    AXI_B       =  133000000 Hz

    EMI_SLOW    =  133000000 Hz

    AHB         =  133000000 Hz

    IPG         =   66500000 Hz

    PERCLK      =    8000000 Hz

    CKIL_SYNC   =      32768 Hz

    DDR         =  200000000 Hz

    ARM_AXI     =  166250000 Hz

    IPU_HSP     =  133000000 Hz

    VPU_AXI     =  166250000 Hz

    GPU         =  166250000 Hz

    GPU2D       =  166250000 Hz

    DEBUG_APB   =  166250000 Hz

    ENFC        =   26600000 Hz

    USBOH3      =   66500000 Hz

    ESDHC1      =   47500000 Hz

    ESDHC2      =   47500000 Hz

    ESDHC3      =   47500000 Hz

    ESDHC4      =   47500000 Hz

    UART        =   24000000 Hz

    SSI1        =    5644800 Hz

    SSI2        =    5644800 Hz

    SSI3        =    5644800 Hz

    SSI_EXT1    =   10285714 Hz

    SSI_EXT2    =   10285714 Hz

    USB_PHY     =   24000000 Hz

    TVE_216_54  =  216000000 Hz

    DI          =   27000000 Hz

    VPU_RCLK    =   24000000 Hz

    SPDIF0      =    1142857 Hz

    SPDIF1      =    1142857 Hz

    SLIMBUS     =   66500000 Hz

    SIM         =   66500000 Hz

    FIRI        =   24000000 Hz

    HSI2C       =   66500000 Hz

    SSI_LP_APM  =   22579200 Hz

    SPDIF_XTAL  =   24000000 Hz

    HSC1        =  216000000 Hz

    HSC2        =  216000000 Hz

    ESC         =   15428571 Hz

    CSI_MCLK1   =   24629629 Hz

    CSI_MCLK2   =   24629629 Hz

    ECSPI       =   66500000 Hz

    LPSR        =          0 Hz

    PGC         =   66500000 Hz

    OSC         =   24000000 Hz

    CKIH_CAMP1  =   22579200 Hz

    CKIH2_CAMP2 =          0 Hz

    CKIH2       =          0 Hz

    FPM         =   33554432 Hz

Microsoft Windows CE Bootloader Common Library Version 1.4 Built Mar 19 2013 08:48:26

OEMPlatformInit start

INFO: BoardID = 0x0.

CONTROLREG = 0x1f03011

CONFIGREG = 0x1000

OALPmicInit:  silicon rev = 0x20

REV = 0x45d0

REG_SET0 = 0x20fd0

REG_MOD1 = 0x9

Microsoft Windows CE Ethernet Bootloader 1.0 for MX51 EVK (Mar 19 2013 09:08:18)

INFO: SBMR = 0xE0600003.

INFO:  Bootloader launched from SD.

SD Low Density card

SD: Switched to 4 bit mode

INFO: Initialized SD Card

SPIFMD_Init: Manufacturer ID = 0x1f270100

Page Size is 512 Bytes!

INFO: Initialized SPI Flash!

INFO: Loading boot configuration from SDHC

INFO: Successfully loaded boot configuration from SDHC

OEMPlatformInit end

System ready2!

Preparing for download...

Press [ENTER] to launch image stored in SD/MMC or [SPACE] to cancel.

Initiating image launch in 3 seconds.

-----------------------------------------------------------------------------

Freescale iMX SOC Menu Item  

-----------------------------------------------------------------------------

[0] IP Address : 0.0.0.0

[1] Set IP Mask : 0.0.0.0

[2] Boot Delay : 3

[3] DHCP : Enabled

[4] Reset to Factory Default Configuration

[5] Select Boot Device : NK from SD/MMC

[6] Set MAC Address : FF-FF-FF-FF-FF-FF

[7] Format OS NAND Region

[8] Format All NAND Regions

[9] Bootloader Shell

[I] KITL Work Mode : Polling

[K] KITL Enable Mode : Enable

[P] KITL Passive Mode : Disable

[S] Save Settings

[D] Download Image Now

[L] Launch Existing Flash Resident Image Now

[E] Select Ether Device : FEC

[M] MMC and SD Utilities

Selection: l

+InitSpecifiedEthDevice

+InitSpecifiedEthDevice:ETH_DEVICE_FEC

FECInit MAC ADDR 0:4:9F:1:2C:E6

0 件の賞賛
返信

2,720件の閲覧回数
qiang_li-mpu_se
NXP Employee
NXP Employee

For debug build, the xipkernel region will be bigger than 3 MB, for default setting, only 3MB was reserved as XIPKERNEL region. So please use release build.

To use debug build, you need modify the file "image_cfg.h", there is description "for debug build".

#ifdef BSP_SUPPORT_MULTIBIN

#define IMAGE_BOOT_XIPKERNEL_SD_OFFSET      IMAGE_BOOT_NKIMAGE_SD_OFFSET

#define IMAGE_BOOT_XIPKERNEL_SD_SIZE        (3*1024*1024)  // Same with config.bib (XIPKERNEL + CHAIN)

//#define IMAGE_BOOT_XIPKERNEL_SD_SIZE        (6*1024*1024)  // Same with config.bib (XIPKERNEL + CHAIN), for debug build

#endif

Please keep "RAM_AUTOSIZE=OFF" and "ROM_AUTOSIZE=OFF" in config.bib. Please keep the default iMX51-EVK-Mobility project setting, and only do the modification as I described in the readme file.

If you still can't make it work, please attched your ce.bib and build.log( it can be found at WINCE600\build.log) here.

2,720件の閲覧回数
huzizhen
Contributor I

Hi Li

      Thanks for your reply.

      I worked with debug because the default Environment is the same as you described in the readme file.

     Now worked with release, do "build and sysgen".use mfgtool to download.

     The uart tell some msg,and can not boot .

INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xb

BSP Clock Configuration:

    CKIH        =   22579200 Hz

    PLL1        =  800000000 Hz

    PLL2        =  665000000 Hz

    PLL3        =  216000000 Hz

    LP_APM      =   24000000 Hz

    ARM         =  800000000 Hz

    AXI_A       =  166250000 Hz

    AXI_B       =  133000000 Hz

    EMI_SLOW    =  133000000 Hz

    AHB         =  133000000 Hz

    IPG         =   66500000 Hz

    PERCLK      =    8000000 Hz

    CKIL_SYNC   =      32768 Hz

    DDR         =  200000000 Hz

    ARM_AXI     =  166250000 Hz

    IPU_HSP     =  133000000 Hz

    VPU_AXI     =  166250000 Hz

    GPU         =  166250000 Hz

    GPU2D       =  166250000 Hz

    DEBUG_APB   =  166250000 Hz

    ENFC        =   26600000 Hz

    USBOH3      =   66500000 Hz

    ESDHC1      =   47500000 Hz

    ESDHC2      =   47500000 Hz

    ESDHC3      =   47500000 Hz

    ESDHC4      =   47500000 Hz

    UART        =   24000000 Hz

    SSI1        =    5644800 Hz

    SSI2        =    5644800 Hz

    SSI3        =    5644800 Hz

    SSI_EXT1    =   10285714 Hz

    SSI_EXT2    =   10285714 Hz

    USB_PHY     =   24000000 Hz

    TVE_216_54  =  216000000 Hz

    DI          =   27000000 Hz

    VPU_RCLK    =   24000000 Hz

    SPDIF0      =    1142857 Hz

    SPDIF1      =    1142857 Hz

    SLIMBUS     =   66500000 Hz

    SIM         =   66500000 Hz

    FIRI        =   24000000 Hz

    HSI2C       =   66500000 Hz

    SSI_LP_APM  =   22579200 Hz

    SPDIF_XTAL  =   24000000 Hz

    HSC1        =  216000000 Hz

    HSC2        =  216000000 Hz

    ESC         =   15428571 Hz

    CSI_MCLK1   =   24629629 Hz

    CSI_MCLK2   =   24629629 Hz

    ECSPI       =   66500000 Hz

    LPSR        =          0 Hz

    PGC         =   66500000 Hz

    OSC         =   24000000 Hz

    CKIH_CAMP1  =   22579200 Hz

    CKIH2_CAMP2 =          0 Hz

    CKIH2       =          0 Hz

    FPM         =   33554432 Hz

Microsoft Windows CE Bootloader Common Library Version 1.4 Built Mar 22 2013 11:45:34

OEMPlatformInit start

INFO: BoardID = 0x0.

CONTROLREG = 0x1f03011

CONFIGREG = 0x1000

OALPmicInit:  silicon rev = 0x20

REV = 0x45d0

REG_SET0 = 0x20fd0

REG_MOD1 = 0x9

Microsoft Windows CE Ethernet Bootloader 1.0 for MX51 EVK (Mar 22 2013 11:57:35)

INFO: SBMR = 0xE0600003.

INFO:  Bootloader launched from SD.

+ SD_Init,25000000

SD Low Density card

SD: Switched to 4 bit mode

INFO: Initialized SD Card

SPIFMD_Init: Manufacturer ID = 0x1f270100

Page Size is 512 Bytes!

INFO: Initialized SPI Flash!

INFO: Loading boot configuration from SDHC

INFO: Successfully loaded boot configuration from SDHC

OEMPlatformInit end

System ready2!

Preparing for download...

Press [ENTER] to launch image stored in SD/MMC or [SPACE] to cancel.

Initiating image launch in 3 seconds.            2 seconds.            1 seconds.            0 seconds.

Launching flash image  ...

-BLMenu .

INFO: Using device name: 'MX5165535'

INFO: Reading NK image to SDHC (please wait)...

INFO: Copying NK image to RAM address 0xa0200000

INFO: Copying NK image size 0x300000 BYTEs.

INFO: Read is 8% complete

INFO: Read is 16% complete

INFO: Read is 25% complete

INFO: Read is 33% complete

INFO: Read is 41% complete

INFO: Read is 50% complete

INFO: Read is 58% complete

INFO: Read is 66% complete

INFO: Read is 75% complete

INFO: Read is 83% complete

INFO: Read is 91% complete

INFO: Read is 100% complete

INFO: Copy of NK completed successfully

Download successful!  Jumping to image at 0x0 (physical 0x90200000)...

INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xb

BSP Clock Configuration:

    CKIH        =   22579200 Hz

    PLL1        =  800000000 Hz

    PLL2        =  665000000 Hz

    PLL3        =  216000000 Hz

    LP_APM      =   24000000 Hz

    ARM         =  800000000 Hz

    AXI_A       =  166250000 Hz

    AXI_B       =  133000000 Hz

    EMI_SLOW    =  133000000 Hz

    AHB         =  133000000 Hz

    IPG         =   66500000 Hz

    PERCLK      =    8000000 Hz

    CKIL_SYNC   =      32768 Hz

    DDR         =  200000000 Hz

    ARM_AXI     =  166250000 Hz

    IPU_HSP     =  133000000 Hz

    VPU_AXI     =  166250000 Hz

    GPU         =  166250000 Hz

    GPU2D       =  166250000 Hz

    DEBUG_APB   =  166250000 Hz

    ENFC        =   26600000 Hz

    USBOH3      =   66500000 Hz

    ESDHC1      =   47500000 Hz

    ESDHC2      =   47500000 Hz

    ESDHC3      =   47500000 Hz

    ESDHC4      =   47500000 Hz

    UART        =   24000000 Hz

    SSI1        =    5644800 Hz

    SSI2        =    5644800 Hz

    SSI3        =    5644800 Hz

    SSI_EXT1    =   10285714 Hz

    SSI_EXT2    =   10285714 Hz

    USB_PHY     =   24000000 Hz

    TVE_216_54  =  216000000 Hz

    DI          =   27000000 Hz

    VPU_RCLK    =   24000000 Hz

    SPDIF0      =    1142857 Hz

    SPDIF1      =    1142857 Hz

    SLIMBUS     =   66500000 Hz

    SIM         =   66500000 Hz

    FIRI        =   24000000 Hz

    HSI2C       =   66500000 Hz

    SSI_LP_APM  =   22579200 Hz

    SPDIF_XTAL  =   24000000 Hz

    HSC1        =  216000000 Hz

    HSC2        =  216000000 Hz

    ESC         =   15428571 Hz

    CSI_MCLK1   =   24629629 Hz

    CSI_MCLK2   =   24629629 Hz

    ECSPI       =   66500000 Hz

    LPSR        =          0 Hz

    PGC         =   66500000 Hz

    OSC         =   24000000 Hz

    CKIH_CAMP1  =   22579200 Hz

    CKIH2_CAMP2 =          0 Hz

    CKIH2       =          0 Hz

    FPM         =   33554432 Hz

Windows CE Kernel for ARM (Thumb Enabled) Built on May  7 2012 at 12:47:43

INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xb

+OEMInit

OEMInit:  silicon rev = 0x20

BoardID = 0x0.

+OEMInit before kitl init,fffc7ffd,ffffffff

OALIoCtlHalInitRTC(2006/1/1 12:0:0.000)

this is kitl mode msg.also can not boot and can not copy image to memory.

-----------------------------------------------------------------------------

Freescale iMX SOC Menu Item   (UNSAVED CHANGES)

-----------------------------------------------------------------------------

[0] IP Address : 0.0.0.0

[1] Set IP Mask : 0.0.0.0

[2] Boot Delay : 3

[3] DHCP : Enabled

[4] Reset to Factory Default Configuration

[5] Select Boot Device : NK from SD/MMC

[6] Set MAC Address : FF-FF-FF-FF-FF-FF

[7] Format OS NAND Region

[8] Format All NAND Regions

[9] Bootloader Shell

[I] KITL Work Mode : Polling

[K] KITL Enable Mode : Enable

[P] KITL Passive Mode : Disable

[S] Save Settings

[D] Download Image Now

[L] Launch Existing Flash Resident Image Now

[E] Select Ether Device : FEC

[M] MMC and SD Utilities

Selection: l

INFO: Storing boot configuration to SDHC

INFO: Successfully stored boot configuration to SDHC

+InitSpecifiedEthDevice

+InitSpecifiedEthDevice:ETH_DEVICE_FEC

FECInit MAC ADDR 0:4:9F:1:2C:E6

0 件の賞賛
返信

2,720件の閲覧回数
qiang_li-mpu_se
NXP Employee
NXP Employee

No issue was found in these attached files, can you make sure you had select "SD/MMC (BINFS)" in MFGTool to burn the binfs images?

By the way, please also attach your image_cfg.h and reginit.ini(iMX51-EVK-Mobility\RelDir\Freescale_i_MX51_EVK_ARMV4I_Release)

0 件の賞賛
返信

2,720件の閲覧回数
huzizhen
Contributor I

hi Li:

     thanks.

     the attach file is image_cfg.h and regini.ini.

     And the configtion of mfgtool is SD/MMC(BINFS)

0 件の賞賛
返信

2,720件の閲覧回数
qiang_li-mpu_se
NXP Employee
NXP Employee

I havn't found any issue from your files, maybe you can try with my image. I'm not sure if there is any issue on your board. Maybe you can try on another PC to build a clean image for that board and try.

0 件の賞賛
返信

2,720件の閲覧回数
huzizhen
Contributor I

Hi Li:

     I used your image ,but some msg and can not boot same.It like my first to use your updata.

https://community.freescale.com/message/294791#294791

INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xb

BSP Clock Configuration:

    CKIH        =   22579200 Hz

    PLL1        =  800000000 Hz

    PLL2        =  665000000 Hz

    PLL3        =  216000000 Hz

    LP_APM      =   24000000 Hz

    ARM         =  800000000 Hz

    AXI_A       =  166250000 Hz

    AXI_B       =  133000000 Hz

    EMI_SLOW    =  133000000 Hz

    AHB         =  133000000 Hz

    IPG         =   66500000 Hz

    PERCLK      =    8000000 Hz

    CKIL_SYNC   =      32768 Hz

    DDR         =  200000000 Hz

    ARM_AXI     =  166250000 Hz

    IPU_HSP     =  133000000 Hz

    VPU_AXI     =  166250000 Hz

    GPU         =  166250000 Hz

    GPU2D       =  166250000 Hz

    DEBUG_APB   =  166250000 Hz

    ENFC        =   26600000 Hz

    USBOH3      =   66500000 Hz

    ESDHC1      =   47500000 Hz

    ESDHC2      =   47500000 Hz

    ESDHC3      =   47500000 Hz

    ESDHC4      =   47500000 Hz

    UART        =   24000000 Hz

    SSI1        =    5644800 Hz

    SSI2        =    5644800 Hz

    SSI3        =    5644800 Hz

    SSI_EXT1    =   10285714 Hz

    SSI_EXT2    =   10285714 Hz

    USB_PHY     =   24000000 Hz

    TVE_216_54  =  216000000 Hz

    DI          =   27000000 Hz

    VPU_RCLK    =   24000000 Hz

    SPDIF0      =    1142857 Hz

    SPDIF1      =    1142857 Hz

    SLIMBUS     =   66500000 Hz

    SIM         =   66500000 Hz

    FIRI        =   24000000 Hz

    HSI2C       =   66500000 Hz

    SSI_LP_APM  =   22579200 Hz

    SPDIF_XTAL  =   24000000 Hz

    HSC1        =  216000000 Hz

    HSC2        =  216000000 Hz

    ESC         =   15428571 Hz

    CSI_MCLK1   =   24629629 Hz

    CSI_MCLK2   =   24629629 Hz

    ECSPI       =   66500000 Hz

    LPSR        =          0 Hz

    PGC         =   66500000 Hz

    OSC         =   24000000 Hz

    CKIH_CAMP1  =   22579200 Hz

    CKIH2_CAMP2 =          0 Hz

    CKIH2       =          0 Hz

    FPM         =   33554432 Hz

Microsoft Windows CE Bootloader Common Library Version 1.4 Built Mar 22 2012 17:18:03

INFO: BoardID = 0x0.

CONTROLREG = 0x1f03011

CONFIGREG = 0x1000

OALPmicInit:  silicon rev = 0x20

REV = 0x45d0

REG_SET0 = 0x20fd0

REG_MOD1 = 0x9

Microsoft Windows CE Ethernet Bootloader 1.0 for MX51 EVK (Mar 30 2012 17:32:26)

INFO: SBMR = 0xE0600003.

INFO:  Bootloader launched from SD.

SD Low Density card

SD: Switched to 4 bit mode

INFO: Initialized SD Card

SPIFMD_Init: Manufacturer ID = 0x1f270100

Page Size is 512 Bytes!

INFO: Initialized SPI Flash!

INFO: Loading boot configuration from SDHC

INFO: Successfully loaded boot configuration from SDHC

System ready!

Preparing for download...

Press [ENTER] to launch image stored in SD/MMC or [SPACE] to cancel.

Initiating image launch in 3 seconds.

-----------------------------------------------------------------------------

Freescale iMX SOC Menu Item  

-----------------------------------------------------------------------------

[0] IP Address : 0.0.0.0

[1] Set IP Mask : 0.0.0.0

[2] Boot Delay : 3

[3] DHCP : Enabled

[4] Reset to Factory Default Configuration

[5] Select Boot Device : NK from SD/MMC

[6] Set MAC Address : FF-FF-FF-FF-FF-FF

[7] Format OS NAND Region

[8] Format All NAND Regions

[9] Bootloader Shell

[I] KITL Work Mode : Polling

[K] KITL Enable Mode : Enable

[P] KITL Passive Mode : Disable

[S] Save Settings

[D] Download Image Now

[L] Launch Existing Flash Resident Image Now

[E] Select Ether Device : FEC

[M] MMC and SD Utilities

Selection: k

-----------------------------------------------------------------------------

Freescale iMX SOC Menu Item   (UNSAVED CHANGES)

-----------------------------------------------------------------------------

[0] IP Address : 0.0.0.0

[1] Set IP Mask : 0.0.0.0

[2] Boot Delay : 3

[3] DHCP : Enabled

[4] Reset to Factory Default Configuration

[5] Select Boot Device : NK from SD/MMC

[6] Set MAC Address : FF-FF-FF-FF-FF-FF

[7] Format OS NAND Region

[8] Format All NAND Regions

[9] Bootloader Shell

[I] KITL Work Mode : Polling

[K] KITL Enable Mode : Disable

[P] KITL Passive Mode : Disable

[S] Save Settings

[D] Download Image Now

[L] Launch Existing Flash Resident Image Now

[E] Select Ether Device : FEC

[M] MMC and SD Utilities

Selection: l

INFO: Storing boot configuration to SDHC

INFO: Successfully stored boot configuration to SDHC

-BLMenu .

INFO: Using device name: 'MX5165535'

INFO: Reading NK image to SDHC (please wait)...

INFO: Copying NK image to RAM address 0xa0200000

INFO: Copying NK image size 0x600000 BYTEs.

INFO: Read is 4% complete

INFO: Read is 8% complete

INFO: Read is 12% complete

INFO: Read is 16% complete

INFO: Read is 20% complete

INFO: Read is 25% complete

INFO: Read is 29% complete

INFO: Read is 33% complete

INFO: Read is 37% complete

INFO: Read is 41% complete

INFO: Read is 45% complete

INFO: Read is 50% complete

INFO: Read is 54% complete

INFO: Read is 58% complete

INFO: Read is 62% complete

INFO: Read is 66% complete

INFO: Read is 70% complete

INFO: Read is 75% complete

INFO: Read is 79% complete

INFO: Read is 83% complete

INFO: Read is 87% complete

INFO: Read is 91% complete

INFO: Read is 95% complete

INFO: Read is 100% complete

INFO: Copy of NK completed successfully

Download successful!  Jumping to image at 0x0 (physical 0x90200000)...

INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xb

BSP Clock Configuration:

    CKIH        =   22579200 Hz

    PLL1        =  800000000 Hz

    PLL2        =  665000000 Hz

    PLL3        =  216000000 Hz

    LP_APM      =   24000000 Hz

    ARM         =  800000000 Hz

    AXI_A       =  166250000 Hz

    AXI_B       =  133000000 Hz

    EMI_SLOW    =  133000000 Hz

    AHB         =  133000000 Hz

    IPG         =   66500000 Hz

    PERCLK      =    8000000 Hz

    CKIL_SYNC   =      32768 Hz

    DDR         =  200000000 Hz

    ARM_AXI     =  166250000 Hz

    IPU_HSP     =  133000000 Hz

    VPU_AXI     =  166250000 Hz

    GPU         =  166250000 Hz

    GPU2D       =  166250000 Hz

    DEBUG_APB   =  166250000 Hz

    ENFC        =   26600000 Hz

    USBOH3      =   66500000 Hz

    ESDHC1      =   47500000 Hz

    ESDHC2      =   47500000 Hz

    ESDHC3      =   47500000 Hz

    ESDHC4      =   47500000 Hz

    UART        =   24000000 Hz

    SSI1        =    5644800 Hz

    SSI2        =    5644800 Hz

    SSI3        =    5644800 Hz

    SSI_EXT1    =   10285714 Hz

    SSI_EXT2    =   10285714 Hz

    USB_PHY     =   24000000 Hz

    TVE_216_54  =  216000000 Hz

    DI          =   27000000 Hz

    VPU_RCLK    =   24000000 Hz

    SPDIF0      =    1142857 Hz

    SPDIF1      =    1142857 Hz

    SLIMBUS     =   66500000 Hz

    SIM         =   66500000 Hz

    FIRI        =   24000000 Hz

    HSI2C       =   66500000 Hz

    SSI_LP_APM  =   22579200 Hz

    SPDIF_XTAL  =   24000000 Hz

    HSC1        =  216000000 Hz

    HSC2        =  216000000 Hz

    ESC         =   15428571 Hz

    CSI_MCLK1   =   24629629 Hz

    CSI_MCLK2   =   24629629 Hz

    ECSPI       =   66500000 Hz

    LPSR        =          0 Hz

    PGC         =   66500000 Hz

    OSC         =   24000000 Hz

    CKIH_CAMP1  =   22579200 Hz

    CKIH2_CAMP2 =          0 Hz

    CKIH2       =          0 Hz

    FPM         =   33554432 Hz

Windows CE Kernel for ARM (Thumb Enabled) Built on Sep 14 2011 at 17:32:03

INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xb

OEMInit:  silicon r澷侁 偮蓚j???V) ?偮羠j J錔 z 舑*?+?嫍 Z旹?塗kW??V℉鳲ALIoCtlHalInitRTC(2006/1/1 12:0:0.000)

Exception 'Data Abort' (4): Thread-Id=00600002(pth=9bfa4360), Proc-Id=00400002(pprc=8055b308) 'NK.EXE', VM-active=00400002(pprc=8055b308) 'NK.EXE'

PC=c00bc6f8(k.coredll.dll+0x0002c6f8) RA=c00d11e8(k.coredll.dll+0x000411e8) SP=d00bf61c, BVA=00000000

Exception 'Data Abort' (4): Thread-Id=00600002(pth=9bfa4360), Proc-Id=00400002(pprc=8055b308) 'NK.EXE', VM-active=00400002(pprc=8055b308) 'NK.EXE'

PC=c00bc6f8(k.coredll.dll+0x0002c6f8) RA=c00d11e8(k.coredll.dll+0x000411e8) SP=d00bfb00, BVA=00000000

Exception 'Data Abort' (4): Thread-Id=00600002(pth=9bfa4360), Proc-Id=00400002(pprc=8055b308) 'NK.EXE', VM-active=00400002(pprc=8055b308) 'NK.EXE'

PC=8021ef28(kitl.dll+0x00009f28) RA=8021b7c4(kitl.dll+0x000067c4) SP=d00bf5f0, BVA=00000010

0 件の賞賛
返信

2,720件の閲覧回数
qiang_li-mpu_se
NXP Employee
NXP Employee

In your eboot, please disable DHCP, it seems your issue is caused by network setting, please use the followed EBoot setting:

----------------------------------------------------------------------------

[0] IP Address : 0.0.0.0

[1] Set IP Mask : 0.0.0.0

[2] Boot Delay : 3

[3] DHCP : Disabled

[4] Reset to Factory Default Configuration

[5] Select Boot Device : NK from SD/MMC

[6] Set MAC Address : FF-FF-FF-FF-FF-FF

[7] Format OS NAND Region

[8] Format All NAND Regions

[9] Bootloader Shell

[I] KITL Work Mode : Interrupt

[K] KITL Enable Mode : Disable

[P] KITL Passive Mode : Disable

[S] Save Settings

[D] Download Image Now

[L] Launch Existing Flash Resident Image Now

[E] Select Ether Device : USB RNDIS

[M] MMC and SD Utilities

0 件の賞賛
返信

2,720件の閲覧回数
huzizhen
Contributor I

Hi Li:

      I find the code where stop to run.

     At src\bootloader\common\main.c,In OEMLaunch functions,it call Launch(PhysAddress),and In this funcion,no debug message.Is it can not find the image in ram or other reason,could you give me some advance?

0 件の賞賛
返信

2,720件の閲覧回数
qiang_li-mpu_se
NXP Employee
NXP Employee

For your issue, I think in SD card address 0xC0000, there is no correct image "XIP.nb0", maybe you can dump it and compare with the original XIP.nb0.

Please note, for binfs image, it is xip.nb0 not the nk.nb0.

2,720件の閲覧回数
huzizhen
Contributor I

hi LI:

    How to dump it?

0 件の賞賛
返信

2,720件の閲覧回数
qiang_li-mpu_se
NXP Employee
NXP Employee

Maybe there is something wrong in your MFGTool, you can also use the Linux PC to burn the binfs image files into the SD card, I also attached the workable xldr.nb0 and eboot.nb0 here.

Command to burn the image files into the SD card in Linux host:

$ sudo dd if=XLDR.nb0 of=/dev/sdb bs=512 seek=2

$ sudo dd if=EBOOT.nb0 of=/dev/sdb bs=512 seek=256

$ sudo dd if=XIP.nb0 of=/dev/sdb bs=512 seek=1536

I think this is the simplest way for you to verify the function in your side, all workable image files "XLDR.nb0", "EBOOT.nb0" and "XIP.nb0" had been sent to you.

After it works, you can replace your image files one by one with the above command to find which image caused your issue, if all your images are OK, then we can make sure the issue was caused by your MFGTool, you'd better double check the ucl.xml.

0 件の賞賛
返信

2,720件の閲覧回数
huzizhen
Contributor I

HI Li:

    Sorry,Yesterday I went to the freescale lecture,I'm very sorry now just reply.

    My image can run a little time now,because I delete "MakeBinfsBib.js" and PreRomImage",and do build and sysgen.the two files when I backup to old files,they can not over write.

   But when downloads the image.the risk of a quarter can boot success ,but many times boot fails. After loaded the pmicsdk_mc13892.dll,i has stopped .Even the first time it boots success,the second time it failed at pmicsdk_mc13892.dll.

0 件の賞賛
返信