Booting nk.bin image from FSiMX6SX OS design fails on starter kit

  • Hello Everybody,


    I wanted to test WEC7 image building process and firmware update using starter kit for efusA9 board. OS design used is from PRJ_FSIMX6SX_20190211.zip, BSP used is from BSP_FSIMX6SX_WLAN_20190219.zip, both obtained from F&S site. For firmware download, I have used NetDCU-USB-Loader. Because of nk.bin image size, I had to alter default partitions in Eboot, to increase OS-Image partition from 128MB to 192MB. After nk.bin download, image cannot be booted because of:


    ERROR: Image Signature in Flash Memory not found (dwSig=0xFFFFFFFF)


    Here is the full output of image download and boot process from DCUTermi:


    P

    -------------------PARTITION CONFIGURATION--------------

    Current settings:

    Total : 256 MB

    OS-Image: 128 MB

    FFSDISK : 128 MB, Part type: FAT

    SECOND : 0 MB, Part type: EXTENDED

    Enter maximal size for OS-Image [128]: 192<LF>

    Enter maximal size for FFSDISK [64]: <LF>

    Format FFSDISK as FA(T) or (F)3S [T]: <LF>


    Format 2nd partition as FA(T) or (E)XTENDED or (F)3S [E]: <LF>


    New settings:

    Total : 256 MB

    OS-Image: 192 MB

    FFSDISK : 64 MB, Part type: FAT

    SECOND : 0 MB, Part type: EXTENDED


    Is this information correct? [y] (y/n) <LF>


    Flash configuration has changed.

    To accept new values, flash must be formatted.

    WindowsCE image and all data in FFSDISK will be erased.

    Continue ? (Y/n) Y

    Flash will be repartitioned. Please wait ...

    DO NOT POWER OFF THE BOARD WHILE OPERATING !


    Erasing flash ...

    Create partition for boot section ...

    Enter Low Level Format [0x0, 0x7ff].

    Erasing flash block(s) [0x0, 0x7ff] (please wait): ** EBOOT FMD: block 0 is locked !

    ** EBOOT FMD: block 1 is locked !

    ** EBOOT FMD: block 2 is locked !

    ** EBOOT FMD: block 3 is locked !

    ** EBOOT FMD: block 4 is locked !

    ** EBOOT FMD: block 5 is locked !

    ** EBOOT FMD: block 6 is locked !

    ** EBOOT FMD: block 7 is locked !

    ** EBOOT FMD: block 8 is locked !

    ** EBOOT FMD: block 9 is locked !

    ** EBOOT FMD: block 10 is locked !

    ** EBOOT FMD: block 11 is locked !

    ** EBOOT FMD: block 12 is locked !

    ** EBOOT FMD: block 13 is locked !

    ** EBOOT FMD: block 14 is locked !

    ** EBOOT FMD: block 15 is locked !

    Done

    Done.


    Success

    Create partition for kernel section ...

    FindFreeSector: FreeSector is: 0x243 after processing part 0x20.

    Success

    Create partition for FFSDISK section ...

    FindFreeSector: FreeSector is: 0x243 after processing part 0x20.

    FindFreeSector: FreeSector is: 0x18281 after processing part 0x21.

    CreatePartition: Num sectors set to 0x7800 to allow for compaction blocks.

    Success



    WARNING: Boot configuration signature invalid - choosing defaults...


    :> mf


    :> l1 > After next Reboot Kernel will be started automatically


    :> du

    HW-Watchdog: DELAYED

    Waiting for USB download

    Connected at high-speed


    Download file information:

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

    [0]: Address=0x80624000 Length=0x2EA9A3C Name=C:\WINCE700\OSDesigns\FSiMX6SX\FSiMX6SX\RelDir\FS_iMX6SX__ARMV7_Release\NK.bin

    BIN detected. Check MinImageStart (C:\WINCE700\OSDesigns\FSiMX6SX\FSiMX6SX\RelDir\FS_iMX6SX__ARMV7_Release\NK.bin)

    INFO: Changed start address for C:\WINCE700\OSDesigns\FSiMX6SX\FSiMX6SX\RelDir\FS_iMX6SX__ARMV7_Release\NK.bin to 0x80624000.

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

    ###############################################################################################################################################################################################################################################################################1 files tranfered

    Create partition for boot section ...

    Success

    Create partition for kernel section ...

    Success

    Create partition for FFSDISK section ...

    Success

    Writing single region/multi-region update, dwBINFSPartLength: 48929340

    INFO: BP_OpenPartition: dwBINFSPartLength =0x2EA9A3C).

    dwRegionStart=0x80624000).

    dwRegionLength=0x2EA9A3C).

    INFO: BP_SetDataPointer: Set data pointer in BINFS partition (offset=0x404000).

    ERROR: dwStoreOffset != 0 (dwStoreOffset=0x404000)

    INFO: Write region to BINFS partition (start=0x80624000, length=0x2EA9A3C).

    Writing image to flash complete.

    AUTO-BOOT enabled

    All files flashed

    OEMReadData: 0x1866

    Leaving DownloadImage()

    dwImageStart=0x0, dwImageLength=0x0, dwLaunchAddr=0x0

    OEMAfterDownload(dwAction=0x20)

    Press >S< to step into monitor...

    HW-Watchdog: DELAYED


    efusA9X - WindowsCE Bootloader


    :>

    Microsoft Windows CE Bootloader Common Library Version 1.2 Built Jul 3 2018 11:25:13

    Microsoft Windows CE Bootloader for efusA9X Built Jul 9 2018

    Portions copyright (c) 2016 F&S Elektronik Systeme GmbH

    Boot Loader, Version 1.4

    NBoot, Version VN38

    HW rev. 1.30


    System ready!

    Preparing for download...

    Press >S< to step into monitor...

    AUTO BOOT enabled

    HW-Watchdog: ON

    ERROR: Image Signature in Flash Memory not found (dwSig=0xFFFFFFFF)

    Error reading Kernel from Flash

    Disable AUTO BOOT

    Press >S< to step into monitor...

    HW-Watchdog: DELAYED


    efusA9X - WindowsCE Bootloader


    :>


    Can anybody tell me what went wrong here please?


    Thanks in advance.


    Best regards,


    Miodrag Bazdar

  • Hello,


    by default fsimx6sx.bat is configured for downlaod xip image:

    ...

    @REM --------------------------------------------------------------------------

    @REM For Multiple XIP (using demand paging on BINFS)

    @REM

    set IMGMULTIXIP=1

    ...


    So you can download xip.bin or modify the content to "set IMGMULTIXIP=".

    Does this resolve your problem?

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • Hello fs-support_ZU,


    I forgot to mention I am a complete newbie in the world of WEC7:).


    Thanks, that worked indeed!


    Btw, maybe you can tell me how to activate Soft Input Panel on my device? When I touch on text box, nothing happens. From NetDCU, when I execute "sip on", it tells me "Can't show input panel".


    Best regards,


    Miodrag

  • Hello,


    in general we do not support platformbuilder handling. There are a lot of hints in the WWW;)

    >> Btw, maybe you can tell me how to activate Soft Input Panel on my device?

    << Search for "SIP" in the catalog.

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.