On 20/06/15 18:48, Cormac O'Brien wrote:
These patches fix a number of issues that hindered the Mac OS 9 boot process.
Signed-off-by: Cormac O'Brien i.am.cormac.obrien@gmail.com
Cormac O'Brien (6): bootinfo_load: recognize ASCII EOT as end of bootinfo ppc: add Adler-32 checksum capability ppc: add ROM node to device tree ppc: fix stack usage in mmu_claim, mem_claim ppc: add CPU reservation-granule-size property ppc: add Apple copyright injection to adler32
arch/ppc/qemu/init.c | 62 +++++++++++++++++++++++++++++++++++++++++++++ arch/ppc/qemu/methods.c | 34 ++++++++++++------------- arch/ppc/qemu/qemu.fs | 28 ++++++++++++++++++++ arch/ppc/qemu/tree.fs | 8 ++++++ libopenbios/bootinfo_load.c | 10 ++++++++ 5 files changed, 125 insertions(+), 17 deletions(-)
While I've dropped patch 1 in favour of the revised strnlen() version posted over the weekend, the remainder of the patches all apply with no regressions on any of my PPC images so I've committed them to trunk.
Thanks for your hard work on this!
ATB,
Mark.
[Note for others interested in testing the OS 9 patches: as a temporary measure you also need a patch such as the one at http://www.openfirmware.info/pipermail/openbios/2015-June/008722.html in order to successfully execute the Forth boot script. The proper fix requires more work.]