SlideShare ist ein Scribd-Unternehmen logo
1 von 23
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!

Weitere ähnliche Inhalte

Was ist angesagt?

Janus + Audio @ Open Source World
Janus + Audio @ Open Source WorldJanus + Audio @ Open Source World
Janus + Audio @ Open Source WorldLorenzo 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 MBONEDLorenzo 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 RipardAnne Nicolas
 
Janus Workshop pt.2 @ ClueCon 2021
Janus Workshop pt.2 @ ClueCon 2021Janus Workshop pt.2 @ ClueCon 2021
Janus Workshop pt.2 @ ClueCon 2021Lorenzo Miniero
 
WebRTC security+more @ KamailioWorld 2018
WebRTC security+more @ KamailioWorld 2018WebRTC security+more @ KamailioWorld 2018
WebRTC security+more @ KamailioWorld 2018Lorenzo 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 2021Lorenzo 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 moreOpenIO Object Storage
 
2012 workshop wed_ethernet_servicesoveri_poib
2012 workshop wed_ethernet_servicesoveri_poib2012 workshop wed_ethernet_servicesoveri_poib
2012 workshop wed_ethernet_servicesoveri_poibstrelecru
 
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 2020Lorenzo Miniero
 
Opening last bits of the infrastructure
Opening last bits of the infrastructureOpening last bits of the infrastructure
Opening last bits of the infrastructureErwan 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 issuesyeokm1
 
ONIE LinuxCon 2015
ONIE LinuxCon 2015ONIE LinuxCon 2015
ONIE LinuxCon 2015Curt Brune
 
WHIP WebRTC Broadcasting @ FOSDEM 2022
WHIP WebRTC Broadcasting @ FOSDEM 2022WHIP WebRTC Broadcasting @ FOSDEM 2022
WHIP WebRTC Broadcasting @ FOSDEM 2022Lorenzo 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 frameworkLinaro
 
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 multimediaAnne Nicolas
 
Simulcast/SVC @ IIT-RTC 2019
Simulcast/SVC @ IIT-RTC 2019Simulcast/SVC @ IIT-RTC 2019
Simulcast/SVC @ IIT-RTC 2019Lorenzo 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-1Linaro
 
Write a SocialTV app @ OpenSIPS 2021
Write a SocialTV app @ OpenSIPS 2021Write a SocialTV app @ OpenSIPS 2021
Write a SocialTV app @ OpenSIPS 2021Lorenzo Miniero
 

Was ist angesagt? (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
 

Ähnlich wie 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 DeviceSamsung Open Source Group
 
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-120Linaro
 
LCA14: LCA14-112: Upstreaming 201
LCA14: LCA14-112: Upstreaming 201LCA14: LCA14-112: Upstreaming 201
LCA14: LCA14-112: Upstreaming 201Linaro
 
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 LinuxSamsung 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 MorrisCumulus Networks
 
Porting_uClinux_CELF2008_Griffin
Porting_uClinux_CELF2008_GriffinPorting_uClinux_CELF2008_Griffin
Porting_uClinux_CELF2008_GriffinPeter Griffin
 
S5429_LanceBrown
S5429_LanceBrownS5429_LanceBrown
S5429_LanceBrownLance Brown
 
Tesla Hacking to FreedomEV
Tesla Hacking to FreedomEVTesla Hacking to FreedomEV
Tesla Hacking to FreedomEVJasper Nuyens
 
LCU14 114- Upstreaming 201
LCU14 114- Upstreaming 201LCU14 114- Upstreaming 201
LCU14 114- Upstreaming 201Linaro
 
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
 
HKG15-902: Upstreaming 201
HKG15-902: Upstreaming 201HKG15-902: Upstreaming 201
HKG15-902: Upstreaming 201Linaro
 
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
 
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 Fitzpatrick44CON
 

Ähnlich wie 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
 

Kürzlich hochgeladen

VK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web DevelopmentVK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web Developmentvyaparkranti
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesPhilip Schwarz
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfAlina Yurenko
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationBradBedford3
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Velvetech LLC
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Angel Borroy López
 
Comparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdfComparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdfDrew Moseley
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作qr0udbr0
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...OnePlan Solutions
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)jennyeacort
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceBrainSell Technologies
 
Innovate and Collaborate- Harnessing the Power of Open Source Software.pdf
Innovate and Collaborate- Harnessing the Power of Open Source Software.pdfInnovate and Collaborate- Harnessing the Power of Open Source Software.pdf
Innovate and Collaborate- Harnessing the Power of Open Source Software.pdfYashikaSharma391629
 
A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfMarharyta Nedzelska
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odishasmiwainfosol
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024StefanoLambiase
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based projectAnoyGreter
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Matt Ray
 

Kürzlich hochgeladen (20)

VK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web DevelopmentVK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web Development
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a series
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion Application
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
 
Comparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdfComparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdf
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. Salesforce
 
Innovate and Collaborate- Harnessing the Power of Open Source Software.pdf
Innovate and Collaborate- Harnessing the Power of Open Source Software.pdfInnovate and Collaborate- Harnessing the Power of Open Source Software.pdf
Innovate and Collaborate- Harnessing the Power of Open Source Software.pdf
 
A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdf
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based project
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
 

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!