Updated Create DevTerm R01 OS image from scratch (markdown)

GNU 2022-05-13 12:33:14 +08:00
parent 3897394a59
commit a0b7129d78

@ -191,7 +191,7 @@ it is a mirror kernel code from tina_d1_h of all winner with all patched for de
https://github.com/cuu/toolchain-thead-glibc #It's official allwinner toolchain https://github.com/cuu/toolchain-thead-glibc #It's official allwinner toolchain
download toolchain download toolchain
## simple step for compiling kernel ## step for compiling kernel
extract and put toolchain in any folder you like extract and put toolchain in any folder you like
@ -289,9 +289,9 @@ useradd -m cpi
#add into groups #add into groups
usermod -a -G adm,dialout,cdrom,floppy,sudo,audio,dip,video,plugdev,netdev,lxd,pulse,pulse-access cpi usermod -a -G adm,dialout,cdrom,floppy,sudo,audio,dip,video,plugdev,netdev,lxd,pulse,pulse-access cpi
``` ```
### twm stuff ### Deploy the TWM window manager env.
d1 use twm as default window manager for low resource usage The R-01 uses twm as default window manager for low resource usage
``` ```
wget https://github.com/clockworkpi/DevTerm/blob/main/Code/R01/d1_twm.tar.bz2?raw=true wget https://github.com/clockworkpi/DevTerm/blob/main/Code/R01/d1_twm.tar.bz2?raw=true
@ -302,7 +302,7 @@ chown -R cpi:cpi /home/cpi
``` ```
### xorg fbdev fix ### xorg fbdev config
rotate Xorg rotate Xorg
``` ```
ubuntu@ubuntu:~$ cat /etc/X11/xorg.conf.d/10-d1.conf ubuntu@ubuntu:~$ cat /etc/X11/xorg.conf.d/10-d1.conf
@ -319,11 +319,6 @@ Section "Screen"
Device "FBDEV" Device "FBDEV"
DefaultDepth 24 DefaultDepth 24
Subsection "Display"
Depth 16
Modes "1280x480" "480x1280"
EndSubsection
Subsection "Display" Subsection "Display"
Depth 24 Depth 24
Modes "1280x480" "480x1280" Modes "1280x480" "480x1280"
@ -332,7 +327,7 @@ Section "Screen"
EndSection EndSection
``` ```
### reduce time of boot ### Optmise time of boot
``` ```
sudo systemctl mask apt-daily.service apt-daily-upgrade.service sudo systemctl mask apt-daily.service apt-daily-upgrade.service
sudo systemctl disable apt-daily.service apt-daily-upgrade.service sudo systemctl disable apt-daily.service apt-daily-upgrade.service