Jump to content

Nvidia Tegra 2 (tegra20): Difference between revisions

From postmarketOS Wiki
Okias (talk | contribs)
fix detection, make it one table for all
Okias (talk | contribs)
uboot
Line 28: Line 28:
| status_suspend = Y
| status_suspend = Y
}}
}}
== Development ==
=== Bootloader ===
Currently except classic proprietary Aboot (using fastboot service), there is open-source [http://www.denx.de/wiki/U-Boot u-boot] development in progress for some Tegra devices. You can check [https://github.com/clamor-s/u-boot/commits/master repository]


== Graphics ==
== Graphics ==

Revision as of 21:30, 8 October 2021

Nvidia Tegra 2
NVIDIA T20 chip
NVIDIA T20 chip
Manufacturer Nvidia
Name Tegra 2
Architecture armv7
CPU 2x 1.0/1.2 GHz ARM Cortex-A9
GPU Nvidia ULP Geforce
Year 2010
Process 40nm
Mainline yes
Components
CPU
Works
UART
Works
Storage
Works
USB
Works
Display
Works
GPU
Partial
Pinctrl
Works
I²C
Works
SPI
No data
Audio
Works
Video
Works
Thermal
Works
Camera
Partial
NPU
No data
Suspend
Works
Ethernet
No data
SATA
No data

Development

Bootloader

Currently except classic proprietary Aboot (using fastboot service), there is open-source u-boot development in progress for some Tegra devices. You can check repository

Graphics

Components (source)

  • Mesa-3D (minimal implementation, not complete enough (GL 1.4) to run XWayland (requires GL 2.1 or GLES2)
  • xf86-video-tegra (2D acceleration for X11, EXA)
  • libvdpau-tegra

Usability

Wayland:

  • Phosh works, but UI is accelerated trough llvmpipe (software rendering), thus is slow.
  • Plasma mobile not tested (please update)

X11:

  • Xfce4 and Mate desktop will run on 2D acceleration.
  • Hildon requires an OpenGL backend.
    • As of cogl 1.22.2 the clutter/cogl backend requires stencil buffers (EGL_STENCIL_SIZE). This not yet implemented in the grate-driver.

Video Decoding

Video Decoder Engine (VDE) was added to mainline kernel v4.16. The grate-driver includes hardware h264 decoding with libvdpau-tegra.

The vdpau driver does not support h264 videos encoded with:

  • weighted prediction
  • CABAC

Sample video that can be decoded with hardware acceleration: https://peach.blender.org/trailer-page/

$ mpv --hwdec=vdpau trailer_720p.mov
Using hardware decoding (vdpau).
VO: [vdpau] 1280x720 vdpau[yuv420p]

Participate development

Develop

Mesa3D Gallium driver

https://github.com/grate-driver/mesa

  • Host1x ABI rework (required before mesa implemenetation): (G. docs)
  • migrate from TGSI to NIR
  • establishing demos that work, where can be seen regression

Devices with a Tegra 2 Chipset

Device Mainline
Acer Iconia Tab A200 P
Acer Iconia Tab A500 Y
Asus Eee Pad Transformer Y
Lenovo ThinkPad Tablet
Motorola Droid X2
Nvidia Tegra ARMv7 Y
Samsung Captivate Glide P
Samsung Galaxy Tab 10.1 P
Sony Tablet S

See also