SlideShare a Scribd company logo
Upstream Allwinner
ARM SoC Support
Chen-Yu Tsai (wens)
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License
Original Talk by Hans de Goede:
https://archive.fosdem.org/2015/schedule/event/allwinner_upstream/
Topics
• Allwinner SoCs
• U-boot Status
• Kernel Status
• U-boot Roadmap
• Kernel Roadmap
Allwinner SoCs
Allwinner SoCs
A10 A10s/
A13/R8
A20 A23 A31 A33 A80 A83
CPU A8 A8 2x A7 2x A7 4x A7 4x A7 4x A7 +
4x A15
8x A7
GPU Mali400 Mali400 Mali400 Mali400 PowerVR
SGX544
Mali400 PowerVR
G6320
PowerVR
SGX544
SATA Yes No Yes No No No No No
Eth Yes Yes (*) Yes No Yes No Yes Yes
HDMI Yes Yes (*) Yes No Yes No Yes Yes
* A10s only
Upstream?
• 3.4 kernel is very old
• Deprecated
• No support for new SoCs
• Probably no bugfixes
• Upstream has more features
• Less maintenance work
U-boot Status
http://linux-sunxi.org/Mainline_U-Boot
U-boot Status
Feb 2014 u-boot-sunxi Aug 2015 upstream u-boot
Upstream No (fork) Yes
A10/A13/A20 Yes Yes
A23/A31/A33 No Yes
A80 No WIP
PSCI (hyp / kvm) No A20/A23/A31/A33
Video output No HDMI, LCD, VGA & Composite
USB No Host & OTG
SATA No Yes
Eth Yes Yes
MMC Yes Yes
NAND No SPL
Upstream Kernel Status
http://linux-sunxi.org/Linux_mainlining_effort
Upstream kernel status
• Last year we had only basic support for old SoCs
• A10/A10s/A13/A20/A31
• Clocks, interrupts, uart, ethernet
• Now we support (4.2)
• USB host (OHCI/EHCI), SATA
• A23/A33/A31s/A80 SoC, IR, tablet keys
• resistive touchscreens, CPUfreq
• MMC, proper rootfs
• Simplefb, using framebuffer setup by U-boot
Linux v3.16 (Aug 2014)
A10 A10s/A13 A20 A31
Basic (*) Yes Yes Yes Yes
SMP N/A N/A Yes (PSCI) Yes
I2C Yes Yes Yes Yes
SPI Yes Yes Yes Yes
USB Host Yes Yes Yes Yes
SATA Yes N/A Yes N/A
Ethernet Yes Yes Yes No
MMC Yes Yes Yes Yes
DMA No No No Yes
Linux v4.2 (Late Aug)
A10 A13 A20 A31 A23 A33 A80
Boot Yes Yes Yes Yes Yes Yes Yes
SMP N/A N/A Yes (PSCI) Yes (PSCI) Yes (PSCI) Yes (PSCI) No
I2C Yes Yes Yes Yes Yes Yes Yes
SPI Yes Yes Yes Yes No (**) No (**) No (**)
USB Host Yes Yes Yes Yes No No Yes
SATA Yes N/A Yes N/A N/A N/A N/A
Ethernet Yes Yes Yes No N/A N/A No
MMC Yes Yes Yes Yes Yes Yes Yes
DMA No No No Yes Yes Yes No
SimpleFB Yes Yes Yes Yes Yes Yes No
Cpufreq Yes Yes Yes Yes No No No
Linux v4.3 (planned)
A10 A13 A20 A31 A23 A33 A80
Boot Yes Yes Yes Yes Yes Yes Yes
SMP N/A N/A Yes (PSCI) Yes (PSCI) Yes (PSCI) Yes (PSCI) No
I2C Yes Yes Yes Yes Yes Yes Yes
SPI Yes Yes Yes Yes No (**) No (**) No (**)
USB Host Yes Yes Yes Yes Yes Yes Yes
SATA Yes N/A Yes N/A N/A N/A N/A
Ethernet Yes Yes Yes No N/A N/A No
MMC Yes Yes Yes Yes Yes Yes Yes
DMA No No No Yes Yes Yes No
SimpleFB Yes Yes Yes Yes Yes Yes No
Cpufreq Yes Yes Yes Yes No No No
Crypto Yes Yes Yes Yes N/A No No
USB OTG Yes Yes Yes Yes Yes Yes No
U-boot Roadmap
U-boot Roadmap
• New SoC support comes in 3 steps:
1. Get u-boot.bin going, this requires uart & mmc
support. This uses Allwinner's boot0 binary to
initialize DRAM and then load u-boot.bin
2. Figure out clock and PMIC initialization, reverse
engineer DRAM init (no docs), replace boot0 with SPL
3. Add support for Ethernet, USB, video out, etc.
U-boot Roadmap
• A80 support
• Step 1 is complete
• Can talk to the PMIC, but there are 2 of them and it is
not clear yet which voltage is hooked up to what
• DRAM controller looks significantly different from
previous models :|
• A83 support
• Docs & Hardware exist
• No one has started work on it
• H3 support WIP
Kernel roadmap
Kernel roadmap
• Real soon now (4.3)
• Hardware crypto engine
• USB OTG
• WIP
• A10 / A13 / A20 Audio codec support
• Raw NAND support
• RSB (Reduced Serial Bus) support
• A80 SMP
• H3 Bring-up
• I2S
• S/PDIF
Kernel roadmap
• Planned
• KMS driver (Boris Brezillon)
• A80 companion ICs (AXP806/AXP809/AC100)
• Open tasks
• http://linux-sunxi.org/Mainlining_Effort#Left_to_be_done
• Support your board
Powered by Allwinner R8
Things to look forward to
• Next Thing Co. pledges Mainline support
• https://www.kickstarter.com/projects/1598272670/chip
-the-worlds-first-9-computer/posts/1247188
• Partnering with Free Electrons (*)
• More or less feature complete kernel by next year
• Display, Audio, Storage, Network
• No 3D, hardware decoding or fancy display
Past Sunxi Talks
• FOSDEM 2014 by Olliver Schinagl
• https://archive.fosdem.org/2014/schedule/event/arm_allwinner_sunxi_socs/
• FOSDEM 2014 by Luc Verhaegen
• https://archive.fosdem.org/2014/schedule/event/sunxi_kms/
• ELC 2014 by Maxime Ripard
• https://lwn.net/Articles/597916/
• OSDC 2014 Lightning Talk by me
• http://www.slideshare.net/wens213/osdc-lightning-talk-sunxi
• FOSDEM 2015 by Hans de Goede
• https://archive.fosdem.org/2015/schedule/event/allwinner_upstream/
• Maybe more…
Questions?
Thank You!
Check out http://linux-sunxi.org/ for more!

