IOS version 0.2 03/13/06


Summary:
--------
This is an incremental release to version 0.1 and includes the 
following features:
  1) New BS1 and BS2 (with updated EXI clock)
  2) Version number
  3) Provide an update program (fl-0.2D.elf). This program
     will update an NDEV running version 0.1 to version 0.2.

For field update feature, we have tested the followings:
  1) Updating from version 0.1 to version 0.2
  2) Updating from version 0.2 back to version 0.1
  3) Self updating - version 0.2 to version 0.2


Limitations:
------------
  1) The current limitation on the number of files retrieved for 
     ISFS_ReadDir() is 256.
  2) For the flash update program:
       - If the write operation encounters error in any of these
         5 blocks, the operation will abort.
       - Bad block handling is currently not supported.


Procedure to update an existing NDEV system running version 0.1
---------------------------------------------------------------
  1) Use ndrun to prepare the flash update program
     $ ndrun ./fl-0.2D.elf
  2) Hit reset of the NDEV system 
  3) Once the program starts displaying information on the
     serial terminal, wait until it starts counting 0, 1, 2
     and press "start" on the controller to start the update
     process. Please do not turn off NDEV system or PC until 
     the update is complete.
     The log file fl-0.2D.log contains information displayed
     by this program when run successfully.


Procedure to burn IOP OS and Broadway boot image into flash:
------------------------------------------------------------
  1) Connect and start JTAG debugger. Stop processsor.
   
     To do this for the first time (for a board which does not
     have boot1 in flash), you will need to connect a Barnacle with
     an image, which sets bit 5 of ACRSRNPROT and boot up the board
     in debug mode (SW1-5 on).

  2) Load and start minimon0
     > load c:\file_path\minimon0.elf

  3) Run minimon0
     > go

  4) Write blocks 0 - 4 into flash:
     cap 
     erase 0 4
     wrbN c:\file_path\block0.flash 64 0
     wrbN c:\file_path\block1.flash 64 1
     wrbN c:\file_path\block2.flash 64 2
     wrbN c:\file_path\block3.flash 64 3
     wrbN c:\file_path\block4.flash 64 4

  5) Verify blocks:
     fv 0 0 63
     fv 1 0 63
     fv 2 0 63
     fv 3 0 63
     fv 4 0 63

  6) Put the board back into normal mode (SW1-5 off). 


Test programs:
--------------
In the "tests" directory, there are some test programs:

  1) G2D-test.elf is a simple test has been tested to run with
     NDEV2. 

  2) fs_apitestD.elf - Synchronous flash and ISFS API tests.
     You'll need to press "start" on the controller to start
     the test.
     fs_apitestD.log - Log file of test run successfully

  3) fs_apitestasynD.elf - Async ISFS API tests
     You'll need to press "start" on the controller to start
     the test.
     fs_apitestasynD.log - Log file of test run successfully

  4) fl-0.2D.elf - CAUTION: This is the sample field update program
     that will update all the 5 flash blocks (0-4) to version 
     0.2. Please do not turn off NDEV system or PC until the update 
     is complete.
     fl-0.2D.log - Log file of the program run successfully


All the code to the flash tests (fs_apitestD, fs_apitestasynD, flD)
and flash libary (fb.c) have been checked into the RVL SDK tree.
 
--------------------------------------------------------------------





