Re: [PATCH] Fix booting some PPC32 machines

From: Tom Rini
Date: Tue May 04 2004 - 15:50:32 EST


On Tue, May 04, 2004 at 09:06:06AM +0200, Olaf Hering wrote:
> On Mon, May 03, Tom Rini wrote:
>
> > Hello. The following patch fixes booting on some PPC32 machines with
> > OpenFirmware, when booted without the aid of an additional bootloader.
> > The problem is that the linker script for the 'zImage' type targets was
> > put into the list of dependancies which objcopy would parse as a list of
> > files to copy into the resulting image. The fix is to make the phony
> > zImage targets depend on the linker script.
>
> This fixes netbooting on my B50. But it breaks the dependency to ld.script,
> which was the whole point of the previous patch.

As I mentioned on IRC, but don't have time ATM to verify, I don't think
a 'touch' of the ld.script is sufficient a test in this case since it's
a call-if-changed thing so you'd have to modify ld.script. Can you do
that and see if it's really a change? Thanks.

--
Tom Rini
http://gate.crashing.org/~trini/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/