none
imx51_evk RRS feed

  • Question

  • Hi ,

    I build one new Nk.nb0 image and I had downloaded it into the imx51 board through ethrnet. But while booting up its getting hanged.Logs are below

    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        =   33250000 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 Feb 20 2013 10:13:12
    INFO: BoardID = 0x0.
    CONTROLREG = 0x1f03011
    CONFIGREG = 0x1000
    OALPmicInit:  silicon rev = 0x20
    REV = 0x45d0
    REG_SET0 = 0x20ff0
    REG_MOD1 = 0x1009
    Microsoft Windows CE Ethernet Bootloader 1.0 for MX51 EVK (Feb 20 2013 10:17:48)
    INFO: SBMR = 0xe0600003.
    INFO:  Bootloader launched from SD.
    SD High 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. 2 seconds. 1 seconds. 0 seconds. 
    Launching flash image  ... 
    -BLMenu .
    INFO: Using device name: 'MX5111429'
    INFO: Reading NK image to SDHC (please wait)...
    INFO:  dwActualLength = [0x42b58f8]
    INFO: Copying NK image to RAM address 0xa0200000

    INFO: Read is 1% complete
    INFO: Read is 2% complete
    INFO: Read is 3% complete
    INFO: Read is 4% complete
    INFO: Read is 5% complete
    INFO: Read is 6% complete
    INFO: Read is 7% complete
    INFO: Read is 8% complete
    INFO: Read is 9% complete
    INFO: Read is 10% complete
    INFO: Read is 11% complete
    INFO: Read is 12% complete
    INFO: Read is 13% complete
    INFO: Read is 14% complete
    INFO: Read is 15% complete
    INFO: Read is 16% complete
    INFO: Read is 17% complete
    INFO: Read is 18% complete
    INFO: Read is 19% complete
    INFO: Read is 20% complete
    INFO: Read is 21% complete
    INFO: Read is 22% complete
    INFO: Read is 23% complete
    INFO: Read is 24% complete
    INFO: Read is 25% complete
    INFO: Read is 26% complete
    INFO: Read is 27% complete
    INFO: Read is 28% complete
    INFO: Read is 29% complete
    INFO: Read is 30% complete
    INFO: Read is 31% complete
    INFO: Read is 32% complete
    INFO: Read is 33% complete
    INFO: Read is 34% complete
    INFO: Read is 35% complete
    INFO: Read is 36% complete
    INFO: Read is 37% complete
    INFO: Read is 38% complete
    INFO: Read is 39% complete
    INFO: Read is 40% complete
    INFO: Read is 41% complete
    INFO: Read is 42% complete
    INFO: Read is 43% complete
    INFO: Read is 44% complete
    INFO: Read is 45% complete
    INFO: Read is 46% complete
    INFO: Read is 47% complete
    INFO: Read is 48% complete
    INFO: Read is 49% complete
    INFO: Read is 50% complete
    INFO: Read is 51% complete
    INFO: Read is 52% complete
    INFO: Read is 53% complete
    INFO: Read is 54% complete
    INFO: Read is 55% complete
    INFO: Read is 56% complete
    INFO: Read is 57% complete
    INFO: Read is 58% complete
    INFO: Read is 59% complete
    INFO: Read is 60% complete
    INFO: Read is 61% complete
    INFO: Read is 62% complete
    INFO: Read is 63% complete
    INFO: Read is 64% complete
    INFO: Read is 65% complete
    INFO: Read is 66% complete
    INFO: Read is 67% complete
    INFO: Read is 68% complete
    INFO: Read is 69% complete
    INFO: Read is 70% complete
    INFO: Read is 71% complete
    INFO: Read is 72% complete
    INFO: Read is 73% complete
    INFO: Read is 74% complete
    INFO: Read is 75% complete
    INFO: Read is 76% complete
    INFO: Read is 77% complete
    INFO: Read is 78% complete
    INFO: Read is 79% complete
    INFO: Read is 80% complete
    INFO: Read is 81% complete
    INFO: Read is 82% complete
    INFO: Read is 83% complete
    INFO: Read is 84% complete
    INFO: Read is 85% complete
    INFO: Read is 86% complete
    INFO: Read is 87% complete
    INFO: Read is 88% complete
    INFO: Read is 89% complete
    INFO: Read is 90% complete
    INFO: Read is 91% complete
    INFO: Read is 92% complete
    INFO: Read is 93% complete
    INFO: Read is 94% complete
    INFO: Read is 95% complete
    INFO: Read is 96% complete
    INFO: Read is 97% complete
    INFO: Read is 98% complete
    INFO: Read is 99% complete
    INFO: Read is 100% complete
    INFO: Copy of NK completed successfully
    Either card is not eSD2.1, or boot partition is not created yet
    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        =   33250000 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)
    INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xb
    OEMInit:  sPID:00400002 TID:00520002 OALIoCtlHalInitRTC(2006/1/1 12:0:0.000)
    PID:00400002 TID:00A20006 IpuBufferManagerInit(): Detected reserved video memory(67108864 bytes), will ignore registry setting!
    VBridge:: VB_INITIALIZED returns [0]

    PID:00400002 TID:0195007A UsbHost : New Hub [address(1) / layer(0)]
    PID:00400002 TID:00A20006 OTG : Load HCD
    PID:00400002 TID:00A20006 OTG : Unload HCD
    PID:00400002 TID:03470012 UsbHost : New Function [address(2) / layer(1)]
    PID:00400002 TID:00A20006 OTG : Load UFN
    PID:04BC0036 TID:052A005A Event is successfully created 19a0807

    After this one only its getting stucked.

    please help me.

    Wednesday, March 13, 2013 6:20 AM

All replies

  • You have to build and download DEBUG image so anyone could help you here. This log does not have any information that could help solve your problem.
    Wednesday, March 13, 2013 6:26 AM
  • Hi,

    did you mean build one debug image and download and get the logs from  hyper terminal?

    Wednesday, March 13, 2013 7:31 AM
  • Yes. make a debug build enable KITL and kernel debugger in the build option properties.

    Then try to deploy the image using Ethernet.

    Following link will be helpful :

    http://msdn.microsoft.com/en-in/library/aa463027.aspx

    Then post the debug log file for better understanding of the issue associated.

    --- Misbah


    Senior Design Engineer T.E.S Electroni Solutions (Bangalore-India) www.tes-dst.com email-misbah.khan@tes-dst.com


    • Edited by Misbah Khan Wednesday, March 13, 2013 8:05 AM
    Wednesday, March 13, 2013 8:04 AM
  • Yes. Leave bootloaders as it's now - don't download those debug bootloaders images (only NK image).  
    Wednesday, March 13, 2013 8:07 AM
  • but while downloading the image to the board its getting stopped with the below errors

    Packet has the following data:
      boot.bin[NULL]octet[NULL]blksize[NULL]1024[NULL]
    TFTP packet could have 2 name/value pairs
    Locked Down Link 1
    Src IP 172.16.6.6 Port Dest IP 172.16.6.162 Port Default TFTP block size set to:
     512 bytes
    This TFTP packet contains 1 options.
    We currently only look at the first and expect it to be BLKSIZE.
    The packet's option name is blksize.
    The option's value is 1024
    with a value that is in range.
    BLKSIZE will be adjusted to 1024.
    EthDown::TFTPD_OPEN::boot.bin
    An OACK packet is the proper acknowledgement
    -EbootSendBootmeAndWaitForTftp

    BL_IMAGE_TYPE_BIN

    INFO: OEMMultiBINNotify (dwNumRegions = 1, dwRegionStart = 0x9faa0000).
    INFO: OEMVerifyMemory (CA = 0x9faa0000, PA = 0x1ffa0000, length = 0x8aecee8)
    ERROR: Invalid address range.
    !OEMVERIFYMEMORY: Invalid image
    INFO: OEMReportError Reason 0xfffffff7

    I saw in one site that its because of large image size.

    how I can overcome this error?

    Wednesday, March 13, 2013 9:07 AM
  • You have to increase the size of NK reserved in config.bib.

    What is the size of nk after debug built ? and size of nk reserved as specified under memory section

    Try adding autosize on in config.bib file as :

    CONFIG
        COMPRESSION=ON
        KERNELFIXUPS=ON
        AUTOSIZE=ON

    --- Misbah


    Senior Design Engineer T.E.S Electroni Solutions (Bangalore-India) www.tes-dst.com email-misbah.khan@tes-dst.com

    Wednesday, March 13, 2013 9:16 AM
  • Hi Misbah.

    This is my config.bib contains under config:-

    CONFIG

    ; ---------------------- All Image Types Settings ----------------------
    ;   KERNELFIXUPS = ON (sections to which the kernel can write are
    ;                      relocated to the start of RAM)
    ;   SRE = ON (Romimage.exe produces an .sre file)
    ; ----------------------------------------------------------------------
        KERNELFIXUPS=ON

    ; --------------------------- RAM image --------------------------------
    ;   AUTOSIZE = ON (allows NK and RAM space to resize automatically)
    ;   ROMSIZE  = 0x04000000 (64 MB)
    ;   ROMSTART = 0x80200000 (SDRAM base + 2 MB offset for reserved region)
    ;   ROMWIDTH = 32 (32-bit wide memory, entire image in one file)
    ;
    ; Note:  Since we run the bootloader with MMU on, we do not need to
    ;        adjust virtual addresses back to physical.  If we need
    ;        to adjust to physical, the calculation would look something
    ;        like this:
    ;
    ;   ROMOFFSET = (SDRAM_PHYSICAL_START - ROMSTART) % 0x100000000
    ;             = (0x40000000 - 0x80000000) % 0x100000000 = 0x40000000
    ; -----------------------------

    Wednesday, March 13, 2013 9:46 AM
  • Show us what is below that comments...

    Wednesday, March 13, 2013 9:58 AM
  • sorry , I did not get you.
    Wednesday, March 13, 2013 10:33 AM
  • Unfortunatly you have posted just the commented section of CONFIG.BIB Real config is below those posted lines. Anyway I believe that Misbah's advice to set AUTOSIZE = ON helped ?
    Wednesday, March 13, 2013 11:29 AM
  • oh sorry, see below

    IF IMGFLASH !
        AUTOSIZE=ON
        ROMSTART=80200000
        ROMSIZE=$(NK_SIZE)
        ROMWIDTH=32    
        IF IMGNAND
            ; ROMOFFSET = (FLASH_PHYSICAL_ADDRESS - ROMSTART) % 0x100000000
            ;           = (0x9F9F0000 -  0x80200000) % 0x100000000 = 0x1F7F0000
            ROMOFFSET=1F7F0000
        ENDIF
        IF IMGSDMMC
            ; ROMOFFSET = (FLASH PHYSICAL ADDRESS - ULDR_PHSYICAL_START) % 0x100000000
            ;           = ( 0x9FAA0000            -  0x80200000      ) % 0x100000000 =
            ROMOFFSET=1F8A0000
        ENDIF
    ENDIF

    Wednesday, March 13, 2013 11:51 AM
  • What is the value of NK_SIZE ? Is this less than the actual nk.bib after compilation ?

    Is "IMGFLASH " is set or not set ?

    You have to make sure that with your current build setting "AUTOSIZE=ON" is compiled with.

    --- Misbah


    Senior Design Engineer T.E.S Electroni Solutions (Bangalore-India) www.tes-dst.com email-misbah.khan@tes-dst.com

    Wednesday, March 13, 2013 12:04 PM
  • nk size is 98kb

    where is IMGFLASH?

    Wednesday, March 13, 2013 2:15 PM