QNX6.2 on Sandpoint with PPC8245

bridged with qdn.public.qnxrtp.powerpc
Post Reply
JL

QNX6.2 on Sandpoint with PPC8245

Post by JL » Thu Jan 30, 2003 7:05 pm

Hi,

I have just started working on the Sandpoint with PPC8245. I managed to get
the following working by following the BSP docs:
- Build IPL and IFS images
- Download IFS through serial using DINK32 and got QNX running correctly
- Replace DINK32 with QNX IPL and managed to download IFS through serial
using sendnto protocol

I am currently facing these problems:
- After download of IFS through serial using QNX IPL, I cannot get the OS
image to start. There is no further output on the screen and the systems
reboots after a few seconds
- I tried burning the QNX IPL and IFS onto the flash and boot entire system
from flash. However, image_scan() does not seem to be able to locate the OS
signature and the system reboots after some time. I have made image_scan()
to scan from 0x000000 to 0xFFFFFF but it cannot find the OS signature and
boot the system. I know that it cannot find the OS signature because I put
in debug messages and output them to serial so that I can the messages

I have the following questions:
- What are the usage of the following files:
- ifs-sandpoint.srec (I used this with DINK32 to the system and managed
to start correctly)
- ipl-ifs-sandpoint.srec (what is this file for?)
- If I need to burn both the IPL and IFS into flash, which is the correct
one to use? Apparently, the file sandpoint.bin stated in the BSP docs cannot
be found
- How can I get the IPL to correctly locate the OS signature?
- The 512K limitation stated in the BSP docs is no longer valid right? I am
using a 4MB flash ROM

Please help. Thanks.


JL

Jay Greig

Re: QNX6.2 on Sandpoint with PPC8245

Post by Jay Greig » Thu Jan 30, 2003 11:16 pm

With just the IPL burned into the 512k flash, try the following from
/usr/src/bsp-6.2.0/ppc/sandpoint/images:
mkifs -r../scratch sandpoint-flash.build ifs-sandpoint.bin

When you reset the board and get "Download" appear on the
console, send the ifs-sandpoint.bin (via sendnto) to the board
and see if that works.. the default buildfile (sandpoint.build)
is set to build an srec image at 9600 baud (which will not work
over sendnto)

Once we verify that a simple image can be sent, we'll delve deeper
into your other issues.

-Jay.

Previously, JL wrote in qdn.public.qnxrtp.powerpc:
Hi,

I have just started working on the Sandpoint with PPC8245. I managed to get
the following working by following the BSP docs:
- Build IPL and IFS images
- Download IFS through serial using DINK32 and got QNX running correctly
- Replace DINK32 with QNX IPL and managed to download IFS through serial
using sendnto protocol

I am currently facing these problems:
- After download of IFS through serial using QNX IPL, I cannot get the OS
image to start. There is no further output on the screen and the systems
reboots after a few seconds
- I tried burning the QNX IPL and IFS onto the flash and boot entire system
from flash. However, image_scan() does not seem to be able to locate the OS
signature and the system reboots after some time. I have made image_scan()
to scan from 0x000000 to 0xFFFFFF but it cannot find the OS signature and
boot the system. I know that it cannot find the OS signature because I put
in debug messages and output them to serial so that I can the messages

I have the following questions:
- What are the usage of the following files:
- ifs-sandpoint.srec (I used this with DINK32 to the system and managed
to start correctly)
- ipl-ifs-sandpoint.srec (what is this file for?)
- If I need to burn both the IPL and IFS into flash, which is the correct
one to use? Apparently, the file sandpoint.bin stated in the BSP docs cannot
be found
- How can I get the IPL to correctly locate the OS signature?
- The 512K limitation stated in the BSP docs is no longer valid right? I am
using a 4MB flash ROM

Please help. Thanks.


JL


--
-Jay.

JL

Re: QNX6.2 on Sandpoint with PPC8245

Post by JL » Fri Jan 31, 2003 3:37 am

Hi,

I tried this and it does not seem to work. The image can be transferd
through serial to target board but does not seem to run and resets itself
after a few seconds.

JL


"Jay Greig" <greig@qnx.com> wrote in message
news:Voyager.030130181658.9340A@node341.ott.qnx.com...
With just the IPL burned into the 512k flash, try the following from
/usr/src/bsp-6.2.0/ppc/sandpoint/images:
mkifs -r../scratch sandpoint-flash.build ifs-sandpoint.bin

When you reset the board and get "Download" appear on the
console, send the ifs-sandpoint.bin (via sendnto) to the board
and see if that works.. the default buildfile (sandpoint.build)
is set to build an srec image at 9600 baud (which will not work
over sendnto)

Once we verify that a simple image can be sent, we'll delve deeper
into your other issues.

-Jay.

Previously, JL wrote in qdn.public.qnxrtp.powerpc:
Hi,

I have just started working on the Sandpoint with PPC8245. I managed to
get
the following working by following the BSP docs:
- Build IPL and IFS images
- Download IFS through serial using DINK32 and got QNX running
correctly
- Replace DINK32 with QNX IPL and managed to download IFS through
serial
using sendnto protocol

I am currently facing these problems:
- After download of IFS through serial using QNX IPL, I cannot get the
OS
image to start. There is no further output on the screen and the systems
reboots after a few seconds
- I tried burning the QNX IPL and IFS onto the flash and boot entire
system
from flash. However, image_scan() does not seem to be able to locate the
OS
signature and the system reboots after some time. I have made
image_scan()
to scan from 0x000000 to 0xFFFFFF but it cannot find the OS signature
and
boot the system. I know that it cannot find the OS signature because I
put
in debug messages and output them to serial so that I can the messages

I have the following questions:
- What are the usage of the following files:
- ifs-sandpoint.srec (I used this with DINK32 to the system and
managed
to start correctly)
- ipl-ifs-sandpoint.srec (what is this file for?)
- If I need to burn both the IPL and IFS into flash, which is the
correct
one to use? Apparently, the file sandpoint.bin stated in the BSP docs
cannot
be found
- How can I get the IPL to correctly locate the OS signature?
- The 512K limitation stated in the BSP docs is no longer valid right? I
am
using a 4MB flash ROM

Please help. Thanks.


JL




--
-Jay.

Jay Greig

Re: QNX6.2 on Sandpoint with PPC8245

Post by Jay Greig » Tue Feb 04, 2003 3:10 pm

How are you burning the IPL into the 512k socketed flash? Do you
have it in an srec format or binary? Do you have the stock IPL
burned into flash, or is it your modified version?

Could you please modify your images/mkflashimage script so that it
doesn't remove the temp files at the end and provide a "ls -l" of
the images directory. It could be that the image being burnt to
the flash is >512k.

The BSP docs are incorrect and there has been a problem report
filed against them.

-Jay.

Previously, JL wrote in qdn.public.qnxrtp.powerpc:
Hi,

I tried this and it does not seem to work. The image can be transferd
through serial to target board but does not seem to run and resets itself
after a few seconds.

JL


"Jay Greig" <greig@qnx.com> wrote in message
news:Voyager.030130181658.9340A@node341.ott.qnx.com...
With just the IPL burned into the 512k flash, try the following from
/usr/src/bsp-6.2.0/ppc/sandpoint/images:
mkifs -r../scratch sandpoint-flash.build ifs-sandpoint.bin

When you reset the board and get "Download" appear on the
console, send the ifs-sandpoint.bin (via sendnto) to the board
and see if that works.. the default buildfile (sandpoint.build)
is set to build an srec image at 9600 baud (which will not work
over sendnto)

Once we verify that a simple image can be sent, we'll delve deeper
into your other issues.

-Jay.

Previously, JL wrote in qdn.public.qnxrtp.powerpc:
Hi,

I have just started working on the Sandpoint with PPC8245. I managed to
get
the following working by following the BSP docs:
- Build IPL and IFS images
- Download IFS through serial using DINK32 and got QNX running
correctly
- Replace DINK32 with QNX IPL and managed to download IFS through
serial
using sendnto protocol

