Skip to contentSkip to conversation

syslinux: bump to version 4.04

PATCH New Arnout Vandecappelle (Essensium/Mind) 3 participants 8 messages Jan 21, 2012 – Jan 24, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 syslinux: bump to version 4.04

From: "Arnout Vandecappelle (Essensium/Mind)" <[email protected]>

---
 boot/syslinux/syslinux-3.85-makefile.patch |   17 -----------------
 boot/syslinux/syslinux.mk                  |    4 ++--
 2 files changed, 2 insertions(+), 19 deletions(-)
 delete mode 100644 boot/syslinux/syslinux-3.85-makefile.patch
boot/syslinux/syslinux-3.85-makefile.patch deleted +0 -17
deleted file mode 100644
index ff85b8d..0000000
@@ -1,17 +0,0 @@
----
- Makefile |    2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-Index: syslinux-3.85/Makefile
-===================================================================
---- syslinux-3.85.orig/Makefile
-+++ syslinux-3.85/Makefile
-@@ -43,7 +43,7 @@
- 	mbr/mbr_c.bin mbr/altmbr_c.bin mbr/gptmbr_c.bin \
- 	mbr/mbr_f.bin mbr/altmbr_f.bin mbr/gptmbr_f.bin \
- 	core/pxelinux.0 core/isolinux.bin core/isolinux-debug.bin \
--	gpxe/gpxelinux.0 dos/syslinux.com win32/syslinux.exe \
-+	gpxe/gpxelinux.0 dos/syslinux.com \
- 	dosutil/*.com dosutil/*.sys \
- 	$(MODULES)
- 
boot/syslinux/syslinux.mk +2 -2
index fa5af07..da30d5a 100644
@@ -4,9 +4,9 @@
 #
 #############################################################
 
-SYSLINUX_VERSION = 3.85
+SYSLINUX_VERSION = 4.04
 SYSLINUX_SOURCE  = syslinux-$(SYSLINUX_VERSION).tar.bz2
-SYSLINUX_SITE    = $(BR2_KERNEL_MIRROR)/linux/utils/boot/syslinux/3.xx/
+SYSLINUX_SITE    = $(BR2_KERNEL_MIRROR)/linux/utils/boot/syslinux/4.xx/
 
 SYSLINUX_INSTALL_TARGET = NO
 SYSLINUX_INSTALL_IMAGES = YES
Signature · 1 line
1.7.8.3
#1 lore raw

PATCH 2/2 syslinux: add support for host-install

From: "Arnout Vandecappelle (Essensium/Mind)" <[email protected]>

---
 boot/syslinux/syslinux.mk |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
boot/syslinux/syslinux.mk +14 -0
index da30d5a..3e89bdf 100644
@@ -26,4 +26,18 @@ define SYSLINUX_INSTALL_IMAGES_CMDS
 	done
 endef
 
+
+define HOST_SYSLINUX_BUILD_CMDS
+	$(HOST_MAKE_ENV) $(MAKE) -C $(@D)
+endef
+
+define HOST_SYSLINUX_INSTALL_CMDS
+	$(HOST_MAKE_ENV) $(MAKE) -C $(@D) INSTALLROOT=$(HOST_DIR) install
+endef
+
+define HOST_SYSLINUX_CLEAN_CMDS
+	$(HOST_MAKE_ENV) $(MAKE) -C $(@D) clean
+endef
+
 $(eval $(call GENTARGETS))
+$(eval $(call GENTARGETS,host))
Signature · 1 line
1.7.8.3
#2 lore raw

PATCH 2/2 syslinux: add support for host-install

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Arnout" == Arnout Vandecappelle (Essensium/Mind) <[email protected]> writes:

Arnout> From: "Arnout Vandecappelle (Essensium/Mind)" <[email protected]> Arnout> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>

What was the reason for this again (please document in commit message)?

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

PATCH v2 1/1 syslinux: add support for host-install

From: "Arnout Vandecappelle (Essensium/Mind)" <[email protected]>

This makes it possible to build the syslinux/extlinux installer, so a bootable USB drive, CompactFlash or SD card can be created by a user script.

---
v2: more verbose commit message

---
 boot/syslinux/syslinux.mk |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
boot/syslinux/syslinux.mk +14 -0
index da30d5a..3e89bdf 100644
@@ -26,4 +26,18 @@ define SYSLINUX_INSTALL_IMAGES_CMDS
 	done
 endef
 
+
+define HOST_SYSLINUX_BUILD_CMDS
+	$(HOST_MAKE_ENV) $(MAKE) -C $(@D)
+endef
+
+define HOST_SYSLINUX_INSTALL_CMDS
+	$(HOST_MAKE_ENV) $(MAKE) -C $(@D) INSTALLROOT=$(HOST_DIR) install
+endef
+
+define HOST_SYSLINUX_CLEAN_CMDS
+	$(HOST_MAKE_ENV) $(MAKE) -C $(@D) clean
+endef
+
 $(eval $(call GENTARGETS))
+$(eval $(call GENTARGETS,host))
Signature · 1 line
1.7.8.3
#4 lore raw

PATCH v2 1/1 syslinux: add support for host-install

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Arnout" == Arnout Vandecappelle (Essensium/Mind) <[email protected]> writes:

Arnout> From: "Arnout Vandecappelle (Essensium/Mind)" <[email protected]> Arnout> This makes it possible to build the syslinux/extlinux installer, so a Arnout> bootable USB drive, CompactFlash or SD card can be created by a user Arnout> script.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#5 lore raw

PATCH 1/2 syslinux: bump to version 4.04

In reply to Arnout Vandecappelle (Essensium/Mind)

Hi Arnout,

boot/syslinux/syslinux.mk line 7

Quoted 3 lines · Arnout Vandecappelle (Essensium/Mind)

From: "Arnout Vandecappelle (Essensium/Mind)" <[email protected]>

boot/syslinux/syslinux.mk +1 -1
-SYSLINUX_VERSION = 3.85
+SYSLINUX_VERSION = 4.04

Version 4.05 is present in
http://www.kernel.org/pub/linux/utils/boot/syslinux/4.xx/.

baruch

Signature · 3 lines
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
#6 lore raw

PATCH 1/2 syslinux: bump to version 4.04

Quoted 9 lines · On Sunday 22 January 2012 04:38:48 Baruch Siach wrote:

Hi Arnout,

boot/syslinux/syslinux.mk line 7

Quoted 3 lines · Arnout Vandecappelle (Essensium/Mind)

From: "Arnout Vandecappelle (Essensium/Mind)" <[email protected]>

boot/syslinux/syslinux.mk +1 -1
-SYSLINUX_VERSION = 3.85
+SYSLINUX_VERSION = 4.04

Version 4.05 is present in
http://www.kernel.org/pub/linux/utils/boot/syslinux/4.xx/.

Sorry, too much work. The isohybrid installer requires uuid.h in 4.05.
The current syslinux mk file builds everything, not just the pxelinux.bin and isolinux.bin that we really want, so you would need to depend on util-linux's libuuid. However, syslinux is compiled with HOST_CC instead of TARGET_CC, so you don't get access to libuuid... It's all kind of messy and difficult to understand, and probably requires patching syslinux's Makefile to support proper cross-compiling to start with.

Regards,
Arnout

Signature · 6 lines
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F