ARM 64-Bit Bootstrapping with OpenEmbedded – ELCE 2012
Marcin Juszkiewicz, software engineer at Canonical, explains how ARMv8 was bootstrapped with OpenEmbedded with fast model simulation at the Embedded Linux Conference in Barcelona on November 7, 2012.
The time has come – there is ARM 64-bit architecture right behind a corner. In this talk I will present how OpenEmbedded was used to build root filesystem for fast models simmulating not-yet-existing hardware. Presentation is targeted at developers interested in cross compilation, handling new architectures in existing projects.
- Introduction to Aarch64 – aka arm64 or ARMv8, the new 64-bit version of the ARM architecture
- Introduction to OpenEmbedded – Build system capable to build everything from package to
whole distribution with repositories
- First steps:
- Create own layer for AArch64 stuff
- Adding basic support into OE classes
- Machine definition
- Toolchain – Based on gcc 4.7 + ARM patches
- Build results – As of October 2012, 800 packages have been built, and LAMP and SDK images are available
- Typical problems – configure scripts, old config files, and CPU/Architecture definitions
- Current status – Merged into OpenEmbedded, Available in meta-linaro layer and meta-aarch64 layer
- Build Instructions:
123git clone git://git.linaro.org/openembedded/meta-aarch64.gitbash meta-aarch64/scripts/init.shbitbake nano
- Lessons learnt
You can download the slides for the presentation. You can also read one of my previous post entitled “Getting Started with 64-bit ARM Development: Hello World and Linux on ARMv8 Fast Models” to have a go.