More Related Content

What's hot

Janus + Audio @ Open Source World
Janus + Audio @ Open Source WorldJanus + Audio @ Open Source World
Janus + Audio @ Open Source World
Lorenzo Miniero
 
Scaling WebRTC deployments with multicast @ IETF 110 MBONED
Scaling WebRTC deployments with multicast @ IETF 110 MBONEDScaling WebRTC deployments with multicast @ IETF 110 MBONED
Scaling WebRTC deployments with multicast @ IETF 110 MBONED
Lorenzo Miniero
 
Kernel Recipes 2017 - An introduction to the Linux DRM subsystem - Maxime Ripard
Kernel Recipes 2017 - An introduction to the Linux DRM subsystem - Maxime RipardKernel Recipes 2017 - An introduction to the Linux DRM subsystem - Maxime Ripard
Kernel Recipes 2017 - An introduction to the Linux DRM subsystem - Maxime Ripard
Anne Nicolas
 
Janus Workshop pt.2 @ ClueCon 2021
Janus Workshop pt.2 @ ClueCon 2021Janus Workshop pt.2 @ ClueCon 2021
Janus Workshop pt.2 @ ClueCon 2021
Lorenzo Miniero
 
WebRTC security+more @ KamailioWorld 2018
WebRTC security+more @ KamailioWorld 2018WebRTC security+more @ KamailioWorld 2018
WebRTC security+more @ KamailioWorld 2018
Lorenzo Miniero
 
