Hi,
I have encountered problems booting from CF card on a PC104 CPU.
It was able to boot properly with no programs inside in image. However, when i added an executable which i compiled in the host to the image, the PC104 CPU hanged, showing :
Hit Esc for .altboot …
I am not sure why the programs caused the PC104 CPU to hang when it was able to compile in the host CPU.
Would really appreciate if anyone could tell me what could be the problem.
Thanks in advance!
I typed this in the terminal :
fdisk /dev/hd1 delete all
fdisk add -s1 -t77 -p100
fdisk boot -s1
fdisk loader
mount -e /dev/hd1
dinit -hb /dev/hd1t77
dinit -h /dev/hd1t77
mount /dev/hd1t77 /fs/cf
cp/root/workspace/boot_image/bios.ide.ifs /fs/cf/.boot
umount /fs/cf
=========================================
Boot Script imported : bios.ide.build
Start up some consoles
devc-con -n4 &
reopen /dev/con1
display_msg Welcome to Neutrino on an PC compatible BIOS system
Start the pci server
seedres
pci-bios &
waitfor /dev/pci
Disk drivers (The default one and some fun others for your pleasure…)
devb-eide blk automount=hd0t79:/,automount=hd0t77:/usr/qnx4 &
#180904
devb-eide eide nomaster nobmstr blk automount=hd0t77:/afc:qnx4 &
devb-eide blk automount=hd0t79:/,cache=2m,delwri=5 &
Wait for a bin for the rest of the commands (up to 60 secs)
waitfor /x86/bin 60
Some common servers
pipe &
mqueue &
devc-ser8250 &
devc-pty &
Start a debug server for debugging programs
waitfor /dev/ser1
[+session] pdebug /dev/ser1 &
These env variables inherited by all the programs which follow
SYSNAME=nto
TERM=qansi
Start some extra shells on other consoles
reopen /dev/con2
[+session] sh &
reopen /dev/con3
[+session] sh &
Start a high priority shell just in case…
reopen /dev/con4
[pri=25 +session] sh &
Start the main shell
reopen /dev/con1
[+session] sh
[+session] login -p
==========================================