SlideShare uma empresa Scribd logo
1 de 20
Baixar para ler offline
Agenda
Fedora Embedded SIG  Special Interest Group
                          Some background
         A basic hands-on with QEMU/ARM
                  Fedora ARM Infrastructure
                                  Questions?




             foss.in/2010 - Fedora Embedded and
                     QEMU/ARM hands on

                                    ƒ—leem ens—ri

                                          Fedora

                               IUth he™em˜er PHIH




                              Saleem Ansari    foss.in/2010 - Fedora Embedded and QEMU/ARM hands o
Agenda
    Fedora Embedded SIG  Special Interest Group
                              Some background
             A basic hands-on with QEMU/ARM
                      Fedora ARM Infrastructure
                                      Questions?




1     egend—

2     pedor— im˜edded ƒsq ! ƒpe™i—l snterest qroup

3     ƒome ˜—™kground

4     e ˜—si™ h—ndsEon with iw…Ge‚w

5     pedor— e‚w snfr—stru™ture

6     uestionsc




                                  Saleem Ansari    foss.in/2010 - Fedora Embedded and QEMU/ARM hands o
Agenda
   Fedora Embedded SIG  Special Interest Group
                             Some background
            A basic hands-on with QEMU/ARM
                     Fedora ARM Infrastructure
                                     Questions?


Agenda



        pedor— im˜edded ƒsq ! ƒpe™i—l snterest qroup
        ƒome ˜—™kground knowlege
        e ˜—si™ h—ndsEon with iw…Ge‚w
        pedor— e‚w snfr—stru™ture




                                 Saleem Ansari    foss.in/2010 - Fedora Embedded and QEMU/ARM hands o
Agenda
    Fedora Embedded SIG  Special Interest Group
                              Some background
             A basic hands-on with QEMU/ARM
                      Fedora ARM Infrastructure
                                      Questions?


