Flashen des Kernel / Flashing the kernel

  • Hallo


    Ich wollte gerade den auf der Hompage verfügbaren Kernel Updaten. Dabei habe ich allerdings folgenden Fehler erhalten:



    Habe ich beim Flashen einen Fehler begangen? Wenn ja welchen?
    Danke für Ihre Hilfe


    Mfg
    Guenther

  • Hallo,


    das Schreiben des Kernels schlägt fehl da die Kernel-Partition zu klein ist.

    Quote


    ERROR: WriteRegionsToNandFlash: BINFS partition is to small.


    Bitte partitionieren Sie das Flash (p im Bootloader) und versuchen Sie es anschließend erneut.


    Beste Grüße
    M.Kiepfer

    Software developer, 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.

  • Which are the needed dimensions for the partitions :
    - OS-Image
    - FFSDISK
    - Extended partition


    Default is 12MB for OS-Image, but it's too small.


    Then, when partitioning with 'P', I get messages
    "can't erase block 0x01" ..
    ..
    "can't erase block 0x11"


    All blocks are marked as bad and next messages are
    FMD_SetBlockStatus : SetBlockStatus failed (xx).


    So, I can't succeed in dwonloading the Kernel.
    Pls. can you help ?

  • Hello,


    there are up to 3 partitions available on the PicoCOM:


    OS-Image: This partition holds the WindowsCE kernel. By default it is 12 MB large which will be to small for the currently available kernel image. Possibly we will adapt this default size in future bootloader versions.


    FFSDISK: This partitions can be used to store user data and applications. It is available under \FFSDISK on a running WindowsCE system.


    Extended Partition: The extended partition must be administrated in WindowsCE. There are no partitions available by default so you have to create them using the StorageManager. The size of this partition might be 0 in most cases.


    Most suitable just adapt the Kernel-Partition (it should be little bigger than the image itself) and use the remaining space for the FFSDISK partition.


    Code
    1. "can't erase block 0x01" ..
    2. ..
    3. "can't erase block 0x11"


    These messages are displayed as some blocks are reserved for storing the bootloader and other required data. You should not worry about them.


    Best regards,


    M.Kiepfer

    Software developer, 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.

  • Try erasing the flash with command 'E' first.


    Regards,


    H. Keller

    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.

  • After erasing the Flash from the NBOOT menu my PicoCOM1 boots with the following messages:


    <0>mfg detected
    32MB


    Type 's' for serial download


    No valid Bootloader.


    running memtest


    loading extension
    usbmenu



    F&S Nand Loader C110 built Apr 2 2008 17:53:23
    PicoCOM1 Rev. 1.00
    32 MB RAM 32 MB FLASH


    Please select action
    'd' -> serial download
    'E' -> erase flash



    The USB cbale is connected but no USB device can be found in the Device Manager. How can I download EBOOT?

  • Please press 'd' for serial download.


    In DCUTerm select 'Transmit Binary File' from the File menue and select the respective EBOOT.nbo file. Click on open, this starts the download. After download is finshed press 'f' to save.


    Please take a look at the FirstSteps documentation at chapter 2.3.


    DKuhne

    F&amp;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.

  • Ok. This worked fine!


    Now I have to enter the WindowsCE MAC address. Where can I find the right one?


    Why isn't the USB download available as it is the 'preferred method' (FirstSteps chapter 2.3)?

  • Please use the MAC on the top side of your PicoCOM1 - This is the Windows CE MAC.


    Quote


    Why isn't the USB download available as it is the 'preferred method' (FirstSteps chapter 2.3)?


    USB download will be available from NBOOT in the future. For now you only can download the EBOOT by serial connection.


    DKuhne

    F&amp;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.

  • Wie kann man das Flash partitionieren ?


    Das blöde Ding setzt das immer wieder auf 12 MB zurück !!??

  • Quote


    WindowsCE image and all data in FFSDISK will be erased.
    Continue ? (Y/n) y


    Please try:


    Continue ? (Y/n) Y

    F&amp;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.

  • Ich habe für OS 15Mb und für FFSDISK 18Mb eingestellt. Nach dem Partitionieren wird mir allerdings für OS 14Mb und für FFSDISK 19 Mb angezeigt.


    Das Image konnte aber trotzdem fehlerfrei geladen werden.


    Nach dem Laden sah ich ein einziges Mal das CFG-Programm. Ich würde nun gerne einige Sachen in der Konfig ändern. Wie kommt man bitte in die Konfiguration??? Nach einem Reset lande ich immer im CE-Bootloader oder im NBOOT.

  • Hello,


    Quote

    Nach dem Laden sah ich ein einziges Mal das CFG-Programm (flashed kernel does not launch after reboot)


    - please enter command "L1" into the bootloader for autostart previously flash kernel.


    - wenn Sie im Bootloader das Kommando "L1" eingeben wird der zuletzt geflashte Kernel automatisch gestarted.

    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.

  • Quote


    Ich habe für OS 15Mb und für FFSDISK 18Mb eingestellt. Nach dem Partitionieren wird mir allerdings für OS 14Mb und für FFSDISK 19 Mb angezeigt.


    Das ist uns bekannt und wird mit der nächsten Bootloader Version für die PicoCOM1 behoben werden. Sie werden hier im Forum informiert werden, wenn eine gefixte Version online zum download bereitsteht.


    DKuhne

    F&amp;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.