Porting Tizen to open source hardware devices for beginners

4,265 views
4,001 views

Published on

Tizen Developer Conference 2014,

Published in: Technology
1 Comment
6 Likes
Statistics
Notes
No Downloads
Views
Total views
4,265
On SlideShare
0
From Embeds
0
Number of Embeds
14
Actions
Shares
0
Downloads
84
Comments
1
Likes
6
Embeds 0
No embeds

No notes for slide

Porting Tizen to open source hardware devices for beginners

  1. 1. Porting Tizen to open- source hardware devices for beginners Leon Anavi
  2. 2. 2 Agenda ● Open-source hardware ● Popular SBCs ● Tizen-sunxi ● DIY Tizen tablet ● DIY Tizen laptop ● Porting Tizen
  3. 3. Open-source hardware
  4. 4. 4 What is open-source hardware?
  5. 5. 5 Why open-source hardware?
  6. 6. Popular SBC
  7. 7. 7 Top 20 hacker SBCs according to LinuxGizmos Position SBC Position SBC 1 Raspberry Pi Model B 11 86Duino/86Duino One 2 BeagleBone Black 12 Odroid-XU 3 Odroid-U3 13 A20-OLinuXino-Micro 4 CubieTruck 14 Wandboard Quad 5 Banana Pi 15 Radxa Rock 6 Parallella 16 Hackberry A10 7 Cubieboard2 17 MinnowBoard 8 A10-OLinuXino-Lime 18 Arndale Octa 9 Galileo 19 SAMA5D3 Xplained 10 Udoo Quad 20 i.MX6 Rex
  8. 8. 8 Allwinner ● No.1 in shipment of processors for Android tablets in 2013 ● Supports open-source software and hardware
  9. 9. 9 Popular budget SBC families with Allwinner CPU CubieboardOLinuXino
  10. 10. Tizen-sunxi
  11. 11. 11 Tizen-sunxi Community driven open-source port of Tizen with Linux-sunxi kernel for devices with Allwinner chipsets. https://github.com/leon-anavi/tizen-sunxi
  12. 12. 12 Download, copy and boot Tizen on Sunxi devices!
  13. 13. Do It Yourself Tizen tablet
  14. 14. 14 Key components for a Tizen tablet ● SBC ● Display ● Power supply or battery
  15. 15. 15 Please close your eyes. Imagine the next iPad killer device... made at home.
  16. 16. 16
  17. 17. Do It Yourself Tizen laptop
  18. 18. 18 Key components for a Tizen laptop ● SBC ● Motorola lapdock ● HDMI cable ● USB male to male cable ● Adapters
  19. 19. 19 Tizen ARM laptop
  20. 20. Porting Tizen
  21. 21. 21 Why should we port Tizen to new devices?
  22. 22. 22 How to port Tizen to ARM devices? ● Build Linux kernel ● Build boot loader ● Create Tizen platform image ● Set up Tizen on microSD card or NAND
  23. 23. 23 Build Linux kernel and boot loader following the recommendations of the hardware vendor! For example: use Linux-sunxi kernel and U-Boot for Allwinner devices.
  24. 24. 24 How to create Tizen platform image from scratch? ● Set up development environment & install development tools ● Supported distributions: Ubuntu, Fedora, openSUSE, CentOS ● Configure Gerrit access and Git ● Get Tizen source code using Git ● Build RPM packages for ARMv7 using Git Build System (GBS) ● Create Tizen platform image ● Prepare kickstarter file ● Create an image from the built RPM using GBS gbs createimage --ks-file=tizen-sunxi.ks
  25. 25. 25 How to set up Tizen on microSD card for ARM SBC? ● Create a single FAT32 and three ext4 partitions ● Copy the boot loader and the Linux kernel to the FAT32 partition ● Copy platform, data and UMS images to the other partitions
  26. 26. 26 Configure display options for Sunxi devices ● The easy way: uEnv.txt For OLinuXino set disp.screen0_output_type to: ● 0 - no display ● 1 - LCD ● 2 - TV ● 3 - HDMI ● 4 - VGA ● The hard way: compile FEX to binary configuration file
  27. 27. 27 Debugging the boot process
  28. 28. 28 Useful resources ● Getting Started Guide https://source.tizen.org/documentation/developer-guide/getting- started-guide ● All-in-One Instructions for Creating Tizen Images from Scratch https://source.tizen.org/documentation/developer-guide/all-one- instructions-creating-tizen-images-scratch ● Porting Guide https://wiki.tizen.org/wiki/Porting_Guide ● Tizen Wiki https://wiki.tizen.org/

×