WebRTC, Whats in it for me?
WebRTC, Whats in it for me?WebRTC, Whats in it for me?
WebRTC, Whats in it for me?
SeanDuBois3
 
Can WebRTC help musicians? @ FOSDEM 2021
Can WebRTC help musicians? @ FOSDEM 2021Can WebRTC help musicians? @ FOSDEM 2021
Can WebRTC help musicians? @ FOSDEM 2021
Lorenzo Miniero
 
OpenIO Summit'17 - ARM, Object Storage and more
OpenIO Summit'17 - ARM, Object Storage and moreOpenIO Summit'17 - ARM, Object Storage and more
OpenIO Summit'17 - ARM, Object Storage and more
OpenIO Object Storage
 
2012 workshop wed_ethernet_servicesoveri_poib
2012 workshop wed_ethernet_servicesoveri_poib2012 workshop wed_ethernet_servicesoveri_poib
2012 workshop wed_ethernet_servicesoveri_poib
strelecru
 
Can SFUs and MCUs be friends @ IIT-RTC 2020
Can SFUs and MCUs be friends @ IIT-RTC 2020Can SFUs and MCUs be friends @ IIT-RTC 2020
Can SFUs and MCUs be friends @ IIT-RTC 2020
Lorenzo Miniero
 
Opening last bits of the infrastructure
Opening last bits of the infrastructureOpening last bits of the infrastructure
Opening last bits of the infrastructure
Erwan Velu
 
Talk@JanusCon2019: Janus, WebRTC and ML - Fantastic technologies and how to m...
Talk@JanusCon2019: Janus, WebRTC and ML - Fantastic technologies and how to m...Talk@JanusCon2019: Janus, WebRTC and ML - Fantastic technologies and how to m...
Talk@JanusCon2019: Janus, WebRTC and ML - Fantastic technologies and how to m...
Paolo Saviano
 
Raspberry Pi 3 + UART/Bluetooth issues
Raspberry Pi 3 + UART/Bluetooth issuesRaspberry Pi 3 + UART/Bluetooth issues
Raspberry Pi 3 + UART/Bluetooth issues
yeokm1
 
ONIE LinuxCon 2015
ONIE LinuxCon 2015ONIE LinuxCon 2015
ONIE LinuxCon 2015
Curt Brune
 
WHIP WebRTC Broadcasting @ FOSDEM 2022
WHIP WebRTC Broadcasting @ FOSDEM 2022WHIP WebRTC Broadcasting @ FOSDEM 2022
WHIP WebRTC Broadcasting @ FOSDEM 2022
Lorenzo Miniero
 
LCA14: LCA14-418: Testing a secure framework
LCA14: LCA14-418: Testing a secure frameworkLCA14: LCA14-418: Testing a secure framework
LCA14: LCA14-418: Testing a secure framework
Linaro
 
Embedded Recipes 2019 - Pipewire a new foundation for embedded multimedia
Embedded Recipes 2019 - Pipewire a new foundation for embedded multimediaEmbedded Recipes 2019 - Pipewire a new foundation for embedded multimedia
Embedded Recipes 2019 - Pipewire a new foundation for embedded multimedia
Anne Nicolas
 
Simulcast/SVC @ IIT-RTC 2019
Simulcast/SVC @ IIT-RTC 2019Simulcast/SVC @ IIT-RTC 2019
Simulcast/SVC @ IIT-RTC 2019
Lorenzo Miniero
 
BKK16-201 Play Ready OPTEE Integration with Secure Video Path lhg-1
BKK16-201 Play Ready OPTEE Integration with Secure Video Path lhg-1BKK16-201 Play Ready OPTEE Integration with Secure Video Path lhg-1
BKK16-201 Play Ready OPTEE Integration with Secure Video Path lhg-1
Linaro
 
Write a SocialTV app @ OpenSIPS 2021
Write a SocialTV app @ OpenSIPS 2021Write a SocialTV app @ OpenSIPS 2021
Write a SocialTV app @ OpenSIPS 2021
Lorenzo Miniero
 

What's hot (20)

Janus + Audio @ Open Source World
Janus + Audio @ Open Source WorldJanus + Audio @ Open Source World
Janus + Audio @ Open Source World
 
