Custom Firmware inclusion

  • BLUF: How do I include firmware in the image install process?

    DISCUSSION: I am building a custom LibreELEC fork to test specific hardware (Intel Compute Stick STCK1A8LFC).
    I have taliored the build scripts to target "silvermont" for both -march and -mtune and have successfully built the
    RTL8723BS RIO WIFI driver. However, there are two firmware files that I believe need to be included. I can manually
    add them but I would rather include it in the automated build/install process.

    I appoligize for posing this question, but I have read through the git repo, wiki, forums, and Google with no luck.

  • Fantastic! Under my current set up, I have created a new project folder in order to minimize my impact on the rest of the build tree. I copied Generic and renamed the new project BOXSTCK1A8LFC. I will modify the myfirmware.dat accordingly.

    Thank you very much!


  • projects/Generic/filesystem/lib/firmware/myfirmware.dat <= will add a specific file to a specific folder in the image

    Turns out for my purpose I needed:
    projects/BOXSTCK1A8LFC/filesystem/usr/lib/firmware/rtlwifi/myfirmware.bin

    I just figured out where this copy operation occurs:
    # copy project related files to filesystem
    if [ -d "$PROJECT_DIR/$PROJECT/filesystem" ]; then
    cp -PR $PROJECT_DIR/$PROJECT/filesystem/* $INSTALL

    I apologize for wasting time...