I am currently facing these problems:
- After download of IFS through serial using QNX IPL, I cannot get the
OS
image to start. There is no further output on the screen and the systems
reboots after a few seconds
- I tried burning the QNX IPL and IFS onto the flash and boot entire
system
from flash. However, image_scan() does not seem to be able to locate the
OS
signature and the system reboots after some time. I have made
image_scan()
to scan from 0x000000 to 0xFFFFFF but it cannot find the OS signature
and
boot the system. I know that it cannot find the OS signature because I
put
in debug messages and output them to serial so that I can the messages

I have the following questions:
- What are the usage of the following files:
- ifs-sandpoint.srec (I used this with DINK32 to the system and
managed
to start correctly)
- ipl-ifs-sandpoint.srec (what is this file for?)
- If I need to burn both the IPL and IFS into flash, which is the
correct
one to use? Apparently, the file sandpoint.bin stated in the BSP docs
cannot
be found
- How can I get the IPL to correctly locate the OS signature?
- The 512K limitation stated in the BSP docs is no longer valid right? I
am
using a 4MB flash ROM

Please help. Thanks.


JL




--
-Jay.



--
-Jay.

JL

Re: QNX6.2 on Sandpoint with PPC8245

Post by JL » Tue Feb 04, 2003 7:34 pm

Hi,

I am burning the program (have tried both the stock IPL and modified one)
using an external programmer. I have tried both binary format and srec (hex)
format.

C:\sandpoint1\images>ls -l
total 4644
-rw-r--r-- 1 JL Administ 544 Jan 22 20:47 Makefile
-rw-r--r-- 1 JL Administ 3105364 Jan 29 13:18 ifs-sandpoint.srec
-rw-r--r-- 1 JL Administ 538580 Feb 5 03:21
ifs-tmp1-sandpoint.bin
-rw-r--r-- 1 JL Administ 538580 Feb 5 03:21
ifs-tmp2-sandpoint.bin
-rw-r--r-- 1 JL Administ 1640400 Feb 5 03:21
ipl-ifs-sandpoint.srec
-rw-r--r-- 1 JL Administ 546772 Feb 5 03:21
ipl-ifs-tmp-sandpoint.bin

-rw-r--r-- 1 JL Administ 5428 Feb 5 03:21
ipl-tmp1-sandpoint.bin
-rw-r--r-- 1 JL Administ 8192 Feb 5 03:21
ipl-tmp2-sandpoint.bin
-rw-r--r-- 1 JL Administ 592 Feb 5 03:21 mkflashimage
-rwxr-xr-x 1 JL Administ 55 Jan 22 20:47 mkflashimage.bat
-rw-r--r-- 1 JL Administ 2732 Jan 22 20:47 sandpoint-flash.build
-rw-r--r-- 1 JL Administ 3105364 Jan 29 13:07 sandpoint.bin
-rw-r--r-- 1 JL Administ 2768 Jan 29 13:18 sandpoint.build
-rw-r--r-- 1 JL Administ 3849 Jan 29 13:18 sandpoint.readme

From the mkflashimage, it can be seen that we are actually trying to copy an
object from binary format to srec format. And by doing so, we have made the
binary file (ipl-ifs-tmp-sandpoint.bin) which is 534KB into a 1.6MB hex file
(which is logical). The resulting binary file in this case is greater than
512KB. Do I need to modify the original buildfile supplied by QNX to
generate an image smaller than 512KB?

Another question is, which file should I be burning into the flash through a
programmer and how do I do it correctly? Any specific offsets I need to set?
I tried burining both the binary file and srec file. Both does not work,
only difference is that for the srec file, the programmer complains about
some addresses being out of range.

Best Regards,

JL


"Jay Greig" <greig@qnx.com> wrote in message
news:Voyager.030204101037.17267A@node341.ott.qnx.com...
How are you burning the IPL into the 512k socketed flash? Do you
have it in an srec format or binary? Do you have the stock IPL
burned into flash, or is it your modified version?

Could you please modify your images/mkflashimage script so that it
doesn't remove the temp files at the end and provide a "ls -l" of
the images directory. It could be that the image being burnt to
the flash is >512k.

