emsh_notes.html 5.16 KB
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <title>/tmp/n46software.html</title>
                                                                        
            
  <meta http-equiv="content-type"
 content="text/html; charset=ISO-8859-1">
</head>
  <body>
               
<h2>Writing Flash Cards using USB<br>
 </h2>
 August 5, 2003<br>
    <br>
    This document describes how to use a BB Player connected to the "Depot" 
PC with USB to format BB Player flash cards and store application programs 
to them.<br>
         
<h3>Initial Setup</h3>
 Download the ISO image of the CDROM from the Broadon FTP site and burn it 
onto a CD.<br>
 <br>
 On the Depot PC (running linux), do the following steps:<br>
 
<ul>
   <li>Reboot the Depot PC and press the CD eject button while the computer 
is in BIOS. &nbsp;This is required because the Depot OS will not let you eject
the CD while the system is running.</li>
   <li>Insert the CD containing the image from the Broadon FTP site.</li>
   <li>Press Ctrl-Alt-F2 on the keyboard of the Depot PC to get a linux shell 
prompt on the console.<br>
   </li>
   <li>On the console of the Depot PC, enter the following linux commands:</li>
   
  <ul>
     <li><b>mkdir /mnt</b></li>
     <li><b>mount /dev/cdrom /mnt</b></li>
     <li><b>cd /mnt</b></li>
     <li><b>./start</b></li>
   
  </ul>
   <li>You should see a prompt "&gt; " on the console.<br>
   </li>
   <li>Connect a BB Player to the Depot PC using the USB cable.</li>
   <li>Plug in a preloaded Flash Card that contains the "<b><i>usbmon</i></b>
 " program (<b><i>usbmon.aes</i></b>).</li>
   <li>Power on the BB Player and start <b><i>usbmon.aes</i></b>.</li>
   <li>At the "&gt; " prompt on the Depot console, enter the following command 
to open the connection to the BB Player:</li>
   
  <ul>
     <li><b>O</b> (upper case letter "oh")<br>
     </li>
   
  </ul>
   <li>Choose one of the following recipes, depending on which type of flash 
card is being created.<br>
   </li>
 
</ul>
 
<h3>Creating a Test Card for CCC</h3>
 
<ul>
   <li>Remove the preloaded flash card containing <i><b>usbmon.aes</b></i>
  and replace it with a blank flash card.</li>
   <li>At the "&gt; " prompt on the linux console, enter the following commands:</li>
   
  <ul>
     <li><b>f </b>(this will probably print an error, but that is ok)</li>
     <li><b>z</b></li>
     <li><b>k sk_encrypt.bin</b></li>
     <li><b>f</b><br>
     </li>
     <li><b>a block.aes launch.aes</b></li>
   
  </ul>
   <li>Remove the card.</li>
   <li>At this point, you can insert another blank card and repeat the above 
commands to create another identical flash card.</li>
 
</ul>
 
<h3>Creating a Reliability Test Card</h3>
 
<ul>
   <li>Remove the preloaded flash card containing <i><b>usbmon.aes</b></i>
  and replace it with a blank flash card.</li>
   <li>At the "&gt; " prompt on the linux console, enter the following commands:</li>
   
  <ul>
     <li><b>f </b>(this will probably print an error, but that is ok)</li>
     <li><b>z</b></li>
     <li><b>k sk_encrypt.bin</b></li>
     <li><b>f</b></li>
     <li><b>a launch.aes</b></li>
     <li><b>a sm64.aes</b><br>
     </li>
     <li><b>a gng.aes</b></li>
     <li><b>a usbmon.aes</b><br>
     </li>
   
  </ul>
   
  <ul>
     
  </ul>
   <li>Remove the card.</li>
   <li>At this point, you can insert another blank card and repeat the above 
commands to create another identical flash card.</li>
 
</ul>
       
<h3>Creating Factory Test Card</h3>
<ul>
   <li>Remove the preloaded flash card containing <i><b>usbmon.aes</b></i>
  and replace it with a blank flash card.</li>
   <li>At the "&gt; " prompt on the linux console, enter the following commands:</li>
   
  <ul>
     <li><b>f </b>(this will probably print an error, but that is ok)</li>
     <li><b>z</b></li>
     <li><b>k sk_encrypt.bin</b></li>
     <li><b>f</b></li>
     <li><b>a gngfac.aes launch.aes</b></li>
          <li><b>a gng2.aes</b></li>
        
  </ul>
   
  <ul>
     
  </ul>
   <li>Remove the card.</li>
   <li>At this point, you can insert another blank card and repeat the above 
commands to create another identical flash card.</li>
 
</ul>
<h3>Creating a Preloaded Blank Test Card</h3>
<ul>
    <li>Remove the preloaded flash card containing <i><b>usbmon.aes</b></i>
  and replace it with a blank flash card.</li>
   <li>At the "&gt; " prompt on the linux console, enter the following commands:</li>
   
  <ul>
     <li><b>f </b>(this will probably print an error, but that is ok)</li>
     <li><b>z</b></li>
     <li><b>k sk_encrypt.bin</b></li>
     <li><b>f</b></li>
             
  </ul>
   
  <ul>
     
  </ul>
   <li>Remove the card. &nbsp;Note that this card will not be bootable by
itself. &nbsp;It can be inserted when requested by the Factory Test.</li>
   <li>At this point, you can insert another blank card and repeat the above 
commands to create another identical flash card.<br>
  </li>
 
</ul>
<h3>Exiting the Flash Program</h3>
 Type "<b>q</b>" at the "&gt; " prompt or press Ctrl-C.<br>
 <br>
 To restart the program, type "<b>./start</b>" at the linux shell prompt
("# ") and then enter "<b>O</b>" (upper case letter "oh") at the "&gt; "
prompt.<br>
 <br>
 <br>
 <br>
 <br>
 <br>
           
</body>
</html>