Scaling WebRTC deployments with multicast @ IETF 110 MBONED
Scaling WebRTC deployments with multicast @ IETF 110 MBONEDScaling WebRTC deployments with multicast @ IETF 110 MBONED
Scaling WebRTC deployments with multicast @ IETF 110 MBONED
 
Kernel Recipes 2017 - An introduction to the Linux DRM subsystem - Maxime Ripard
Kernel Recipes 2017 - An introduction to the Linux DRM subsystem - Maxime RipardKernel Recipes 2017 - An introduction to the Linux DRM subsystem - Maxime Ripard
Kernel Recipes 2017 - An introduction to the Linux DRM subsystem - Maxime Ripard
 
Janus Workshop pt.2 @ ClueCon 2021
Janus Workshop pt.2 @ ClueCon 2021Janus Workshop pt.2 @ ClueCon 2021
Janus Workshop pt.2 @ ClueCon 2021
 
WebRTC security+more @ KamailioWorld 2018
WebRTC security+more @ KamailioWorld 2018WebRTC security+more @ KamailioWorld 2018
WebRTC security+more @ KamailioWorld 2018
 
WebRTC, Whats in it for me?
WebRTC, Whats in it for me?WebRTC, Whats in it for me?
WebRTC, Whats in it for me?
 
Can WebRTC help musicians? @ FOSDEM 2021
Can WebRTC help musicians? @ FOSDEM 2021Can WebRTC help musicians? @ FOSDEM 2021
Can WebRTC help musicians? @ FOSDEM 2021
 
OpenIO Summit'17 - ARM, Object Storage and more
OpenIO Summit'17 - ARM, Object Storage and moreOpenIO Summit'17 - ARM, Object Storage and more
OpenIO Summit'17 - ARM, Object Storage and more
 
2012 workshop wed_ethernet_servicesoveri_poib
2012 workshop wed_ethernet_servicesoveri_poib2012 workshop wed_ethernet_servicesoveri_poib
2012 workshop wed_ethernet_servicesoveri_poib
 
Can SFUs and MCUs be friends @ IIT-RTC 2020
Can SFUs and MCUs be friends @ IIT-RTC 2020Can SFUs and MCUs be friends @ IIT-RTC 2020
Can SFUs and MCUs be friends @ IIT-RTC 2020
 
Opening last bits of the infrastructure
Opening last bits of the infrastructureOpening last bits of the infrastructure
Opening last bits of the infrastructure
 
Talk@JanusCon2019: Janus, WebRTC and ML - Fantastic technologies and how to m...
Talk@JanusCon2019: Janus, WebRTC and ML - Fantastic technologies and how to m...Talk@JanusCon2019: Janus, WebRTC and ML - Fantastic technologies and how to m...
Talk@JanusCon2019: Janus, WebRTC and ML - Fantastic technologies and how to m...
 
Raspberry Pi 3 + UART/Bluetooth issues
Raspberry Pi 3 + UART/Bluetooth issuesRaspberry Pi 3 + UART/Bluetooth issues
Raspberry Pi 3 + UART/Bluetooth issues
 
ONIE LinuxCon 2015
ONIE LinuxCon 2015ONIE LinuxCon 2015
ONIE LinuxCon 2015
 
WHIP WebRTC Broadcasting @ FOSDEM 2022
WHIP WebRTC Broadcasting @ FOSDEM 2022WHIP WebRTC Broadcasting @ FOSDEM 2022
WHIP WebRTC Broadcasting @ FOSDEM 2022
 
LCA14: LCA14-418: Testing a secure framework
LCA14: LCA14-418: Testing a secure frameworkLCA14: LCA14-418: Testing a secure framework
LCA14: LCA14-418: Testing a secure framework
 
Embedded Recipes 2019 - Pipewire a new foundation for embedded multimedia
Embedded Recipes 2019 - Pipewire a new foundation for embedded multimediaEmbedded Recipes 2019 - Pipewire a new foundation for embedded multimedia
Embedded Recipes 2019 - Pipewire a new foundation for embedded multimedia
 
Simulcast/SVC @ IIT-RTC 2019
Simulcast/SVC @ IIT-RTC 2019Simulcast/SVC @ IIT-RTC 2019
Simulcast/SVC @ IIT-RTC 2019
 
BKK16-201 Play Ready OPTEE Integration with Secure Video Path lhg-1
BKK16-201 Play Ready OPTEE Integration with Secure Video Path lhg-1BKK16-201 Play Ready OPTEE Integration with Secure Video Path lhg-1
BKK16-201 Play Ready OPTEE Integration with Secure Video Path lhg-1
 
Write a SocialTV app @ OpenSIPS 2021
Write a SocialTV app @ OpenSIPS 2021Write a SocialTV app @ OpenSIPS 2021
Write a SocialTV app @ OpenSIPS 2021
 

Similar to Upstream Allwinner ARM SoC (sunxi) Support

Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux Device
Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux DeviceAdding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux Device
Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux Device
Samsung Open Source Group
 
Training2 ppt
Training2 pptTraining2 ppt
Training2 ppt
Bhavya Bakshi
 
Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120
Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120
Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120
Linaro
 
LCA14: LCA14-112: Upstreaming 201
LCA14: LCA14-112: Upstreaming 201LCA14: LCA14-112: Upstreaming 201
LCA14: LCA14-112: Upstreaming 201
Linaro
 
Nuevo Portafolio QNAP 2017
Nuevo Portafolio QNAP 2017Nuevo Portafolio QNAP 2017
Nuevo Portafolio QNAP 2017
Fernando Barrientos
 
PLNOG16: Obsługa 100M pps na platformie PC , Przemysław Frasunek, Paweł Mała...
PLNOG16: Obsługa 100M pps na platformie PC, Przemysław Frasunek, Paweł Mała...PLNOG16: Obsługa 100M pps na platformie PC, Przemysław Frasunek, Paweł Mała...
PLNOG16: Obsługa 100M pps na platformie PC , Przemysław Frasunek, Paweł Mała...
PROIDEA
 
Practical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under Linux
Practical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under LinuxPractical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under Linux
Practical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under Linux
Samsung Open Source Group
 
OSDC 2014 ONIE by Nat Morris
OSDC 2014 ONIE by Nat MorrisOSDC 2014 ONIE by Nat Morris
OSDC 2014 ONIE by Nat Morris
Cumulus Networks
 
Porting_uClinux_CELF2008_Griffin
Porting_uClinux_CELF2008_GriffinPorting_uClinux_CELF2008_Griffin
Porting_uClinux_CELF2008_Griffin
Peter Griffin
 
S5429_LanceBrown
S5429_LanceBrownS5429_LanceBrown
S5429_LanceBrown
Lance Brown
 
Tesla Hacking to FreedomEV
Tesla Hacking to FreedomEVTesla Hacking to FreedomEV
Tesla Hacking to FreedomEV
Jasper Nuyens
 
LCU14 114- Upstreaming 201
LCU14 114- Upstreaming 201LCU14 114- Upstreaming 201
LCU14 114- Upstreaming 201
Linaro
 
Practical reverse engineering and exploit development for AVR-based Embedded ...
Practical reverse engineering and exploit development for AVR-based Embedded ...Practical reverse engineering and exploit development for AVR-based Embedded ...
Practical reverse engineering and exploit development for AVR-based Embedded ...
Alexander Bolshev
 
Cubie board
Cubie boardCubie board
Cubie board
Gerardo Di Iorio
 
HKG15-902: Upstreaming 201
HKG15-902: Upstreaming 201HKG15-902: Upstreaming 201
HKG15-902: Upstreaming 201
Linaro
 
How to Make an Eight Bit Computer and Save the World!
How to Make an Eight Bit Computer and Save the World!How to Make an Eight Bit Computer and Save the World!
How to Make an Eight Bit Computer and Save the World!
elliando dias
 
Nomenclatura QNAP
Nomenclatura QNAPNomenclatura QNAP
Nomenclatura QNAP
Fernando Barrientos
 
