Trouble with MKREC command in neutrino 2.1...

We try to make an intel HEX image from a image file made with MKIFS.
Our image is 386.ifs and “dumpifs -v 386.ifs” command give us :
Offset Size Name
0 400 .boot
400 100 Startup-header flags1=0x1 flags2=0x0 paddr_bias=0x0
preboot_size=0x400
image_paddr=0x400400 stored_size=0x9fb54
startup_size=0xa108 imagefs_size=0x95a4c
ram_paddr=0x400400 ram_size=0x9fb54
startup_vaddr=0x402b20
500 a008 startup.

a508 5c Image-header mountpoint=/
flags=0x0 script=3 boot=2 mntflg=0x0
a564 200 Image-directory
---- ---- Root-dirent
gid=0 uid=0 mode=0777 ino=1 mtime=3a6ff517
---- 14 usr/lib/ldqnx.so.1 → /proc/boot/libc.so.1
gid=0 uid=0 mode=0777 ino=5 mtime=3a6ff517
---- a tmp → /dev/shmem
gid=0 uid=0 mode=0777 ino=4 mtime=3a6ff517
a764 dc proc/boot/startup-script
gid=0 uid=0 mode=0666 ino=3 mtime=3a6ff517
b000 33184 proc/boot/procnto
gid=0 uid=0 mode=0775 ino=2 mtime=39eca191
3f000 4e000 proc/boot/libc.so.1
gid=0 uid=0 mode=0775 ino=6 mtime=39e64353
---- 9 proc/boot/libc.so → libc.so.1
gid=0 uid=0 mode=0775 ino=7 mtime=39e64353
8d000 afa0 proc/boot/devc-con
gid=120 uid=0 mode=01775 ino=8 mtime=3a0019c2
98000 3a7c proc/boot/esh
gid=0 uid=0 mode=01775 ino=9 mtime=39e6a701
9c000 3f50 proc/boot/ls
gid=0 uid=0 mode=01775 ino=10 mtime=39e6aa0f
Checksums: image=0x2f087c3e startup=0xb33caa82

So we start the command “/usr/bin/mkrec -r -f intel 386.ifs >386.hex” to
obtain a Intel Hex file
and we have :
S00600004844521B
S307FFFFE4109090E6
S325FFFFE4127F454C4601010100000000000000000002000300010000007886040834000000
49
S325FFFFE4324018000000000000340020000600280017001600060000003400000034800408
C5
S325FFFFE45200000000C0000000C0000000050000000400000003000000F4000000F4800408
A6
S325FFFFE4720000000014000000140000000400000001000000010000000000000000800408
CC
S325FFFFE492008004085C1400005C1400000500000000100000010000005C1400005CA40408
68
.
.
.
.
.
S325FFFFFFB20000000000000000010000000000000011000000030000000000000000000000
16
S31DFFFFFFD28E170000B100000000000000000000000100000000000000BC
S30BFFFFFFEAFFFFFFFFFFFF13
S315FFFFFFF0E91DE4FFFF000000000000000000000015
S9030000FC

and the follow error message :
Reset jmps to 0xFFFFE410 (jmp 0xE41D)
Format cannot be changed after first file processed


My neutrino version is 2.1, /usr/bin/mkrec file have 7128 bytes size.
This command was Ok under neutrino 2.0 and do not run correctly under 2.1.



Gabriel Grange
e-mail : ggrange@centralp.fr

PAYRE serge <spayre@centralp.fr> wrote:

I have confirmed the behavior, and am looking into it.

Regards,
GP

We try to make an intel HEX image from a image file made with MKIFS.
Our image is 386.ifs and “dumpifs -v 386.ifs” command give us :
Offset Size Name
0 400 .boot
400 100 Startup-header flags1=0x1 flags2=0x0 paddr_bias=0x0
preboot_size=0x400
image_paddr=0x400400 stored_size=0x9fb54
startup_size=0xa108 imagefs_size=0x95a4c
ram_paddr=0x400400 ram_size=0x9fb54
startup_vaddr=0x402b20
500 a008 startup.

a508 5c Image-header mountpoint=/
flags=0x0 script=3 boot=2 mntflg=0x0
a564 200 Image-directory
---- ---- Root-dirent
gid=0 uid=0 mode=0777 ino=1 mtime=3a6ff517
---- 14 usr/lib/ldqnx.so.1 → /proc/boot/libc.so.1
gid=0 uid=0 mode=0777 ino=5 mtime=3a6ff517
---- a tmp → /dev/shmem
gid=0 uid=0 mode=0777 ino=4 mtime=3a6ff517
a764 dc proc/boot/startup-script
gid=0 uid=0 mode=0666 ino=3 mtime=3a6ff517
b000 33184 proc/boot/procnto
gid=0 uid=0 mode=0775 ino=2 mtime=39eca191
3f000 4e000 proc/boot/libc.so.1
gid=0 uid=0 mode=0775 ino=6 mtime=39e64353
---- 9 proc/boot/libc.so → libc.so.1
gid=0 uid=0 mode=0775 ino=7 mtime=39e64353
8d000 afa0 proc/boot/devc-con
gid=120 uid=0 mode=01775 ino=8 mtime=3a0019c2
98000 3a7c proc/boot/esh
gid=0 uid=0 mode=01775 ino=9 mtime=39e6a701
9c000 3f50 proc/boot/ls
gid=0 uid=0 mode=01775 ino=10 mtime=39e6aa0f
Checksums: image=0x2f087c3e startup=0xb33caa82

