odroid-n2:ubuntu_minimal_quick_guide

'ODROID-N2' on this page refers to the ODROID-N2 series (N2, N2+, N2L).

  • Create a folder /etc/systemd/system/getty@tty1.service.d
  • Create a file /etc/systemd/system/getty@tty1.service.d/override.conf
  • Open the file with your favorite editor and add this and save.
target
[Service]
ExecStart=
ExecStart=-/sbin/agetty --noissue --autologin root %I $TERM
Type=idle
  • Reboot your system.

Using the following instruction, you can disable screen blank.

target
$ setterm -blank 0 -powerdown 0 -powersave off

If you want to set it permanently, please add consoleblank=0 in bootargs of boot.ini.
Open /media/boot.ini with your favorite editor and add this in the following line.

target
# Boot Args
setenv bootargs "root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait rw ${condev} ${amlogic} no_console_suspend fsck.repair=yes net.ifnam
es=0 elevator=noop hdmimode=${hdmimode} cvbsmode=576cvbs max_freq_a53=${max_freq_a53} max_freq_a73=${max_freq_a73} maxcpus=${maxcpus} voutmod
e=${voutmode} ${cmode} disablehpd=${disablehpd} cvbscable=${cvbscable} overscan=${overscan} consoleblank=0"

There are two video players.
kplayer was ported from Amlogic Buildroot BSP.
c2play was ported from Crashoverride

target
kplayer /media/usb/video/sintel-4096x1744-cfg02_h.265.mkv

or

target
c2play /media/usb/video/sintel-4096x1744-cfg02_h.265.mkv

Open /etc/rc.local with your favorite editor and add your application with full path just before exit 0. This example shows how to start PPSSPP emulator automatically.

target
/root/ppsspp/PPSSPPSDL &

The default sound output is mapped to the HDMI audio.
To change it to the on-board DAC, you have run this command.

PulseAudio configuration with pacmd? or pactl?
Or, alsa mixer? This link must be helpful.
how-do-you-set-a-default-audio-output-device-in-ubuntu-18-04

target
 

You can fix the problem with the following commands for reinstalling broken Mali GPU driver

target
dpkg -i /root/debs/*.deb
/root/mali/install.sh
target
apt install -y ubuntu-mate-desktop
  • If Mate desktop panel disappeared, run “mate-panel –replace” on CLI.
  • To run Chromium, you have to add a generic user.

An Alternative Way

target
apt install tasksel
tasksel install ubuntu-mate-desktop
  • odroid-n2/ubuntu_minimal_quick_guide.txt
  • Last modified: 2022/11/08 14:44
  • by luke.go