44CON 2014 - Stupid PCIe Tricks, Joe Fitzpatrick
44CON 2014 - Stupid PCIe Tricks, Joe Fitzpatrick44CON 2014 - Stupid PCIe Tricks, Joe Fitzpatrick
44CON 2014 - Stupid PCIe Tricks, Joe Fitzpatrick
44CON
 
haifux-pcie.pdf
haifux-pcie.pdfhaifux-pcie.pdf
haifux-pcie.pdf
ssuser0ceb13
 
Motherboard
MotherboardMotherboard
Motherboard
AMZAD KHAN
 

Similar to Upstream Allwinner ARM SoC (sunxi) Support (20)

Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux Device
Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux DeviceAdding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux Device
Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux Device
 
Training2 ppt
Training2 pptTraining2 ppt
Training2 ppt
 
Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120
Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120
Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120
 
LCA14: LCA14-112: Upstreaming 201
LCA14: LCA14-112: Upstreaming 201LCA14: LCA14-112: Upstreaming 201
LCA14: LCA14-112: Upstreaming 201
 
Nuevo Portafolio QNAP 2017
Nuevo Portafolio QNAP 2017Nuevo Portafolio QNAP 2017
Nuevo Portafolio QNAP 2017
 
PLNOG16: Obsługa 100M pps na platformie PC , Przemysław Frasunek, Paweł Mała...
PLNOG16: Obsługa 100M pps na platformie PC, Przemysław Frasunek, Paweł Mała...PLNOG16: Obsługa 100M pps na platformie PC, Przemysław Frasunek, Paweł Mała...
PLNOG16: Obsługa 100M pps na platformie PC , Przemysław Frasunek, Paweł Mała...
 
Practical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under Linux
Practical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under LinuxPractical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under Linux
Practical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under Linux
 
OSDC 2014 ONIE by Nat Morris
OSDC 2014 ONIE by Nat MorrisOSDC 2014 ONIE by Nat Morris
OSDC 2014 ONIE by Nat Morris
 
Porting_uClinux_CELF2008_Griffin
Porting_uClinux_CELF2008_GriffinPorting_uClinux_CELF2008_Griffin
Porting_uClinux_CELF2008_Griffin
 
S5429_LanceBrown
S5429_LanceBrownS5429_LanceBrown
S5429_LanceBrown
 
Tesla Hacking to FreedomEV
Tesla Hacking to FreedomEVTesla Hacking to FreedomEV
Tesla Hacking to FreedomEV
 
LCU14 114- Upstreaming 201
LCU14 114- Upstreaming 201LCU14 114- Upstreaming 201
LCU14 114- Upstreaming 201
 
Practical reverse engineering and exploit development for AVR-based Embedded ...
Practical reverse engineering and exploit development for AVR-based Embedded ...Practical reverse engineering and exploit development for AVR-based Embedded ...
Practical reverse engineering and exploit development for AVR-based Embedded ...
 
Cubie board
Cubie boardCubie board
Cubie board
 
HKG15-902: Upstreaming 201
HKG15-902: Upstreaming 201HKG15-902: Upstreaming 201
HKG15-902: Upstreaming 201
 
How to Make an Eight Bit Computer and Save the World!
How to Make an Eight Bit Computer and Save the World!How to Make an Eight Bit Computer and Save the World!
How to Make an Eight Bit Computer and Save the World!
 
Nomenclatura QNAP
Nomenclatura QNAPNomenclatura QNAP
Nomenclatura QNAP
 
44CON 2014 - Stupid PCIe Tricks, Joe Fitzpatrick
44CON 2014 - Stupid PCIe Tricks, Joe Fitzpatrick44CON 2014 - Stupid PCIe Tricks, Joe Fitzpatrick
44CON 2014 - Stupid PCIe Tricks, Joe Fitzpatrick
 
haifux-pcie.pdf
haifux-pcie.pdfhaifux-pcie.pdf
haifux-pcie.pdf
 
Motherboard
MotherboardMotherboard
Motherboard
 

Recently uploaded

A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeA Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
Aftab Hussain
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
Rakesh Kumar R
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
rickgrimesss22
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
Fermin Galan
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOMLORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
lorraineandreiamcidl
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptx
LORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptxLORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptx
LORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptx
lorraineandreiamcidl
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
Remote DBA Services
 
socradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdfsocradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdf
SOCRadar
 
Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...
Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...
Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...
kalichargn70th171
 
What is Augmented Reality Image Tracking
What is Augmented Reality Image TrackingWhat is Augmented Reality Image Tracking
What is Augmented Reality Image Tracking
pavan998932
 
DDS-Security 1.2 - What's New? Stronger security for long-running systems
DDS-Security 1.2 - What's New? Stronger security for long-running systemsDDS-Security 1.2 - What's New? Stronger security for long-running systems
DDS-Security 1.2 - What's New? Stronger security for long-running systems
Gerardo Pardo-Castellote
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
Adele Miller
 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
Neo4j
 
Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
Green Software Development
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
Google
 
Artificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension FunctionsArtificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension Functions
Octavian Nadolu
 
Why Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise Edition
Why Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise EditionWhy Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise Edition
Why Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise Edition
Envertis Software Solutions
 
APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)
Boni García
 

Recently uploaded (20)

A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeA Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOMLORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptx
LORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptxLORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptx
LORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptx
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
 
socradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdfsocradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdf
 
Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...
Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...
Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...
 
What is Augmented Reality Image Tracking
What is Augmented Reality Image TrackingWhat is Augmented Reality Image Tracking
What is Augmented Reality Image Tracking
 
DDS-Security 1.2 - What's New? Stronger security for long-running systems
DDS-Security 1.2 - What's New? Stronger security for long-running systemsDDS-Security 1.2 - What's New? Stronger security for long-running systems
DDS-Security 1.2 - What's New? Stronger security for long-running systems
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
 
Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
 
Artificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension FunctionsArtificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension Functions
 
Why Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise Edition
Why Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise EditionWhy Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise Edition
Why Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise Edition
 
APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)
 

