Skip navigation.
Home
The QNX Community Portal

View topic - different mkefs on Windows and QNX?

different mkefs on Windows and QNX?

Read-only archive of qnx.development_tools (Self-hosted graphical development with the Eclipse IDE and cross-hosted development on Solaris, Linux, or Windows) at inn.qnx.com

different mkefs on Windows and QNX?

Postby Martin Nylund » Tue Apr 06, 2004 4:55 pm

I have installed Momentics 6.2.1b on both Windows and QNX hosts. Using mkefs
on a same build file gives different output. Heres the session on Windows:

$ mkefs p1.build p1-default.bin
$ dump p1-default.bin | head -n10
p1-default.bin:

Addr 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 2 4 6 8 A C E
-------- ---- ---- ---- ---- ---- ---- ---- ---- ----------------
00000000 1000 4cff 1100 ffff 0000 0000 0100 0200 ..L.............
00000010 1800 0100 0000 0000 3523 2290 7692 4ea3 ........5#".v.N#
00000020 454f 5908 8eee b26c 1800 0300 5153 534c EOY..n2l....QSSL
00000030 5f46 3353 0000 0200 0100 0200 0100 0300 _F3S............
00000040 0800 0002 0100 0400 2f00 ffff 1400 fd41 ......../.....}A
00000050 0000 0000 0000 0000 8bd9 7240 8bd9 7240 .........Yr@.Yr@

And here's the same on QNX:

# mkefs p1.build p1-default.bin
# hd -n64 p1-default.bin
0000000 83 ff 14 00 4c 00 01 00 11 00 ff ff 00 00 00 00 ....L...........
0000010 01 00 01 00 fe ff 1c 00 51 53 53 4c 5f 46 33 53 ........QSSL_F3S
0000020 02 01 00 00 02 00 01 00 02 00 0c 00 01 00 02 00 ................
0000030 fe ff 0c 00 01 00 03 00 00 02 ff ff 2f 00 ff ff ............/...
0000041
#

The program seems to default to different filesystems (ffs3 on windows and
ffs2 on QNX). Moreover, the mkefs on QNX doesnt accept the ffs2 or ffs3
arguments with the -t option, but returns with error:
"Unknown filesystem 'ffs2'" or "Unknown filesystem ffs3". Seems like the
mkefs on QNX is some older version than the one on Windows.

This is a bit unconvinient if I want to use the same mkflashimage script on
both of the systems. Have I installed the system wrongly? How can I verify
the mkefs versions?

Thanks,
Martin
Martin Nylund
 

re:different mkefs on Windows and QNX?

Postby burserik » Tue Sep 11, 2007 2:46 pm

Hi,
it is irrelevant acording to your question but i have just started to deal with QNX.. Could you please send me some example build files that i can use with "mkefs" as a starting point...
My email address is ( ffrts at hotmail dot com )
Thank you...
burserik
New Member
 
Posts: 1
Joined: Tue Sep 11, 2007 2:42 pm


Return to qnx.development_tools

Who is online

Users browsing this forum: No registered users and 1 guest

cron