You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
||13 years ago|
|elf2mzip||13 years ago|
|elftool||13 years ago|
|include||13 years ago|
|mach||13 years ago|
|.gitignore||13 years ago|
|COPYING||13 years ago|
|DEVELOPMENT||13 years ago|
|LzmaDecode.c||13 years ago|
|Makefile||13 years ago|
|README||13 years ago|
|TODO||13 years ago|
|ciloio.c||13 years ago|
|elf_loader.c||13 years ago|
|lzma_loader.c||13 years ago|
|main.c||13 years ago|
|printf.c||13 years ago|
|string.c||13 years ago|
CILO - CiscoLoad Sane Bootloader for real ELF Files
1. What is this?
CILO, or CiscoLoad is a ROMMON bootloader replacement for Cisco Routers.
The ROMMON bootloader will load CILO, which then can be used to boot IOS
or an alternative operating system.
2. Why do I need this?
The ROMMON bootloader is extremely broken -- it is only capable of
understanding a single ELF segment in an ELF file. Of course, because Linux
and other operating systems rely fairly heavily on being able to have more
than one segment in the output ELF file, this clearly isn't acceptable.
CiscoLoad works around this by providing an ELF file that looks somewhat
like an IOS image to ROMMON; from CiscoLoad, it is then possible to load an
arbitrary standalone ELF file, such as a kernel image, or even an IOS image.
3. How do I build CILO?
Assuming you have a mips-elf toolchain installed (how to do this is beyond
the scope of this document, but it should be simple to do. Just remember the
target architecture is mips-elf and not mips-unknown-