summaryrefslogtreecommitdiff
path: root/diag/geodsp
Commit message (Collapse)AuthorAgeFilesLines
* diag/geodsp/: Remove geodsp1s_f.img.xz image from target; CopyrightGene Cumm2015-02-224-5/+5
| | | | | | | It's relatively simple to just apply the geodsp1s_f.bin force drive 80h after applying the plain geodsp1s.img.xz Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
* diag/geodsp/Makefile: lib; _f alternateGene Cumm2015-02-161-3/+7
| | | | | | | Move library dependendcies to a variable; Add another _f (Force DL == 80h) variant. Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
* diag/geodsp: updateGene Cumm2015-02-163-74/+113
| | | | | | | | Print drive number at start. Print '!' before data when an error is encountered (but continue). Several macros to change codesize. Code refactoring to reduce size. Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
* diag/geodsp: Update README with a sampleGene Cumm2015-02-151-0/+24
| | | | Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
* diag/geodsp: mk-lba-img.pl misdirects a status messageGene Cumm2015-02-151-1/+1
| | | | | | | mk-lba-img.pl misdirects a status message about len/tail such that it hits stdout (which may be our file) instead of stderr. Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
* diag/geodsp: fix .img target in MakefileGene Cumm2014-01-181-1/+1
| | | | | | Accomodates the per-firmware object directory support Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
* diag/geodsp: fix MakefileGene Cumm2014-01-181-3/+3
| | | | | | Correct merge f88b4f47 Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
* Merge branch 'elflink' into firmwareH. Peter Anvin2014-01-171-7/+25
|\ | | | | | | | | | | | | Resolved Conflict: diag/geodsp/Makefile Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
| * Merge branch 'master' into elflinkelflinkH. Peter Anvin2014-01-172-10/+28
| |\ | | | | | | | | | | | | | | | | | | | | | | | | Resolved Conflicts: NEWS core/fs/fs.c version Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
| | * diag/geodsp: README fixesGene Cumm2014-01-081-7/+25
| | | | | | | | | | | | | | | | | | Should clarify the situation; also word-wrap & save example Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
| | * diag/geodsp: fix MakefileGene Cumm2014-01-081-3/+3
| | | | | | | | | | | | | | | | | | | | | Results in null image Reported-By: ioannis Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
* | | Merge tag 'syslinux-5.00' into firmwaresyslinux-6.00-pre3Matt Fleming2012-12-071-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile com32/elflink/ldlinux/Makefile com32/lib/sys/module/elf_module.c core/cleanup.c core/comboot.inc core/conio.c core/fs/fs.c core/init.c core/mem/free.c core/mem/malloc.c core/timer.inc diag/geodsp/Makefile extlinux/main.c mk/embedded.mk modules/Makefile Signed-off-by: Matt Fleming <matt.fleming@intel.com>
| * | Symbol export whitelistMatt Fleming2012-12-051-1/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before modules were dynamically loaded the boundary between GPL and non-GPL code was implicit because of the separate link domains for each module. With dynamic modules we need an explicit whitelist of core symbols that non-GPL code can link against at runtime without needing to be re-licensed under the GPL. Mark such symbols with __export, so that it is explicitly clear which symbols in the core can be linked against by non-GPL code. Reduce the visibility of symbols in both the core and ldlinux.c32 with -fvisibility=hidden. __export changes the visibility to 'default'. Signed-off-by: Matt Fleming <matt.fleming@intel.com>
* | Add per-firmware object directory supportMatt Fleming2012-10-161-5/+4
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that we have multiple firmware backends it no longer makes sense to write object files to the same directory as their source. A better solution is to write the object files to a per-firmware directory under a top-level object directory. The top-level object directory can be specified on the command-line with the O= variable, e.g. make O=/tmp/obj. If no top-level object directory is specified an 'obj' directory is created in the top-level of the Syslinux source repository. All the existing make targets continue to work as before, however now they apply to all firmware backends, e.g. 'make installer' will build the BIOS, 32-bit EFI and 64-bit EFI installers and place them under $(OBJ)/bios, $(OBJ)/efi32 and $(OBJ)/efi64 respectively. Note unlike every other bit of Syslinux, the gpxe objects are still kept in the src directory, e.g. gpxe/src, since gpxe is only required by the BIOS backend. It is possible to specify a make target for a specific firmware or list of firmware with the following syntax, make [firmware[,firmware]] [target[,target]] To clean the object directory for just the BIOS firmware type, 'make bios clean' To build both the 32-bit and 64-bit EFI installers type, 'make efi32 efi64 installer' Since the Syslinux make infrastructure is now more complex a new file doc/building.txt has been created to explain how to build Syslinux. The top-level Makefile now exports some make variables for use in module Makefiles, - topdir - the top-level source directory of the Syslinux repository, e.g. /usr/src/syslinux - objdir - the top-level object directory for the firmware backend currently being built, e.g. /obj/syslinux/bios - SRC - the source directory in the Syslinux repository for the module currently being built, e.g. /usr/src/syslinux/com32/libupload - OBJ - the object directory for the module currently being built, e.g. /obj/syslinux/bios/com32/libupload Since we're rewriting the Makefile infrastructure anyway it seemed like a good idea to add parallel support. By writing subdirectories as prequisites for make targets the objects in those subdirectories can be built in parallel. Signed-off-by: Matt Fleming <matt.fleming@intel.com>
* diag/geodsp: Use perl to make the image; Fix MakefileGene Cumm2011-12-311-4/+8
| | | | | | | | | | | | This reduces the host binary dependence and prevents the need for a rebuild of the images after a 'make clean'. This has the unfortunate side effect of going from 0.03s to 0.30s to build an image. Also fix Makefile to include (optional) raw targets and use $(GZIPPROG) Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
* diag/geodsp: add mk-lba-img.plGene Cumm2011-12-311-0/+94
| | | | To be used to replace the native C binary
* 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>
* diag/geodsp/Makefile: Use make variablesGene Cumm2011-04-291-5/+7
| | | | | | | 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
|
* Merge remote-tracking branch 'mfleming/for-hpa/makefile-cleanup'H. Peter Anvin2011-04-261-1/+1
|\ | | | | | | | | | | | | | | Resolved Conflicts: com32/hdt/Makefile com32/sysdump/Makefile Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * Makefile: Move Makefile fragments into mk/Matt Fleming2011-04-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | diag/geodsp: zero-fill sectors in -1 modeH. Peter Anvin2011-04-251-0/+2
| | | | | | | | | | | | | | In -1 mode, zero-fill the sector instead of writing whatever garbage was in the buffer already. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | diag/geodsp: fix ordering of args to fread/fwrite in mk-lba-imgH. Peter Anvin2011-04-251-3/+3
| | | | | | | | | | | | | | If we want the return value to be in bytes, make sure we pass the byte count in the nmemb field instead of the size field. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | diag/geodsp: Avoid large intermediate filesH. Peter Anvin2011-04-252-30/+41
| | | | | | | | | | | | | | | | Allow the generation program mk-lba-img to merge the prefix file and output to stdout, so it can be fed directly to the compressor; that way we avoid generating huge intermediate files on disk. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | diag: Don't remove BTARGET on make cleanH. Peter Anvin2011-04-181-1/+2
|/ | | | | | "make clean" should not remove BTARGET Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* diag/geodsp/README: Additional use notesGene Cumm2011-03-291-0/+6
|
* diag/geodsp/Makefile: use ./ to run a file in the current dirH. Peter Anvin2011-03-161-1/+1
| | | | | | When running a file in the current directory, use ./ as a prefix. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* diag/geodsp: Display Geometry based on readGene Cumm2011-03-096-0/+708
This produces two images that are 8MiB+ in size (in order to exceed the size of the largest CHS cylinder) containing 1 or multiple sectors of code/data and the remaining sectors filled with their LBA.