ipxe: update to upstream version
PATCH v2 1/1 ipxe: update to upstream version
# HG changeset patch
# User Roger Pau Monne <[email protected]> # Date 1324365671 -3600
# Node ID cf68eb390e1bf2fa4bb005ffeccfd41a01c3f81d # Parent 03138a08366b895d79e143119d4c9c72833cdbcd
ipxe: update to upstream version
Updated ipxe to current tree, which is540e5960dc6b49eacf367f7c319fd0546474b845:
Provide PXENV_FILE_EXIT_HOOK only for ipxelinux.0 builds
Removed all the backported patches and updated boot_prompt_option.patch to apply against current ipxe.
tools/firmware/etherboot/Makefile +1 -1
@@ -10,7 +10,7 @@ else IPXE_GIT_URL := git://git.ipxe.org/ipxe.git endif -IPXE_GIT_TAG := v1.0.0 +IPXE_GIT_TAG := 9a93db3f0947484e30e753bbd61a10b17336e20e IPXE_TARBALL_URL := $(XEN_EXTFILES_URL)/ipxe-git-$(IPXE_GIT_TAG).tar.gz
tools/firmware/etherboot/patches/boot_prompt_option.patch +10 -9
@@ -1,7 +1,8 @@ -diff -pruN gpxe/src/arch/i386/prefix/romprefix.S gpxe.new/src/arch/i386/prefix/romprefix.S ---- gpxe/src/arch/i386/prefix/romprefix.S 2010-06-29 20:31:33.000000000 +0100 -+++ gpxe.new/src/arch/i386/prefix/romprefix.S 2010-07-20 10:40:20.000000000 +0100 -@@ -458,6 +458,7 @@ no_pmm: +diff --git a/src/arch/i386/prefix/romprefix.S b/src/arch/i386/prefix/romprefix.S +index 0f92415..cce7505 100644 +--- a/src/arch/i386/prefix/romprefix.S ++++ b/src/arch/i386/prefix/romprefix.S +@@ -391,6 +391,7 @@ no_pmm: xorw %di, %di cs rep movsb
@@ -9,15 +10,15 @@ diff -pruN gpxe/src/arch/i386/prefix/rom /* Prompt for POST-time shell */ movw $init_message_prompt, %si xorw %di, %di -@@ -484,6 +485,7 @@ no_pmm: +@@ -418,6 +419,7 @@ no_pmm: pushw %cs call exec - out: + 2: +#endif /* Restore registers */ popw %gs popw %fs -@@ -538,6 +540,7 @@ init_message_no_pmm: +@@ -546,6 +548,7 @@ init_message_pmm: init_message_int19: .asciz " INT19" .size init_message_int19, . - init_message_int19
@@ -25,11 +26,11 @@ diff -pruN gpxe/src/arch/i386/prefix/rom init_message_prompt: .asciz "\nPress Ctrl-B to configure " .size init_message_prompt, . - init_message_prompt -@@ -547,6 +550,7 @@ init_message_dots: +@@ -555,6 +558,7 @@ init_message_dots: init_message_done: .asciz "\n\n" .size init_message_done, . - init_message_done +#endif - /* ROM image location + /* PCI bus:dev.fn *
tools/firmware/etherboot/patches/gpxe-git-0edf2405b457 deleted +0 -30
@@ -1,30 +0,0 @@ -commit 0edf2405b457e542c244a72285511b3ff5c06885 -Author: Michael Brown <[email protected]> -Date: Tue Apr 27 09:52:22 2010 +0100 - - [build] Fix building with binutils 2.16 - - Signed-off-by: Michael Brown <[email protected]> - Signed-off-by: Stefan Hajnoczi <[email protected]> - -diff --git a/src/arch/i386/scripts/i386.lds b/src/arch/i386/scripts/i386.lds -index 278a397..0ce2c10 100644 ---- a/src/arch/i386/scripts/i386.lds -+++ b/src/arch/i386/scripts/i386.lds -@@ -24,6 +24,8 @@ SECTIONS { - * - */ - -+ PROVIDE ( _max_align = 16 ); -+ - /* - * The prefix - * -@@ -169,7 +171,6 @@ SECTIONS { - * - */ - -- PROVIDE ( _max_align = 16 ); - . = 0; - - . = ALIGN ( _max_align );
tools/firmware/etherboot/patches/gpxe-git-a803ef3dfeac deleted +0 -125
125 lines not on this page · raw message
tools/firmware/etherboot/patches/series +0 -2
@@ -1,3 +1,1 @@ boot_prompt_option.patch -gpxe-git-0edf2405b457 -gpxe-git-a803ef3dfeac
Quoted 1 line
ipxe: update to upstream version
Quoted 3 lines · Ian Jackson
Quoted 1 line
ipxe: update to upstream version
Committed-by Ian Jackson <[email protected]>
I'm guessing this is the cause of:
make[6]: Entering directory `/local/scratch/ianc/devel/xen-unstable.hg/tools/firmware/etherboot' rm -rf ipxe
gzip -dc ipxe.tar.gz | tar xf -
for i in $(cat patches/series) ; do \ patch -d ipxe -p1 --quiet <patches/$i || exit 1 ; \ done
1 out of 4 hunks FAILED -- saving rejects to file src/arch/i386/prefix/romprefix.S.rej make[6]: *** [ipxe/src/arch/i386/Makefile] Error 1
make[6]: Leaving directory `/local/scratch/ianc/devel/xen-unstable.hg/tools/firmware/etherboot'
This seems to be fixed (or at least mitigated) by properly removing the tarball on clean:
8<---------------------------------------
# HG changeset patch
# User Ian Campbell <[email protected]> # Date 1325783856 0
# Node ID 0fcfd62166de11687ac2db799b71906e7ce41300 # Parent f2682e2ec7e53683a31e940ada37726aa8da7fcc
ipxe: remove tarball on clean
This prevents us picking up a stale tarball when the tag changes.
tools/firmware/etherboot/Makefile +1 -1
@@ -56,7 +56,7 @@ eb-roms.h: Config .PHONY: clean clean: - rm -rf $D $D.git *~ eb-roms.h _$T + rm -rf $D $D.git *~ eb-roms.h _$T $T .PHONY: distclean distclean: clean
Ian.
Ian Jackson
Acked-byIan Campbell writes ("Re: [Xen-devel] [PATCH v2] ipxe: update to upstream version"):
Quoted 5 lines
ipxe: remove tarball on clean
This prevents us picking up a stale tarball when the tag changes.
Signed-off-by Ian Campbell <[email protected]>
Thanks.
2012/1/5 Ian Campbell <[email protected]>:
Quoted 17 lines · Ian Jackson
Quoted 3 lines
Quoted 1 line
ipxe: update to upstream version
Committed-by Ian Jackson <[email protected]>I'm guessing this is the cause of:
make[6]: Entering directory `/local/scratch/ianc/devel/xen-unstable.hg/tools/firmware/etherboot' rm -rf ipxe
gzip -dc ipxe.tar.gz | tar xf -
for i in $(cat patches/series) ; do \
patch -d ipxe -p1 --quiet <patches/$i || exit 1 ; \
done
1 out of 4 hunks FAILED -- saving rejects to file src/arch/i386/prefix/romprefix.S.rej make[6]: *** [ipxe/src/arch/i386/Makefile] Error 1
make[6]: Leaving directory `/local/scratch/ianc/devel/xen-unstable.hg/tools/firmware/etherboot'
Quoted 2 lines
This seems to be fixed (or at least mitigated) by properly removing the tarball on clean:
Sorry, I did this patch on a fresh checkout, so I didn't realize of this problem, the Makefile will always try to use ipxe.tar.gz if there's one on the folder. Thanks for the patch!
Quoted 23 lines
8<---------------------------------------
# HG changeset patch
# User Ian Campbell <[email protected]> # Date 1325783856 0
# Node ID0fcfd62166de11687ac2db799b71906e7ce41300# Parent f2682e2ec7e53683a31e940ada37726aa8da7fcc
ipxe: remove tarball on cleanThis prevents us picking up a stale tarball when the tag changes.
Signed-off-by Ian Campbell <[email protected]>diff -r
f2682e2ec7e5-r0fcfd62166detools/firmware/etherboot/Makefiletools/firmware/etherboot/Makefile Thu Jan 05 17:17:36 2012 +0000 renamed from tools/firmware/etherboot/Makefile Thu Jan 05 16:33:25 2012 +0000 +0
-0@@ -56,7 +56,7 @@ eb-roms.h: Config.PHONY: clean
clean:
- rm -rf $D $D.git *~eb-roms.h_$T
+ rm -rf $D $D.git *~eb-roms.h_$T $T
Quoted 7 lines
.PHONY: distclean
distclean: cleanIan.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel