Добрый день. Есть необходимость загрузить QNX 6.5.0 c флешки.
- флешь накопитель Verbatim на чипе SM3255AA , память Samsung K9LCG08U1M, VID = 090C PID = 1000
- Материнская плата Advantec
AIMB-785 Режим работы USB накопителя переведен в режим USB-HDD.
С помощью fdisk-a создан раздел QNX6(179)+Boot+Loader. Отформатирован и скопированы все файли для успешного запуска.
При загрузке выдает сообщение:
Unable to mount a qnx6 filesystem as /fs/hd10-qnx on /dev/hd10t179 (Read only file system)
Я так понимаю, что devb-eide не может корректно работать с massStorage.
Под самой же QNX, если флешку "скормить" devb-umass, то все хорошо монтируется.
Пересобирал ifs c "наглым" запуском devb-umass для флехи, но не помогло.
Код прилагаю:
#
# The build file for QNX Neutrino booting on a PC
#
[linker="ntox86-ld -T$QNX_TARGET/x86/lib/nto.link %(h!=0, -Ttext 0x%t%)%(d!=0, -Tdata 0x%d%) -o%o %i %[M -L%^i -uinit_%n -lmod_%n%]"]
[virtual=x86,bios +compress] boot = {
# Reserve 64k of video memory to handle multiple video cards
startup-bios -s64k -x
# PATH is the *safe* path for executables (confstr(_CS_PATH...))
# LD_LIBRARY_PATH is the *safe* path for libraries (confstr(_CS_LIBPATH))
# i.e. This is the path searched for libs in setuid/setgid executables.
PATH=/proc/boot:/bin:/usr/bin:/opt/bin LD_LIBRARY_PATH=/proc/boot:/lib:/usr/lib:/lib/dll:/opt/lib procnto-smp -F 3072
}
[+script] startup-script = {
# To save memory make everyone use the libc in the boot image!
# For speed (less symbolic lookups) we point to libc.so.3 instead of libc.so
procmgr_symlink ../../proc/boot/libc.so.3 /usr/lib/ldqnx.so.2
# Default user programs to priorty 10, other scheduler (pri=10o)
# Tell "diskboot" this is a hard disk boot (-b1)
# Tell "diskboot" to use DMA on IDE drives (-D1)
# Start 4 text consoles buy passing "-n4" to "devc-con" (-o)
# By adding "-e" linux ext2 filesystem will be mounted as well.
[pri=10o] PATH=/proc/boot diskboot -b1 -D1 -odevc-con,-n4 -odevc-con-hid,-n4 -u -dxhci -dehci -odevb-eide,-cam,verbose -odevb_umass,-camverbose,name=umass,-blkcashe=1M,vnode=384,auto=none,-vid=0x090C,-did=1000 -v
}
# Include the current "libc.so". It will be created as a real file using
# its internal "SONAME", with "libc.so" being a symlink to it. The symlink
# will point to the last "libc.so.*" so if an earlier libc is needed
# (e.g. libc.so.1) add it before the this line.
libc.so
libhiddi.so
libusbdi.so
# Include all the files for the default filesystems
libcam.so
io-blk.so
cam-disk.so
fs-qnx4.so
fs-qnx6.so
fs-dos.so
fs-ext2.so
cam-cdrom.so
fs-cd.so
fs-udf.so
fs-nt.so
# USB for console driver
devu-ehci.so
devu-ohci.so
devu-uhci.so
devu-xhci.so
devh-usb.so
devh-ps2ser.so
[data=copy]
seedres
pci-bios
devb-eide
devb-umass
devb-ahci
devb-mvSata
umass-enum
[search=${QNX_TARGET}/etc] umass-enum.cfg
io-usb
io-hid
diskboot
slogger
fesh
devc-con
devc-con-hid
# These files will be unlinked after the system has started
# to release the memory back to the system. They are only
# needed during boot. If needed later on, they will be loaded
# from the boot device.
unlink_list={
/proc/boot/devb-*
}
Подскажите, пожалуйста, куда копать?