About devb-fdc and 486 boards

Hello everybody!

I have some problem with working devb-fdc driver on 486 machine.

I have a boot image script.
Here it is:

#/**************************************************************************
*****/
[image=2M]
[virtual=x86,bios +compress] boot = {
startup-bios
PATH=/proc/boot procnto
}

[+script] startup-script = {

devb-fdc cam verbose blk auto=partition,cache=100k &

devc-con -n4 &

PATH=/bin
display_msg QNX on floppy disk

waitfor /dev/fd0 40
mount /dev/fd0 /

reopen /dev/con2
[+session] /bin/sh &
reopen /dev/con3
[+session] /bin/sh &

reopen /dev/con4
[pri=25 +session] /bin/sh &

reopen /dev/con1
[+session] /bin/sh
}


[type=link] /usr/lib/ldqnx.so.2=/proc/boot/libc.so

libc.so
cam-disk.so
libcam.so
io-blk.so
fs-qnx4.so

[data=uip]
devc-con
devb-fdc
mount

unlink_list={
/proc/boot/devb-*
}
#/**************************************************************************
*****/

Using this script I have made the boot image.
First I placed it on floppy disk and tried to boot. Everything OK. It boots
on my host machine (PIII-933) and on my target
machine (486DX4-100).
Then I placed that image to hard disk. (/.altboot). And tried to boot. On my
host computer this works (After reading
the boot image from HD, starts devb-fdc and then devc-con and esh start from
the floppy). But there are some troubles
on my target 486DX4-100 board. The image boots, devb-fdc starts but the
nothing can be read from the floppy.
(Unable to start “/bin/devc-con” Unable to start “/bin/esh”).

PS. I tried to boot in such way on severals 486 boards, but result was the
same. What is the problem? May be
devb-fdc can not correctly work with 486 machines?


Alexandr Trofimov

On Mon, 10 Jun 2002 18:43:40 +0400, “Alexandr Trofimov” <sasha_aat@mail.ru> wrote:

Hello everybody!

I have some problem with working devb-fdc driver on 486 machine.

I have a boot image script.
Here it is:

#/**************************************************************************
*****/
[image=2M]
^^^

PS. I tried to boot in such way on severals 486 boards, but result was the
same. What is the problem? May be
devb-fdc can not correctly work with 486 machines?

How much memory on those 486’es?

“Alex Cellarius” <acellarius@yahoo.com> wrote in message
news:1104_1023731188@pentiumii…

On Mon, 10 Jun 2002 18:43:40 +0400, “Alexandr Trofimov”
sasha_aat@mail.ru> > wrote:
Hello everybody!

I have some problem with working devb-fdc driver on 486 machine.

I have a boot image script.
Here it is:


#/**************************************************************************
*****/
[image=2M]
^^^

PS. I tried to boot in such way on severals 486 boards, but result was
the
same. What is the problem? May be
devb-fdc can not correctly work with 486 machines?

How much memory on those 486’es?


There are 16Mb there. This string was uncommented by accident during

posting my image to the message. By the way, the result doesn’t depend on
this string
(commented this string or not commented nevermind).

Hi

I’ve been using QNX 6.1 with several 486 boards and have faced no
problems yet.
Can you try the following buildfile

[virtual=x86,bios +compress] boot = {
startup-bios
PATH=/proc/boot procnto
}

[+script] startup-script = {

devb-fdc &

devc-con &

waitfor /dev/fd0 40
mount /dev/fd0 /
display_msg “Floppy mounted”

reopen /dev/con1
[+session] sh
}


[type=link] /usr/lib/ldqnx.so.2=/proc/boot/libc.so

libc.so
cam-disk.so
libcam.so
io-blk.so
fs-qnx4.so

[data=copy]
devc-con
devb-fdc
mount
sh


Regards