Displaying 20 results from an estimated 20000 matches similar to: "Contributing to the COM32 Libc"
2011 Jun 10
3
com32 compatibility between syslinux 3-4
Hi Everyone,
This question might be a long shot, but is it possible to mix and match com32 programs written against Syslinux 3 with com32 programs written against Syslinux 4 without recompiling. We are trying to have our com32 programs run with different versions of Syslinux without modification. Appreciate any advice,
thanks in advance.
2005 Sep 25
1
File size and graphics from com32 modules (unrelated)
Hi,
I'm working on a com32 module in which I need to get some file size.
The only way I found was to include the "lib/sys/file.h" header file and get the
i.length field from the file_info structure (once a file descriptor is open).
I understand that this structure is internal to the Com32 file I/O
implementation and should
not be accessed from com32 modules. So is there a
2008 May 05
2
COM32 and network access
Hi!
i'm kinda investigating the possibility of using COM32 to manage an
in-house installation method.
For this to work, we need to have network access (HTTP preferred)
from within COM32 itself. That or any kind of query/response type
of network access.
This is an example of what we could use:
GET /somewhere/blah.asp?MACHINE=THIS
and parse the response from the server.
We're completely
2010 May 19
2
Can't get COM32 + GDB to work
Hey guys,
I can't seem to figure out how to debug a COM32 app with GDB under qemu.
I start "qemu -s" and then "gdb hello.elf ; target remote:1234" but
can't set any breakpoints
that work. I"m using syslinux4 (pathbased from the repo).
Can anyone verify that they can use qemu+com32+gdb with something as simple as
com32/samples/hello.c32 ?
Also, is it
2010 Aug 05
2
Accessing memory PCI config space from a com32 module
I need to do PCIe memory mapped configuration space access from a com32 module. (ECAM, memory mapped, not CAM, which uses I/O port access).
I know how to find the base address to the config space in Linux and use ECAM to access configuration registers.
com32/lib/pci does not use ECAM.
In Linux the region for ECAM is referred to as PCI MMCONFIG. (often shows up as e0000000-efffffff, see
2010 Mar 08
2
com32 license restrictions
Hello,
Would com32 modules be considered the same as an ordinary Linux
executable with respect to LGPL? That is, as long as you released any
changes to syslinux/com32 libs would you also have to release the
source to the com32 module?
Thanks for your time.
2008 Jul 28
1
Relocating COM32 modules to higher mem
Hello,
As it is known, Syslinux loads COM32 modules to 0x101000 (the PM IDT is
at 0x100000). Unfortunately, in my project this area of memory is
already occupied by another program that I need to preserve for a while
(specifically, until Syslinux's COM32 module boots up the OS kernel).
In other words, I need to load and execute COM32 modules from other than
0x101000 area of memory (for
2010 Jun 16
1
COM32
Hi,
I'm using SYSLINUX as a boot loader to my OS's. Before booting my OS's, I
want to check for existence of some files on my hard drives (NTFS and ext3
as well).
I think using COM32 modules to access to file system. I want some resources
to learn more about COM32 modules and especially accessing file system using
COM32 modules.
Any help would highly appreciated.
Thanks,
Mortaza
2013 Feb 10
4
[PATCH] poweroff COM32 module
This module is able to power off a system via APM.
It replaces the poweroff COMBOOT module.
Signed-off-by: Sebastian Herbszt <herbszt at gmx.de>
---
com32/modules/Makefile | 2 +-
com32/modules/poweroff.c | 88 ++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 89 insertions(+), 1 deletions(-)
create mode 100644 com32/modules/poweroff.c
diff --git
2011 Aug 30
1
Blocked Network Interrupt for COM32 Programs
I have written a COM32 program which pxelinux loads it and executes when
machine is booted over network. And the COM32 program should be blocked till
it receives an instruction from deployment server in UDP packet.
I am looking for a network interrupt that will make my machine to wait for
an incoming udp packet, so that my server can send udp packet, and
reboot/shutdown the machine.
I would
2012 May 06
3
The Com32 Binary
Hi all,
I need the Com32 binary so I can use it on my project. Or, maybe anyone can make the COM32 library as a single API file so I can easly call it after my .c32 is running?
2009 Nov 04
2
How to glue com32 module in grub2 ?
Hello Erwan and others,
I am running HDT from grub2 with memdisk. I have informed the success of
booting hdt to the grub2 list. Some developers are very much interested
to this issue and they are showing their interest to make a glue
between com32 and grub2 so that hdt can be loaded without memdisk. It
is really very exciting to have hdt as an inbuilt feature of grub2.
Could any one kindly
2010 May 19
3
[PATCH] com32/lib/syslinux/load_linux.c: cmdline truncated
Hi,
in syslinux-386, I think I've found a problem in
com32/lib/syslinux/load_linux.c
that leads to cmdline being truncated unnecessarily when e.g.
linux.c32 is used.
The patch below fixes the problem for me. But I don't know,
whether the patch is safe in all cases. I tried to reproduce
the logic found in runkernel.inc, but I might have missed
something. So, feel free to tell me
2008 Dec 09
1
COM32: console_ansi_raw() and later segfaults
For the read-only shell that I'm working on, I'm running into a slight
snag. I'm trying to build a paging command (emulating the function of
more). It seems get_key() is probably the best function to use for
obtaining just a single key sequence. On my first run, I tried to
call console_ansi_raw(), then get_key() then console_ansi_std() to
change it back to a more normal mode. When
2003 Sep 10
1
Open file > 64 K in COM32
Hi all,
I used syslinux to load linux on DiskOnChip in PC104
for one embbeded project suceefully for several
months. But due to power lost sometime the image is
corrupted. I want to develop a COM32 util to check CRC
for the images and load the good ones. I read in the
comboot.doc that com32 can use read file SYSLINUX API
call to read a file, and the file must below 64K
limit. But the image files
2007 Jul 20
1
reboot from com32
Q: Is there a way to do a reboot (either warm or cold) from a com32 program?
I have a com32 program that sometimes (based upon conditions) needs to
reboot the system.
I would prefer to do a warm reboot (40:72 = 0x1234), but at this point
cold would be OK too.
grepping through syslinux-3.51 I only found one reference, in
iso/pxelinux.asm at the tail end of 'kaboom' ... but presumably
2011 Apr 04
1
[PATCH] com32: Do not use centralized bitops header in vsscanf
From: Matt Fleming <matt.fleming at linux.intel.com>
Partially revert "com32: add a centralized bitops header"
This reverts part of commit db74cf6c4182f40ecf7fad1f04799d09d82f896d.
The usage of the centralized bitops in com32/lib/vsscanf.c is not
correct because the bitmap that we're accessing is too large for the
'bt', 'bts' and 'btc' instructions to
2008 Jan 30
1
Setting DHCP option 211 (RebootTime) via COM32
Hi everybody,
is it possible to set the pxelinux.reboottime from a COM32 module? I'm
aware of the DHCP option, but I'd like to tweak this parameter according
to some logic in my COM32 code before I access a file via fread()/TFTP.
Thank, Ulrich
2005 Apr 25
1
COM32 question
I am new to 32-bit programming in DOS. So this might be a stupid question.
How do I access an absolute memory location in my COM32 code. If I
understand it correctly, all the memory addresses use virtual addresses.
I need to write code to read an absolute location in memory
Is it as simple as
answer = *(unsigned char *)MK_PTR(seg,ofs)
or does the fact that the COM32 code is runing using
2007 Sep 20
2
com32 -> localboot problem
Summary
=======
I am having trouble with com32 API call
AX=0014h [3.10] Local boot [PXELINUX, ISOLINUX]
Input: AX 0014h
DX Local boot parameter
Output: Does not return
My observation is that is returning from the call and is not localbooting
the system.
Detail
======
I am using a com32 program to configure some hardware before I boot from
the local