Andreas Färber wrote:
The following branch boots AIX as before (not finding /rtas). Debian starts to boot but serial complains ">> out of malloc memory (11d28)!" (same if increased to -m 1024) and it appears to stop shortly after, last line is "returning from prom_init".
Good work! The malloc memory region for OFMEM on PPC should lie between ofmem_arch_get_malloc_base() and ofmem_arch_get_heap_top() which is tweakable in arch/ppc/qemu/ofmem.c. According to the comments, it should be set to 2MB which I would have thought is enough but AIX could be doing something clever - try enabling the CONFIG_DEBUG_OFMEM option to confirm this.
http://repo.or.cz/w/openbios/afaerber.git/shortlog/refs/heads/ppc64-boot
Thanks for pointing me in the right direction! I'll try to clean this up, but it'll take some days.
No worries - glad that you managed to find out what was happening :)
ATB,
Mark.