The BSP docs are incorrect and there has been a problem report
filed against them.

-Jay.

Previously, JL wrote in qdn.public.qnxrtp.powerpc:
Hi,

I tried this and it does not seem to work. The image can be transferd
through serial to target board but does not seem to run and resets
itself
after a few seconds.

JL


"Jay Greig" <greig@qnx.com> wrote in message
news:Voyager.030130181658.9340A@node341.ott.qnx.com...
With just the IPL burned into the 512k flash, try the following from
/usr/src/bsp-6.2.0/ppc/sandpoint/images:
mkifs -r../scratch sandpoint-flash.build ifs-sandpoint.bin

When you reset the board and get "Download" appear on the
console, send the ifs-sandpoint.bin (via sendnto) to the board
and see if that works.. the default buildfile (sandpoint.build)
is set to build an srec image at 9600 baud (which will not work
over sendnto)

Once we verify that a simple image can be sent, we'll delve deeper
into your other issues.

-Jay.

Previously, JL wrote in qdn.public.qnxrtp.powerpc:
Hi,

I have just started working on the Sandpoint with PPC8245. I managed
to
get
the following working by following the BSP docs:
- Build IPL and IFS images
- Download IFS through serial using DINK32 and got QNX running
correctly
- Replace DINK32 with QNX IPL and managed to download IFS through
serial
using sendnto protocol

I am currently facing these problems:
- After download of IFS through serial using QNX IPL, I cannot get
the
OS
image to start. There is no further output on the screen and the
systems
reboots after a few seconds
- I tried burning the QNX IPL and IFS onto the flash and boot entire
system
from flash. However, image_scan() does not seem to be able to locate
the
OS
signature and the system reboots after some time. I have made
image_scan()
to scan from 0x000000 to 0xFFFFFF but it cannot find the OS
signature
and
boot the system. I know that it cannot find the OS signature because
I
put
in debug messages and output them to serial so that I can the
messages

I have the following questions:
- What are the usage of the following files:
- ifs-sandpoint.srec (I used this with DINK32 to the system and
managed
to start correctly)
- ipl-ifs-sandpoint.srec (what is this file for?)
- If I need to burn both the IPL and IFS into flash, which is the
correct
one to use? Apparently, the file sandpoint.bin stated in the BSP
docs
cannot
be found
- How can I get the IPL to correctly locate the OS signature?
- The 512K limitation stated in the BSP docs is no longer valid
right? I
am
using a 4MB flash ROM

Please help. Thanks.


JL




--
-Jay.





--
-Jay.

Jay Greig

Re: QNX6.2 on Sandpoint with PPC8245

Post by Jay Greig » Tue Feb 04, 2003 8:37 pm

Previously, JL wrote in qdn.public.qnxrtp.powerpc:
Hi,
[snip]
From the mkflashimage, it can be seen that we are actually trying to copy an
object from binary format to srec format. And by doing so, we have made the
binary file (ipl-ifs-tmp-sandpoint.bin) which is 534KB into a 1.6MB hex file
(which is logical). The resulting binary file in this case is greater than
512KB. Do I need to modify the original buildfile supplied by QNX to
generate an image smaller than 512KB?
Yes - at one point (pre-6.2.0), this image was just below the 512k limit,
but with new features added here and there, it has pushed the size over
this limit.. there has been a problem report filed for this as well.

I would suggest removing the 'pci' utility from the sandpoint-flash.build
file and try it again.
Another question is, which file should I be burning into the flash through a
programmer and how do I do it correctly? Any specific offsets I need to set?
I tried burining both the binary file and srec file. Both does not work,
only difference is that for the srec file, the programmer complains about
some addresses being out of range.
You can use either, it doesn't matter. With the srec one, you will have to
set the offset to 0xfff00000 (otherwise, the address will be out of range).


-Jay.
Best Regards,

JL


"Jay Greig" <greig@qnx.com> wrote in message
news:Voyager.030204101037.17267A@node341.ott.qnx.com...
How are you burning the IPL into the 512k socketed flash? Do you
have it in an srec format or binary? Do you have the stock IPL
burned into flash, or is it your modified version?

Could you please modify your images/mkflashimage script so that it
doesn't remove the temp files at the end and provide a "ls -l" of
the images directory. It could be that the image being burnt to
the flash is >512k.

The BSP docs are incorrect and there has been a problem report
filed against them.

-Jay.

Previously, JL wrote in qdn.public.qnxrtp.powerpc:
Hi,

I tried this and it does not seem to work. The image can be transferd
through serial to target board but does not seem to run and resets
itself
after a few seconds.

JL


"Jay Greig" <greig@qnx.com> wrote in message
news:Voyager.030130181658.9340A@node341.ott.qnx.com...
With just the IPL burned into the 512k flash, try the following from
/usr/src/bsp-6.2.0/ppc/sandpoint/images:
mkifs -r../scratch sandpoint-flash.build ifs-sandpoint.bin

When you reset the board and get "Download" appear on the
console, send the ifs-sandpoint.bin (via sendnto) to the board
and see if that works.. the default buildfile (sandpoint.build)
is set to build an srec image at 9600 baud (which will not work
over sendnto)

Once we verify that a simple image can be sent, we'll delve deeper
into your other issues.

-Jay.

Previously, JL wrote in qdn.public.qnxrtp.powerpc:
Hi,

I have just started working on the Sandpoint with PPC8245. I managed
to
get
the following working by following the BSP docs:
- Build IPL and IFS images
- Download IFS through serial using DINK32 and got QNX running
correctly
- Replace DINK32 with QNX IPL and managed to download IFS through
serial
using sendnto protocol

I am currently facing these problems:
- After download of IFS through serial using QNX IPL, I cannot get
the
OS
image to start. There is no further output on the screen and the
systems
reboots after a few seconds
- I tried burning the QNX IPL and IFS onto the flash and boot entire
system
from flash. However, image_scan() does not seem to be able to locate
the
OS
signature and the system reboots after some time. I have made
image_scan()
to scan from 0x000000 to 0xFFFFFF but it cannot find the OS
signature
and
boot the system. I know that it cannot find the OS signature because
I
put
in debug messages and output them to serial so that I can the
messages

I have the following questions:
- What are the usage of the following files:
- ifs-sandpoint.srec (I used this with DINK32 to the system and
managed
to start correctly)
- ipl-ifs-sandpoint.srec (what is this file for?)
- If I need to burn both the IPL and IFS into flash, which is the
correct
one to use? Apparently, the file sandpoint.bin stated in the BSP
docs
cannot
be found
- How can I get the IPL to correctly locate the OS signature?
- The 512K limitation stated in the BSP docs is no longer valid
right? I
am
using a 4MB flash ROM

Please help. Thanks.


JL




--
-Jay.





--
-Jay.



--
-Jay.

JL

Re: QNX6.2 on Sandpoint with PPC8245

Post by JL » Wed Feb 05, 2003 9:54 am

Hi,

That worked. I am now able to boot entirely from ROM. The next step is to
boot from CF or IDE.

Thank you very much for your assistance.


Best Regards,

Jason Lee


"Jay Greig" <greig@qnx.com> wrote in message
news:Voyager.030204153727.17267D@node341.ott.qnx.com...
Previously, JL wrote in qdn.public.qnxrtp.powerpc:
Hi,
[snip]
From the mkflashimage, it can be seen that we are actually trying to
copy an
object from binary format to srec format. And by doing so, we have made
the
binary file (ipl-ifs-tmp-sandpoint.bin) which is 534KB into a 1.6MB hex
file
(which is logical). The resulting binary file in this case is greater
than
512KB. Do I need to modify the original buildfile supplied by QNX to
generate an image smaller than 512KB?

Yes - at one point (pre-6.2.0), this image was just below the 512k limit,
but with new features added here and there, it has pushed the size over
this limit.. there has been a problem report filed for this as well.

I would suggest removing the 'pci' utility from the sandpoint-flash.build
file and try it again.

Another question is, which file should I be burning into the flash
through a
programmer and how do I do it correctly? Any specific offsets I need to
set?
I tried burining both the binary file and srec file. Both does not work,
only difference is that for the srec file, the programmer complains
about
some addresses being out of range.

