No problem - let us know if you’re having any more problems.
-Jay.
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.
\