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
St?phane ARQUER wrote:> 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 >Try using elf.c32 to load it. If that doesn't work, then RTEMS probably needs specific entry conditions. -hpa
Hi, I tryed to force the format with the keywords given in the syslinux doc page but the ELF format is not recognize. I've attached a simple hello prog to allow testing. Actually I use grub to load these file with pxegrub. Regards. SA H. Peter Anvin wrote:> St?phane ARQUER wrote: >> 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 >> > > Try using elf.c32 to load it. If that doesn't work, then RTEMS probably > needs specific entry conditions. >.. which, I should point out, should be easy enough to accommodate if we can find out what they are. -hpa _______________________________________________ SYSLINUX mailing list Submissions to SYSLINUX at zytor.com Unsubscribe or set options at: http://www.zytor.com/mailman/listinfo/syslinux Please do not send private replies to mailing list traffic. -------------- next part -------------- A non-text attachment was scrubbed... Name: hello.exe.gz Type: applicaiton/octet-stream Size: 58059 bytes Desc: not available URL: <http://www.zytor.com/pipermail/syslinux/attachments/20070917/834cf412/attachment.bin>
St?phane ARQUER wrote:> Hi, > > I tryed to force the format with the keywords given in the syslinux doc > page but the ELF format is not recognize. >It should look something like: label rtems kernel elf.c32 append rtems.elf -hpa
St?phane ARQUER wrote:> The result is the same: > invalid or corrupt kernel imageDo you actually have elf.c32 installed? I tried your hello.exe, and it worked fine with syslinux 3.52-pre8 at least. -hpa
The result is the same: invalid or corrupt kernel image SA Le 17/9/2007, "H. Peter Anvin" <hpa at zytor.com> a ?crit:>St?phane ARQUER wrote: >> Hi, >> >> I tryed to force the format with the keywords given in the syslinux doc >> page but the ELF format is not recognize. >> > >It should look something like: > >label rtems > kernel elf.c32 > append rtems.elf > > -hpa > >_______________________________________________ >SYSLINUX mailing list >Submissions to SYSLINUX at zytor.com >Unsubscribe or set options at: >http://www.zytor.com/mailman/listinfo/syslinux >Please do not send private replies to mailing list traffic. >
Do you recieve this morning the hello.exe.gz file ? This is a simple hello world program from rtems.org cross compiled for i386. This executive works with grub on a floppy for exemple and with pxegrub also. SA Le 17/9/2007, "H. Peter Anvin" <hpa at zytor.com> a ?crit:>St?phane ARQUER wrote: >> Hi, >> >> I tryed to force the format with the keywords given in the syslinux doc >> page but the ELF format is not recognize. >> > >It should look something like: > >label rtems > kernel elf.c32 > append rtems.elf > > -hpa > >_______________________________________________ >SYSLINUX mailing list >Submissions to SYSLINUX at zytor.com >Unsubscribe or set options at: >http://www.zytor.com/mailman/listinfo/syslinux >Please do not send private replies to mailing list traffic. >
St?phane ARQUER wrote:> Do you recieve this morning the hello.exe.gz file ? > > This is a simple hello world program from rtems.org cross compiled for > i386. > This executive works with grub on a floppy for exemple and with pxegrub > also. >Yes, it worked fine for me. -hpa
St?phane ARQUER wrote:> Le 17/9/2007, "H. Peter Anvin" <hpa at zytor.com> a ?crit: > >> St?phane ARQUER wrote: >>> The result is the same: >>> invalid or corrupt kernel image >> Do you actually have elf.c32 installed? > > no. > Can you tell me more ?elf.c32 (as all other .c32 modules) ship with syslinux in the com32/modules directory. A lot of functionality is not available without them. -hpa
Le 17/9/2007, "H. Peter Anvin" <hpa at zytor.com> a ?crit:>St?phane ARQUER wrote: >> The result is the same: >> invalid or corrupt kernel image > >Do you actually have elf.c32 installed?no. Can you tell me more ?> >I tried your hello.exe, and it worked fine with syslinux 3.52-pre8 at least. > > -hpa > >_______________________________________________ >SYSLINUX mailing list >Submissions to SYSLINUX at zytor.com >Unsubscribe or set options at: >http://www.zytor.com/mailman/listinfo/syslinux >Please do not send private replies to mailing list traffic. >
Hi,
Can you tell me what do I need to install exactly ?
I downloaded syslinux-3.52-pre8
then I made a make in /com32 directory.
I put the elf.c32 file in /tftpboot
and I modified the pxelinux.cfg/IPfile such:
default rtems
label rtems
kernel elf.c32
append my_rtems_execfile.exe
after the message booting...
the pc is frozen.
The there is something wrong in the way I proceed.
SA.
Le 17/9/2007, "H. Peter Anvin" <hpa at zytor.com> a ?crit:
>St?phane ARQUER wrote:
>> Le 17/9/2007, "H. Peter Anvin" <hpa at zytor.com> a
?crit:
>>
>>> St?phane ARQUER wrote:
>>>> The result is the same:
>>>> invalid or corrupt kernel image
>>> Do you actually have elf.c32 installed?
>>
>> no.
>> Can you tell me more ?
>
>elf.c32 (as all other .c32 modules) ship with syslinux in the
>com32/modules directory. A lot of functionality is not available
>without them.
>
> -hpa
>
>_______________________________________________
>SYSLINUX mailing list
>Submissions to SYSLINUX at zytor.com
>Unsubscribe or set options at:
>http://www.zytor.com/mailman/listinfo/syslinux
>Please do not send private replies to mailing list traffic.
>