You can use either, it doesn't matter. With the srec one, you will have
to
set the offset to 0xfff00000 (otherwise, the address will be out of
range).


-Jay.


Best Regards,

JL


"Jay Greig" <greig@qnx.com> wrote in message
news:Voyager.030204101037.17267A@node341.ott.qnx.com...
How are you burning the IPL into the 512k socketed flash? Do you
have it in an srec format or binary? Do you have the stock IPL
burned into flash, or is it your modified version?

Could you please modify your images/mkflashimage script so that it
doesn't remove the temp files at the end and provide a "ls -l" of
the images directory. It could be that the image being burnt to
the flash is >512k.

The BSP docs are incorrect and there has been a problem report
filed against them.

-Jay.

Previously, JL wrote in qdn.public.qnxrtp.powerpc:
Hi,

I tried this and it does not seem to work. The image can be
transferd
through serial to target board but does not seem to run and resets
itself
after a few seconds.

JL


"Jay Greig" <greig@qnx.com> wrote in message
news:Voyager.030130181658.9340A@node341.ott.qnx.com...
With just the IPL burned into the 512k flash, try the following
from
/usr/src/bsp-6.2.0/ppc/sandpoint/images:
mkifs -r../scratch sandpoint-flash.build ifs-sandpoint.bin

When you reset the board and get "Download" appear on the
console, send the ifs-sandpoint.bin (via sendnto) to the board
and see if that works.. the default buildfile (sandpoint.build)
is set to build an srec image at 9600 baud (which will not work
over sendnto)

Once we verify that a simple image can be sent, we'll delve deeper
into your other issues.

-Jay.

Previously, JL wrote in qdn.public.qnxrtp.powerpc:
Hi,

I have just started working on the Sandpoint with PPC8245. I
managed
to
get
the following working by following the BSP docs:
- Build IPL and IFS images
- Download IFS through serial using DINK32 and got QNX
running
correctly
- Replace DINK32 with QNX IPL and managed to download IFS
through
serial
using sendnto protocol

I am currently facing these problems:
- After download of IFS through serial using QNX IPL, I cannot
get
the
OS
image to start. There is no further output on the screen and the
systems
reboots after a few seconds
- I tried burning the QNX IPL and IFS onto the flash and boot
entire
system
from flash. However, image_scan() does not seem to be able to
locate
the
OS
signature and the system reboots after some time. I have made
image_scan()
to scan from 0x000000 to 0xFFFFFF but it cannot find the OS
signature
and
boot the system. I know that it cannot find the OS signature
because
I
put
in debug messages and output them to serial so that I can the
messages

I have the following questions:
- What are the usage of the following files:
- ifs-sandpoint.srec (I used this with DINK32 to the system
and
managed
to start correctly)
- ipl-ifs-sandpoint.srec (what is this file for?)
- If I need to burn both the IPL and IFS into flash, which is
the
correct
one to use? Apparently, the file sandpoint.bin stated in the BSP
docs
cannot
be found
- How can I get the IPL to correctly locate the OS signature?
- The 512K limitation stated in the BSP docs is no longer valid
right? I
am
using a 4MB flash ROM

Please help. Thanks.


JL




--
-Jay.





--
-Jay.





--
-Jay.

Jay Greig

Re: QNX6.2 on Sandpoint with PPC8245

Post by Jay Greig » Wed Feb 05, 2003 2:21 pm

No problem - let us know if you're having any more problems.

-Jay.

Previously, JL wrote in qdn.public.qnxrtp.powerpc:
Hi,

That worked. I am now able to boot entirely from ROM. The next step is to
boot from CF or IDE.

Thank you very much for your assistance.


Best Regards,

Jason Lee


"Jay Greig" <greig@qnx.com> wrote in message
news:Voyager.030204153727.17267D@node341.ott.qnx.com...
Previously, JL wrote in qdn.public.qnxrtp.powerpc:
Hi,
[snip]
From the mkflashimage, it can be seen that we are actually trying to
copy an
object from binary format to srec format. And by doing so, we have made
the
binary file (ipl-ifs-tmp-sandpoint.bin) which is 534KB into a 1.6MB hex
file
(which is logical). The resulting binary file in this case is greater
than
512KB. Do I need to modify the original buildfile supplied by QNX to
generate an image smaller than 512KB?

