![]()
Everything is compiled from scratch using cross compilation. These build systems provide the rootfs, toolchains, kernel, bootloader and a great number of installable packages. With these solutions one can build a completely customizable embedded Linux system. This is when Buildroot and Yocto Project comes in the picture. One might prefer to use a traditional Linux distribution like Raspbian, but in those mainline distributions OP-TEE support is missing or incomplete unfortunately. Adding Linux packages this way is not practical, as updating the packages and OP-TEE trusted applications and delivering those updates becomes cumbersome after some time. This is usable for testing OP-TEE and its functionalities, but for more complex applications, greater customizability is needed. When using OP-TEE on the Raspberry Pi 3 the default root file system (rootfs) is generated with a simple initramfs build script: gen-rootfs. This one describes how you can build your own custom Linux system (with OP-TEE) using the Buildroot environment. #BUILDROOT IRAMDISK HOW TO#The first post explained how to build and install the default OP-TEE implementation for the Raspberry Pi 3. #BUILDROOT IRAMDISK SERIES#The script uses utilities built by buildroot, so it probably won't work if you don't have a development environment set up.This blog post, written by Szilárd Dömötör, is the second post in a series of blog posts on transforming the Raspberry Pi into a security enhanced IoT platform. Reading its source can be helpful in understanding what is going on when building a ramdisk.gz image from a set of files. It is derived from the genext2fs.sh from buildroot, and starts with the root dir generated by buildroot.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |