summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add logo by Abi Rasheedsyslinux-4.05H. Peter Anvin2011-12-092-0/+2
| | | | Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Makefile.private: remove obsolete targetsyslinux-4.05-pre7H. Peter Anvin2011-12-071-4/+0
| | | | | | Remove target made obsolete by upstream changes. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* NEWS: document mk-lba-img removalH. Peter Anvin2011-12-051-1/+3
|
* diag/geodsp: don't distribute mk-lba-imgH. Peter Anvin2011-12-051-1/+1
| | | | | | Do not distribute the mk-lba-img host tool binary. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* ifmemdsk: remove spurious +x bitsyslinux-4.05-pre6H. Peter Anvin2011-08-251-0/+0
| | | | | | This is not an executable... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Merge remote-tracking branch 'sha0/ifmemdsk'H. Peter Anvin2011-08-242-0/+393
|\ | | | | | | | | Conflicts: NEWS
| * ifmemdsk.c32: Allow boot options based on presence of MEMDISKShao Miller2011-08-082-0/+393
| | | | | | | | | | | | | | | | Like 'ifcpu.c32' and 'ifplop.c32', this COMBOOT32 module will check for the presence of MEMDISK(s) and choose one of two (optionally) specified commands. Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
* | NEWS: document isohybrid -mH. Peter Anvin2011-08-241-0/+1
| | | | | | | | Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | isohybrid: Generate GPT and Mac bootable imagesMatthew Garrett2011-08-243-8/+572
|/ | | | | | | | | | | | | | | | | | | | | | | EFI systems typically don't support booting off ISO 9660 filesystems, even if written to USB sticks. This patch adds support for generating a GPT that covers the stick as well, with an additional partition entry pointing purely at the secondary El Torito image. When burned to CD the secondary El Torito will be used as an EFI boot image, and when written to a USB stick the GPT partition will be found and may be booted from. However, some earlier EFI Macs don't support booting from El Torito images via EFI. To cater for them this also supports generating an Apple partition table, allowing a third El Torito image in HFS+ format to be made available to the firmware. This requires padding the MBR images slightly in order to leave space for the Apple header, but should have no functional impact. Sadly, this breaks the workaround for Acer BIOSes (magic xor instruction) when Mac support is enabled via -m... not much that can be done about that. Signed-off-by: Matthew Garrett <mjg@redhat.com> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* extlinux: remove dead code in installersyslinux-4.05-pre5H. Peter Anvin2011-07-281-5/+2
| | | | | | | Remove some dead code in the installer, which caused build error with gcc 4.6 and -Werror. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* btrfs: Correctly determine the installation subvolumeYi Yang2011-07-282-32/+376
| | | | | | | There are multiple ways to set up subvolumes in btrfs. Use a general determination method which works for all schemes. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* extlinux: remove wrong use of strstr()syslinux-4.05-pre4Paulo Alcantara2011-07-051-3/+1
| | | | | | | | strstr() is only used for zero-terminated strings, so OEM Name is not guaranteed to be zero-terminated. Instead, use fat_check_sb_fields() to sanity check FAT superblock. Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
* implement fat_check_sb_fields()Paulo Alcantara2011-07-051-0/+9
| | | | | | Sanity check for FAT volumes Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
* isohybrid: unbreak hex/octal arguments in C versionsyslinux-4.05-pre3P J P2011-06-282-7/+14
| | | | | Allow hex/octal arguments in the C version of isohybrid, since they were accepted by the Perl version.
* Merge remote-tracking branch 'genec/extlinux-geo-for-hpa'H. Peter Anvin2011-06-281-2/+2
|\
| * extlinux/main.c: Fix geometry handlingGene Cumm2011-05-111-2/+2
| | | | | | | | | | | | | | | | | | 1) ioctl HDIO_GETGEO expects a pointer to a struct hd_geometry 2) struct stat's st_dev is the parent file used; st_rdev is what we want Reported-by: Michael Tokarev <mjt@tls.msk.ru> Tested-By: Michael Tokarev <mjt@tls.msk.ru> Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
* | com32: make syslinux_dump_*() pure debugging functionsH. Peter Anvin2011-06-279-65/+48
| | | | | | | | | | | | | | | | Make the syslinux_dump_*() functions pure debugging functions; that is the way that they are used anyway, and this way they log to the same place as dprintf. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | Use <dprintf.h> instead of an ad hoc definitionH. Peter Anvin2011-06-276-58/+6
| | | | | | | | | | | | | | Instead of using ad hoc definitions of dprintf, dprintf2, vdprintf and vdprintf2, use <dprintf.h> everywhere possible. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | dprintf: always define dprintf2/vdprintf2syslinux-4.05-pre2H. Peter Anvin2011-06-201-7/+7
| | | | | | | | | | | | | | Always define dprintf2/vdprintf2 even with no debugging at all enabled. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | libupload: use %zx to print a size_t argumentH. Peter Anvin2011-06-201-1/+1
| | | | | | | | | | | | | | To print an argument of type size_t we should use the %z size modifier. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | lib: sync <stdint.h> and <stddef.h> from klibcH. Peter Anvin2011-06-205-131/+97
| | | | | | | | | | | | | | | | The stdint.h definition appears to be a total mess. Clean it up with the current version from klibc, and revert change of size_t being long rather than int (it is not on i386). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | lib/shuffle: use <dprintf.h>H. Peter Anvin2011-06-201-17/+1
| | | | | | | | | | | | Another straggler not yet using <dprintf.h> for debugging. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | dprintf: add the ability to log to stdioH. Peter Anvin2011-06-203-3/+23
| | | | | | | | | | | | | | Add the ability to redirect dprintf to stdio when there is no other choice. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | chain.c32: fix types in dprintf()H. Peter Anvin2011-06-201-4/+5
| | | | | | | | | | | | Correct invalid types in dprintf(). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | lib: Add missing bits to stddef.h, stdint.h; pointers are "long"H. Peter Anvin2011-06-202-7/+11
| | | | | | | | | | | | | | | | Add missing bits to stddef.h and stdint.h and correct the basic pointer type to "long". We really should use the gcc macros for this... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | core: extend conventional memory warning with amount seensyslinux-4.05-pre1H. Peter Anvin2011-05-241-9/+15
|/ | | | | | Extend the conventional memory warning with the amount actually seen. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Add "make strip" targetH. Peter Anvin2011-05-098-4/+30
| | | | | | | | Add a "make strip" target, to make doing the official build easier. We want the official build to have stripped binaries for size reasons, so do it right and make it an actual build target. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Remove -s for host binariesH. Peter Anvin2011-05-093-3/+3
| | | | | | | | Remove -s for host binaries; current practice is to let the distro packaging systems do that themselves. For the official binaries, we should probably strip them, but via an external tool. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* linux: remove debugging OPTFLAGSH. Peter Anvin2011-05-091-1/+1
| | | | | | Remove debugging OPTFLAGS which really should have made it in. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* syslinux.mk: $(MAKEDIR), not $(makefiledir)H. Peter Anvin2011-05-011-2/+2
| | | | | | Fix the path for the optional makefile segments. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* chain.c32: allow specifying arbitrary seg/offs/entryH. Peter Anvin2011-05-011-21/+67
| | | | | | | Augment the seg= option to also allow for the offset and entry point to be specified. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* chain: Support loading ReactOS' FreeLdrShao Miller2011-05-012-0/+18
| | | | | | | | | | Use something like: LABEL freeldr COM32 chain.c32 APPEND freeldr=freeldr.sys Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
* chain: Run Nindent on chain.cShao Miller2011-05-011-11/+9
| | | | | | Minor formatting fix-ups Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
* diag/geodsp/Makefile: Use make variablesGene Cumm2011-04-292-5/+8
| | | | | | | Use the appropriate variables but for now the flags/options are overridden in this Makefile. Also add XZ to mk/syslinux.mk Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
* diag/geodsp: Save the .bin filesGene Cumm2011-04-261-1/+1
| | | | | | They are a BTARGET file Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
* diag/geodsp: Makefile cleanupGene Cumm2011-04-261-7/+2
| | | | Unneeded statements; delete *.lst like other Makefiles
* diag/geodsp: Fix .img.gz prerequisiteGene Cumm2011-04-261-1/+1
|
* hdt: add back -I$(com32)H. Peter Anvin2011-04-261-1/+1
| | | | | | | hdt picks up include files from outside the include directory and so needs an explicit -I$(com32). This probably should be fixed. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* sysdump: add $(LIBS) to the link ruleH. Peter Anvin2011-04-261-1/+1
| | | | | | $(C_LIBS) doesn't include $(LIBS) so we need to add it explicitly. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Merge remote-tracking branch 'mfleming/for-hpa/makefile-cleanup'H. Peter Anvin2011-04-2640-55/+81
|\ | | | | | | | | | | | | | | Resolved Conflicts: com32/hdt/Makefile com32/sysdump/Makefile Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * lua: Delete superfluous $(LIBS) prerequisiteMatt Fleming2011-04-161-2/+1
| | | | | | | | | | | | | | com32.mk already includes the necessary library in $(C_LIBS), we don't need to list them again in $(LIBS). Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
| * sysdump: Delete superfluous $(LIBS) prerequisiteMatt Fleming2011-04-161-2/+1
| | | | | | | | | | | | | | com32.mk already includes the necessary libraries in $(C_LIBS), we don't need to list them again in $(LIBS). Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
| * hdt: Delete superfluous $(LIBS) prerequisitesMatt Fleming2011-04-161-2/+1
| | | | | | | | | | | | | | com32.mk already includes the necessary libraries in $(C_LIBS), we don't need to list them again in $(LIBS). Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
| * menu.c32: Delete superfluous $(LIBS) prerequistiteMatt Fleming2011-04-161-3/+2
| | | | | | | | | | | | | | com32.mk already includes the necessary libraries in $(C_LIBS), we don't need to list them again in $(LIBS). Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
| * mboot.c32: Delete superfluous $(LIBS) prerequisiteMatt Fleming2011-04-111-2/+1
| | | | | | | | | | | | | | com32.mk already includes the necessary archive libraries in $(C_LIBS), we don't need to list them again in $(LIBS). Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
| * Makefile: Move Makefile fragments into mk/Matt Fleming2011-04-0739-42/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the MCONFIG files into a mk/ directory and give them more descriptive names. This is purely a cosmetic change to make the 'include' directives a bit more coherent by making it obvious exactly which MCONFIG file we're including. For example, in com32/lua/src/Makefile we exchange the line, include ../../MCONFIG for the much more comprehensible, include $(MAKEDIR)/com32.mk Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
* | isolinux: remove broken and obsolete open_file_tH. Peter Anvin2011-04-251-16/+0
| | | | | | | | Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | isolinux: remove .img file supportH. Peter Anvin2011-04-254-193/+9
| | | | | | | | | | | | | | | | Remove disk image support from ISOLINUX. Very few BIOSes support this call correctly, and it is likely to have been broken for a very long time anyway. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | com32: inet_ntoa() takes struct in_addrH. Peter Anvin2011-04-253-17/+20
| | | | | | | | | | | | | | The standard definition for inet_ntoa() is to take struct in_addr, and not doing that causes a conflict on the lwip branch. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | hdt: remove set-but-unused variableH. Peter Anvin2011-04-251-3/+0
| | | | | | | | | | | | | | | | Remove a set but unused variable in HDT, which prevents building with gcc 4.6. This is probably a bug; presumably the active flag should be presented to the user, too. Signed-off-by: H. Peter Anvin <hpa@zytor.com>