updatecheck / installcheck in uboot: USB

  • Hello,


    i am testing the update functionality over usb.
    I want to start a update script in uboot over usb.


    The Problem:


    Code
    1. ---- Trying update from usb+00000000 ----
    2. incorrect device type in usb
    3. Partition usb not found!
    4. Failed!
    5. ---- No update script found ----


    I tested:
    - a few of usb sticks with differences capacity.
    - the latest ubbot and the 2nd latest. Its always the same problem.
    - FAT and FAT32 format
    - i tested varios boards (Starterkit, etc...)


    I have no idea what the problem is.
    The update / install with SD-Card is no problem.


    Someone an Idea?


    Thanks!

  • Please set the updatecheck variable again. The input editor of U-Boot is very rudimentary, especially the delete key does not work as expected. It deletes characters only visibly, because the terminal emulator on your PC side interprets it correctly, but in reality the delete character is added to the input line. The "Trying update from usb+0000000" shows, that there is something wrong. This should be "Trying update from usb 0 with update.scr".


    Your F&S Support Team

    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.

  • Thank you for the fast answer.
    I think we found the problem :)


    In the file "u-boot-2012.07-f+s-V2.1/include/configs/fsvybrid.h"


    Code
    1. //#####define CONFIG_CMD_USB /* USB host support */


    and


    Quote


    /************************************************************************
    * USB host
    ************************************************************************/
    //####TODO


    Can you foresee when it will be implemented on the NetDCU A5?

  • Well, I checked my GIT repository. We actually have implemented this in January 2015. But as a matter of fact we did not have a release since then. So yes, the official version is still missing this feature.


    I think the best thing is to have a maintenance release for Vybrid as soon as possible. This will bring a lot of small bug fixes and a better/newer U-Boot and Buildroot. However our schedule is rather busy and the holiday time at the moment is slowing down things, too. So I believe I can not promise a release before September.


    But you can already check the update feature right now by using an SD card. Later when the release is out, you can switch to USB stick. It will work the same there.


    Your F&S Support Team

    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.

  • We have released fsvybrid-V2.2. Included in this release is also the new U-Boot with USB host support. Now installation and updates with USB are possible.


    Your F&S Support Team

    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.