On Thu, 12 Mar 2009 01:02:11 -0600
Robert Yaklin <ryak...@gmail.com> wrote:

> Josh,
> In loading the sfi file, first a RAM image is sent to the device. I'm
> not sure about the 8800, but for my 8700, at least parts of this RAM
> image seem to come from C:\Program Files\Common Files\Research In
> Motion\AppLoader\CE.dll.

So it looks like figuring out how to generate the ram image is the
hurtle.  Here is a collection of USB captures for the cfp.exe info
command for 5 different devices.

http://www.slashdev.ca/usbcap/cfp-info-logs.zip

Doing a diff on two of the logs shows lots of common blocks inside the
ram image writes.  Not sure if this means anything yet.

> Data from the sfi file starting at offset 0x14 is sent to the device
> flash offset 0x80060000 as seen in the sniff at the following lines:
> 
> Jan 23 20:54:06.010: vmx| USBIO:  000: 02 00 fc 3f f8 3f fd 00 00 00
> 06 80 00 00 00 00
> 
> ^^^^^^^^^^^FlashStartingAddress 0x80060000
> Jan 23 20:54:06.010: vmx| USBIO:  010: 0f 00 00 ea 08 00 00 ea 08 00
> 00 ea 08 00 00 ea
> 
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^TheDataBeingFlashed
> 
> Data from the sfi file starting at offset 0x5f0cc8 is sent to the
> device flash offset 0xd0000000 as seen in the sniff at the following
> lines:
> Jan 23 20:55:12.940: vmx| USBIO:  000: 02 00 fc 3f f8 3f fd 00 00 00
> 00 d0 00 00 00 00
> 
> ^^^^^^^^^^^FlashStartingAddress 0xd0000000
> Jan 23 20:55:12.940: vmx| USBIO:  010: 08 e1 ba 53 48 e1 00 d0 50 00
> 00 00 1f 2d 58 d7
> 
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^TheDataBeingFlashed
> 
> Robert Yaklin
> 
> On Wed, Mar 11, 2009 at 5:29 PM, Josh Kropf <j...@slashdev.ca> wrote:
> > Hi Chris,
> >
> > I have a few USB captures to share:
> > http://www.slashdev.ca/usbcap/
> >
> > These are from the bootloader program:
> >        * cfp-info
> >        * cfp-load-sfi
> >
> > For each, both the un-translated and the translated logs are
> > included. For the info command, the output of the command is
> > included.  For the load sfi command, the sfi file is included.
> >
> > I am rather stumped.
> >
> > Looking at the info command we have an initial large read which
> > contains a bunch of device information... simple enough.  Following
> > this several dozen large writes are observed.  Then near the end a
> > new controller mode is issued 'RIM-RAMLoader' followed by a bunch
> > of large reads.  I have no idea what's going on here but I'll keep
> > at it.  I'm also entertaining the idea that brimtrans.cc may not be
> > translating the log files perfectly.
> >
> > Hoping that someone smarter than me might have more luck. :)
> >
> > --
> > Josh Kropf <j...@slashdev.ca>
> >
> > ------------------------------------------------------------------------------
> > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM)
> > are powering Web 2.0 with engaging, cross-platform capabilities.
> > Quickly and easily build your RIAs with Flex Builder, the Eclipse
> > (TM)based development software that enables intelligent coding and
> > step-through debugging. Download the free 60 day trial.
> > http://p.sf.net/sfu/www-adobe-com
> > _______________________________________________ Barry-devel mailing
> > list Barry-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/barry-devel
> >
> 
> ------------------------------------------------------------------------------
> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM)
> are powering Web 2.0 with engaging, cross-platform capabilities.
> Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)
> based development software that enables intelligent coding and
> step-through debugging. Download the free 60 day trial.
> http://p.sf.net/sfu/www-adobe-com
> _______________________________________________ Barry-devel mailing
> list Barry-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/barry-devel


-- 
Josh Kropf <j...@slashdev.ca>

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to