Skip to contentSkip to conversation

Fix prep boot in linuxppc_2_4_devel

PATCH In review Cort Dougan 4 participants 5 messages Apr 16, 2003 – Apr 19, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix prep boot in linuxppc_2_4_devel

This fixes the prep boot code so it will actually create a good SMP boot image. The wrong variable was being used.

arch/ppc/boot/prep/Makefile +1 -1
diff -Nru a/arch/ppc/boot/prep/Makefile b/arch/ppc/boot/prep/Makefile
@@ -19,7 +19,7 @@
 
 TFTPIMAGE			= /tftpboot/zImage.prep
 ifeq ($(CONFIG_SMP),y)
-TFTPIMAGE			= $(TFTPBOOT).smp
+TFTPIMAGE			:= $(TFTPIMAGE).smp
 endif
 
 LD_ARGS				= -T ../ld.script -Ttext 0x00800000 -Bstatic

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#2 lore raw
Quoted 6 lines · Tom Rini
Quoted 2 lines · Cort Dougan

This fixes the prep boot code so it will actually create a good SMP boot image. The wrong variable was being used.

Urk. Can we kill znetboot / znetboot.initrd instead please?

Or, for the potentially silent masses of you out there who do use this, please speak up. I'm not really aware of anyone other than Cort who does use this target but am more than willing to stand corrected.

--
Tom Rini
http://gate.crashing.org/~trini/

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#3 lore raw
Quoted 5 lines · Tom Rini
Quoted 2 lines · Tom Rini

On Wed, Apr 16, 2003 at 11:38:30AM -0600, Cort Dougan wrote:

Quoted 8 lines
Quoted 4 lines
Quoted 2 lines

This fixes the prep boot code so it will actually create a good SMP boot image. The wrong variable was being used.

Urk. Can we kill znetboot / znetboot.initrd instead please?

Or, for the potentially silent masses of you out there who do use this, please speak up. I'm not really aware of anyone other than Cort who does use this target but am more than willing to stand corrected.

I find it convenient and use it quite often.

-Dale

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#4 lore raw
In reply to Tom Rini
Quoted 4 lines · Tom Rini
Quoted 2 lines · Tom Rini

On Wed, Apr 16, 2003 at 11:38:30AM -0600, Cort Dougan wrote:

Quoted 8 lines
Quoted 4 lines
Quoted 2 lines

This fixes the prep boot code so it will actually create a good SMP boot image. The wrong variable was being used.

Urk. Can we kill znetboot / znetboot.initrd instead please?

Or, for the potentially silent masses of you out there who do use this, please speak up. I'm not really aware of anyone other than Cort who does use this target but am more than willing to stand corrected.

I found this target convenient and I use it on daily basis.

I understand that it's a little ugly and referencing some external hardcoded paths like /tftpboot from makefile is not a very Good Thing :).

So I would not complain *very* loud if znetboot is killed.

Just my 5 cents :)

Eugene.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/