How to program just flash block 0:

1. Power cycle box (may not be necessary)
In Chameleon:
2. Stop the CPU
3. Load minimon0.elf: 'load c:\craig\minimon0.elf'
4. Start the CPU
In Chameleon VIO window there now should be a minimon prompt.  At the prompt:
5. 'cap'
6. 'erase 0 4'
7. Flash block 0.  Use the block from the 0.65 release.
   'wrbN c:\craig\block0.flash 64 0'
8. Verify the flash: 'fv 0 0 63'

How to do swupdate:

1. Copy the wad files:
   cd NG_tree/rvl/boot/boot2; cp os.wad boot2.wad boo1.aes to
   RVL_SDK/dvddata/swupdate
2. cd c:/craig
3. cat bs1dol.stub BS2.img > BS2.wad.img
4. publish.py -v -n viewer -l BS2.wad.img
5. cp viewer.wad to RVL_SDK/dvddata/swupdate
6. cd RVL_SDK/build/tests/es/bin/RVL[0]/
7. ndrun swupdate.elf -!

Test the swupdate by doing an ndrun of a simple app.  It should just
run, without doing anything in Chameleon.

How to run application A using an RVL image from application B:

1.  ODEM -r -l applicationB.enc.dlf
2.  NdevRun applicationA.elf
3.  In Chameleon, use a BS2 HIO2 image instead of a regular BS2 image:
    'source c:\craig\crypto.hio2'.  Do the PPC parts as usual.
4.  The TTerm window, should display 'hio2 boot ready'.  When it does,
    do 'hio2send.exe applicationA.dlf'.
