Runnix: another kexec based bootloader
Subsystems (2)
Hello everyone,
I"m not sure if this is the proper forum for these types of posts
but I've been working on a kexec-based "bootloader" to meet my needs over the last year or so. It's called Runnix. Here's what I needed (Runnix current features - some in progress):
- Small. Runnix is currently about 2.7MB on disk with (very generic) Linux 2.6.20, busybox, uclibc, kexec-tools, and dropbear for SSH
- Download and verification (currently SHA1) of Linux images, both for download and boot. If an on disk image fails SHA1, a new image can be downloaded. If a download fails, a different on disk image can be used.
- Run time configuration using a simple ASCII text file (default.conf for runnix, .conf files for squashfs/ext2 filesystem images)
- Configuration, support, debugging from windows, mac, linux, etc (using FAT16 filesystem + syslinux)
- Automatic failover of images (should upgrade fail)
- Automatic network based debugging using SSH (remote logins via SSH upon boot/image failure)
- Runnix compilation and expansion via buildroot2 based build system
There are some random ancillary features to support these goals but
it's late and I'm probably forgetting them. Anyway, I've been using it for quite some time with no major problems. It's been up on SourceForge for a while but I haven't had as much time to work on it for my needs, let alone anyone else's. :)
While we've been using it with AstLinux for quite some time it
occurred to me I might want to expose it to the community at large (especially kexec folks). There's a lot to be improved upon - better error handling, better handling of filesystems, upgrades, downgrades kernel panics/kdump, etc. I also don't like how squash/ext2 images are handled. Unionfs needs some work too, but that's not really a runnix problem...
If you're interested take a look and let me know what you think!
Runnix project page:
http://sourceforge.net/projects/runnix/
VmWare image with Runnix and AstLinux, built from SVN trunk:
http://admin.star2star.com/Runnix_Test-run84-ast1786.tar.bz2
Thanks!
Signature · 7 lines
Kristian Kielhofner NOT sent from my iPhone or Blackberry _______________________________________________ kexec mailing list [email protected] http://lists.infradead.org/mailman/listinfo/kexec
Quoted 20 lines · Kristian Kielhofner
Hello everyone,
I"m not sure if this is the proper forum for these types of posts
but I've been working on a kexec-based "bootloader" to meet my needs over the last year or so. It's called Runnix. Here's what I needed (Runnix current features - some in progress):- Small. Runnix is currently about 2.7MB on disk with (very generic) Linux 2.6.20, busybox, uclibc, kexec-tools, and dropbear for SSH
- Download and verification (currently SHA1) of Linux images, both for download and boot. If an on disk image fails SHA1, a new image can be downloaded. If a download fails, a different on disk image can be used.- Run time configuration using a simple ASCII text file (default.conf for runnix, .conf files for squashfs/ext2 filesystem images)
- Configuration, support, debugging from windows, mac, linux, etc (using FAT16 filesystem + syslinux)(quoted diff) +0
-2- Automatic failover of images (should upgrade fail) - Automatic network based debugging using SSH (remote logins via SSH
Quoted 2 lines
upon boot/image failure)
- Runnix compilation and expansion via buildroot2 based build system
Just FYI, for the PS3 bootloader we now use OpenWRT, which has kexec. It is quite easy to use, and I think better than a custom config like you have.
Jeremy Kerr has ported libtwin and his petitbooot to OpenWRT, which we use, but those are not yet merged in. We have some local fixups we plan to merge also.
http://openwrt.org/
http://ozlabs.org/~jk/projects/petitboot/
http://www.kernel.org/pub/linux/kernel/people/geoff/cell/ps3-petitboot/
-Geoff
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec