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. set ACRSRNPROT ti 0x7
5. Start the CPU
In Chameleon VIO window there now should be a minimon prompt.  At the prompt:
6. 'cap'
7. 'erase 0 4'
8. Flash block 0.  Use the block from the 0.65 release.
   'wrbN c:\craig\block0.flash 64 0'
9. 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'.

How to make and run an RVL image of application 'app':

1. 'ndrun app.elf -!'
2. edit app.dlf and remove the RVL_CONFIG line.
3. run makervm -gc app.dlf app.part -x
4. run make_rvl_partition -o app.enc_part app.part
5  ODEM -r -l app.enc.dlf

See test plan for what goes in app.enc.dlf
