2011-08-20-EmbeddedLinuxSessions
Embedded Linux Session 5
Points covered:
- Linux root filesystem: Principles and solutions:
- Filesystems.
- mount/umount.
- Root filesystem.
- Location of the root filesystem.
- Mounting rootfs from storage devices.
- rootfs in memory: initramfs.
- Linux root filesystem contents:
- Root filesystem organization.
- Important directories.
- Separation of programs and libraries.
- Devices:
- Types of devices.
- Devices: every thing is a file.
- Device file examples.
- Creating device files.
- proc virtual filesystem.
- proc contents
- sysfs filesystem.
- Basic applications.
- Overall booting process.
- Busybox:
- Block filesystems:
- Block vs. flash.
- Block device list.
- Traditional block filesystems.
- Journaled filesystems.
- Filesystem recovery after crashes.
- Journaled block filesystems.
- Creating ext2/ext3 volumes.
- Mounting filesystem images.
- Squashfs.
- Squashfs - How to use.
- tmpfs.
- Mixing read-only and read-write filesystems.
- Flash filesystems:
- The MTD subsystem
- MTD devices
- MTD partitioning
- Definition of MTD partitions
- Modifying MTD partitions
- mtd-utils
- jffs2
- jffs2 - How to use
- How to create a jffs2 image
- Mounting a jffs2 image on your host
- Initializing jffs2 partitions from U-boot
- yaffs2
- yaffs2 - How to use
- UBI
- UBIFS
- UBI layout
- UBI - Preparation
- UBI - Attaching
- UBI - Volume management
- UBIFS - How to use
- Ubinize
- UBIFS - How to prepare a root fs
- Our benchmarks
- Issues with flash-based block storage
- Reducing the number of writes
- Filesystem choice summary
Present:
- Mohamed Nour El-Din.
- Islam Hassan.
- Ahmed Mamdouh
Assignments:
- If you have a memory card, try to work on the "Block filesystems" lab.
Download busybox & explore it using "make menuconfig".
Search for qemu & what it's capable of.
See also:
Session 1: 2011-07-08-EmbeddedLinuxSessions
Session 2: 2011-07-23-EmbeddedLinuxSessions
Session 3: 2011-07-30-EmbeddedLinuxSessions
Session 4: 2011-08-06-EmbeddedLinuxSessions
EgyptTeam/Events/2011-08-20-EmbeddedLinuxSessions (last edited 2011-09-02 23:23:04 by host-41)