Samsung Exynos 4
The Exynos 4 family of chips consists of the Exynos 4210 released in 2011 as well as the Exynos 4412 released in 2012, alongside with its dual-core variant - the Exynos 4212. The Exynos 4415 was released two years later in 2014.
The Exynos 4210, 4212 and 4412 are relatively well supported in mainline, and share a fair bit of code. Support for the Exynos 4415, however, was dropped as there were no devices in mainline that used it. In postmarketOS, the mainline kernel is packaged as linux-postmarketos-exynos4PMOS.
Please join the matrix room for Exynos 4 related discussions: https://matrix.to/#/#exynos4xxx-mainline:matrix.org
Devices
Exynos 4210
Exynos 4210 | |
Manufacturer | Samsung |
---|---|
Name | Exynos 4210 |
Architecture | armv7 |
CPU | 2x ARM Cortex A9 @ 1.4GHz |
GPU | ARM Mali-400MP4 |
Year | 2011 |
Process | 45nm |
Mainline | yes |
Community Page | https://gitlab.com/exynos4-mainline |
Components | |
CPU |
Works |
UART |
Works |
Storage |
Works |
USB |
Works |
Display |
Works |
GPU |
Works |
Pinctrl |
Works |
I²C |
Works |
SPI | |
Audio | |
Video | |
Thermal |
Works |
Camera | |
Suspend | |
Ethernet | |
Device | Codename | Mainline |
---|---|---|
Samsung Galaxy Note | samsung-q1 | Y |
Samsung Galaxy S II | samsung-i9100 | P |
Exynos 4212
Exynos 4212 on the board of the Samsung Galaxy Tab 3 8.0 | |
Manufacturer | Samsung |
---|---|
Name | Exynos 4212 |
Architecture | armv7 |
CPU | 2x ARM Cortex A9 @ 1.4GHz |
GPU | ARM Mali-400 GPU |
Year | 2012 |
Process | 32nm |
Mainline | yes |
Community Page | https://gitlab.com/exynos4-mainline |
Components | |
CPU |
Works |
UART |
Works |
Storage |
Works |
USB |
Works |
Display |
Works |
GPU |
Works |
Pinctrl |
Works |
I²C |
Works |
SPI | |
Audio |
Works |
Video | |
Thermal |
Works |
Camera | |
Suspend |
Works |
Ethernet | |
Device | Codename | Mainline |
---|---|---|
Samsung Galaxy Tab 3 8.0 | samsung-lt01 | Y |
Exynos 4412
Exynos 4412 from a development board | |
Manufacturer | Samsung |
---|---|
Name | Exynos 4412 |
Architecture | armv7 |
CPU | 4x ARM Cortex A9 @ 1.4GHz |
GPU | ARM Mali-400 GPU |
Year | 2012 |
Process | 32nm |
Mainline | yes |
Community Page | https://gitlab.com/exynos4-mainline |
Components | |
CPU |
Works |
UART |
Works |
Storage |
Works |
USB |
Works |
Display |
Works |
GPU |
Works |
Pinctrl |
Works |
I²C |
Works |
SPI | |
Audio |
Works |
Video | |
Thermal |
Works |
Camera |
Partial |
Suspend |
Works |
Ethernet | |
Device | Codename | Mainline |
---|---|---|
General Mobile E-Tab 4 (2012) | gm-mehmet | |
ODROID U2 | odroid-u2 | Y |
Samsung Galaxy Camera | samsung-gd1 | |
Samsung Galaxy Camera 2 | samsung-sf2wifi | |
Samsung Galaxy Note 10.1 WiFi/3G | samsung-p4note | Y |
Samsung Galaxy Note 8.0 (GSM) | samsung-n5100 | |
Samsung Galaxy Note 8.0 (Wi-Fi) | samsung-n5110 | |
Samsung Galaxy Note 8.0 (Wi-Fi) | samsung-n5110 | |
Samsung Galaxy Note II | samsung-t03g | Y |
Samsung Galaxy Note II LTE | samsung-t0lte | Y |
Samsung Galaxy S III | samsung-m0 | Y |
Samsung Galaxy S III LTE | samsung-m3 | Y |
Exynos 4415
File:Exynos-4415.jpg | |
Manufacturer | Samsung |
---|---|
Name | Exynos 4415 |
Architecture | armv7 |
CPU | 4x ARM Cortex A9 @ 1.5GHz |
GPU | ARM Mali-400 GPU |
Year | 2014 |
Process | 28nm |
Mainline | no |
Community Page | https://gitlab.com/exynos4-mainline |
Components | |
CPU | |
UART | |
Storage | |
USB | |
Display | |
GPU | |
Pinctrl | |
I²C | |
SPI | |
Audio | |
Video | |
Thermal | |
Camera | |
Suspend | |
Ethernet | |
No results
USB OTG
As of kernel 6.10.0, USB OTG should work on devices that have it enabled (currently that's the Galaxy S III, Note II and the Galaxy Tab 3 8.0). The only caveat is that occasionally, peripheral mode may no longer work after plugging in an OTG cable until the system is restarted.
Progress on fixing these issues is being tracked in exynos4-mainline/linux#11.
Hardware video decoding (MFC)
The Exynos 4 has a built-in hardware video decoding/encoding block called MFC v5. It has a mainline driver, which uses the v4l2m2m API (see Hardware video acceleration for more information). The firmware is packaged as linux-firmware-s5p-mfc.
However, it does not currently work, throwing errors about unsupported formats. Help in figuring this out would be appreciated. If you're feeling adventurous, feel free to investigate - the module is enabled in the v6.10 kernel.
Camera
pmaports!5888 introduced changes on the kernel config side to allow for using the cameras; there is a pending Megapixels MR adding support for the SIII/Note 2's cameras to libmegapixels. There was some earlier work in pmaports!2248 to add camera support for the Galaxy S2.
The drivers for the sensors are rather quirky, and the FIMC driver may need changes too; this is yet to be investigated.
See also
- On phonedb.net: Exynos 4210, Exynos 4212, Exynos 4412, Exynos 4415
- On linux-exynos.org: Exynos 4210, Exynos 4412
- The public datasheet for the Exynos 4210
- Exynos 4212 iROM Booting Guide
- S5PV210 User's manual
- S5PV210 iROM Application Note
- The public datasheet for the Exynos 4412
- Exynos 4412 SEC User's Manual
- Exynos 4412 SCP User's Manual
- Exynos mainline porting
- p4note U-Boot: https://github.com/Lutjens-PoL/u-boot