QUIK: Lay support for devaliases.

Eventually this will allow us to use devaliases throughout QUIK.

Signed-off-by: Andrei Warkentin <awarkentin@vmware.com>
QUIK: Cleanup.

I don't like mashing things together, but -
1) Compiles on Sarge now. (gcc 3.3.5)

...still need to cleanup (int)type usage throughout.
2) Treat 0 as invalid partition, not -1.

3) printf->printk to avoid colliding with stdio, which
   has to be included for the e2fslibs :(.

4) Add %u and NULL-handling for %s.

Signed-off-by: Andrei Warkentin <awarkentin@vmware.com>
QUIK: Ugly code to get initrd loading.

Major cleanups still necessary.

Initrd only loads if it's defined in the config, still
thinking about how to expose initrd parameter in the
command interface.

Signed-off-by: Andrei Warkentin <awarkentin@vmware.com>
QUIK: Initrd support.

This adds the "old-kernel" option, which lets you boot passing
the arguments the old way supported by 2.4 and 2.2. It should
not be necessary, but who knows? Maybe some OF doesn't allow
you to set bootargs.

Of course, it means you can't use an initrd (I should probably
add params like initrd=0x%x@0x%x, in the hopes that support gets
anywhere for that).

Signed-off-by: Andrei Warkentin <awarkentin@vmware.com>
QUIK: Get it to build under Etch.

Move to private ELF defs, and fix ld script for second stage,
which resulted in some funky named rodata sections from not
being merged with text, which /further/ resulted in
second.b starting with ASCII constants.

Ouch.

Signed-off-by: Andrei Warkentin <awarkentin@vmware.com>