Subject: Re: upgrading bootblocks
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Tim Kelly <hockey@dialectronics.com>
List: port-macppc
Date: 12/10/2004 19:03:55
Hi Izumi,

>ofwboot and bootxx have to be sync'ed.
>bootxx compiled from bootxx.c rev 1.13 or later is required
>for ofwboot 1.8 or later.
>---

I diff'd 1.12 and 1.13

-/*$NetBSD: bootxx.c,v 1.12 2003/10/20 00:12:10 matt Exp $*/
+/*$NetBSD: bootxx.c,v 1.13 2004/03/12 19:13:37 wrstuden Exp $*/  /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -52,7 +52,7 @@ struct shared_bbinfo bbinfo = {
 };  #ifndef DEFAULT_ENTRY_POINT
-#defineDEFAULT_ENTRY_POINT0x600000
+#defineDEFAULT_ENTRY_POINT0xE00000
 #endif  void (*entry_point)(int, int, void *

and it looks like he's got bootxx.c 1.13 installed because the PC is
clearly at 0xe00xxx and the LR is in bootxx, so it made the jump but chokes
16 instructions in. However, I'm unclear how this could work when he had
1.7 installed. Does installboot also sync bootxx?

tim