CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2010/02/17 14:25:49
Modified files:
sys/arch/loongson/stand/boot: Makefile.inc conf.c libsa.h
machdep.c
Added files:
sys/arch/loongson/stand/boot: rd.c
Log message:
If PMON has loaded an initrd binary, and this binary looks like a valid
ELF image, assume it's the kernel and try to boot it immediately.
This allows a Gdium system with both the bootloader and the kernel image on
an ext2fs partition, with `al' pointing to the bootblocks and `rd' pointing
to the kernel in PMON environment, to boot a kernel with proper kernel
symbols, for the first time.
(please don't get me started on how reliable `load -k' is on the Gdium)
Bump bootblocks version to 0.2.