IOS version 0.7.5 (Release Candidate 1) 05/26/06

Summary:
--------
This is the first release candidate for IOS version 0.7.5.
This release contains both the 5-block flash image and the
new swupdate mechanism. This release is to replace version
0.2, 0.5, 0.6, 0.6.1, 0.6.5 and 0.7. 

The user will need to perform a two-stage uprade. He must
  1) Do the update using the 5-block flash writer program
     (fl64_0.7.5.elf or fl128_0.7.5.elf) and then
  2) Run the new swupdate to update the new boot1, boot2, and
     IOS from dvddata/swupdate directory

This release will update the NAND flash system area to use
the new boot1 and boot2. The IOS will be stored on the secure
flash filesystem. Since the IOS image will be stored on the
filesystem, care must be taken to avoid NAND test programs to
do destructive operations to filesystem.

All program code, tools, and boot/os images have been checked into
the IOP_OS_075_DEV_BRANCH of the Nintendo SDK tree to perform 
IOS 0.7.5 update. Here are some main directories:
   - build/libraries/es/
   - build/libraries/fs/
   - build/libraries/sdi/
   - build/libraries/usb/
   - build/libraries/dvd
   - build/libraries/socket
   - build/tests/es/
   - build/tests/fs/
   - build/tests/sdi
   - build/tests/usb/
   - build/tests/dvd
   - build/tests/socket
   - build/tools/es/
   - dvddata/swupdate/
   - securebuild/IOS/{rvl-64, rvl-128}
   - securebuild/tools/arm-elf-merge

The main features of this release are:
  1) Support for ES 2.01 Hollywood
  2) Updated USB driver for OHCI0 and OHCI1
  3) Updated SD Card driver
  4) DI driver with crypto/non-crypto support
  5) Updated TCP/IP stack (with PPC interface)
  6) Updated USB-Ethernet driver
  7) Updated eTicket Service
  8) Use 12MB of GDDR3
  9) Updated boot info (LoMem) to include GDDR vendor ids
 10) Support for events RSW, GPIO for used by STM
 11) Provide two PPC flash writer programs to perform field update. 
     a) fl128-0.7.5.elf (for 128MB systems)
     b) fl64-0.7.5.elf  (for 64MB systems)  

     The program currently overwrites the first 5 flash blocks (0-4) with
     the same binary data provided in the 5 files (block[0-4].flash).

Limitations:
------------
  1) Testing 
     a) The following configuration was used:
        - NDEV2: ES 2.01 + 128 MB GDDR3
        - NDEV1: ES 2.01 + 128 MB GDDR3
        - NDEV1: ES 1.21 + 128 MB GDDR3
        - NDEV2: ES 1.21 + 128 MB GDDR3
        - NDEV1: ES 1.21 +  64 MB GDDR3
        - NDEV1: ES 1.11 + 128 MB GDDR3

     b) The flash writer program was tested 
        - From version 0.2 -> 0.7.5
        - From version 0.6 -> 0.7.5
        - From version 0.6.5 -> 0.7.5
        - From version 0.7 -> 0.7.5

  2) The swupdate program does not differentiate the target system
     for 64MB or 128MB configuration. It simply reads in the files
     from dvddata/swupdate directory. This will be enhanced 
     shortly.

  3) The arm-elf-merge program currently only support up to
     12 processes (resource managers). It needs to be enhanced
     to support more processes so that all resource managers
     (including WD, WL, STM, etc.) can be merged into one image.
  
  4) See additional release notes below from each subsystem.
 
Known Issues/Problems:
----------------------
  1) Once IOS 0.7.5 is updated on NDEV systems, old FS API tests 
     (fs_apitest, fs_apitestasyn) SHOULD NOT be run since these
     tests will reformat the filesystem and delete the IOS images
     on the filesystem. This will cause the subsequent boot 
     sequence to fail and requires the ARM JTAG-Jet to burn the IOS
     0.7.5 (5-blockimage).
        a) Other NAND test programs should not do destructive operations
        (i.e., format, delete system directories, etc.) on IOS 0.7 
        systems. NAND test programs should only use /tmp directory
        on IOS 0.7 systems.

  2) See additional release notes below from each subsystem.

Procedure to perform software update to IOS 0.7.5:
-------------------------------------------------
  1. Update Nintendo SDK source tree (use IOP_OS_075_DEV_BRANCH)
     - The boot1, boot2, and os images are located under
       SDK/dvddata/swupdate/ directory:
       - boot1.aes 
       - boot2.wad
       - os.wad (This is the IOS 0.7.5 image that contains ES, FS, DI,
         OHCI0, OHCI1, SD, TCP/IP, and USB-Ethernet drivers)
       - "wad" is our publishing format.
  2. Go to SDK/build, do "make libraries" and "make tests"
       - This will build FS and ES libraries and ES programs
       - Make sure that there the ES swupdate program is built
         correctly:
           - Check build/tests/es/bin/RVL0/swupdateD.elf 
  3. Go to build/tests/es:
       - Do "make viewer.wad"
         This will publish the "src/bootindol.img" which is
         based on bootin.dol image from Hashida-san.    
       - Copy "viewer.wad" to SDK/dvddata/swupdate/ directory
  4. Assuming NDEV system is already running IOS 0.7.5, 
       - Do "ndrun bin/RVL0/swupdateD.elf"  
       - This will perform the importing of viewer.wad, os.wad,
         boot2.wad, and boot1.aes. Viewer and OS will be stored on
         the secure filesystem while boot2.wad and boot1.aes
         will be written to NAND flash. Please see the attached
         swupdate.log file for the log on the serial console.
         In addition, the swupdate.elf program will also display
         updating messages to the TV display
  5. Once the software update procedure is complete, you can
     now run your PPC disk applications normally.
       - ndrun smp-onetriD.elf
     You should the serial console displaying 
       "Firmware : 0.7.5 (5/26/2006)"


Subsystem Release Notes:
------------------------
A) OS
   
   1. Support for events RSW, GPIO for STM.

   2. Assign priorities to all resource manager threads

   3. Adjust amount of system resources
      - Threads: 32 -> 48
      - Message queues: 128 -> 96
      - Timers: 64 -> 32
      - Descriptors per process: 64 -> 32
      - Heaps: 16

   4. Adjust memory map to reflect 12 MB of GDDR3

   5. Increase iobuf space:
        Size      Number       Old numbers   
        (bytes)    
         64        128           64          
        256        128           64
        512         64            8
        1024        48            4
        1536        48            4
        2048        96            8
        4096        24            0

   6. Add support for IOS panic (print out error message and spin loop)
      when either an prefetch or data abort exception occurs.

B) DI

   1. All API's are supported.

   2. The 64 byte aligned read optimization has been turned off.
      This has a small negative effect on encrypted read performance
      when the request size is greater than 31K bytes.

   3. There is a bug report involving reading data from a disk
      with two game partitions.  The bug occurs when the following
      events happen:

	- Open the second partition
	- Reads the first 32bytes and show the result on serial
	- Close the second partition
	- Open the first partition
	- Reads the first 32bytes and show the result on serial
	- Close the first partition
	- Open the second partition
	- Reads the first 32bytes and show the result on serial
	- Close the second partition

   4. This release fixes all bugs relating to DVD-Video playback.

C) ISFS

   1. The latest ISFS spec should be up-to-date. The only change from the 
      last release is that the directory attributes and permission are moved 
      from this doc since they already exist in the ES document.  Please review 
      the ES document for the correct information, since there were some 
      inconsistencies between the two docs.

   2. This release will include an access permission bug fix which allows 
      un-checked read access to the FS internal cached buffer.

   3. This release starts using the word-based memcpy and the old Napa 
      work-around was removed.

D) TCP/IP

   1. The following APIs are supported
      - SOStartup()
      - SOCleanup()
      - SOSocket()
      - SOClose()
      - SOBind()
      - SOConnect()
      - SOSendTo()
      - SORecvFrom()
      - SOListen()
      - SOAccept()
      - SOPoll()
      - SOSetSockOpt()
      - SOGetHostID()

   2. The following protocols are supported
      - TCP / UDP / IP / ARP / DHCP

   3. Known issues:
      - The maximum sockets is currently set to 16. However, the stack may 
        only support 12 sockets Simultaneously

E) USB 
   
   1. No API changes from previous release.

   2. Known issues:
      - Power switching is not per-port.
      - No support for isochronous transfers
      - No support for hubs
      - Hot-plugging is supported on IOP side but requires testing on
        PPC side.
      - Known bug reported for slow response time on PPC shim layer
        (awaiting software/hardware to reproduce)

   2. Bugs fixed (not reported by & not visible to users):
      - Handling of failed transfers (abort on going transfers on 
        endpoint, restarted endpoint if it is halted)
      - Reverse completed TD list before processing as required by spec.