So we start the command “/usr/bin/mkrec -r -f intel 386.ifs >386.hex” to
obtain a Intel Hex file
and we have :
S00600004844521B
S307FFFFE4109090E6
S325FFFFE4127F454C4601010100000000000000000002000300010000007886040834000000
49
S325FFFFE4324018000000000000340020000600280017001600060000003400000034800408
C5
S325FFFFE45200000000C0000000C0000000050000000400000003000000F4000000F4800408
A6
S325FFFFE4720000000014000000140000000400000001000000010000000000000000800408
CC
S325FFFFE492008004085C1400005C1400000500000000100000010000005C1400005CA40408
68
.
.
.
.
.
S325FFFFFFB20000000000000000010000000000000011000000030000000000000000000000
16
S31DFFFFFFD28E170000B100000000000000000000000100000000000000BC
S30BFFFFFFEAFFFFFFFFFFFF13
S315FFFFFFF0E91DE4FFFF000000000000000000000015
S9030000FC

and the follow error message :
Reset jmps to 0xFFFFE410 (jmp 0xE41D)
Format cannot be changed after first file processed



My neutrino version is 2.1, /usr/bin/mkrec file have 7128 bytes size.
This command was Ok under neutrino 2.0 and do not run correctly under 2.1.



Gabriel Grange
e-mail : > ggrange@centralp.fr


Graeme Peterson
QNX Tools Group
gp@qnx.com

Graeme Peterson <gp@qnx.com> wrote:

PAYRE serge <> spayre@centralp.fr> > wrote:

I have confirmed the behavior, and am looking into it.

Regards,
GP

I have reported this to our Quality Assurance, and the fixed mkrec
should be in the next patch. If you need it sooner, revert to the
older working version, or contact your sales rep for earlier access
to the next version.

Regards,
GP


We try to make an intel HEX image from a image file made with MKIFS.
Our image is 386.ifs and “dumpifs -v 386.ifs” command give us :
Offset Size Name
0 400 .boot
400 100 Startup-header flags1=0x1 flags2=0x0 paddr_bias=0x0
preboot_size=0x400
image_paddr=0x400400 stored_size=0x9fb54
startup_size=0xa108 imagefs_size=0x95a4c
ram_paddr=0x400400 ram_size=0x9fb54
startup_vaddr=0x402b20
500 a008 startup.

a508 5c Image-header mountpoint=/
flags=0x0 script=3 boot=2 mntflg=0x0
a564 200 Image-directory
---- ---- Root-dirent
gid=0 uid=0 mode=0777 ino=1 mtime=3a6ff517
---- 14 usr/lib/ldqnx.so.1 → /proc/boot/libc.so.1
gid=0 uid=0 mode=0777 ino=5 mtime=3a6ff517
---- a tmp → /dev/shmem
gid=0 uid=0 mode=0777 ino=4 mtime=3a6ff517
a764 dc proc/boot/startup-script
gid=0 uid=0 mode=0666 ino=3 mtime=3a6ff517
b000 33184 proc/boot/procnto
gid=0 uid=0 mode=0775 ino=2 mtime=39eca191
3f000 4e000 proc/boot/libc.so.1
gid=0 uid=0 mode=0775 ino=6 mtime=39e64353
---- 9 proc/boot/libc.so → libc.so.1
gid=0 uid=0 mode=0775 ino=7 mtime=39e64353
8d000 afa0 proc/boot/devc-con
gid=120 uid=0 mode=01775 ino=8 mtime=3a0019c2
98000 3a7c proc/boot/esh
gid=0 uid=0 mode=01775 ino=9 mtime=39e6a701
9c000 3f50 proc/boot/ls
gid=0 uid=0 mode=01775 ino=10 mtime=39e6aa0f
Checksums: image=0x2f087c3e startup=0xb33caa82

