Where is config.txt

  • Everything says "edit config.txt" but nowhere does it say where this file exists on the system. Nowhere. I mean I went to like 10 web pages and they all say "edit config.txt" and you know what? When I log in via SSH there is no config.txt. Where is it?


  • Everything says "edit config.txt" but nowhere does it say where this file exists on the system. Nowhere. I mean I went to like 10 web pages and they all say "edit config.txt" and you know what? When I log in via SSH there is no config.txt. Where is it?


    Are you using a pi? It wil be /flash/config.txt


    By default /flash is mounted read-only so you need to:

    Code
    1. mount -o remount,rw /flash


    before you can edit it.

  • I actually saw that page but it didn't describe things well enough. I believe you should explain (as popcornmix does) that the file "resides in /flash but is read-only" and then proceed with directions on how to mount it r/w, edit it, then remount as read only.


    If you use "The config.txt file is located in /flash" somewhere in the wiki, then people will find the page when they look for "location of config.txt file" or something along those line.


    Just an idea :) thanks for the hard work!!


  • I actually saw that page but it didn't describe things well enough.


    What? The first paragraph gives you a step by step explanation on how to edit the config.txt, and this isn't well enough for you?

  • Except he specified he wanted specific instructions on 'how', which is already there. Unless the wiki was edited after this post, I can't see how it could be any better.


  • I actually saw that page but it didn't describe things well enough. I believe you should explain (as popcornmix does) that the file "resides in /flash but is read-only" and then proceed with directions on how to mount it r/w, edit it, then remount as read only.


    If you use "The config.txt file is located in /flash" somewhere in the wiki, then people will find the page when they look for "location of config.txt file" or something along those line.


    Just an idea thanks for the hard work!!


    Well....we have a main wiki page: LibreELEC


    At this page, you will see a "RaspberryPi Section" which links to: Raspberry Pi - LibreELEC


    At this section, there is table of content on the top right where "config.txt" is mentioned....


    So, tbh, I don't know how much clearer it could be

    Quote


    I believe you should explain (as popcornmix does) that the file "resides in /flash but is read-only


    From our wiki for the "why":

    Quote


    As LibreELEC is generally a read-only system and you don't have write permissions to the system partition, you need to get those permissions first


    and then:

    Quote


    Now you have to change the permissions again:


    So I guess it's explained very well . If one has something to improve, feel free
    [hr]
    Last change for the wiki at 22.6.2016 by me ;): Revision history of "Config.txt" - LibreELEC

    Edited once, last by DaVu ().

  • I have installed LibreElec in Pine64 RockPro64 board.

    The wiki ( Raspberry Pi Config.txt [LibreELEC.wiki] ) is clear but in /flash I can't find config.txt:


    Code
    1. LibreElec64:/flash # ls -lah
    2. total 150M
    3. drwxr-xr-x 3 root root 16.0K Jan 1 1970 .
    4. drwxr-xr-x 12 root root 191 Mar 3 22:57 ..
    5. -rwxr-xr-x 1 root root 18.3M Mar 3 22:59 KERNEL
    6. -rwxr-xr-x 1 root root 48 Mar 3 22:59 KERNEL.md5
    7. -rwxr-xr-x 1 root root 131.6M Mar 3 23:59 SYSTEM
    8. -rwxr-xr-x 1 root root 48 Mar 3 22:59 SYSTEM.md5
    9. drwxr-xr-x 2 root root 8.0K Mar 3 22:59 extlinux
    10. -rwxr-xr-x 1 root root 91.3K Mar 3 22:59 rk3399-rockpro64.dtb


    I have read the title ;) and I think layout for Raspberry differs from RockPro board.

    I'm missing something?


    I'd like to solve this problem but I can't figure out where those options are stored for Rockchip.


    Thank you,

    Riccardo

  • have installed LibreElec in Pine64 RockPro64 board.

    The wiki ( Raspberry Pi Config.txt [LibreELEC.wiki] ) is clear but in /flash I can't find config.txt:

    the config.txt is just for the RPi, nothing else supports it

  • /flash/extlinux/extlinux.conf is not an equivalent to config.txt (RPi config commands won't work) but if you follow the instructions for Intel GPUs here Custom EDID [LibreELEC.wiki] the same process for forcing a specific edid.bin file (so the kernel drm framework always thinks an HDMI device is connected and powered) should work - Allwinner boards are also using the same kernel drm framework.

  • I'll try!


    Thank you,

    Riccardo


    ps. the problem is solved: I got a kernel panic, but on Hdmi! ;)

    Edited once, last by rickyx ().