Fedora Embedded SIG  Special Interest Group


         qo—ls E httpXGGfedor—proje™tForgGwikiGƒsqsGim˜edded
                Create high quality packages of cross-compilers and related
                tools
                Provide packaging guidelines
                Make distribution releases on sub architectures
         „—rgeted pl—tformsG—r™hesX e‚wD e†‚QPD e†‚D fl—™k(nD
         „sqggD ‚„iwƒD others
         por this t—lk we will fo™us on e‚w —r™hite™ture



                                  Saleem Ansari    foss.in/2010 - Fedora Embedded and QEMU/ARM hands o
Agenda
    Fedora Embedded SIG  Special Interest Group
                              Some background
             A basic hands-on with QEMU/ARM
                      Fedora ARM Infrastructure
                                      Questions?


Why Fedora on ARM architecture? Multiple reasons!
         PHHUX £ WV7 of one ˜illion mo˜ile phones sold e—™h ye—r use —t
         le—st one e‚w pro™essorF
         PHHWX £ WH7 of —ll em˜edded QPE˜it ‚sƒg pro™essors —re e‚w
         pro™essorsF
         PHIHX £ S fillion e‚wW pro™essors h—ve ˜een shipped so f—r
         e‚w pro™essors to enter server m—rkets E w—rvell9s
         —nnoun™ement
         e‚w pro™essorE i—gle
                based on Cortex A15 architecture, it has hardware
                virtualization support!
         yv€g is — one ˜ig proje™t whi™h interested to use pedor—
         e‚w port
                                  Saleem Ansari    foss.in/2010 - Fedora Embedded and QEMU/ARM hands o
Agenda
   Fedora Embedded SIG  Special Interest Group
                             Some background
            A basic hands-on with QEMU/ARM
                     Fedora ARM Infrastructure
                                     Questions?


Some background


        €l—tform G pro™essor sele™tion for — vinuxGem˜edded proje™t
               at-least 32bit processor
               processor should have a MMU
               non-MMU based processors can use ucLinux
                     however you have to modify applications too


               oating point unit
                     which optional and can be emulated by libraries




                                 Saleem Ansari    foss.in/2010 - Fedora Embedded and QEMU/ARM hands o
Agenda
    Fedora Embedded SIG  Special Interest Group
                              Some background
             A basic hands-on with QEMU/ARM
                      Fedora ARM Infrastructure
                                      Questions?


Why do we need a boot loader?
         „here is — lot of work done ˜y ˜oot lo—derF
         uernel —ssumes th—t — lot of system initi—liz—tion is —lre—dy
         doneX
                conguring memory sub-system.
                loading kernel image at the correct memory address
                loading initial RAM disk ( optional )
                initializing boot parameters
                obtaining the ARM Linux machine type
                initializing register variables for entry into kernel
         ‡riting ™ode for —ll this isX
                highly error prone, repetitive, cumbersome and boring
                a readymade bootloader generally just ts in
                                  Saleem Ansari    foss.in/2010 - Fedora Embedded and QEMU/ARM hands o
Agenda
   Fedora Embedded SIG  Special Interest Group
                             Some background
            A basic hands-on with QEMU/ARM
                     Fedora ARM Infrastructure
                                     Questions?


Why do we need Linux Kernel?

        vinuxD ofE™ourseD is ypen ƒour™e
        †endor sndependen™e
        €yƒsˆ ™ompli—n™e
        †—ried r—rdw—re ƒupport
        linux kernel h—s m—ny devi™e drivers —lre—dy ˜uilt ˜y someone
               provide us with well dened device interfaces
               does the grunt work of hardware level interfacing with the
               devices
               driver works on another hardware with usually very few changes


                                 Saleem Ansari    foss.in/2010 - Fedora Embedded and QEMU/ARM hands o
Agenda
   Fedora Embedded SIG  Special Interest Group
                             Some background
            A basic hands-on with QEMU/ARM
                     Fedora ARM Infrastructure
                                     Questions?


About QEMU
        iw… is —n emul—tor for popul—r g€…
               x86, ARM, PowerPC, Sparc32/64, MIPS and ColdFire
               AVR32 support is in progress at
               http://repo.or.cz/w/qemu/avr32.git
               It also simulates peripheral devices, basically a complete
               System on Chip.
        ‡h—t m—kes iw… spe™i—l for doing em˜edded systems
        developmentc
               No need of actual hardware for prototyping.
               Its greener- no need of any power source.
               Many projects already use QEMU
                     Android, MeeGo, etc.


                                 Saleem Ansari    foss.in/2010 - Fedora Embedded and QEMU/ARM hands o
Agenda
    Fedora Embedded SIG  Special Interest Group
                              Some background
             A basic hands-on with QEMU/ARM
                      Fedora ARM Infrastructure
                                      Questions?


Hands-on. We will discuss the following:


         hevelopment setup up
                ARM toolchain, QEMU etc.
         ‡h—t h—ppens —t system resetc
                Initialization.
                Bootloader.
                Kernel.
                Initial root lesystem.




                                  Saleem Ansari    foss.in/2010 - Fedora Embedded and QEMU/ARM hands o
Agenda
    Fedora Embedded SIG  Special Interest Group
                              Some background
             A basic hands-on with QEMU/ARM
                      Fedora ARM Infrastructure
                                      Questions?


System setup


         pedor— e‚w „ool™h—in
                ARMv5 only -
                http://fedoraproject.org/wiki/Architectures/ARM/CrossToolchain
         iw…Ge‚w
         mkim—ge E tool to ™re—te ˜oot im—ges
         other tools
                bridge-utils ( optional )
                koji



                                  Saleem Ansari    foss.in/2010 - Fedora Embedded and QEMU/ARM hands o
Agenda
   Fedora Embedded SIG  Special Interest Group
                             Some background
            A basic hands-on with QEMU/ARM
                     Fedora ARM Infrastructure
                                     Questions?


What happens when an ARM based board is powered ON?


        …nderst—nd the memory m—p for ‚ew —nd ‚yw
        ƒt—rtup ™ode
               First instruction
               Vector table
               Stack initialization
               Relocating the RAM to a dierent address
               Running from RAM




                                 Saleem Ansari    foss.in/2010 - Fedora Embedded and QEMU/ARM hands o
Agenda
   Fedora Embedded SIG  Special Interest Group
                             Some background
            A basic hands-on with QEMU/ARM
                     Fedora ARM Infrastructure
                                     Questions?


Hands on:

        „—rget h—rdw—re E †ers—tile€f E emul—ted iw…
        vets m—ke — minim—listi™ linux ˜—sed system on e‚w
        pollowing steps —re involvedX
               Compile and congure U-Boot boot-loader
               Compile and congure Linux Kernel
               Create a root le-system
                     We will use Busybox for shell command interface


               Shove all of them into a one big chunk to be ashed onto
               memory


                                 Saleem Ansari    foss.in/2010 - Fedora Embedded and QEMU/ARM hands o
Agenda
    Fedora Embedded SIG  Special Interest Group
                              Some background
             A basic hands-on with QEMU/ARM
                      Fedora ARM Infrastructure
                                      Questions?


What we learn from this excercise?


         sts — gre—t le—rning experien™e
         rowever its not produ™tive in the long termF
         st doesn9t s™—le to thous—nds of softw—re p—™k—gesF
         pedor— e‚w port solves this pro˜elmX
                Proven packaging technology already in use in many of the
                most popular distros
                Reduce development time and time to market for your next
                device



                                  Saleem Ansari    foss.in/2010 - Fedora Embedded and QEMU/ARM hands o
Agenda
    Fedora Embedded SIG  Special Interest Group
                              Some background
             A basic hands-on with QEMU/ARM
                      Fedora ARM Infrastructure
                                      Questions?


Fedora ARM Infrastructure
         ƒene™— gentre for hevelopment of ypen „e™hnology @ghy„A
         —t the ƒ™hool of gomputer ƒtudies —t ƒene™— gollegeD „orontoF

         httpXGGzenitFsene™—™FonF™—GwikiGindexFphpGpedor—•e‚w•ƒe™ond—ry•

         httpXGGzenitFsene™—™FonF™—GwikiGindexFphpGpedor—•e‚w•uoji•fuild
         v—test newsX
                http://fedora-arm.blogspot.com/
                http://paulfedora.wordpress.com/
         gurrent st—tus p—ge
                http://arm.koji.fedoraproject.org/status/
         ‚e™ent video ˜y €—ul ‡h—len
                http://fsoss.senecac.on.ca/2010/node/24 Embedded and QEMU/ARM hands o
                               Saleem Ansari foss.in/2010 - Fedora
Agenda
    Fedora Embedded SIG  Special Interest Group
                              Some background
             A basic hands-on with QEMU/ARM
                      Fedora ARM Infrastructure
                                      Questions?


Bulding packages for Fedora ARM


         gre—te or (x —n existing ƒ‚€w p—™k—ge
         ƒ™hedule — ˜uild on e‚w uoji to ™re—te ‚€w
         ghe™k —nd (x if ne™ess—ry
         e‚w uoji we˜ interf—™e
         wore on rowto use koji
                http://fedoraproject.org/wiki/Koji




                                  Saleem Ansari    foss.in/2010 - Fedora Embedded and QEMU/ARM hands o
Agenda
   Fedora Embedded SIG  Special Interest Group
                             Some background
            A basic hands-on with QEMU/ARM
                     Fedora ARM Infrastructure
                                     Questions?


Contributing to Fedora/ARM

        fedor—proje™tForgGwikiGer™hite™turesGe‚wGrow„oemu
        w—iling list
               https://admin.fedoraproject.org/mailman/listinfo/arm
        s‚g E 5fedor—E—rm on ir™FfreenodeFnet
        sssues not yet resolvedX
               https://bugzilla.redhat.com/show_bug.cgi?id=ARMTracker
        wore info —tX

               http://fedoraproject.org/wiki/Architectures/ARM/Team_and_Develo

                                 Saleem Ansari    foss.in/2010 - Fedora Embedded and QEMU/ARM hands o
Agenda
    Fedora Embedded SIG  Special Interest Group
                              Some background
             A basic hands-on with QEMU/ARM
                      Fedora ARM Infrastructure
                                      Questions?


Current state of aairs in Fedora/ARM
         pedor— IQ rele—se for e‚w will hopefully ˜e ne—r ˆm—sF
         „he def—ult tool™h—in is still for e‚wvS —nd doesn9t support
         h—rdfp so m—y of the modern e‚w g€…s —ren9t optim—lly used
         plo—ting point support in the pedor—Ge‚w ™ross tool™h—inX
                Discussion is on for which of soft/softfp or hardfp to select for
                upcoming ARMv7 toolchain
         yv€g @™urrently the only one e—ger to use pedor— e‚w for —
         l—rge s™—le proje™tA
                they seem to be aiming to jump from F-11 to F-14, for their
                next release
                its not clear if that includes XO-1.75 ( the OLPC's ARM
                target ).
                                  Saleem Ansari    foss.in/2010 - Fedora Embedded and QEMU/ARM hands o
Agenda
    Fedora Embedded SIG  Special Interest Group
                              Some background
             A basic hands-on with QEMU/ARM
                      Fedora ARM Infrastructure
                                      Questions?


Questions?




                                  Saleem Ansari    foss.in/2010 - Fedora Embedded and QEMU/ARM hands o
Agenda
   Fedora Embedded SIG  Special Interest Group
                             Some background
            A basic hands-on with QEMU/ARM
                     Fedora ARM Infrastructure
                                     Questions?


Thank you!




        tuxdn— —t 5fedor—E—rm on ir™FfreenodeFnet




                                 Saleem Ansari    foss.in/2010 - Fedora Embedded and QEMU/ARM hands o

Mais conteúdo relacionado

Destaque (6)

Linux
LinuxLinux
Linux
 
Usability testing for mobile apps - Touch Tour Chennai
Usability testing for mobile apps - Touch Tour ChennaiUsability testing for mobile apps - Touch Tour Chennai
Usability testing for mobile apps - Touch Tour Chennai
 
Linux Memory Management
Linux Memory ManagementLinux Memory Management
Linux Memory Management
 
windows vs Linux
windows vs Linuxwindows vs Linux
windows vs Linux
 
Linux Memory Management
Linux Memory ManagementLinux Memory Management
Linux Memory Management
 
Body defense mechanism and immunity
Body defense mechanism and immunityBody defense mechanism and immunity
Body defense mechanism and immunity
 

Semelhante a Fedora Embedded at foss.in 2010

BKK16-309A Open Platform support in UEFI
BKK16-309A Open Platform support in UEFIBKK16-309A Open Platform support in UEFI
BKK16-309A Open Platform support in UEFILinaro
 
Bkk16 309B Enterprise Firmware - The gold standard and how to get there
Bkk16 309B Enterprise Firmware - The gold standard and how to get thereBkk16 309B Enterprise Firmware - The gold standard and how to get there
Bkk16 309B Enterprise Firmware - The gold standard and how to get thereLinaro
 
Do You Like Coffee with Your dessert? Java and the Raspberry Pi - Simon Ritte...
Do You Like Coffee with Your dessert? Java and the Raspberry Pi - Simon Ritte...Do You Like Coffee with Your dessert? Java and the Raspberry Pi - Simon Ritte...
Do You Like Coffee with Your dessert? Java and the Raspberry Pi - Simon Ritte...jaxLondonConference
 
Руслан Букин: FreeBSD и встраиваемые системы
Руслан Букин: FreeBSD и встраиваемые системыРуслан Букин: FreeBSD и встраиваемые системы
Руслан Букин: FreeBSD и встраиваемые системыYandex
 
Introduction to OpenBricks: an Embedded Linux Framework
Introduction to OpenBricks: an Embedded Linux FrameworkIntroduction to OpenBricks: an Embedded Linux Framework
Introduction to OpenBricks: an Embedded Linux FrameworkBenjamin Zores
 
BoxGrinder – FOSDEM 2012
BoxGrinder – FOSDEM 2012BoxGrinder – FOSDEM 2012
BoxGrinder – FOSDEM 2012marekgoldmann
 
Dec.20.2019, Arduino based on Mbed os
Dec.20.2019, Arduino based on Mbed osDec.20.2019, Arduino based on Mbed os
Dec.20.2019, Arduino based on Mbed osDaniel Lee
 
Visão geral do hardware do servidor System z e Linux on z - Concurso Mainframe
Visão geral do hardware do servidor System z e Linux on z - Concurso MainframeVisão geral do hardware do servidor System z e Linux on z - Concurso Mainframe
Visão geral do hardware do servidor System z e Linux on z - Concurso MainframeAnderson Bassani
 
Morello Software and Toolchain Work in Arm - Mark Nicholson, Arm
Morello Software and Toolchain Work in Arm - Mark Nicholson, ArmMorello Software and Toolchain Work in Arm - Mark Nicholson, Arm
Morello Software and Toolchain Work in Arm - Mark Nicholson, ArmKTN
 
OpenSource Hardware -Debian Way
OpenSource Hardware -Debian WayOpenSource Hardware -Debian Way
OpenSource Hardware -Debian WaySiji Sunny
 
It's Assembler, Jim, but not as we know it: (ab)using binaries from embedded ...
It's Assembler, Jim, but not as we know it: (ab)using binaries from embedded ...It's Assembler, Jim, but not as we know it: (ab)using binaries from embedded ...
It's Assembler, Jim, but not as we know it: (ab)using binaries from embedded ...Priyanka Aash
 
Lemay jin-reddy-schoudel
Lemay jin-reddy-schoudelLemay jin-reddy-schoudel
Lemay jin-reddy-schoudelxu3stones
 
Embedded Linux BSP Training (Intro)
Embedded Linux BSP Training (Intro)Embedded Linux BSP Training (Intro)
Embedded Linux BSP Training (Intro)RuggedBoardGroup
 
Fedora on risc-v_tokyo_30_sep_2019_v4
Fedora on risc-v_tokyo_30_sep_2019_v4Fedora on risc-v_tokyo_30_sep_2019_v4
Fedora on risc-v_tokyo_30_sep_2019_v4Wei Fu
 
Kernel Recipes 2013 - Easy rootfs using Buildroot
Kernel Recipes 2013 - Easy rootfs using BuildrootKernel Recipes 2013 - Easy rootfs using Buildroot
Kernel Recipes 2013 - Easy rootfs using BuildrootAnne Nicolas
 
Programming The Arm Microprocessor For Embedded Systems
Programming The Arm Microprocessor For Embedded SystemsProgramming The Arm Microprocessor For Embedded Systems
Programming The Arm Microprocessor For Embedded Systemsjoshparrish13
 

Semelhante a Fedora Embedded at foss.in 2010 (20)

BKK16-309A Open Platform support in UEFI
BKK16-309A Open Platform support in UEFIBKK16-309A Open Platform support in UEFI
BKK16-309A Open Platform support in UEFI
 
Bkk16 309B Enterprise Firmware - The gold standard and how to get there
Bkk16 309B Enterprise Firmware - The gold standard and how to get thereBkk16 309B Enterprise Firmware - The gold standard and how to get there
Bkk16 309B Enterprise Firmware - The gold standard and how to get there
 
ARM Processor Tutorial
ARM Processor Tutorial ARM Processor Tutorial
ARM Processor Tutorial
 
Do You Like Coffee with Your dessert? Java and the Raspberry Pi - Simon Ritte...
Do You Like Coffee with Your dessert? Java and the Raspberry Pi - Simon Ritte...Do You Like Coffee with Your dessert? Java and the Raspberry Pi - Simon Ritte...
Do You Like Coffee with Your dessert? Java and the Raspberry Pi - Simon Ritte...
 
Slimline Open Firmware
Slimline Open FirmwareSlimline Open Firmware
Slimline Open Firmware
 
Руслан Букин: FreeBSD и встраиваемые системы
Руслан Букин: FreeBSD и встраиваемые системыРуслан Букин: FreeBSD и встраиваемые системы
Руслан Букин: FreeBSD и встраиваемые системы
 
Introduction to OpenBricks: an Embedded Linux Framework
Introduction to OpenBricks: an Embedded Linux FrameworkIntroduction to OpenBricks: an Embedded Linux Framework
Introduction to OpenBricks: an Embedded Linux Framework
 
BoxGrinder – FOSDEM 2012
BoxGrinder – FOSDEM 2012BoxGrinder – FOSDEM 2012
BoxGrinder – FOSDEM 2012
 
Dec.20.2019, Arduino based on Mbed os
Dec.20.2019, Arduino based on Mbed osDec.20.2019, Arduino based on Mbed os
Dec.20.2019, Arduino based on Mbed os
 
Visão geral do hardware do servidor System z e Linux on z - Concurso Mainframe
Visão geral do hardware do servidor System z e Linux on z - Concurso MainframeVisão geral do hardware do servidor System z e Linux on z - Concurso Mainframe
Visão geral do hardware do servidor System z e Linux on z - Concurso Mainframe
 
Morello Software and Toolchain Work in Arm - Mark Nicholson, Arm
Morello Software and Toolchain Work in Arm - Mark Nicholson, ArmMorello Software and Toolchain Work in Arm - Mark Nicholson, Arm
Morello Software and Toolchain Work in Arm - Mark Nicholson, Arm
 
OpenSource Hardware -Debian Way
OpenSource Hardware -Debian WayOpenSource Hardware -Debian Way
OpenSource Hardware -Debian Way
 
It's Assembler, Jim, but not as we know it: (ab)using binaries from embedded ...
It's Assembler, Jim, but not as we know it: (ab)using binaries from embedded ...It's Assembler, Jim, but not as we know it: (ab)using binaries from embedded ...
It's Assembler, Jim, but not as we know it: (ab)using binaries from embedded ...
 
Lemay jin-reddy-schoudel
Lemay jin-reddy-schoudelLemay jin-reddy-schoudel
Lemay jin-reddy-schoudel
 
Embedded Linux BSP Training (Intro)
Embedded Linux BSP Training (Intro)Embedded Linux BSP Training (Intro)
Embedded Linux BSP Training (Intro)
 
Fedora on risc-v_tokyo_30_sep_2019_v4
Fedora on risc-v_tokyo_30_sep_2019_v4Fedora on risc-v_tokyo_30_sep_2019_v4
Fedora on risc-v_tokyo_30_sep_2019_v4
 
Kernel Recipes 2013 - Easy rootfs using Buildroot
Kernel Recipes 2013 - Easy rootfs using BuildrootKernel Recipes 2013 - Easy rootfs using Buildroot
Kernel Recipes 2013 - Easy rootfs using Buildroot
 
Linux Porting
Linux PortingLinux Porting
Linux Porting
 
Sweden11
Sweden11Sweden11
Sweden11
 
Programming The Arm Microprocessor For Embedded Systems
Programming The Arm Microprocessor For Embedded SystemsProgramming The Arm Microprocessor For Embedded Systems
Programming The Arm Microprocessor For Embedded Systems
 

Mais de Saleem Ansari

Web Application Development
Web Application DevelopmentWeb Application Development
Web Application DevelopmentSaleem Ansari
 
Introduction to Scala
Introduction to ScalaIntroduction to Scala
Introduction to ScalaSaleem Ansari
 
Lessons I learnt from Linux Asia 2006
Lessons I learnt from Linux Asia 2006Lessons I learnt from Linux Asia 2006
Lessons I learnt from Linux Asia 2006Saleem Ansari
 
Linx Asia 2006 Experience
Linx Asia 2006 ExperienceLinx Asia 2006 Experience
Linx Asia 2006 ExperienceSaleem Ansari
 
Introduction to Qt Designer
Introduction to Qt DesignerIntroduction to Qt Designer
Introduction to Qt DesignerSaleem Ansari
 
GNU Compiler Collection - August 2005
GNU Compiler Collection - August 2005GNU Compiler Collection - August 2005
GNU Compiler Collection - August 2005Saleem Ansari
 
Introduction to Free and Open Source Software - August 2005
Introduction to Free and Open Source Software - August 2005Introduction to Free and Open Source Software - August 2005
Introduction to Free and Open Source Software - August 2005Saleem Ansari
 
JMILUG Introduction - 2007
JMILUG Introduction - 2007JMILUG Introduction - 2007
JMILUG Introduction - 2007Saleem Ansari
 
TorqueBox at GNUnify 2012
TorqueBox at GNUnify 2012TorqueBox at GNUnify 2012
TorqueBox at GNUnify 2012Saleem Ansari
 

Mais de Saleem Ansari (10)

Web Application Development
Web Application DevelopmentWeb Application Development
Web Application Development
 
Introduction to Scala
Introduction to ScalaIntroduction to Scala
Introduction to Scala
 
Lessons I learnt from Linux Asia 2006
Lessons I learnt from Linux Asia 2006Lessons I learnt from Linux Asia 2006
Lessons I learnt from Linux Asia 2006
 
Linx Asia 2006 Experience
Linx Asia 2006 ExperienceLinx Asia 2006 Experience
Linx Asia 2006 Experience
 
Introduction to Qt Designer
Introduction to Qt DesignerIntroduction to Qt Designer
Introduction to Qt Designer
 
Linux Asia 2006
Linux Asia 2006Linux Asia 2006
Linux Asia 2006
 
GNU Compiler Collection - August 2005
GNU Compiler Collection - August 2005GNU Compiler Collection - August 2005
GNU Compiler Collection - August 2005
 
Introduction to Free and Open Source Software - August 2005
Introduction to Free and Open Source Software - August 2005Introduction to Free and Open Source Software - August 2005
Introduction to Free and Open Source Software - August 2005
 
JMILUG Introduction - 2007
JMILUG Introduction - 2007JMILUG Introduction - 2007
JMILUG Introduction - 2007
 
TorqueBox at GNUnify 2012
TorqueBox at GNUnify 2012TorqueBox at GNUnify 2012
TorqueBox at GNUnify 2012
 

Último

Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 

Último (20)

Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 

Fedora Embedded at foss.in 2010

  • 1. Agenda Fedora Embedded SIG Special Interest Group Some background A basic hands-on with QEMU/ARM Fedora ARM Infrastructure Questions? foss.in/2010 - Fedora Embedded and QEMU/ARM hands on ƒ—leem ens—ri Fedora IUth he™em˜er PHIH Saleem Ansari foss.in/2010 - Fedora Embedded and QEMU/ARM hands o
  • 2. Agenda Fedora Embedded SIG Special Interest Group Some background A basic hands-on with QEMU/ARM Fedora ARM Infrastructure Questions? 1 egend— 2 pedor— im˜edded ƒsq ! ƒpe™i—l snterest qroup 3 ƒome ˜—™kground 4 e ˜—si™ h—ndsEon with iw…Ge‚w 5 pedor— e‚w snfr—stru™ture 6 uestionsc Saleem Ansari foss.in/2010 - Fedora Embedded and QEMU/ARM hands o
  • 3. Agenda Fedora Embedded SIG Special Interest Group Some background A basic hands-on with QEMU/ARM Fedora ARM Infrastructure Questions? Agenda pedor— im˜edded ƒsq ! ƒpe™i—l snterest qroup ƒome ˜—™kground knowlege e ˜—si™ h—ndsEon with iw…Ge‚w pedor— e‚w snfr—stru™ture Saleem Ansari foss.in/2010 - Fedora Embedded and QEMU/ARM hands o
  • 4. Agenda Fedora Embedded SIG Special Interest Group Some background A basic hands-on with QEMU/ARM Fedora ARM Infrastructure Questions? Fedora Embedded SIG Special Interest Group qo—ls E httpXGGfedor—proje™tForgGwikiGƒsqsGim˜edded Create high quality packages of cross-compilers and related tools Provide packaging guidelines Make distribution releases on sub architectures „—rgeted pl—tformsG—r™hesX e‚wD e†‚QPD e†‚D fl—™k(nD „sqggD ‚„iwƒD others por this t—lk we will fo™us on e‚w —r™hite™ture Saleem Ansari foss.in/2010 - Fedora Embedded and QEMU/ARM hands o
  • 5. Agenda Fedora Embedded SIG Special Interest Group Some background A basic hands-on with QEMU/ARM Fedora ARM Infrastructure Questions? Why Fedora on ARM architecture? Multiple reasons! PHHUX £ WV7 of one ˜illion mo˜ile phones sold e—™h ye—r use —t le—st one e‚w pro™essorF PHHWX £ WH7 of —ll em˜edded QPE˜it ‚sƒg pro™essors —re e‚w pro™essorsF PHIHX £ S fillion e‚wW pro™essors h—ve ˜een shipped so f—r e‚w pro™essors to enter server m—rkets E w—rvell9s —nnoun™ement e‚w pro™essorE i—gle based on Cortex A15 architecture, it has hardware virtualization support! yv€g is — one ˜ig proje™t whi™h interested to use pedor— e‚w port Saleem Ansari foss.in/2010 - Fedora Embedded and QEMU/ARM hands o
  • 6. Agenda Fedora Embedded SIG Special Interest Group Some background A basic hands-on with QEMU/ARM Fedora ARM Infrastructure Questions? Some background €l—tform G pro™essor sele™tion for — vinuxGem˜edded proje™t at-least 32bit processor processor should have a MMU non-MMU based processors can use ucLinux however you have to modify applications too oating point unit which optional and can be emulated by libraries Saleem Ansari foss.in/2010 - Fedora Embedded and QEMU/ARM hands o
  • 7. Agenda Fedora Embedded SIG Special Interest Group Some background A basic hands-on with QEMU/ARM Fedora ARM Infrastructure Questions? Why do we need a boot loader? „here is — lot of work done ˜y ˜oot lo—derF uernel —ssumes th—t — lot of system initi—liz—tion is —lre—dy doneX conguring memory sub-system. loading kernel image at the correct memory address loading initial RAM disk ( optional ) initializing boot parameters obtaining the ARM Linux machine type initializing register variables for entry into kernel ‡riting ™ode for —ll this isX highly error prone, repetitive, cumbersome and boring a readymade bootloader generally just ts in Saleem Ansari foss.in/2010 - Fedora Embedded and QEMU/ARM hands o
  • 8. Agenda Fedora Embedded SIG Special Interest Group Some background A basic hands-on with QEMU/ARM Fedora ARM Infrastructure Questions? Why do we need Linux Kernel? vinuxD ofE™ourseD is ypen ƒour™e †endor sndependen™e €yƒsˆ ™ompli—n™e †—ried r—rdw—re ƒupport linux kernel h—s m—ny devi™e drivers —lre—dy ˜uilt ˜y someone provide us with well dened device interfaces does the grunt work of hardware level interfacing with the devices driver works on another hardware with usually very few changes Saleem Ansari foss.in/2010 - Fedora Embedded and QEMU/ARM hands o
  • 9. Agenda Fedora Embedded SIG Special Interest Group Some background A basic hands-on with QEMU/ARM Fedora ARM Infrastructure Questions? About QEMU iw… is —n emul—tor for popul—r g€… x86, ARM, PowerPC, Sparc32/64, MIPS and ColdFire AVR32 support is in progress at http://repo.or.cz/w/qemu/avr32.git It also simulates peripheral devices, basically a complete System on Chip. ‡h—t m—kes iw… spe™i—l for doing em˜edded systems developmentc No need of actual hardware for prototyping. Its greener- no need of any power source. Many projects already use QEMU Android, MeeGo, etc. Saleem Ansari foss.in/2010 - Fedora Embedded and QEMU/ARM hands o
  • 10. Agenda Fedora Embedded SIG Special Interest Group Some background A basic hands-on with QEMU/ARM Fedora ARM Infrastructure Questions? Hands-on. We will discuss the following: hevelopment setup up ARM toolchain, QEMU etc. ‡h—t h—ppens —t system resetc Initialization. Bootloader. Kernel. Initial root lesystem. Saleem Ansari foss.in/2010 - Fedora Embedded and QEMU/ARM hands o
  • 11. Agenda Fedora Embedded SIG Special Interest Group Some background A basic hands-on with QEMU/ARM Fedora ARM Infrastructure Questions? System setup pedor— e‚w „ool™h—in ARMv5 only - http://fedoraproject.org/wiki/Architectures/ARM/CrossToolchain iw…Ge‚w mkim—ge E tool to ™re—te ˜oot im—ges other tools bridge-utils ( optional ) koji Saleem Ansari foss.in/2010 - Fedora Embedded and QEMU/ARM hands o
  • 12. Agenda Fedora Embedded SIG Special Interest Group Some background A basic hands-on with QEMU/ARM Fedora ARM Infrastructure Questions? What happens when an ARM based board is powered ON? …nderst—nd the memory m—p for ‚ew —nd ‚yw ƒt—rtup ™ode First instruction Vector table Stack initialization Relocating the RAM to a dierent address Running from RAM Saleem Ansari foss.in/2010 - Fedora Embedded and QEMU/ARM hands o
  • 13. Agenda Fedora Embedded SIG Special Interest Group Some background A basic hands-on with QEMU/ARM Fedora ARM Infrastructure Questions? Hands on: „—rget h—rdw—re E †ers—tile€f E emul—ted iw… vets m—ke — minim—listi™ linux ˜—sed system on e‚w pollowing steps —re involvedX Compile and congure U-Boot boot-loader Compile and congure Linux Kernel Create a root le-system We will use Busybox for shell command interface Shove all of them into a one big chunk to be ashed onto memory Saleem Ansari foss.in/2010 - Fedora Embedded and QEMU/ARM hands o
  • 14. Agenda Fedora Embedded SIG Special Interest Group Some background A basic hands-on with QEMU/ARM Fedora ARM Infrastructure Questions? What we learn from this excercise? sts — gre—t le—rning experien™e rowever its not produ™tive in the long termF st doesn9t s™—le to thous—nds of softw—re p—™k—gesF pedor— e‚w port solves this pro˜elmX Proven packaging technology already in use in many of the most popular distros Reduce development time and time to market for your next device Saleem Ansari foss.in/2010 - Fedora Embedded and QEMU/ARM hands o
  • 15. Agenda Fedora Embedded SIG Special Interest Group Some background A basic hands-on with QEMU/ARM Fedora ARM Infrastructure Questions? Fedora ARM Infrastructure ƒene™— gentre for hevelopment of ypen „e™hnology @ghy„A —t the ƒ™hool of gomputer ƒtudies —t ƒene™— gollegeD „orontoF httpXGGzenitFsene™—™FonF™—GwikiGindexFphpGpedor—•e‚w•ƒe™ond—ry• httpXGGzenitFsene™—™FonF™—GwikiGindexFphpGpedor—•e‚w•uoji•fuild v—test newsX http://fedora-arm.blogspot.com/ http://paulfedora.wordpress.com/ gurrent st—tus p—ge http://arm.koji.fedoraproject.org/status/ ‚e™ent video ˜y €—ul ‡h—len http://fsoss.senecac.on.ca/2010/node/24 Embedded and QEMU/ARM hands o Saleem Ansari foss.in/2010 - Fedora
  • 16. Agenda Fedora Embedded SIG Special Interest Group Some background A basic hands-on with QEMU/ARM Fedora ARM Infrastructure Questions? Bulding packages for Fedora ARM gre—te or (x —n existing ƒ‚€w p—™k—ge ƒ™hedule — ˜uild on e‚w uoji to ™re—te ‚€w ghe™k —nd (x if ne™ess—ry e‚w uoji we˜ interf—™e wore on rowto use koji http://fedoraproject.org/wiki/Koji Saleem Ansari foss.in/2010 - Fedora Embedded and QEMU/ARM hands o
  • 17. Agenda Fedora Embedded SIG Special Interest Group Some background A basic hands-on with QEMU/ARM Fedora ARM Infrastructure Questions? Contributing to Fedora/ARM fedor—proje™tForgGwikiGer™hite™turesGe‚wGrow„oemu w—iling list https://admin.fedoraproject.org/mailman/listinfo/arm s‚g E 5fedor—E—rm on ir™FfreenodeFnet sssues not yet resolvedX https://bugzilla.redhat.com/show_bug.cgi?id=ARMTracker wore info —tX http://fedoraproject.org/wiki/Architectures/ARM/Team_and_Develo Saleem Ansari foss.in/2010 - Fedora Embedded and QEMU/ARM hands o
  • 18. Agenda Fedora Embedded SIG Special Interest Group Some background A basic hands-on with QEMU/ARM Fedora ARM Infrastructure Questions? Current state of aairs in Fedora/ARM pedor— IQ rele—se for e‚w will hopefully ˜e ne—r ˆm—sF „he def—ult tool™h—in is still for e‚wvS —nd doesn9t support h—rdfp so m—y of the modern e‚w g€…s —ren9t optim—lly used plo—ting point support in the pedor—Ge‚w ™ross tool™h—inX Discussion is on for which of soft/softfp or hardfp to select for upcoming ARMv7 toolchain yv€g @™urrently the only one e—ger to use pedor— e‚w for — l—rge s™—le proje™tA they seem to be aiming to jump from F-11 to F-14, for their next release its not clear if that includes XO-1.75 ( the OLPC's ARM target ). Saleem Ansari foss.in/2010 - Fedora Embedded and QEMU/ARM hands o
  • 19. Agenda Fedora Embedded SIG Special Interest Group Some background A basic hands-on with QEMU/ARM Fedora ARM Infrastructure Questions? Questions? Saleem Ansari foss.in/2010 - Fedora Embedded and QEMU/ARM hands o
  • 20. Agenda Fedora Embedded SIG Special Interest Group Some background A basic hands-on with QEMU/ARM Fedora ARM Infrastructure Questions? Thank you! tuxdn— —t 5fedor—E—rm on ir™FfreenodeFnet Saleem Ansari foss.in/2010 - Fedora Embedded and QEMU/ARM hands o