Displaying 20 results from an estimated 100000 matches similar to: "Load ELF module in code"
2019 Sep 25
0
syslinux-5.xx+ modules' ELF files may be mistreated as system DSO
Hi!
Nowadays Syslinux uses regular dynamically linked ELF files as it's
modules:
[...]
com32: Switched from the COM32 object format to ELF as it is a much more
powerful format that allows undefined symbols to be resolved at runtime
and dynamic loading of module dependencies, which means modules now
become shared object files instead of statically linked binaries -
reducing both disk space
2017 Oct 09
1
How do I debug com32 modules with GDB using DWARF format?
On 10/10/17 12:11 AM, Gene Cumm wrote:
>
> I can't say I've ever tried using gdb against COM32 modules.
>
Well, in syslinux v5.00 and above, com32 modules are effectively built
as ELF.
Btw, I already found a way, though not perfect:
- Create a FAT bootable disk image using "syslinux --install".
- Copy hello.c32 module and load it in syslinux.cfg.
- Find the
2007 Sep 20
1
elf.c32 plus it's library
Op 20-09-2007 om 08:31 schreef St?phane ARQUER:
> "previous"
> > [ 'elf.c32' booting a RTEMS ELF binary ]
>
> - P4 2GHz 512M with a 3c905c PXE v2.20
> PXELINUX doesn't work with this one
>
> - P4 3GHz 2048M with an Intel 82573L gigabit eth PXE
> PXELINUX works on this machine
>
> - HP kayak P3 866MHz with PXE v2.20
> PXELINUX doesn't
2011 Feb 16
0
[elflink] _root_.c32 shallow ELF module
Hi,
I'm trying to figure out how to link against symbols from the core com32
shallow module at runtime. I see references to _root_.c32
(EXEC_ROOT_NAME) in com32/lib/sys/module/exec.c, but can't find where
this module is created in the build infrastructure, if indeed it is
created at all.
Does anyone have any pointers?
2007 Sep 13
10
Load ELF 32bits LSB executable
Hi,
I'd like to load with pxelinux an RTEMS executable file, the format is
ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically
linked, strtipped
Can someone tell me if there is a way to load it with PXElinux.
When I try to do it, the error message is :
invalid or corrupt kernel image
Thanks for your help.
Regards.
Stephane ARQUER
2020 Jan 22
0
[PATCH] com32/modules: introduce play module
This plays a tune through the PC speaker and is compatible with the
GRUB2 command of the same name.
Signed-off-by: Drew DeVault <sir at cmpwn.com>
---
com32/modules/Makefile | 2 +-
com32/modules/play.c | 95 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 96 insertions(+), 1 deletion(-)
create mode 100644 com32/modules/play.c
diff --git a/com32/modules/Makefile
2015 Sep 20
1
[syslinux:master] com32/modules: Split build by architecture. Add dir.c32
On Sun, Sep 20, 2015 at 8:33 AM, syslinux-bot for Gene Cumm
<gene.cumm at gmail.com> wrote:
> Commit-ID: e0ac1d2fdf7d7c58457f3796a12561cce95ca29f
> Gitweb: http://www.syslinux.org/commit/e0ac1d2fdf7d7c58457f3796a12561cce95ca29f
> Author: Gene Cumm <gene.cumm at gmail.com>
> AuthorDate: Sun, 20 Sep 2015 08:30:55 -0400
> Committer: Gene Cumm <gene.cumm at
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
2012 May 23
1
[GIT PULL] Remove duplicate COM32 modules
The following changes since commit 4fc3fd1e14f4c1b9208ef262e5b6aef853e9fce4:
graphics: make use of syslinux_force_text_mode() (2012-05-19 02:05:38 -0300)
are available in the git repository at:
git://github.com/aericson/syslinux.git elflink
for you to fetch changes up to 2779b713bdd8644ee2b52962ece6daa209b4ba6b:
com32: remove duplicate modules (2012-05-22 20:59:51 -0300)
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
2012 Dec 16
1
Upgraded to Syslinux 5.00 - Failed to load ldlinux.c32
Hello,
today I upgraded from Syslinux 4.06 to to Syslinux 5.00. But now the
system won't boot anymore and I get the message
Failed to load ldlinux.c32
Boot failed: please change disks and press a key to continue
What I have done:
1) Installed Syslinux 5.00
2) Reinstalled "mbr.bin" to /dev/sda and /dev/sdb using
dd bs=440 count=1 conv=notrunc
2015 Feb 10
1
Missing make dependencies?
I'm seeing some sporadic build failures with 'make -j4'. The failures are:
make[4]: *** No rule to make target 'hello.c32', needed by 'all'. Stop.
I've only seen the failures with com32/samples/hello.c32 and com32/rosh/rosh.c32.
I'm not a make expert, but I think it's due to missing dependencies. This patch
seems to fix my failures, but I'm
2018 Apr 06
2
EFI Clients Unable to Load kernel/initrd Not Stored on PXE Server
Issue Statement:
PXE booting from BIOS systems works fine on both 6.03 and 6.04-pre1. New clients only support (u)EFI which results in the inability to load remote kernel or initrd. Tested with both Syslinux 6.03 and 6.04-pre1. So far unable to boot any (u)EFI clients unless both initrd and kernel are on PXE server.
Using packet captures I see that the URI request for the remote file on the repo
2016 Apr 25
0
Creating Syslinux UEFI usb boot
Den 21. april 2016 kl. 22.04.37 +02.00 skrev Gene Cumm <gene.cumm at gmail.com>:
> On Thu, Apr 21, 2016 at 6:39 AM, Gene Cumm <<gene.cumm at gmail.com>> wrote:
>
> > On Thu, Apr 21, 2016 at 3:29 AM, Atle Holm <<atle at team-holm.net>> wrote:
> >
> > > Under EFI/BOOT are the following files:
> > > BOOTIA32.EFI (from
2014 May 20
0
"EDD Load error" on btrfs, how to debug?
Hi
On Tue, May 20, 2014 at 9:18 AM, Anatol Pomozov
<anatol.pomozov at gmail.com> wrote:
> Hi
>
> On Tue, May 20, 2014 at 3:12 AM, Gene Cumm <gene.cumm at gmail.com> wrote:
>> On May 20, 2014 12:33 AM, "Anatol Pomozov" <anatol.pomozov at gmail.com> wrote:
>>>
>>> Hi
>>>
>>> On Mon, May 19, 2014 at 6:58 PM, Gene Cumm
2015 Mar 20
0
About Memory, COM32, and Dynamic Loading
> Hi there,
>
> Is there any updated document on COM32 format?
> http://www.syslinux.org/doc/comboot.txt
>
> Is there any updated memory map?
> http://www.syslinux.org/wiki/index.php/Memory_Map_(General)
>
> is there any updated info on Dynamic Module Loading Using the ELF Format?
> http://www.syslinux.org/wiki/index.php/GSoC2008_Stefan
>
> Thanks,
>
2009 May 10
2
Loading ELF dynamic modules
Ive seen the GSOC 2008 mod for allowing dynamic loading of ELF modules
and it fits exactly what we need.
1) It mentions it will be part of syslinux 4. Is there an estimated
release for syslinux 4?
2) The docs are amazingly sparse. Aside from one partial usage note,
there appear to be no text files, man pages, html.. nothing. Only thing
I could find was looking in source at the print_help
2006 Jan 14
3
Patch to add Symbols/segments loader for mboot.c
Hello,
I use Tim's mboot.c32 to load multiboot kernels over pxelinux. However, some
kernels require the symbol table and other information in the ELF section
header table to be able to load properly. This functionality is not present
in mboot.c now, so I added support for it.
The patch is attached. It would be great if you can push this into the next
release of syslinux so ELF multiboot
2013 Apr 29
3
ifcpu[64].c32 functions drop to command line
I'm having issues with the ifcpu[64].c32 modules. I am building a menu system (as opposed to the command line only options I was previously using) to make it easier for my boss to use PXE. I discovered the modules for auto detecting the CPU and thought hey, that's great! However, I'm having an issue where when I select to boot say System Rescue CD, it drops me to the command line
2015 Mar 14
0
[PATCH 0/1] EFI access from Com32 modules
This patch adds to Com32 modules the capabilities of accessing the EFI environment
The idea is simple, the EFI parameters "image" and "table" received by syslinux.efi's
efi_main() are stored in the "firmware" structure, next they are retrieved from the Com32
module which is linked against the gnu-efi static library. The Com32 module can use the EFI