278 Embedded Linux System Design and Development
where <rfs-folder> is the absolute path of the parent directory containing
the root file system. To create an initramfs image you need to create a
cpio
archive of the <rfs-folder> followed by gziping the archive.
#!/bin/sh
#mkinitramfs
(cd $1 ; find . | cpio --quiet -o -H newc | gzip -9
>/tmp/img.cpio.gz)
8.4 Integrated Development Environment
As a programming project grows in size so do its building and management
needs. The components that are involved during program development are:
Text editor: It is needed to write the source code files. It’s an advantage
having text editors that understand your programming language. Syntax
highlighting, symbol completion, and code navigation are some of the
other ...