elf.boot

Hello,

The /boot/sys/elf.boot file contains the following lines:

[
default_image=4m
len=0x180
attr="?-bigendian"
attr=“linker=”/usr/watcom/10.6/bin/ld %(f!=2,-znosegrelocs %) -ztextpad
%(f==0,-zsegbaseaddr %) -b 0x%h -o%o %i" "
attr=“linker=”(3,6;2;0x4001)ldrel -p %(f==0,-l -t 0x%t%)%(f!=0,-b 0x%h%)
%(d!=0,-d 0x%d%) %i %o""
vboot=0xf0000000
filter=“mkifsf_elf %a %s %i”
]

Who is supposed to create Multiboot-compliant OS image? The mkifsf_elf utility
may be?

Regards,
Igor.

In article <405079DA.8080800@swd.ru>, Igor Mazanov <i.mazanov@swd.ru> wrote:

The /boot/sys/elf.boot file contains the following lines:

Who is supposed to create Multiboot-compliant OS image? The mkifsf_elf utility
may be?

Yes, it’s the mkifs_elf image filter program that adds the Multiboot header.
It doesn’t hurt anything else for that header to be there, so the
program just adds it all the time.


Brian Stecher (bstecher@qnx.com) QNX Software Systems, Ltd.
phone: +1 (613) 591-0931 (voice) 175 Terence Matthews Cr.
+1 (613) 591-3579 (fax) Kanata, Ontario, Canada K2M 1W8

Hello,

The /boot/sys/elf.boot file contains the following lines:





Who is supposed to create Multiboot-compliant OS image? The mkifsf_elf utility
may be?


Yes, it’s the mkifs_elf image filter program that adds the Multiboot header.
It doesn’t hurt anything else for that header to be there, so the
program just adds it all the time.

Is it possible implement a mkifs_elf equivalent for QNX 4? Is it possible to
create Multiboot-compliant QNX 4 OS images?

Sorry for such not-for-this-newsgroup questions.

Regards,
Igor.

In article <4056F88E.4080405@swd.ru>, Igor Mazanov <i.mazanov@swd.ru> wrote:

Is it possible implement a mkifs_elf equivalent for QNX 4? Is it possible to
create Multiboot-compliant QNX 4 OS images?

You could probably write a program to put an ELF wrapper with a Multiboot
header around a QNX 4 OS image, but the OS wouldn’t know what to do when
started in that environment. In a word, no.


Brian Stecher (bstecher@qnx.com) QNX Software Systems, Ltd.
phone: +1 (613) 591-0931 (voice) 175 Terence Matthews Cr.
+1 (613) 591-3579 (fax) Kanata, Ontario, Canada K2M 1W8

Hello,

Is it possible implement a mkifs_elf equivalent for QNX 4? Is it possible to
create Multiboot-compliant QNX 4 OS images?


You could probably write a program to put an ELF wrapper with a Multiboot
header around a QNX 4 OS image, but the OS wouldn’t know what to do when
started in that environment. In a word, no.

Thanks, I’ll ask in another way now. Is there a uniform way to boot QNX 4 and
QNX 6 OS images through the network using PXE?

I can boot QNX 6.2.x images using GRUB/PXE and I can boot QNX 4 images using
Etherboot. But how can I do it in a some uniform way (using PXE only or
Etherboot only)?

Regard,
Igor.

In article <c3mcir$dn5$1@inn.qnx.com>, Igor Mazanov <i.mazanov@swd.ru> wrote:

Thanks, I’ll ask in another way now. Is there a uniform way to boot QNX 4 and
QNX 6 OS images through the network using PXE?

I can boot QNX 6.2.x images using GRUB/PXE and I can boot QNX 4 images using
Etherboot. But how can I do it in a some uniform way (using PXE only or
Etherboot only)?

I’m less than knowledgable about GRUB, but I’m almost positive it had
a mechanism where it could download a raw image and just jump to to
the first instruction. Chain loading perhaps? That should work for QNX 4.


Brian Stecher (bstecher@qnx.com) QNX Software Systems, Ltd.
phone: +1 (613) 591-0931 (voice) 175 Terence Matthews Cr.
+1 (613) 591-3579 (fax) Kanata, Ontario, Canada K2M 1W8