mirror of
https://github.com/cyberboy666/r_e_c_u_r.git
synced 2025-12-12 11:20:15 +01:00
Update preparing_image.md
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# documenting the exact steps to creating the r_e_c_u_r raspbian image
|
||||
|
||||
- downloaded the latest (2017-11-29 ~~2018-04-18~~) raspbian-raspbian-lite image from offical site.
|
||||
- downloaded the latest (~~2017-11-29~~ 2018-04-18) raspbian-raspbian-lite image from offical site.
|
||||
|
||||
- flashed it to my sd using etcher
|
||||
|
||||
@@ -55,11 +55,15 @@ splash screen : can set a custom splash screen by setting an image at `/usr/shar
|
||||
|
||||
## running lcd-driver files...
|
||||
|
||||
(and custom config.txt / cmdline lines...)
|
||||
|
||||
## making the config.txt and driver file writable so python can edit it
|
||||
|
||||
i need to update the config.txt to change various video settings etc. at first i was running bash scripts from within python to do this. i think it is better for all the logic to be done from inside the code, although my program does not have the permission needed to update these files. instead of giving the program root access , i want to just make the files it needs to edit writable.
|
||||
i need to update the config.txt to change various video settings etc. at first i was running bash scripts from within python to do this. ~~i think it is better for all the logic to be done from inside the code, although my program does not have the permission needed to update these files. instead of giving the program root access , i want to just make the files it needs to edit writable.~~
|
||||
|
||||
`sudo chmod 777 /boot/config.txt` and `sudo chmod 777 /usr/share/X11/xorg.conf.d/99-fbturbo.conf` i know this is kinda bad , but need some way of doing it ?
|
||||
~~`sudo chmod 777 /boot/config.txt` and `sudo chmod 777 /usr/share/X11/xorg.conf.d/99-fbturbo.conf` i know this is kinda bad , but need some way of doing it ?~~
|
||||
|
||||
the above didnt work. dbus not working in sudo. i am checking (reading) w python and writing with bash.
|
||||
|
||||
## flashing
|
||||
|
||||
|
||||
Reference in New Issue
Block a user