iquik: clean up crt0 + ld.script

Remove the weird and unnecessary I+D invalidates and
BAT register usage. I mean OF isn't that broken -
we're guaranteed that whatever OF loaded is mapped in.

- Moved stack (4k) into the image. No idea where stack
  otherwise lives and probably shouldn't assume.
- prom_claim() malloc and LOW_BASE memory.
- cleanup ld.script.

Signed-off-by: Andrei Warkentin <awarkentin@vmware.com>
iquik: fix regression with 2.2 kernel

Has been apparently broken for a while too...

Signed-off-by: Andrei Warkentin <awarkentin@vmware.com>
quik: stop using LOW_BASE

Small things should go into heap. Any loaded kernels
should go into the only claim()ed space.

Signed-off-by: Andrei Warkentin <awarkentin@vmware.com>
iquik: command loop and load refactor

Simplify and unclutter - still needs a bit of reorg
and commenting along the way.

The new logic also allows for graceful load failure
(i.e. without claim errors).

Signed-off-by: Andrei Warkentin <awarkentin@vmware.com>
iquik: make it build without warnings

Also fix a nasty claim bug where the align param was having
a strange unexplainable effect on returned addresses.

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