Differences between revisions 23 and 80 (spanning 57 versions)
Revision 23 as of 2018-09-09 11:42:42
Size: 10900
Comment: Mention early inclusion of device-tree support in Debian kernel.
Revision 80 as of 2020-06-10 20:08:51
Size: 17110
Comment: clarify difference between main and nonfree redpill images
Deletions are marked like this. Additions are marked like this.
Line 21: Line 21:
However the only main board available at the moment is based on the Allwinner A64 SoC However, the only main board available at the moment is based on the Allwinner A64 SoC
Line 32: Line 32:
While debian should run fine from the eMMC internal storage,
most people install debian to an external microSD card (there is one slot available)
While debian runs fine from eMMC internal storage,
it is common to install debian to an external microSD card (there is one slot available)
Line 44: Line 44:
||Boot Standard Kernel: || {OK} - since Buster (requires Linux 4.16 + device-tree patch) || ||Boot Standard Kernel: || {OK} ||
Line 48: Line 48:
|| CPU Frequency Scaling || {X} || || CPU Frequency Scaling || {OK} ||
Line 50: Line 50:
|| Sleep / Suspend || {OK} - only with experimental kernel (requires Linux 4.19) ||
|| Xorg || {OK} - with Sid kernel (screen backlight requires Linux 4.18) ||
|| Sleep / Suspend || {OK} ||
|| Xorg || {OK} ||
Line 54: Line 54:
|| Switch to External Screen || {X} || || Switch to External Screen || {X} - only with non-Mainline patches e.g. included in Olimex images ||
Line 58: Line 58:
|| Keyboard's Hotkeys  || [?] || || Keyboard's Hotkeys (a.k.a. media keys) || {OK} - since udev 245 ||
Line 70: Line 70:
Here we assume that it is completely assembledand confirmed working correctly with the preinstalled system.

== The easy way: Using an image ==
There is a ready image available for directly writing to your microSD card.
Here we assume that the kit is completely assembled
and correctly functioning with the preinstalled system.

== Image install ==

Several images exist for directly writing to your microSD card:

