Tests/Manufacturing Data

From OLPC
< Tests
Revision as of 16:23, 15 October 2007 by AlexL (talk | contribs)
Jump to navigation Jump to search

(These tests can only be done with firmware which allows the changing of manufacturing data) e.g. q2c28i.rom


Test Write Protect Flag

(this test needs to be done with a laptop that has not been activated)

Actions

  1. Get to the ok prompt.
    • With q2c28i, if security is off, just press esc when the "Type Esc Key to interreupt automatic startup" comes up.
    • if security is on, hold the x game button while booting, and then press esc.
  2. At the ok prompt, type .mfg-data
    • This will display the manufacturing data.
    • If you're in insecure mode, ww should be the first tag in the list, and if you're in secure mode, wp should be the first tag in the list.
  3. If you're in insecure mode, type enable-security. (CAUTION: if using something other than q2c28i.rom, make sure that you will be able to disable security or activate your laptop, otherwise, you could lock up your laptop)
  4. Power off the laptop.
  5. Turn the laptop on, holding the x button, and press esc to get to the ok prompt.
  6. Type .mft-data at the ok prompt.
    • The ww should now be a wp, meaning write protect is on.
  7. Power off the laptop.
  8. Turn the laptop on without holding any buttons.

Verify

  • Enabling Security changes the manufacturing tag ww to wp.
  • The laptop will not boot if the wp flag is set.
  • One is not able to get to the ok prompt after enabling security. (NOTE: the x game key back door will be turned off in later firmware builds)

Test the ak flag

(this is the activation flag, which when set, should allow the laptop to boot in secure mode)