search for: ldlinux_bin

Displaying 17 results from an estimated 17 matches for "ldlinux_bin".

2013 Aug 31
4
[PATCH 1/1] core: Check if ldlinux.sys exceeds the limit at its building time.
...+## Certain file systems will simply install ldlinux.sys as an ordinary file, but UFS2 and +## BTRFS for example, rely on ldlinux.sys being installed on the 0-64k range. +## +## 0-64k range: +## [0](bootsector)[512](ldlinux.sys)[65536 - 2 * ADV_SIZE](2 copies of ADV)[65536] + +use File::stat; + +($ldlinux_bin) = @ARGV; +$adv_size = 512; +$limit = 65536 - 2 * $adv_size - 512; +$pad = 512; + +$ldlinux_size = stat($ldlinux_bin)->size - 1024; +$align = $ldlinux_size % $pad; +$ldlinux_size += $pad - $align; + +if ($ldlinux_size > $limit) { + print STDERR "$0: ldlinux.sys ($ldlinux_size) larger tha...
2013 Jan 04
4
syslinux 5.00 does not build
...ld an RPM starting from the TAR archive. The relevant error is: make[1]: Entering directory `/tmp1/Software/rpmbuild/BUILD/syslinux-5.00/libinstaller' perl bin2c.pl syslinux_bootsect < ../core/ldlinux.bss > bootsect_bin.c perl bin2c.pl syslinux_ldlinux 512 < ../core/ldlinux.sys > ldlinux_bin.c perl bin2c.pl syslinux_mbr < ../mbr/mbr.bin > mbr_bin.c perl bin2c.pl syslinux_gptmbr < ../mbr/gptmbr.bin > gptmbr_bin.c make[1]: *** No rule to make target `../com32/elflink/ldlinux/ldlinux.c32', needed by `ldlinuxc32_bin.c'. Stop. make[1]: Leaving directory `/tmp1/Softwar...
2013 Sep 16
0
[PATCH 1/1] core: Check if ldlinux.sys exceeds the limit at its building time.
...stall ldlinux.sys as an ordinary file, but UFS2 and > +## BTRFS for example, rely on ldlinux.sys being installed on the 0-64k range. > +## > +## 0-64k range: > +## [0](bootsector)[512](ldlinux.sys)[65536 - 2 * ADV_SIZE](2 copies of ADV)[65536] > + > +use File::stat; > + > +($ldlinux_bin) = @ARGV; > +$adv_size = 512; > +$limit = 65536 - 2 * $adv_size - 512; > +$pad = 512; > + > +$ldlinux_size = stat($ldlinux_bin)->size - 1024; > +$align = $ldlinux_size % $pad; > +$ldlinux_size += $pad - $align; > + > +if ($ldlinux_size > $limit) { > + print STDER...
2013 Jul 24
2
[PATCH 1/1] core: Add a check at ldlinux.sys build time.
...ersion 2 of the License, or +## (at your option) any later version; incorporated herein by reference. +## +## ----------------------------------------------------------------------- + +## ldlinux_limit.pl: Calc the size of ldlinux.sys and check if it's larger than 64k. + +use File::stat; + +($ldlinux_bin) = @ARGV; +$limit = 65536; +$pad = 512; + +$ldlinux_size = stat($ldlinux_bin)->size - 1024; +$align = $ldlinux_size % $pad; +$ldlinux_size += $pad - $align; + +if ($ldlinux_size > $limit) { + print STDERR "$0: ldlinux.sys ($ldlinux_size) larger than $limit.\n"; + exit 1; +} +...
2014 May 25
0
[PATCH 1/1] core: Check if ldlinux.sys exceeds the limit at its building time.
...stall ldlinux.sys as an ordinary file, but UFS2 and > +## BTRFS for example, rely on ldlinux.sys being installed on the 0-64k range. > +## > +## 0-64k range: > +## [0](bootsector)[512](ldlinux.sys)[65536 - 2 * ADV_SIZE](2 copies of ADV)[65536] > + > +use File::stat; > + > +($ldlinux_bin) = @ARGV; > +$adv_size = 512; > +$limit = 65536 - 2 * $adv_size - 512; > +$pad = 512; > + > +$ldlinux_size = stat($ldlinux_bin)->size - 1024; > +$align = $ldlinux_size % $pad; > +$ldlinux_size += $pad - $align; > + > +if ($ldlinux_size > $limit) { > + print STDER...
2016 Feb 25
2
[PATCH 2/5] ntfs: remove unused variable and have ntfssect use char API calls
...-Os -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -I/usr/src/syslinux/win64 -I/usr/src/syslinux/win64/.. -I/usr/src/syslinux/win64/../win -I/usr/src/syslinux/bios -I/usr/src/syslinux/win64/../libfat -I/usr/src/syslinux/win64/../libinstaller -I/usr/src/syslinux/win64/../libinstaller/getopt -c -o ldlinux_bin.obj /usr/src/syslinux/bios/win64/../libinstaller/ldlinux_bin.c x86_64-w64-mingw32-gcc -Wno-sign-compare -Os -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -I/usr/src/syslinux/win64 -I/usr/src/syslinux/win64/.. -I/usr/src/syslinux/win64/../win -I/usr/src/syslinux/bios -I/usr/src/syslinux/win64/.....
2014 Dec 17
0
[PATCH] build: sort sources to build in a more deterministic way
...# official release. Otherwise, substitute a hex string that is pretty much diff --git a/mtools/Makefile b/mtools/Makefile index 70269ef..0d0b1b2 100755 --- a/mtools/Makefile +++ b/mtools/Makefile @@ -13,7 +13,7 @@ SRCS = syslinux.c \ ../libinstaller/bootsect_bin.c \ ../libinstaller/ldlinux_bin.c \ ../libinstaller/ldlinuxc32_bin.c \ - $(wildcard $(SRC)/../libfat/*.c) + $(sort $(wildcard $(SRC)/../libfat/*.c)) OBJS = $(patsubst %.c,%.o,$(notdir $(SRCS))) .SUFFIXES: .c .o .i .s .S diff --git a/win32/Makefile b/win32/Makefile index 437f954..c648530 100644 --- a/win32/Makefile...
2013 Sep 30
2
[PATCH v2] core: Check size of ldlinux.sys at building time.
...t 1; +} elsif ( $adv_size < $min_adv_size ) { + print STDERR "$0: adv_size read from '$file' ($adv_size bytes) is lower ", + "than the minimum allowed value ($min_adv_size bytes)\n", + "$0: Please check the file and try again!\n"; + exit 1; +} + +($ldlinux_bin) = @ARGV; +$limit = 65536 - 2 * $adv_size - 512; +$pad = 512; + +# Calc size of ldlinux.sys from ldlinux.bin +$ldlinux_size = stat($ldlinux_bin)->size - 1024; +$align = $ldlinux_size % $pad; +$ldlinux_size += $pad - $align; + +print STDERR "$0: ldlinux.sys: $ldlinux_size bytes, limit: $limi...
2016 Mar 05
2
build problems with 6.04-pre1
...pre1-BROKEN/libinstaller/Makefile 2016-03-04 17:04:17.927473149 +0100 @@ -8,23 +8,24 @@ VPATH = $(SRC) all: installer -bootsect_bin.c: $(OBJ)/../core/ldlinux.bss bin2c.pl +bootsect_bin.c: $(OBJ)/../bios/core/ldlinux.bss bin2c.pl $(PERL) $(SRC)/bin2c.pl syslinux_bootsect < $< > $@ -ldlinux_bin.c: $(OBJ)/../core/ldlinux.sys bin2c.pl +ldlinux_bin.c: $(OBJ)/../bios/core/ldlinux.sys bin2c.pl $(PERL) $(SRC)/bin2c.pl syslinux_ldlinux 512 < $< > $@ -mbr_bin.c: $(OBJ)/../mbr/mbr.bin bin2c.pl +mbr_bin.c: $(OBJ)/../bios/mbr/mbr.bin bin2c.pl $(PERL) $(SRC)/bin2c.pl syslinux_mbr <...
2003 May 20
1
[ANNOUNCE] syslinux for win2k/winxp
...# Makefile for syslinux for windows # # Created by Lars Munch # lars at segv.dk # Linux -> Win2k cross compilation CC = i586-mingw32msvc-gcc # Cygwin (using mingw) compilation #CC = gcc -mno-cygwin CFLAGS = -O2 -Wall -DPATCH_OFFSET=`cat patch.offset` LIBS = OBJS = bootsect_bin.o ldlinux_bin.o syslinux-mingw.c all: syslinux.exe syslinux.exe: $(OBJS) $(CC) $(CFLAGS) $(OBJS) -o syslinux.exe clean: rm -f *.o rm -f *~ rm -f syslinux.exe
2006 Mar 03
0
any magic bytes in pxelinux.0 that are useable by /usr/bin/file ?
[jimc at harpo boot]$ file pxelinux.* pxelinux.0: data pxelinux.0-3.11: data pxelinux.cfg: directory it would be nice if /usr/bin/file recognized pxelinux.0 as something else, and was a bit more informative; more like these : ldlinux.bin: x86 boot sector, code offset 0x58 ldlinux_bin.c: ASCII C program text ldlinux.bss: x86 boot sector, code offset 0x58 ldlinux.sys: data obviously a trivial issue, but if there are usable magic values, I'll cobble up a patch to /usr/share/file/magic aside: 3.20-pre6 works here, w menu.c32, fairly basic setup..
2019 Apr 22
0
Installing syslinux on a purely virtual disk
...he offset of the LDLINUX.SYS file. I haven't quite worked out > the details. Syslinux provides the following required files: MBR - "mbr.bin" and "mbr_bin.c" boot sector - "ldlinux.bss" and "bootsect_bin.c" ldlinux - "ldlinux.sys" and "ldlinux_bin.c" ldlinux COM32 - "ldlinux.c32" and ldlinuxc32_bin.c Those c files can be used in "virtual-floppy.c". The installer "linux/syslinux.c" uses "libinstaller/syslxmod.c" to modify the content (boot sector and ldlinux). > The question, is there a way t...
2015 Nov 10
2
[PATCH] mtools: Remove local xpread/xpwrite, use ones from syslxcom
.../mtools/Makefile +++ b/mtools/Makefile @@ -9,6 +9,7 @@ SRCS = syslinux.c \ ../libinstaller/fs.c \ ../libinstaller/syslxmod.c \ ../libinstaller/syslxopt.c \ + ../libinstaller/syslxcom.c \ ../libinstaller/setadv.c \ ../libinstaller/bootsect_bin.c \ ../libinstaller/ldlinux_bin.c \ diff --git a/mtools/syslinux.c b/mtools/syslinux.c index 5924430..3686be0 100755 --- a/mtools/syslinux.c +++ b/mtools/syslinux.c @@ -42,8 +42,8 @@ #include "setadv.h" #include "syslxopt.h" #include "syslxfs.h" +#include "syslxcom.h" -char *program;...
2019 Apr 18
4
Installing syslinux on a purely virtual disk
I'm trying to add boot support to https://github.com/libguestfs/nbdkit/tree/master/plugins/floppy This NBD server plugin generates a completely virtual FAT filesystem and partition table. Nothing is ever written to a file, and it must run without anything needing to be root, loop mounting etc. Running "syslinux --install <something>" is a non-starter. So I've looked at
2015 Jan 02
13
[PATCH 0/9] linux/syslinux: support ext2/3/4 device
Hello, Happy New Year! These patches make syslinux/linux support ext2/3/4, and it doesn't require the root privilege, I'd like to add a separate e2fs/syslinux, if that is more appropriate, it should be easy to do that. I put these patches on github so that you can easily get them in case you'd like to test them. (The repo's name is sys_tmp, which avoids confusing others, I will
2008 Feb 26
2
3.62-pre16: Compiling on old (2.4 kernel) distros
I have put a compile hack in for older distros and pushed it out as syslinux-3.62-pre16; for those who have reported compilation problem on older distros I would greatly appreciate if you could confirm if it works now (it worked for me on a CentOS 3.9 VM.) -hpa
2016 Feb 24
6
[PATCH 2/5] ntfs: remove unused variable and have ntfssect use char API calls
The variable 'ok' is never used and generates a warning. Remove it. Also ntfssect.c is designed to be compiled in non Unicode mode when using MSVC compilers, so remove all ambiguity about it (LPCTSTR -> LPCSTR, use of 'A' API calls) so that it doesn't break when compiled in Unicode mode, which is what Rufus uses with MSVC. -------------- next part --------------