## sorted by distance to debian - e.g. add official installer images at the top
 * [[http://ftp.nl.debian.org/debian/dists/buster/main/installer-arm64/current/images/netboot/SD-card-images|Debian Installer]]
 * [[https://box.redpill.dk/|Redpill]]
  * Source: Debian
  * Build: Boxer + qemu + multistrap + [[https://salsa.debian.org/tinker-team/box/|custom scripts]]
  * Quirks: in addition to main purely Free Debian image, a separate nonfree image is provided with support for internal wifi
 * [[https://www.armbian.com/olimex-teres-a64/|Armbian]]
  * Source: Debian (or Ubuntu) + Armbian + Armbian-maintained forks of kernel and bootloader
  * Build: debootstrap + [[https://github.com/armbian/build|custom scripts]]
 * [[ftp://staging.olimex.com/Allwinner_Images/A64-Teres/linux/xenial-teres-bspkernel-20190121_144941_EET-1_hdmi_out_v1_5.torrent|Olimex (torrent link)]]
  * Source: Ubuntu + Olimex + Olimex-maintained forks of kernel and bootloader
  * Build: qemu-debootstrap + [[https://github.com/OLIMEX/DIY-LAPTOP|custom scripts]]
 * [[ftp://staging.olimex.com/Allwinner_Images/A64-Teres/linux/armbian_experimental/|Olimex (Armbian)]]
  * Source: Ubuntu + Armbian + Olimex + Olimex-maintained forks of kernel and bootloader
  * Build: qemu-debootstrap + [[https://github.com/OLIMEX/build|custom scripts]]
Line 77: Line 96:
== The manual way: Bootstrapping ==
The debian kernel package (starting with 4.16) and arm64 userspace packages work out of the box,
but you will need to get or compile yourself a custom device tree file and bootloader.
== Manual install ==
Buster and newer include boot-loader, kernel and arm64 userspace tools working out of the box.
Line 89: Line 107:
Starting with 4.17 linux contains a DT file for the teres
(for Debian included since 4.16~rc6-1~exp1).
Unfortunately pwm support (necessary for the backlight and thus the display) didn't make it in,
so you will probably want to either edit the official DT
or get one from somewhere else until linux 4.18 is available.

Here is the DT that was used for testing the code submitted to linux including PWM:
http://friends.ccbib.org/harald/files/sun50i-a64-teres-i.dtb

=== arm trusted firmware (bootloader stage 2) ===
The debian package [[https://packages.debian.org/sid/atf-allwinner|atf-allwinner]] has support for the teres since version 1.0.aw-6-1.
Thus locally compiling ATF is not necessary anymore. Just use
{{{
/usr/lib/atf/sun50iw1p1/bl31.bin
}}}

=== u-boot (bootloader stage 1 & 3) ===
mainline u-boot still misses a few bits
like a pwm driver (to get display backlight up early),
so you need to get this [[https://github.com/anarsoul/u-boot-pine64/commits/pinebook-wip-20180206|fork]]
and then cherry-pick one more [[https://github.com/Icenowy/u-boot/commit/960ae79950a2b0a8d2e62bb3dfb5727764512a8b|commit]]:

{{{
git clone https://github.com/anarsoul/u-boot-pine64.git
cd u-boot-pine64
git remote add icenowy https://github.com/Icenowy/u-boot/
git fetch icenowy
git checkout -b teres origin/pinebook-wip-20180206
git cherry-pick icenowy/teres-i-mainline
}}}

You find information about compiling u-boot
and writing the binaries to media in board/sunxi/README.sunxi64 -
the basic steps are:

{{{
BL31=/usr/lib/atf/sun50iw1p1/bl31.bin make teres_i_defconfig
BL31=/usr/lib/atf/sun50iw1p1/bl31.bin make
dd if=spl/sunxi-spl.bin of=/dev/sdx bs=8k seek=1
dd if=u-boot.itb of=/dev/sdx bs=8k seek=5
}}}

The final files can also be downloaded:
 * [[http://friends.ccbib.org/harald/files/sunxi-spl.bin]]
 * [[http://friends.ccbib.org/harald/files/u-boot.itb]]

Buster and newer ships with working device-tree (DT) file for the teres.

=== arm trusted firmware ===

Stage 2 of bootstrapping the hardware is ARM Trusted Firmware.

The debian package DebPkg:arm-trusted-firmware has support for Teres I
using this binary:{{{
/usr/lib/arm-trusted-firmware/sun50i_a64/bl31.bin
}}}

=== u-boot ===

Stage 1 and 3 of bootstrapping the hardware is U-boot.

mainline u-boot supports Teres-I since 2019.05.

The debian package DebPkg:u-boot-sunxi since release 2019.01+dfsg-5
includes a patch enabling support Teres-I except USB support,
which implies that the built-in USB keyboard is not usable until Linux has loaded (proposed fix at DebianBug:935035).

The included patch is currently being [[https://patchwork.ozlabs.org/patch/1088354/|proposed to be mainlined into u-boot]].
Line 136: Line 132:
Since there is already an ubuntu system preinstalled on the teres,
you can simple download [[https://packages.debian.org/sid/all/debootstrap/download|debootstrap from unstable]]
and install it on ubuntu -
 it's only a shell script, so no dependency problems.

Then just follow the debootstrap chapter
Follow the debootstrap chapter
Line 145: Line 136:
To fix this we need to write a custom bootscript The simplest way to fix this is to install DebPkg:u-boot-menu which should work out of the box.

Alternatively you can try write a custom bootscript
Line 155: Line 148:
There is no support in the official installer yet.
However it might be possible to copy the arm64 installer files and a suitable device tree file onto a microSD card
with a bootloader from external sources.
If you try that approach, please share your experience.

Vanilla Debian may be installed onto the TERES-I using Debian-installer using the following procedure:

1. Using a host computer, download and configure the installation image:

{{{
wget -nd http://ftp.nl.debian.org/debian/dists/buster/main/installer-arm64/current/images/netboot/SD-card-images/firmware.teres_i.img.gz
wget -nd http://ftp.nl.debian.org/debian/dists/buster/main/installer-arm64/current/images/netboot/SD-card-images/partition.img.gz
zcat firmware.teres_i.img.gz partition.img.gz > complete_image.img
}}}

2. On the same computer you used to create the image above, run the following command:

{{{
lsblk
}}}

3. Still using the same host computer, insert a spare microSD card.
This microSD card will be used to run debian-installer in order to install Debian onto the TERES-I local eMMC.

4. Run the following command again:

{{{
lsblk
}}}

Verify that the device path of the microSD card is shown by comparing the output to the previously-issued command.
The device path should look something like /dev/sdX (and NOT the path to a partition e.g. /dev/sdX1).

5. Run the following command to burn the installation image to the microSD card:

{{{
sudo dd bs=4M if=/path/to/complete_image.img of=/dev/sdX status=progress oflag=sync
}}}

'''NOTE''': At this point, you may wish to follow this video walkthrough ([[https://archive.org/download/install-vanilla-debian-olimex-teres-i/installing-vanilla-debian-teres-i.ogv|OGV on archive.org]][[https://lbry.tv/@jc:a/installing-vanilla-debian-on-an-olimex-teres-i-laptop:9|MP4 on lbry.tv]]) which corresponds to the next steps in the installation process.

6. Insert the imaged microSD card into the TERES-I and power on the device.

7. U-Boot will launch and the boot select menu will display Debian-installer as an option.
Select your language, location, and keyboard settings.
Select your desired host name and domain name.
Network hardware will now be scanned and you may select your mirror and proxy settings.
If you receive a "bad mirror" error, try using an RJ45-to-USB adapter and try detecting network hardware again via the "Go Back" menu option.
Set up users and passwords, and choose a time zone.
Choose a partitioning method.
When you reach the "Partitioning disks" menu, you will be prompted to "select disk to partition."
You should see two options:

 * MMC/SD card #1 (mmcblk0) - XX.X GB SD XXXXX
 * MMC/SD card #3 (mmcblk2) - 14.8 GB MMC B1J56L

Select the MMC option.
Choose a partioning scheme.
Select "Finish partitioning and write changes to disk" and select "Yes."
Wait for a while.
When you reach the software selection menu, toggle what software to install by pressing <Space> and "Continue" using <Enter>.

8. At the conclusion of the installation, you will be prompted to remove the installation media and either "Go Back" or "Continue".
If you remove the microSD card now and select "Continue" to reboot the laptop, you will likely experience the laptop showing a blank screen (see Troubleshooting section below).
Instead, leave the microSD card inserted and select "Continue" to reboot the device.
When U-Boot appears (like it did when you were intentionally installing Debian), remove the microSD card.
Depending how long you wait to remove the microSD card, several errors may be shown due to missing files, but ignore them.
The TERES-I will continue to boot onto the freshly-installed Debian system residing on local eMMC storage.
Line 164: Line 217:
Instructions how to make or buy a proper connector are at the olimex forum. Instructions how to make or buy a proper connector are at the Olimex forum.
Line 167: Line 220:

== Backlight ==

The backlight is adjustable by echo'ing values 0-10 to `/sys/class/backlight/backlight/brightness`
since Linux 5.2.

Keys to control backlight (and other media keys)
need udev 245 or newer.

Older udev can be taught as well:
Add file `/etc/udev/hwdb.d/70-keyboard.hwdb` with this content:{{{
###########################################################
# Olimex
###########################################################

# Teres-I
evdev:input:b0003v15BAp003C*
 KEYBOARD_KEY_70066=sleep # Fn+F1
 KEYBOARD_KEY_700f6=wlan # Fn+F2
 KEYBOARD_KEY_700c7=f21 # Fn+F3 touchpad toggle
 KEYBOARD_KEY_7006f=brightnessdown # Fn+F7
 KEYBOARD_KEY_70070=brightnessup # Fn+F8
 KEYBOARD_KEY_7006e=switchvideomode # Fn+F9
}}}

One way to tie backlight keys to backlight control is with package `backlightctl`
and adding the file `/etc/udev/rules.d/90-brightnessctl.rules` with this content:{{{
ACTION=="add", SUBSYSTEM=="backlight", RUN+="/bin/chown nobody /sys/class/backlight/%k/brightness"
ACTION=="add", SUBSYSTEM=="backlight", RUN+="/bin/chgrp video /sys/class/backlight/%k/brightness"
ACTION=="add", SUBSYSTEM=="backlight", RUN+="/bin/chmod g+w /sys/class/backlight/%k/brightness"
ACTION=="add", SUBSYSTEM=="leds", RUN+="/bin/chgrp nobody /sys/class/leds/%k/brightness"
ACTION=="add", SUBSYSTEM=="leds", RUN+="/bin/chgrp input /sys/class/leds/%k/brightness"
ACTION=="add", SUBSYSTEM=="leds", RUN+="/bin/chmod g+w /sys/class/leds/%k/brightness"
}}}
Line 173: Line 260:
 (not covered yet) LCD works with simplefb framebuffer.

Mali-400 MP2 ("Utgard") GPU is recognized since Linux 5.2 but not yet used.

Use of Mali GPU requires the lima driver,
developed as part of Mesa3d in (among others) package DebPkg:libgl1-mesa-dri,
where the lima driver is expected enabled from release 4.19.2 onwards.

Possibly use of Mali GPU additionally requires X11 driver fbturbo,
not currently packaged for Debian (see DebianBug:760025).

Video decoding/encoding accelerator [[https://linux-sunxi.org/Video_Engine|Video Engine]]
is supported since Linux 5.0.
Use of Video Engine however requires [[https://linux-sunxi.org/Cedrus|Cedrus]]
(and wrappers e.g. for vdpau and ffmpeg)
not currently packaged for Debian.
Line 179: Line 281:
## First say what's the Sound adapter model (lspci may help) ## First say what's the Sound adapter model
Line 186: Line 288:
Battery status data is available since Linux 5.2,
at non-standard path `/sys/class/power_supply/axp20x-battery`.
Line 187: Line 292:
Realtek RTL8723BS,
requiring non-free package DebPkg:firmware-realtek

A possible race condition between wifi driver and mmc driver
is avoided by adding "rtl8723bs" to the file /etc/initramfs-tools/modules
and then regenerating initramfs with "update-initramfs -u".
This issue and workaround was found [[https://en.opensuse.org/HCL:Teres-I|here]].

== Bluetooth ==
Line 202: Line 316:
  iProduct 2 Generic Platform OHCI controller   iProduct 2 SW USB2.0 'Open' Host Controller (OHCI) Driver
Line 225: Line 339:
  iProduct 2 EHCI Host Controller
}}}
''USB Host controllers entries (without OHCI, UHCI, EHCI) are removed too.''
  iProduct 2 SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  bDeviceClass 9 Hub
  bDeviceProtocol 0 Full speed (or root) hub
  iProduct 2 SW USB2.0 'Open' Host Controller (OHCI) Driver
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  bDeviceClass 9 Hub
  bDeviceProtocol 0 Full speed (or root) hub
  iProduct 2 SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
}}}
Line 246: Line 366:
Line 249: Line 368:
### Keep only one good category and remove others
## CategoryLaptopComputer | CategoryDesktopComputer | CategoryEmbeddedComputer
----

Translation(s): none

DebianOn is an effort to document how to install, configure and use Debian on some specific hardware. Therefore potential buyers would know if that hardware is supported and owners would know how get the best out of that hardware.

The purpose is not to duplicate the Debian Official Documentation, but to document how to install Debian on some specific hardware.

If you need help to get Debian running on your hardware, please have a look at our user support channels where you may find specific channels (mailing list, IRC channel) dedicated to certain types of hardware.

Introduction

The Teres-I is a DIY open hardware laptop sold by Olimex. Olimex has stated that they intend the Teres-I to be very modular, allowing main boards built around different SoCs to be used interchangeably. However, the only main board available at the moment is based on the Allwinner A64 SoC with 2GB RAM and 16GB eMMC internal storage. The CPU is supported by the arm64 architecture in debian. armhf should work too, but is untested.

The laptop is sold with linux (ubuntu + vendor supplied kernel) preinstalled. Source code is only partially available for the vendor kernel, which means that users of the preinstalled system are permanently stuck with an old version of linux. On the other hand since a linux system is available, no external computer and no cross-compilation is required to bootstrap a debian system.

While debian runs fine from eMMC internal storage, it is common to install debian to an external microSD card (there is one slot available) to have both systems available. That's also what is described in this guide.

Overall Status

To get an overview of mainline kernel support, see the status matrix of the linux sunxi community.

Core Components

[ATTACH]

Boot Standard Kernel:

{OK}

Detect mmc:

{OK}

Extra Features

CPU Frequency Scaling

{OK}

Hibernation

[?]

Sleep / Suspend

{OK}

Xorg

{OK}

- OpenGL

[?]

- Resize-and-Rotate(randr)

[?]

Switch to External Screen

{X} - only with non-Mainline patches e.g. included in Olimex images

Mouse

- Built-in (Touchpad)

{OK}

Wireless/Wifi

X-(

Keyboard's Hotkeys (a.k.a. media keys)

{OK} - since udev 245

Legend :
{OK} = OK ; {X} Unsupported(No Driver) ; /!\ = Error (Couldn't get it working); [?] Unknown, Not Test ; [-] Not-applicable
{i} = Configuration Required; X-( = Only works with a non-free driver and or firmware

Installation

The laptop is sold as a kit for self-assembly. Here we assume that the kit is completely assembled and correctly functioning with the preinstalled system.

Image install

Several images exist for directly writing to your microSD card:

  • Debian Installer

  • Redpill

    • Source: Debian
    • Build: Boxer + qemu + multistrap + custom scripts

    • Quirks: in addition to main purely Free Debian image, a separate nonfree image is provided with support for internal wifi
  • Armbian

    • Source: Debian (or Ubuntu) + Armbian + Armbian-maintained forks of kernel and bootloader
    • Build: debootstrap + custom scripts

  • Olimex (torrent link)

    • Source: Ubuntu + Olimex + Olimex-maintained forks of kernel and bootloader
    • Build: qemu-debootstrap + custom scripts

  • Olimex (Armbian)

    • Source: Ubuntu + Armbian + Olimex + Olimex-maintained forks of kernel and bootloader
    • Build: qemu-debootstrap + custom scripts

For links, further information and discussion see the dedicated thread at the olimex forum.

Manual install

Buster and newer include boot-loader, kernel and arm64 userspace tools working out of the box.

partitioning

There are no real requirements for disk layout other than that the bootloader is stored in an area close to the start of the disk but outside any partition. Most microSD cards already come with a compatible partition layout, so you only have to change the type of the existing partition from Windows to Linux and format it with your favorite filesystem.

device tree

Buster and newer ships with working device-tree (DT) file for the teres.

arm trusted firmware

Stage 2 of bootstrapping the hardware is ARM Trusted Firmware.

The debian package arm-trusted-firmware has support for Teres I using this binary:

/usr/lib/arm-trusted-firmware/sun50i_a64/bl31.bin

u-boot

Stage 1 and 3 of bootstrapping the hardware is U-boot.

mainline u-boot supports Teres-I since 2019.05.

The debian package u-boot-sunxi since release 2019.01+dfsg-5 includes a patch enabling support Teres-I except USB support, which implies that the built-in USB keyboard is not usable until Linux has loaded (proposed fix at 935035).

The included patch is currently being proposed to be mainlined into u-boot.

rootfs

Follow the debootstrap chapter in the installation manual.

The default bootscript built into u-boot probably won't find all the files necessary to boot the system. The simplest way to fix this is to install u-boot-menu which should work out of the box.

Alternatively you can try write a custom bootscript and reformat it with mkimage from the package u-boot-tools:

mkimage -T script -d boot.txt /boot.scr

Here is a minimal example bootscript which assumes that /dtb, /vmlinuz and /initrd.gz are symlinks to the real files.

Using debian installer

Vanilla Debian may be installed onto the TERES-I using Debian-installer using the following procedure:

1. Using a host computer, download and configure the installation image:

wget -nd http://ftp.nl.debian.org/debian/dists/buster/main/installer-arm64/current/images/netboot/SD-card-images/firmware.teres_i.img.gz
wget -nd http://ftp.nl.debian.org/debian/dists/buster/main/installer-arm64/current/images/netboot/SD-card-images/partition.img.gz
zcat firmware.teres_i.img.gz partition.img.gz > complete_image.img

2. On the same computer you used to create the image above, run the following command:

lsblk

3. Still using the same host computer, insert a spare microSD card. This microSD card will be used to run debian-installer in order to install Debian onto the TERES-I local eMMC.

4. Run the following command again:

lsblk

Verify that the device path of the microSD card is shown by comparing the output to the previously-issued command. The device path should look something like /dev/sdX (and NOT the path to a partition e.g. /dev/sdX1).

5. Run the following command to burn the installation image to the microSD card:

sudo dd bs=4M if=/path/to/complete_image.img of=/dev/sdX status=progress oflag=sync

NOTE: At this point, you may wish to follow this video walkthrough (OGV on archive.orgMP4 on lbry.tv) which corresponds to the next steps in the installation process.

6. Insert the imaged microSD card into the TERES-I and power on the device.

7. U-Boot will launch and the boot select menu will display Debian-installer as an option. Select your language, location, and keyboard settings. Select your desired host name and domain name. Network hardware will now be scanned and you may select your mirror and proxy settings. If you receive a "bad mirror" error, try using an RJ45-to-USB adapter and try detecting network hardware again via the "Go Back" menu option. Set up users and passwords, and choose a time zone. Choose a partitioning method. When you reach the "Partitioning disks" menu, you will be prompted to "select disk to partition." You should see two options:

  • MMC/SD card #1 (mmcblk0) - XX.X GB SD XXXXX
  • MMC/SD card #3 (mmcblk2) - 14.8 GB MMC B1J56L

Select the MMC option. Choose a partioning scheme. Select "Finish partitioning and write changes to disk" and select "Yes." Wait for a while. When you reach the software selection menu, toggle what software to install by pressing <Space> and "Continue" using <Enter>.

8. At the conclusion of the installation, you will be prompted to remove the installation media and either "Go Back" or "Continue". If you remove the microSD card now and select "Continue" to reboot the laptop, you will likely experience the laptop showing a blank screen (see Troubleshooting section below). Instead, leave the microSD card inserted and select "Continue" to reboot the device. When U-Boot appears (like it did when you were intentionally installing Debian), remove the microSD card. Depending how long you wait to remove the microSD card, several errors may be shown due to missing files, but ignore them. The TERES-I will continue to boot onto the freshly-installed Debian system residing on local eMMC storage.

Troubleshooting

If the screen remains blank or the system doesn't boot (is stuck in u-boot or initramfs) you can connect a serial console. The serial console is multiplexed with the headphone output. Instructions how to make or buy a proper connector are at the Olimex forum.

Configuration

Backlight

The backlight is adjustable by echo'ing values 0-10 to /sys/class/backlight/backlight/brightness since Linux 5.2.

Keys to control backlight (and other media keys) need udev 245 or newer.

Older udev can be taught as well: Add file /etc/udev/hwdb.d/70-keyboard.hwdb with this content:

###########################################################
# Olimex
###########################################################

# Teres-I
evdev:input:b0003v15BAp003C*
 KEYBOARD_KEY_70066=sleep                               # Fn+F1
 KEYBOARD_KEY_700f6=wlan                                # Fn+F2
 KEYBOARD_KEY_700c7=f21                                 # Fn+F3 touchpad toggle
 KEYBOARD_KEY_7006f=brightnessdown                      # Fn+F7
 KEYBOARD_KEY_70070=brightnessup                        # Fn+F8
 KEYBOARD_KEY_7006e=switchvideomode                     # Fn+F9

One way to tie backlight keys to backlight control is with package backlightctl and adding the file /etc/udev/rules.d/90-brightnessctl.rules with this content:

ACTION=="add", SUBSYSTEM=="backlight", RUN+="/bin/chown nobody /sys/class/backlight/%k/brightness"
ACTION=="add", SUBSYSTEM=="backlight", RUN+="/bin/chgrp video /sys/class/backlight/%k/brightness"
ACTION=="add", SUBSYSTEM=="backlight", RUN+="/bin/chmod g+w /sys/class/backlight/%k/brightness"
ACTION=="add", SUBSYSTEM=="leds", RUN+="/bin/chgrp nobody /sys/class/leds/%k/brightness"
ACTION=="add", SUBSYSTEM=="leds", RUN+="/bin/chgrp input /sys/class/leds/%k/brightness"
ACTION=="add", SUBSYSTEM=="leds", RUN+="/bin/chmod g+w /sys/class/leds/%k/brightness"

Display

LCD works with simplefb framebuffer.

Mali-400 MP2 ("Utgard") GPU is recognized since Linux 5.2 but not yet used.

Use of Mali GPU requires the lima driver, developed as part of Mesa3d in (among others) package libgl1-mesa-dri, where the lima driver is expected enabled from release 4.19.2 onwards.

Possibly use of Mali GPU additionally requires X11 driver fbturbo, not currently packaged for Debian (see 760025).

Video decoding/encoding accelerator Video Engine is supported since Linux 5.0. Use of Video Engine however requires Cedrus (and wrappers e.g. for vdpau and ffmpeg) not currently packaged for Debian.

Audio

  • (not covered yet)

Power Management

Sleep is supported since Linux 4.19.

Battery status data is available since Linux 5.2, at non-standard path /sys/class/power_supply/axp20x-battery.

WiFi

Realtek RTL8723BS, requiring non-free package firmware-realtek

A possible race condition between wifi driver and mmc driver is avoided by adding "rtl8723bs" to the file /etc/initramfs-tools/modules and then regenerating initramfs with "update-initramfs -u". This issue and workaround was found here.

Bluetooth

  • (not covered yet)


System Summary

lsusb

lsusb -v | grep -E '\<(Bus|iProduct|bDeviceClass|bDeviceProtocol)' 2>/dev/null

Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  bDeviceClass            9 Hub
  bDeviceProtocol         0 Full speed (or root) hub
  iProduct                2 SW USB2.0 'Open' Host Controller (OHCI) Driver
Bus 001 Device 005: ID 15ba:003c Olimex Ltd. 
  bDeviceClass            0 (Defined at Interface level)
  bDeviceProtocol         0 
  iProduct                2 TERES Keyboard+Touchpad
  (Bus Powered)
Bus 001 Device 003: ID 1908:2311 GEMBIRD 
  bDeviceClass          239 Miscellaneous Device
  bDeviceProtocol         1 Interface Association
  iProduct                2 USB2.0 PC CAMERA
      (Bus Powered)
  bDeviceClass          239 Miscellaneous Device
  bDeviceProtocol         1 Interface Association
  (Bus Powered)
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
  bDeviceClass            9 Hub
  bDeviceProtocol         1 Single TT
  iProduct                1 USB2.0 Hub
  bDeviceClass            9 Hub
  bDeviceProtocol         0 Full speed (or root) hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  bDeviceClass            9 Hub
  bDeviceProtocol         0 Full speed (or root) hub
  iProduct                2 SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  bDeviceClass            9 Hub
  bDeviceProtocol         0 Full speed (or root) hub
  iProduct                2 SW USB2.0 'Open' Host Controller (OHCI) Driver
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  bDeviceClass            9 Hub
  bDeviceProtocol         0 Full speed (or root) hub
  iProduct                2 SW USB2.0 'Enhanced' Host Controller (EHCI) Driver

Resources

Attachments

Some configuration files and sample outputs.

  • [get | view] (2018-04-07 09:22:19, 0.2 KB) [[attachment:boot.txt]]
 All files | Selected Files: delete move to page copy to page

Credits


CategoryLaptopComputer