Custom U-Boot can not be installed

  • Hi,

    I have a problem with installing the uboot that I compile during the image build proccess.

    For some reason it will not be detected as a valid uboot image.

    It shows some differences in the first few bytes when comparing to what FS provides, so maybe the compiling proccess is not running correctly? The machine I am using is Ubuntu 22.04 based, can this be part of the problem.

    The file is attached

    Thank you for your help
    Jakob




    Code
    1. Loading /update.scr ... done!
    2. Loaded!
    3. Loading /uboot-fsimx8mp.fs ... done!
    4. 1030756 bytes read in 30 ms (32.8 MiB/s)
    5. Error: No U-BOOT image for fsimx8mp found at address 0x40480000
    6. Loading from usb 0 failed! Aborting installation..
  • Hello,


    can you check whether the crc32 binary is present? You can do this with the command "which crc32".

    We had a release version, where we included a crc-check in our bootloader-images, but didn't throw an error if the crc32 binary was not present.


    This might be the issue in your Ubuntu host machine. The crc32 command should be in the "libarchive-zip-perl" package under Ubuntu.



    Your F&S Support Team

  • Hello,

    thank you for your help.

    I have added the check for crc32 to my bbappend and installed the, so far missing, crc32 binary.
    However I still have a mismatch and byte-shift in the very first bytes
    It looks like some escape chars are placed instead of 4 bytes, does this point to the 4 bytes of a crc32 problem?
    The rest other than the marked part is 100% identical to the binary you provide

    I am now building it in your Fedore dev machine and will report back



  • Yes, the position is exactly the place where the CRC would be located. Did you do a clean rebuild after installing the crc32 program? Maybe some intermediate file from an earlier build was not rebuilt after the crc32 tool was installed.


    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.