Yes - at one point (pre-6.2.0), this image was just below the 512k limit,
but with new features added here and there, it has pushed the size over
this limit.. there has been a problem report filed for this as well.

I would suggest removing the 'pci' utility from the sandpoint-flash.build
file and try it again.

Another question is, which file should I be burning into the flash
through a
programmer and how do I do it correctly? Any specific offsets I need to
set?
I tried burining both the binary file and srec file. Both does not work,
only difference is that for the srec file, the programmer complains
about
some addresses being out of range.

You can use either, it doesn't matter. With the srec one, you will have
to
set the offset to 0xfff00000 (otherwise, the address will be out of
range).


-Jay.


Best Regards,

JL


"Jay Greig" <greig@qnx.com> wrote in message
news:Voyager.030204101037.17267A@node341.ott.qnx.com...
How are you burning the IPL into the 512k socketed flash? Do you
have it in an srec format or binary? Do you have the stock IPL
burned into flash, or is it your modified version?

Could you please modify your images/mkflashimage script so that it
doesn't remove the temp files at the end and provide a "ls -l" of
the images directory. It could be that the image being burnt to
the flash is >512k.

The BSP docs are incorrect and there has been a problem report
filed against them.

-Jay.

Previously, JL wrote in qdn.public.qnxrtp.powerpc:
Hi,

I tried this and it does not seem to work. The image can be
transferd
through serial to target board but does not seem to run and resets
itself
after a few seconds.

JL


"Jay Greig" <greig@qnx.com> wrote in message
news:Voyager.030130181658.9340A@node341.ott.qnx.com...
With just the IPL burned into the 512k flash, try the following
from
/usr/src/bsp-6.2.0/ppc/sandpoint/images:
mkifs -r../scratch sandpoint-flash.build ifs-sandpoint.bin

When you reset the board and get "Download" appear on the
console, send the ifs-sandpoint.bin (via sendnto) to the board
and see if that works.. the default buildfile (sandpoint.build)
is set to build an srec image at 9600 baud (which will not work
over sendnto)

Once we verify that a simple image can be sent, we'll delve deeper
into your other issues.

-Jay.

Previously, JL wrote in qdn.public.qnxrtp.powerpc:
Hi,

I have just started working on the Sandpoint with PPC8245. I
managed
to
get
the following working by following the BSP docs:
- Build IPL and IFS images
- Download IFS through serial using DINK32 and got QNX
running
correctly
- Replace DINK32 with QNX IPL and managed to download IFS
through
serial
using sendnto protocol

I am currently facing these problems:
- After download of IFS through serial using QNX IPL, I cannot
get
the
OS
image to start. There is no further output on the screen and the
systems
reboots after a few seconds
- I tried burning the QNX IPL and IFS onto the flash and boot
entire
system
from flash. However, image_scan() does not seem to be able to
locate
the
OS
signature and the system reboots after some time. I have made
image_scan()
to scan from 0x000000 to 0xFFFFFF but it cannot find the OS
signature
and
boot the system. I know that it cannot find the OS signature
because
I
put
in debug messages and output them to serial so that I can the
messages

I have the following questions:
- What are the usage of the following files:
- ifs-sandpoint.srec (I used this with DINK32 to the system
and
managed
to start correctly)
- ipl-ifs-sandpoint.srec (what is this file for?)
- If I need to burn both the IPL and IFS into flash, which is
the
correct
one to use? Apparently, the file sandpoint.bin stated in the BSP
docs
cannot
be found
- How can I get the IPL to correctly locate the OS signature?
- The 512K limitation stated in the BSP docs is no longer valid
right? I
am
using a 4MB flash ROM

Please help. Thanks.


JL




--
-Jay.





--
-Jay.





--
-Jay.



--
-Jay.

Post Reply

Return to “qdn.public.qnxrtp.powerpc”