Displaying 20 results from an estimated 6000 matches similar to: "Syslinux-5.01 cmd.c32 broken: __com32 undefined"
2003 Sep 15
2
Can not use read file SYSLINUX API call
Hi Peter Anvin
I tried to use open file and read file SYSLINUX API. But it always make my
PC104 freeze. My snip code :
================================================
int __start(void)
{
int ax,cx,dx,es,si,di,t;
com32sys_t inreg,outreg;
memset(&inreg, 0, sizeof inreg);
memset(&outreg, 0, sizeof outreg);
strcopy(__com32.cs_bounce, "test.txt");
inreg.eax.w[0] = 0x0006; //
2009 Feb 11
1
[PATCH 1/1] COM32 API: Add functions for directory use
From: Gene Cumm <gene.cumm at gmail.com>
COM32: Add directory functions getcwd(), opendir(), readdir() and closedir().
This depends on the patch that I just submitted creating the COMBOOT API calls.
Signed-off-by: Gene Cumm <gene.cumm at gmail.com>
---
The intention is to create the library calls with (hopefully) POSIX
compliance such that a small application written to use these
2008 Dec 04
0
[PATCH 1/1] COM32: Add directory functions
From: Gene Cumm <gene.cumm at gmail.com>
COM32: Add directory functions getcwd(), opendir(), readdir() and closedir().
This depends on the patch that I just submitted creating the COMBOOT API calls.
Signed-off-by: Gene Cumm <gene.cumm at gmail.com>
---
The intention is to create the library calls with (hopefully) POSIX
compliance such that a small application written to use these
2014 Jun 09
1
syslinux (pxelinux.0) debug prints
On Thu, Jun 5, 2014 at 8:50 AM, Wissam Shoukair <wissams at mellanox.com> wrote:
> Hi Gene,
>
> More information about this?
>
> I have found in the syslinux git that this commit id is the last good
> commit:
>
> commit 41c29c26d70fde563d7c255872bbadad87a39dfa (tag:
> refs/tags/syslinux-5.02-pre3)
> Author: Matt Fleming <matt.fleming at intel.com>
>
2012 Jun 26
2
[GIT PULL] elflink bug fixes
Hi Peter,
Please pull the following changes.
Paulo, I had to revert your "pxe: resolve names via DNS from
protected-mode code" change because dns_resolv() is only implemented for
PXELINUX and causes undefined symbol references for ISOLINUX, etc. Feel
free to make the change again on top of the revert.
The following changes since commit e7bd19def830e8341b1a100956345f1028740b9e:
2007 Jan 06
6
PXE stack access via com32
Hi,
I've checked the archives for my issue, and while there is relevant discussion, the problem the original poster was asking about didn't seem to have been resolved then either (~2 years ago). At any rate, basically what I'm trying to do is send (possibly receive) UDP packets via the PXE stack using the com32 API (using version 3.11 of syslinux). I have followed both the comboot
2008 Mar 25
3
Com32 api problem !
(sorry for my english if it is approximate !)
I want to access harddisk from com32 api with PXELINUX.
I try to use int 13h Extended Read Drive Parameters (48h), it doesn't works.
Here is my code, I have an error 1 in AH return code.
Int 13h Read Drive Parameters (08h) work well.
*******************************************************************************************
struct params {
2009 May 24
1
Sending UDP packets from comboot
Hi everyone.
I've read through the archives and found a few posts about using the PXE
stack, but none of these really helped me.
What i want to do is: Prompt the user for 2 values, desired hostname and
a "pin" (just a number) and send this information
over UDP to my server
The problem is not the user input but the UDP part.
I've tried to change the code from the post of jesse
2012 Jul 16
5
[PATCH 0/5] Deleting __intcall() from Syslinux
From: Matt Fleming <matt.fleming at intel.com>
Since we can't use __intcall() for EFI, and since we can now have the
ELF module code resolve all our symbols at runtime, we should delete
as many references to __intcall() as possible and just access the
symbols directly.
The most interesting patch is the support for weak symbols. We need to
be able to reference derivative-specific
2006 Mar 11
5
mboot.c32, weird e820 map on HP blade machine, possible memory corruption
I'm seeing this on a HP Blade and i'm not sure why this is happning since
the nature of the issue is so wierd.
I compiled mboot.c with a DEBUG defined in the mboot.c file. In the funciton
init_mmap(), it prints the e820 map and on the HP blade this map values come
out to be totally random. Some weird numbers which dont make any sense at
all.
However, if i add a while(1); or a exit(1); at
2013 Feb 25
0
[syslinux:elflink] com32: Add com32_cmdline() which returns argv[ 1..argc-1]
On 02/23/2013 04:30 AM, syslinux-bot for Matt Fleming wrote:
> Commit-ID: 41c29c26d70fde563d7c255872bbadad87a39dfa
> Gitweb: http://www.syslinux.org/commit/41c29c26d70fde563d7c255872bbadad87a39dfa
> Author: Matt Fleming <matt.fleming at intel.com>
> AuthorDate: Fri, 22 Feb 2013 15:13:38 +0000
> Committer: Matt Fleming <matt.fleming at intel.com>
>
2007 Feb 12
4
Read disk not working in 3.35+
Hey,
Looks like read disk function which was launched in 3.35 isnt working.
Did anyone test this on any hardware? I'm using it thru the com32
interface to read contents of the active partition of a USB boot key
(syslinux).
I did a sample test like:
void scanAndPrint()
{
com32sys_t regs_in;
char *sectorBuf = __com32.cs_bounce;
int i;
memset(sectorBuf, 0x0, 512); // XXX MARK 1
2012 Sep 04
3
INT22h/000Dh
Hi,
I would like to use INT22h, function 000Dh, but I found that it is
disabled in vector table:
in core/comboot.inc:
int22_table:
[...]
dw comapi_err ; 000D clean up then bootstrap
[...]
The code of this function is present in this file (comapi_chainboot).
Why this function is disabled?
Regards
Piotr Romaniuk
PS
I am using syslinux-4.04.
2012 Aug 14
1
[GIT PULL] elflink fixes
Hi Peter,
The main part of this pull request includes commits that try to replace
as many __intcall() invocations as possible. Some remain, but not many
(and eventually they'll be gone too). There's also a patch to make
better use of ld's --as-needed option and various other bug
fixes/cleanups.
The following changes since commit ff7334a2ce536b7f4b1f6d6f93ff4e285a3bd45a:
Only
2007 Jan 25
5
Custom com32
Hi all
I've written a basic COM32 module that checks (using the DMI example
code) the product and BIOS and if the BIOS is not at the required level,
is supposed to exit and boot using a DOS floppy image to flash the BIOS.
The problem is that I can't work out how to call the DOS floppy image.
Looking at the website, I see "Run Command" AX=0003H via int 22. The
image name will
2009 Jul 27
1
[PATCH] mboot using module path
Hi,
We are using pxelinux at my company to test our product. And there are
limitations
that we have hit in the past w.r.t. the max length of a path, or the
max length of a module
name (in mboot.c / mboot.c32). We've used workarounds in the past, and
reorganized the
directory structure, but we face that problem again. Out of the 128 /
FILENAME_MAX chars
that can be used, 110 - 120 go to the
2010 Jul 01
2
[PATCH] ifplop.c32: Detect if PLoP USB/CD INT13h hook is enabled/disabled
New module which check if the PLoP Boot Loader already has booted a
CDROM or USB drive by checking for the presence of the PLoP INT13h hook.
The following assembly code (NASM) can detect the PLoP INT13h hook:
mov eax,'PoLP' ; Reverse of 'PLoP'
mov ebp,'DKHC' ; Reverse of 'CHKD'
int 13h
cmp eax,' sey' ; Reverse of 'yes '
jz
2012 Dec 06
2
Syslinux 5.00 released
Hi folks,
Syslinux 5.00 is out in time for the holidays. This release includes a
lot of changes from 4.06. I've included the NEWS entries below, which
highlight the major changes.
Lots of assembly code has been rewritten in C, which makes further
development much easier (and also really helped for the 'firmware'
abstraction that appears in Syslinux-6.00-pre1). So be on the lookout
2009 Feb 16
3
[PATCH] cmd.c32: new module to just execute a command
Trivial module to execute an arbitrary command.
---
com32/modules/Makefile | 2 +-
com32/modules/cmd.c | 42 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 43 insertions(+), 1 deletions(-)
create mode 100644 com32/modules/cmd.c
diff --git a/com32/modules/Makefile b/com32/modules/Makefile
index 2739a39..930e89b 100644
--- a/com32/modules/Makefile
+++ b/com32/modules/Makefile
2008 Jul 16
2
[PATCH 1/2] chain.c32: fix bounce buffer handling
Fix breakage in the "hide" option support patch:
- The code which initialized the global variable "dapa" was lost in
commit 81c203f2, therefore EBIOS access did not work properly.
Fixed by removing the global variable completely and moving all
bounce buffer handling into read_sector() and write_sector().
- write_sector() copied data to the bounce buffer, but then