So we start the command “/usr/bin/mkrec -r -f intel 386.ifs >386.hex” to
obtain a Intel Hex file
and we have :
S00600004844521B
S307FFFFE4109090E6
S325FFFFE4127F454C4601010100000000000000000002000300010000007886040834000000
49
S325FFFFE4324018000000000000340020000600280017001600060000003400000034800408
C5
S325FFFFE45200000000C0000000C0000000050000000400000003000000F4000000F4800408
A6
S325FFFFE4720000000014000000140000000400000001000000010000000000000000800408
CC
S325FFFFE492008004085C1400005C1400000500000000100000010000005C1400005CA40408
68
.
.
.
.
.
S325FFFFFFB20000000000000000010000000000000011000000030000000000000000000000
16
S31DFFFFFFD28E170000B100000000000000000000000100000000000000BC
S30BFFFFFFEAFFFFFFFFFFFF13
S315FFFFFFF0E91DE4FFFF000000000000000000000015
S9030000FC

and the follow error message :
Reset jmps to 0xFFFFE410 (jmp 0xE41D)
Format cannot be changed after first file processed



My neutrino version is 2.1, /usr/bin/mkrec file have 7128 bytes size.
This command was Ok under neutrino 2.0 and do not run correctly under 2.1.



Gabriel Grange
e-mail : > ggrange@centralp.fr



Graeme Peterson
QNX Tools Group
gp@qnx.com


Graeme Peterson
QNX Tools Group
gp@qnx.com

does Patch C fix the problem ?


Graeme Peterson a écrit dans le message <954in3$hqd$1@nntp.qnx.com>…

Graeme Peterson <> gp@qnx.com> > wrote:
PAYRE serge <> spayre@centralp.fr> > wrote:

I have confirmed the behavior, and am looking into it.

Regards,
GP

I have reported this to our Quality Assurance, and the fixed mkrec
should be in the next patch. If you need it sooner, revert to the
older working version, or contact your sales rep for earlier access
to the next version.

Regards,
GP


We try to make an intel HEX image from a image file made with MKIFS.
Our image is 386.ifs and “dumpifs -v 386.ifs” command give us :
Offset Size Name
0 400 .boot
400 100 Startup-header flags1=0x1 flags2=0x0 paddr_bias=0x0
preboot_size=0x400
image_paddr=0x400400 stored_size=0x9fb54
startup_size=0xa108 imagefs_size=0x95a4c
ram_paddr=0x400400 ram_size=0x9fb54
startup_vaddr=0x402b20
500 a008 startup.

a508 5c Image-header mountpoint=/
flags=0x0 script=3 boot=2 mntflg=0x0
a564 200 Image-directory
---- ---- Root-dirent
gid=0 uid=0 mode=0777 ino=1 mtime=3a6ff517
---- 14 usr/lib/ldqnx.so.1 → /proc/boot/libc.so.1
gid=0 uid=0 mode=0777 ino=5 mtime=3a6ff517
---- a tmp → /dev/shmem
gid=0 uid=0 mode=0777 ino=4 mtime=3a6ff517
a764 dc proc/boot/startup-script
gid=0 uid=0 mode=0666 ino=3 mtime=3a6ff517
b000 33184 proc/boot/procnto
gid=0 uid=0 mode=0775 ino=2 mtime=39eca191
3f000 4e000 proc/boot/libc.so.1
gid=0 uid=0 mode=0775 ino=6 mtime=39e64353
---- 9 proc/boot/libc.so → libc.so.1
gid=0 uid=0 mode=0775 ino=7 mtime=39e64353
8d000 afa0 proc/boot/devc-con
gid=120 uid=0 mode=01775 ino=8 mtime=3a0019c2
98000 3a7c proc/boot/esh
gid=0 uid=0 mode=01775 ino=9 mtime=39e6a701
9c000 3f50 proc/boot/ls
gid=0 uid=0 mode=01775 ino=10 mtime=39e6aa0f
Checksums: image=0x2f087c3e startup=0xb33caa82

So we start the command “/usr/bin/mkrec -r -f intel 386.ifs >386.hex” to
obtain a Intel Hex file
and we have :
S00600004844521B
S307FFFFE4109090E6

S325FFFFE4127F454C4601010100000000000000000002000300010000007886040834000000
49

S325FFFFE4324018000000000000340020000600280017001600060000003400000034800408
C5

S325FFFFE45200000000C0000000C0000000050000000400000003000000F4000000F4800408
A6

S325FFFFE4720000000014000000140000000400000001000000010000000000000000800408
CC

S325FFFFE492008004085C1400005C1400000500000000100000010000005C1400005CA40408
68
.
.
.
.
.

S325FFFFFFB20000000000000000010000000000000011000000030000000000000000000000
16
S31DFFFFFFD28E170000B100000000000000000000000100000000000000BC
S30BFFFFFFEAFFFFFFFFFFFF13
S315FFFFFFF0E91DE4FFFF000000000000000000000015
S9030000FC

