RPi - dtoverlay

    • Official Post

    Hello,

    On LE 7.0.0 on RPi2, I am trying to use the dtoverlay command to dynamically enable the onboard ALSA audio interface, but it fails:

    Code
    dtoverlay dtparam audio=on
    sh: dtc: not found
    * Failed to read active DTB


    Am I doing something wrong, or is there something missing, e.g., dtc?

    Incidentally, dtc is not in LE target, but is in LE build (e.g., in build.LibreELEC-RPi2.arm-8.0-devel/linux-4.6-rc7/scripts/dtc/dtc). What package puts it there? Could this package be modfified to copy dtc to target?

    Thank you in advance for any help

  • With 7.0.1 it's even worse:

    Code
    LibreELEC:~ # dtoverlay dtparam audio=on
    * Failed to find overlays directory


    and indeed there's no such directory:

    • Official Post


    With 7.0.1 it's even worse:

    Code
    LibreELEC:~ # dtoverlay dtparam audio=on
    * Failed to find overlays directory


    and indeed there's no such directory:

    You have filesystem corruption.


  • You have filesystem corruption.

    Now this is a bad news as I just finished installing/configuring which took 12+ hours. Is there a way to fix that without doing everything from scratch?

    //EDIT: I copied files from raspberrypi git and now everything seems to work. Is it save to remove the FSCK*.REC files now?

    Edited once, last by V10lator (June 3, 2016 at 1:04 AM).