1) I put "label hello ..." into the pxelinux.cfg/MAC-address file, and
rebooted. It continues to look for a linux kernel. Here var/log/messages:
Apr 20 20:11:35 ztron dhcpd: DHCPDISCOVER from 00:20:38:00:67:c0 via eth0
Apr 20 20:11:36 ztron dhcpd: DHCPOFFER on 192.168.1.49 to 00:20:38:00:67:c0
via eth0
Apr 20 20:11:37 ztron dhcpd: DHCPREQUEST for 192.168.1.49 (192.168.1.1) from
00:20:38:00
:67:c0 via eth0
Apr 20 20:11:37 ztron dhcpd: DHCPACK on 192.168.1.49 to 00:20:38:00:67:c0
via eth0
Apr 20 18:11:37 ztron in.tftpd[2101]: RRQ from 192.168.1.49 filename
/pxelinux.0
Apr 20 18:11:37 ztron in.tftpd[2101]: tftp: client does not accept options
Apr 20 18:11:37 ztron in.tftpd[2102]: RRQ from 192.168.1.49 filename
/pxelinux.0
Apr 20 18:11:37 ztron in.tftpd[2103]: RRQ from 192.168.1.49 filename
/pxelinux.cfg/01-00
-20-38-00-67-c0
Apr 20 18:11:37 ztron in.tftpd[2104]: RRQ from 192.168.1.49 filename /linux
Apr 20 18:11:37 ztron in.tftpd[2105]: RRQ from 192.168.1.49 filename
/linux.cbt
Apr 20 18:11:37 ztron in.tftpd[2106]: RRQ from 192.168.1.49 filename
/linux.0
Apr 20 18:11:37 ztron in.tftpd[2107]: RRQ from 192.168.1.49 filename /
linux.com
Apr 20 18:11:37 ztron in.tftpd[2108]: RRQ from 192.168.1.49 filename
/linux.c32
2) I then thought I might have misinterpreted your email, set filename to
"/elf.c32" in
/etc/dhcp/dhcpd.conf, and restarted the daemon.
This also does not work. Here /var/log/messages
Apr 20 20:41:06 ztron dhcpd: DHCPDISCOVER from 00:20:38:00:67:c0 via eth0
Apr 20 20:41:07 ztron dhcpd: DHCPOFFER on 192.168.1.49 to 00:20:38:00:67:c0
via eth0
Apr 20 20:41:08 ztron dhcpd: DHCPREQUEST for 192.168.1.49 (192.168.1.1) from
00:20:38:00
:67:c0 via eth0
Apr 20 20:41:08 ztron dhcpd: DHCPACK on 192.168.1.49 to 00:20:38:00:67:c0
via eth0
Apr 20 20:41:08 ztron xinetd[6662]: START: tftp pid=2454 from=192.168.1.49
Apr 20 18:41:08 ztron in.tftpd[2455]: RRQ from 192.168.1.49 filename
/elf.c32
Apr 20 18:41:08 ztron in.tftpd[2455]: tftp: client does not accept options
Apr 20 18:41:08 ztron in.tftpd[2456]: RRQ from 192.168.1.49 filename
/elf.c32
And here a screen dump:
Pre-boot eXecution Environment (PXE) v2.40
(C) Copyright 1999 Intel Corporation.
(C) Copyright 2000 Lanworks Technologies Co. a subsidiary of 3Com
Corporation
All rights reserved
CLIENT MAC ADDR: 00 20 38 00 67 C0
CLIENT IP: 192.168.1.49 MASK: 255.255.255.0 DHCP IP: 192.168.1.1
GATEWAY IP: 192.168.1.2
Any suggestions on how to get this right ?
Thx
Tilman
On Sun, Apr 20, 2008 at 5:52 PM, H. Peter Anvin <hpa at zytor.com> wrote:
> Tilman Glotzner wrote:
>
> > Hello
> >
> > I have an application running on top of the ORK (Open Ravenscar
Kernel).
> > The file format of the executable is elf:
> > $ file /var/tftp/hello.vmic7750
> > /var/tftp/hello.vmic7750: ELF 32-bit LSB executable, Intel 80386,
> > version 1
> > (SYSV), statically linked, not stripped
> >
> >
> > I wonder if I can use pxelinux for booting the kernel via network on
the
> > target machine. The
> > target machine support PXE. I sucessfully booted a linux kernel via
> > network
> > on it.
> > I guess some sort of boot loader is lacking. What do need to do to add
a
> > bootload ? Can pxelinux do that for me ? Looking at the options of
> > syslinux,
> > a ELF executable seems not to be supported directly.
> >
> >
> ELF kernels can be booted via mboot.c32 (for Multiboot-compliant kernels),
> or elf.c32 (for non-Multiboot kernels.)
>
> label hello
> kernel elf.c32
> append hello.vmic7750
>
> -hpa
>
>