and the follow error message :
Reset jmps to 0xFFFFE410 (jmp 0xE41D)
Format cannot be changed after first file processed


My neutrino version is 2.1, /usr/bin/mkrec file have 7128 bytes size.
This command was Ok under neutrino 2.0 and do not run correctly under
2.1.



Gabriel Grange
e-mail : > ggrange@centralp.fr


\


Graeme Peterson
QNX Tools Group
gp@qnx.com


Graeme Peterson
QNX Tools Group
gp@qnx.com

PAYRE serge <spayre@centralp.fr> wrote:

does Patch C fix the problem ?

Patch C doesn’t fix the problem.

Graeme Peterson a écrit dans le message <954in3$hqd$> 1@nntp.qnx.com> >…
Graeme Peterson <> gp@qnx.com> > wrote:
PAYRE serge <> spayre@centralp.fr> > wrote:

I have confirmed the behavior, and am looking into it.

Regards,
GP

I have reported this to our Quality Assurance, and the fixed mkrec
should be in the next patch. If you need it sooner, revert to the
older working version, or contact your sales rep for earlier access
to the next version.

I have just added this issue to the Knowlege Base at http://qnd.qnx.com.
You can find the solution to this issue, by searching on “mkrec”.
You’ll also find the answer at the following link:

http://qdn.qnx.com/support/bok/solution.qnx?10349

Regards,
GP


We try to make an intel HEX image from a image file made with MKIFS.
Our image is 386.ifs and “dumpifs -v 386.ifs” command give us :
Offset Size Name
0 400 .boot
400 100 Startup-header flags1=0x1 flags2=0x0 paddr_bias=0x0
preboot_size=0x400
image_paddr=0x400400 stored_size=0x9fb54
startup_size=0xa108 imagefs_size=0x95a4c
ram_paddr=0x400400 ram_size=0x9fb54
startup_vaddr=0x402b20
500 a008 startup.

a508 5c Image-header mountpoint=/
flags=0x0 script=3 boot=2 mntflg=0x0
a564 200 Image-directory
---- ---- Root-dirent
gid=0 uid=0 mode=0777 ino=1 mtime=3a6ff517
---- 14 usr/lib/ldqnx.so.1 → /proc/boot/libc.so.1
gid=0 uid=0 mode=0777 ino=5 mtime=3a6ff517
---- a tmp → /dev/shmem
gid=0 uid=0 mode=0777 ino=4 mtime=3a6ff517
a764 dc proc/boot/startup-script
gid=0 uid=0 mode=0666 ino=3 mtime=3a6ff517
b000 33184 proc/boot/procnto
gid=0 uid=0 mode=0775 ino=2 mtime=39eca191
3f000 4e000 proc/boot/libc.so.1
gid=0 uid=0 mode=0775 ino=6 mtime=39e64353
---- 9 proc/boot/libc.so → libc.so.1
gid=0 uid=0 mode=0775 ino=7 mtime=39e64353
8d000 afa0 proc/boot/devc-con
gid=120 uid=0 mode=01775 ino=8 mtime=3a0019c2
98000 3a7c proc/boot/esh
gid=0 uid=0 mode=01775 ino=9 mtime=39e6a701
9c000 3f50 proc/boot/ls
gid=0 uid=0 mode=01775 ino=10 mtime=39e6aa0f
Checksums: image=0x2f087c3e startup=0xb33caa82

So we start the command “/usr/bin/mkrec -r -f intel 386.ifs >386.hex” to
obtain a Intel Hex file
and we have :
S00600004844521B
S307FFFFE4109090E6

S325FFFFE4127F454C4601010100000000000000000002000300010000007886040834000000
49

S325FFFFE4324018000000000000340020000600280017001600060000003400000034800408
C5

S325FFFFE45200000000C0000000C0000000050000000400000003000000F4000000F4800408
A6

S325FFFFE4720000000014000000140000000400000001000000010000000000000000800408
CC

S325FFFFE492008004085C1400005C1400000500000000100000010000005C1400005CA40408
68
.
.
.
.
.

S325FFFFFFB20000000000000000010000000000000011000000030000000000000000000000
16
S31DFFFFFFD28E170000B100000000000000000000000100000000000000BC
S30BFFFFFFEAFFFFFFFFFFFF13
S315FFFFFFF0E91DE4FFFF000000000000000000000015
S9030000FC

and the follow error message :
Reset jmps to 0xFFFFE410 (jmp 0xE41D)
Format cannot be changed after first file processed


My neutrino version is 2.1, /usr/bin/mkrec file have 7128 bytes size.
This command was Ok under neutrino 2.0 and do not run correctly under
2.1.



Gabriel Grange
e-mail : > ggrange@centralp.fr


\


Graeme Peterson
QNX Tools Group
gp@qnx.com


Graeme Peterson
QNX Tools Group
gp@qnx.com