toasting the real world
play

Toasting the real world What makes Toaster work Beln Barros Pena - - PowerPoint PPT Presentation

Toasting the real world What makes Toaster work Beln Barros Pena - ELC 2016 Yocto Project | The Linux Foundation 2 interaction design Yocto Project | The Linux Foundation 3 photo by garretkeogh Like industrial design, the discipline


  1. Toasting the real world What makes Toaster work Belén Barros Pena - ELC 2016

  2. Yocto Project | The Linux Foundation 2

  3. interaction design Yocto Project | The Linux Foundation 3

  4. photo by garretkeogh “Like industrial design, the discipline would start from the needs and desires of the people who use a product or service” Bill Moggridge, Designing Interactions (2007) Yocto Project | The Linux Foundation 4

  5. building software that makes sense to the people who use it Yocto Project | The Linux Foundation 5

  6. Yocto Project | The Linux Foundation 6

  7. building a standard image for the Raspberry Pi takes ... Yocto Project | The Linux Foundation 7

  8. ... 10 steps Yocto Project | The Linux Foundation 8

  9. 10!! Yocto Project | The Linux Foundation 9

  10. 1. Find meta-raspberrypi 2. Clone meta-raspberrypi 3. Figure out if meta-raspberrypi requires any other layers 4. Clone the other layers 5. Add all the layers to bblayers.conf 6. Figure out the machine name for your Raspberry Pi 7. Set it as the MACHINE in local.conf 8. Source the build environment script 9. Find an image to build 10. Tell BitBake to build the image Yocto Project | The Linux Foundation 10

  11. Yocto Project | The Linux Foundation 11

  12. Yocto Project | The Linux Foundation 12

  13. This video shows how the simplest, somehow meaningful task you can carry out with OpenEmbedded looks like when you do it with Toaster. https://youtu.be/vyqpUgKctG8 Yocto Project | The Linux Foundation 13

  14. Yocto Project OpenEmbedded BitBake poky 2.1 "Krogoth" krogoth 1.30 15.0 2.0 "Jethro" jethro 1.28 14.0 1.8 "Fido" fido 1.26 13.0 1.7 "Dizzy" dizzy 1.24 12.0 Yocto Project | The Linux Foundation 14

  15. openembedded-core meta-openembedded meta-oe Yocto Project | The Linux Foundation 15

  16. Yocto Project | The Linux Foundation 16

  17. OpenEmbedded madness pie chart Alien concepts Yocto Project | The Linux Foundation 17

  18. Yocto Project | The Linux Foundation 18

  19. OpenEmbedded madness pie chart Invisibility problem Alien concepts Yocto Project | The Linux Foundation 19

  20. easy-to-remember machine names (!) Yocto Project | The Linux Foundation 20

  21. Paul Eggleton Yocto Project | The Linux Foundation 21

  22. Yocto Project | The Linux Foundation 22

  23. Yocto Project | The Linux Foundation 23

  24. Yocto Project | The Linux Foundation 24

  25. 213 layers 307 machines 8255 recipes 217 images Yocto Project | The Linux Foundation 25

  26. Yocto Project | The Linux Foundation 26

  27. Yocto Project | The Linux Foundation 27

  28. Yocto Project | The Linux Foundation 28

  29. Yocto Project | The Linux Foundation 29

  30. Yocto Project | The Linux Foundation 30

  31. This video shows a couple of OpenEmbedded layers missing from the Layer Index, and how they don't appear in Toaster either. https://youtu.be/paPzZOnD8fI Yocto Project | The Linux Foundation 31

  32. If you maintain an open source layer ... 1. Submit it to the Layer Index Yocto Project | The Linux Foundation 32

  33. Yocto Project | The Linux Foundation 33

  34. OpenEmbedded Yocto Project Layers master master 213 jethro 2.0 73 fido 1.8 91 Yocto Project | The Linux Foundation 34

  35. This video shows an example of a layer that doesn't exist for all OpenEmbedded stable branches. https://youtu.be/xCPLsRmJmDo Yocto Project | The Linux Foundation 35

  36. do not mix layers from different branches Yocto Project | The Linux Foundation 36

  37. Yocto Project | The Linux Foundation 37

  38. This video shows how you set the BitBake version and the metadata branch in Toaster, and how Toaster enforces the "do not mix layers from different branches" rule. https://youtu.be/h35PI-UgkSc Yocto Project | The Linux Foundation 38

  39. If you maintain an open source layer ... 1. Submit it to the Layer Index 2. Create branches for all OpenEmbedded stable branches Yocto Project | The Linux Foundation 39

  40. This video shows how to import layers with Toaster, and how you can use the import layer feature to bypass the "do not mix layers from different branches" rule. https://youtu.be/vl14GXiI4oc Yocto Project | The Linux Foundation 40

  41. This video shows that Toaster will not have any information about imported layers until you build them. https://youtu.be/Xu0GvAA2wtQ Yocto Project | The Linux Foundation 41

  42. This video shows how Toaster knows about layer dependencies. https://youtu.be/eWoZ3BTf84U Yocto Project | The Linux Foundation 42

  43. This video shows how you enter layer dependencies in the Layer Index. https://youtu.be/q-Z05Sqz0LY Yocto Project | The Linux Foundation 43

  44. Yocto Project | The Linux Foundation 44

  45. This video shows what happens in Toaster when you try to build a layer that has incomplete dependencies. https://youtu.be/EiVmPBKHNpg Yocto Project | The Linux Foundation 45

  46. If you maintain an open source layer ... 1. Submit it to the Layer Index 2. Create branches for all OpenEmbedded stable branches 3. Make sure the layer dependencies are correct Yocto Project | The Linux Foundation 46

  47. how hard or how easy it is to build with OpenEmbedded is up to you Yocto Project | The Linux Foundation 47

  48. Yocto Project | The Linux Foundation 48

  49. 1. Figure out which recipe builds the gdb package 2. Find out about the IMAGE_INSTALL variable 3. Learn about the correct appending syntax 4. Know that the correct place to append to IMAGE_INSTALL is the local.conf file 5. Build his image Yocto Project | The Linux Foundation 49

  50. Yocto Project | The Linux Foundation 50

  51. This video shows how you add a package to an image in Toaster 2.0 by appending to IMAGE_INSTALL. https://youtu.be/0OVP51W2ab4 Yocto Project | The Linux Foundation 51

  52. This video shows how you add a package to an image in Toaster 2.1 and how you can download the image recipe file. https://youtu.be/2lmHPDIvocM Yocto Project | The Linux Foundation 52

  53. Yocto Project | The Linux Foundation 53

  54. Where next? 1. Enhance the build information Yocto Project | The Linux Foundation 54

  55. This video shows the build information feature in Toaster. https://youtu.be/ZwporQ2dO5w Yocto Project | The Linux Foundation 55

  56. Where next? 1. Enhance the build information 2. Improve Toaster team work capabilities 3. Stop developing Toaster Yocto Project | The Linux Foundation 56

  57. belen.barros.pena@intel.com belen on #yocto & #oe @belenpena Yocto Project | The Linux Foundation 57

  58. thank you and Paul Eggleton, Michael Wood, Brian Avery, the OpenBMC folks and all Toaster contributors

  59. Credits Slide 4: Bill Mogridge Presentation by Garret Keogh under CC BY-NC-SA 2.0 Slide 11 and 49: Flour by Malakhi Helel under CC BY-ND 2.0 Slide 25: Superman! by Evonne under CC BY 2.0 Yocto Project | The Linux Foundation 59

Recommend


More recommend