Captronic Porting Linux on an ARM board Bootlin [email protected] ©Copyright2004-2018,Bootlin. embedded Linux and kernel engineering CreativeCommonsBY-SA3.0license. Corrections,suggestions,contributionsandtranslationsarewelcome! -Kernel,driversandembeddedLinux-Development,consulting,trainingandsupport-https://bootlin.com 1/220 Alexandre Belloni ▶ Embedded Linux engineer at Bootlin ▶ Embedded Linux expertise ▶ Development, consulting and training ▶ Strong open-source focus ▶ Open-source contributor ▶ Maintainer for the Linux kernel RTC subsystem ▶ Co-Maintainer of kernel support for Atmel ARM processors ▶ Contributing to kernel support for Marvell ARM (Berlin) processors embedded Linux and kernel engineering -Kernel,driversandembeddedLinux-Development,consulting,trainingandsupport-https://bootlin.com 2/220 Bootlin Mission -Kernel,driversandembeddedLinux-Development,consulting,trainingandsupport-https://bootlin.com 3/220 Bootlin at a glance ▶ Engineering company created in 2004 (not a training company!) ▶ Locations: Orange, Toulouse, Lyon (France) ▶ Serving customers all around the world See http://bootlin.com/company/customers/ ▶ Head count: 9 Only Free Software enthusiasts! ▶ Focus: Embedded Linux, Linux kernel, Android Free Software / Open Source for embedded and real-time systems. ▶ Activities: development, training, consulting, technical support. ▶ Added value: get the best of the user and development community and the resources it offers. -Kernel,driversandembeddedLinux-Development,consulting,trainingandsupport-https://bootlin.com 4/220 Bootlin on-line resources ▶ All our training materials: http://bootlin.com/docs/ ▶ Technical blog: http://bootlin.com/blog/ ▶ News and discussions (Google +): https://plus.google.com/+Bootlin ▶ News and discussions (LinkedIn): https://www.linkedin.com/groups/4501089 ▶ Quick news (Twitter): http://twitter.com/bootlincom ▶ Linux Cross Reference - browse Linux kernel sources on-line: http://lxr.bootlin.com -Kernel,driversandembeddedLinux-Development,consulting,trainingandsupport-https://bootlin.com 5/220 Captronic Course content Bootlin [email protected] ©Copyright2004-2018,Bootlin. embedded Linux and kernel engineering CreativeCommonsBY-SA3.0license. Corrections,suggestions,contributionsandtranslationsarewelcome! -Kernel,driversandembeddedLinux-Development,consulting,trainingandsupport-https://bootlin.com 6/220 Porting linux Porting Linux includes a number of steps, starting even before software is involved: ▶ SoC selection ▶ SoM, SBC selection or board conception ▶ Bootloader selection ▶ Bootloader port ▶ Linux kernel version selection ▶ Linux port ▶ Root filesystem integration -Kernel,driversandembeddedLinux-Development,consulting,trainingandsupport-https://bootlin.com 7/220 Captronic ARM Ecosystem Bootlin [email protected] ©Copyright2004-2018,Bootlin. embedded Linux and kernel engineering CreativeCommonsBY-SA3.0license. Corrections,suggestions,contributionsandtranslationsarewelcome! -Kernel,driversandembeddedLinux-Development,consulting,trainingandsupport-https://bootlin.com 8/220 ARM Ecosystem ARM SoCs -Kernel,driversandembeddedLinux-Development,consulting,trainingandsupport-https://bootlin.com 9/220 ARM platforms ▶ ARM (the company) designs CPU cores: instruction set, MMU, caches, etc. ▶ They don’t sell any hardware ▶ Silicon vendors buy the CPU core design from ARM, and around it add a number of peripherals, either designed internally or bought from third parties ▶ Texas Instruments, Atmel, Marvell, Freescale, Qualcomm, Nvidia, etc. ▶ They sell System-on-chip or SoCs ▶ System makers design an actual board, with one or several processors, and a number of on-board peripherals -Kernel,driversandembeddedLinux-Development,consulting,trainingandsupport-https://bootlin.com 10/220
Description: