firmware-6000-upload.xml 4.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <section id='firmware-6000-upload'>
  2. <title>
  3. Update Local Host (INT6000/INT6300/INT6400)
  4. </title>
  5. <para>
  6. The Update Local Host operation transfers a firmware image and/or <acronym>PIB</acronym> image from the device to the local host for permanent storage. After the firmware and <acronym>PIB</acronym> are stored, the local host will reset the device and the device will retrieve parameters and firmware using the <link linkend="firmware-6000-boot">Boot from Host</link> operation described in the next section.
  7. </para>
  8. <para>
  9. The firmware may initiate this operation after a remote host has downloaded new firmware or <acronym>PIB</acronym> and issued a <constant>VS_MOD_NVM.REQ</constant> to the device, the device has been asked to restore factory default settings or the firmware has dynamically altered the runtime <acronym>PIB</acronym> in some way. Consequently, the device will be reset by the host in each case.
  10. </para>
  11. <para>
  12. The device initiates this operation to complete an Upgrade Device operation when the device has no dedicated flash memory onboard. This operation requires running Atheros firmware on the device and custom software on the local host.
  13. </para>
  14. <figure>
  15. <title>
  16. Update Local Host (INT6000/INT6300/INT6400)
  17. </title>
  18. <programlisting><![CDATA[
  19. INT6300/INT6400 LOCAL-HOST
  20. [01] |-------- VS_HOST_ACTION.IND ------->| [01]
  21. [03] |<------- VS_HOST_ACTION.RSP --------| [02]
  22. | |
  23. [04] |<------- VS_RD_MOD.REQ -------------| [04]
  24. [04] |-------- VS_RD_MOD.CNF ------------>| [04]
  25. [04] |<-----------------------------------| [04]
  26. [04] |----------------------------------->| [04]
  27. | |
  28. [05] |<------- VS_RD_MOD.REQ -------------| [05]
  29. [05] |-------- VS_RD_MOD.CNF ------------>| [05]
  30. [05] |<-----------------------------------| [05]
  31. [05] |----------------------------------->| [05]
  32. | |
  33. [06] |<------- VS_RS_DEV.REQ -------------| [06]
  34. [07] |-------- VS_RS_DEV.CNF ------------>| [07]
  35. ]]></programlisting>
  36. </figure>
  37. <orderedlist>
  38. <listitem>
  39. <para>
  40. The runtime firmware initiates this operation by broadcasting <constant>VS_HOST_ACTION.IND</constant> messages every 500 milliseconds. The <constant>HOST_ACTION_REQ</constant> field of the message can be either <constant>0x01</constant>, <constant>0x02</constant> or <constant>0x03</constant> to indicate that a firmware image, a parameter block image or both are ready for upload by the local host.
  41. </para>
  42. </listitem>
  43. <listitem>
  44. <para>
  45. The local host sends a <constant>VS_HOST_ACTION.RSP</constant> message to the device to indicate the ability and willingness to upload the information. The <varname>MSTATUS</varname> field is set to <constant>0x00</constant> for affirmative and <constant>0x01</constant> for negative.
  46. </para>
  47. </listitem>
  48. <listitem>
  49. <para>
  50. Assuming an affirmative response, the device stops broadcasting and will wait indefinitely for local host action.
  51. </para>
  52. </listitem>
  53. <listitem>
  54. <para>
  55. Optionally, the local host reads the firmware image from the device by sending a series of VS_RD_MOD.REQ messages to the device and waiting for a <constant>VS_RD_MOD.CNF</constant> message after each one. The message <varname>MODULEID</varname> field is set to <constant>0x01</constant> for this operation.
  56. </para>
  57. </listitem>
  58. <listitem>
  59. <para>
  60. Optionally, the local host reads the <acronym>PIB</acronym> from the device by sending a series of <constant>VS_RD_MOD.REQ</constant> messages to the device and waiting for a <constant>VS_RD_MOD.CNF</constant> message after each one. The message <varname>MODULEID</varname> field is set to <constant>0x02</constant> for this operation.
  61. </para>
  62. </listitem>
  63. <listitem>
  64. <para>
  65. The local host sends a <constant>VS_RS_DEV.REQ</constant> message to the device to initiate a firmware reboot.
  66. </para>
  67. </listitem>
  68. <listitem>
  69. <para>
  70. The device sends a <constant>VS_RS_DEV.CNF</constant> to the host and performs a software reset. This forces a <link linkend='firmware-6000-boot'>Boot from Host</link>.
  71. </para>
  72. </listitem>
  73. </orderedlist>
  74. </section>