Example YAFFS Bootloader

Licensing

The YAFFS bootloader is LGPL to facilitate integration into non-GPL code.

Software Modules

The software is designed in a modular fashion to facilitate integration and configuration.

The software comprises the following main sections:

The bootloader does not implement YAFFS. Instead it is a simple set of routines which allows reading a file on a YAFFS device.

The file must be in the root directory of the device (eg. "/boot/boot.bin") since the bootloader does not understand directories. This limitation simplifies the bootloader and speeds up the boot process.

As shown here the bootloader is initialised, then provides the boot file as a stream of bytes. It is simple enough to provide the data in other formats.

$Id: yaffs_boot.html,v 1.2 2003-05-20 22:30:36 charles Exp $