Upstream Allwinner ARM SoC (sunxi) Support

  • 1. Upstream Allwinner ARM SoC Support Chen-Yu Tsai (wens) This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License Original Talk by Hans de Goede: https://archive.fosdem.org/2015/schedule/event/allwinner_upstream/
  • 2. Topics • Allwinner SoCs • U-boot Status • Kernel Status • U-boot Roadmap • Kernel Roadmap
  • 4. Allwinner SoCs A10 A10s/ A13/R8 A20 A23 A31 A33 A80 A83 CPU A8 A8 2x A7 2x A7 4x A7 4x A7 4x A7 + 4x A15 8x A7 GPU Mali400 Mali400 Mali400 Mali400 PowerVR SGX544 Mali400 PowerVR G6320 PowerVR SGX544 SATA Yes No Yes No No No No No Eth Yes Yes (*) Yes No Yes No Yes Yes HDMI Yes Yes (*) Yes No Yes No Yes Yes * A10s only
  • 5. Upstream? • 3.4 kernel is very old • Deprecated • No support for new SoCs • Probably no bugfixes • Upstream has more features • Less maintenance work
  • 7. U-boot Status Feb 2014 u-boot-sunxi Aug 2015 upstream u-boot Upstream No (fork) Yes A10/A13/A20 Yes Yes A23/A31/A33 No Yes A80 No WIP PSCI (hyp / kvm) No A20/A23/A31/A33 Video output No HDMI, LCD, VGA & Composite USB No Host & OTG SATA No Yes Eth Yes Yes MMC Yes Yes NAND No SPL
  • 9. Upstream kernel status • Last year we had only basic support for old SoCs • A10/A10s/A13/A20/A31 • Clocks, interrupts, uart, ethernet • Now we support (4.2) • USB host (OHCI/EHCI), SATA • A23/A33/A31s/A80 SoC, IR, tablet keys • resistive touchscreens, CPUfreq • MMC, proper rootfs • Simplefb, using framebuffer setup by U-boot
  • 10. Linux v3.16 (Aug 2014) A10 A10s/A13 A20 A31 Basic (*) Yes Yes Yes Yes SMP N/A N/A Yes (PSCI) Yes I2C Yes Yes Yes Yes SPI Yes Yes Yes Yes USB Host Yes Yes Yes Yes SATA Yes N/A Yes N/A Ethernet Yes Yes Yes No MMC Yes Yes Yes Yes DMA No No No Yes
  • 11. Linux v4.2 (Late Aug) A10 A13 A20 A31 A23 A33 A80 Boot Yes Yes Yes Yes Yes Yes Yes SMP N/A N/A Yes (PSCI) Yes (PSCI) Yes (PSCI) Yes (PSCI) No I2C Yes Yes Yes Yes Yes Yes Yes SPI Yes Yes Yes Yes No (**) No (**) No (**) USB Host Yes Yes Yes Yes No No Yes SATA Yes N/A Yes N/A N/A N/A N/A Ethernet Yes Yes Yes No N/A N/A No MMC Yes Yes Yes Yes Yes Yes Yes DMA No No No Yes Yes Yes No SimpleFB Yes Yes Yes Yes Yes Yes No Cpufreq Yes Yes Yes Yes No No No
  • 12. Linux v4.3 (planned) A10 A13 A20 A31 A23 A33 A80 Boot Yes Yes Yes Yes Yes Yes Yes SMP N/A N/A Yes (PSCI) Yes (PSCI) Yes (PSCI) Yes (PSCI) No I2C Yes Yes Yes Yes Yes Yes Yes SPI Yes Yes Yes Yes No (**) No (**) No (**) USB Host Yes Yes Yes Yes Yes Yes Yes SATA Yes N/A Yes N/A N/A N/A N/A Ethernet Yes Yes Yes No N/A N/A No MMC Yes Yes Yes Yes Yes Yes Yes DMA No No No Yes Yes Yes No SimpleFB Yes Yes Yes Yes Yes Yes No Cpufreq Yes Yes Yes Yes No No No Crypto Yes Yes Yes Yes N/A No No USB OTG Yes Yes Yes Yes Yes Yes No
  • 14. U-boot Roadmap • New SoC support comes in 3 steps: 1. Get u-boot.bin going, this requires uart & mmc support. This uses Allwinner's boot0 binary to initialize DRAM and then load u-boot.bin 2. Figure out clock and PMIC initialization, reverse engineer DRAM init (no docs), replace boot0 with SPL 3. Add support for Ethernet, USB, video out, etc.
  • 15. U-boot Roadmap • A80 support • Step 1 is complete • Can talk to the PMIC, but there are 2 of them and it is not clear yet which voltage is hooked up to what • DRAM controller looks significantly different from previous models :| • A83 support • Docs & Hardware exist • No one has started work on it • H3 support WIP
  • 17. Kernel roadmap • Real soon now (4.3) • Hardware crypto engine • USB OTG • WIP • A10 / A13 / A20 Audio codec support • Raw NAND support • RSB (Reduced Serial Bus) support • A80 SMP • H3 Bring-up • I2S • S/PDIF
  • 18. Kernel roadmap • Planned • KMS driver (Boris Brezillon) • A80 companion ICs (AXP806/AXP809/AC100) • Open tasks • http://linux-sunxi.org/Mainlining_Effort#Left_to_be_done • Support your board
  • 20. Things to look forward to • Next Thing Co. pledges Mainline support • https://www.kickstarter.com/projects/1598272670/chip -the-worlds-first-9-computer/posts/1247188 • Partnering with Free Electrons (*) • More or less feature complete kernel by next year • Display, Audio, Storage, Network • No 3D, hardware decoding or fancy display
  • 21. Past Sunxi Talks • FOSDEM 2014 by Olliver Schinagl • https://archive.fosdem.org/2014/schedule/event/arm_allwinner_sunxi_socs/ • FOSDEM 2014 by Luc Verhaegen • https://archive.fosdem.org/2014/schedule/event/sunxi_kms/ • ELC 2014 by Maxime Ripard • https://lwn.net/Articles/597916/ • OSDC 2014 Lightning Talk by me • http://www.slideshare.net/wens213/osdc-lightning-talk-sunxi • FOSDEM 2015 by Hans de Goede • https://archive.fosdem.org/2015/schedule/event/allwinner_upstream/ • Maybe more…
  • 23. Thank You! Check out http://linux-sunxi.org/ for more!