Fix Clock: Difference between revisions

From OLPC
Jump to navigation Jump to search
Line 19: Line 19:
#*# Boot the laptop, and connect to the internet.
#*# Boot the laptop, and connect to the internet.
#*# Go to the terminal and: yum install minicom
#*# Go to the terminal and: yum install minicom
#*# After it is done, type: minicom -s (to set up minicom)
#*# Go to 'Serial port setup' and hit enter.
#*# Press 'a' and change it to /dev/ttyUSB0, and then hit enter twice.
#*# Go to 'Modem and dialing' and hit enter.
#*# Clear the contents of both 'Init string' and 'Reset string' (you get to those by hitting 'a' and 'b'
#*# Hit enter to get back to the 'configuration' menu.
#*# Go to 'Save setup as..' and hit enter.
#*# Name the setup as 'USB0' and hit enter.
#*# Go to 'Exit from Minicom' and hit enter.
#*# Now, all you have to do is type: minicom USB0 (this will open minicom to the settings you want)


==Fix the clock==
==Fix the clock==

Revision as of 18:49, 14 December 2007

This page is on how to fix a clock on a write protected machine. (these machines don't boot and give the message "

Get the back off the Laptop

  1. Remove the four screws below the top section of the laptop.
  2. Take off the plate over the screen.
  3. Remove the four screws around the screen.
  4. Slide the screen down.
  5. Remove the four screws holding in the back.
  6. Slide the back off.
  7. Put the screen back in place, and put in a screw or two.

Hook the laptop up to another one through the serial port

  1. Connect a serial port to the laptop
  2. Using a serial to usb converter, connect the laptop to your personal laptop
  3. Use a program like minicom to access the laptop serially
    • How to set up an XO for this
      1. Install any build 650 or later
      2. Boot the laptop, and connect to the internet.
      3. Go to the terminal and: yum install minicom
      4. After it is done, type: minicom -s (to set up minicom)
      5. Go to 'Serial port setup' and hit enter.
      6. Press 'a' and change it to /dev/ttyUSB0, and then hit enter twice.
      7. Go to 'Modem and dialing' and hit enter.
      8. Clear the contents of both 'Init string' and 'Reset string' (you get to those by hitting 'a' and 'b'
      9. Hit enter to get back to the 'configuration' menu.
      10. Go to 'Save setup as..' and hit enter.
      11. Name the setup as 'USB0' and hit enter.
      12. Go to 'Exit from Minicom' and hit enter.
      13. Now, all you have to do is type: minicom USB0 (this will open minicom to the settings you want)

Fix the clock

  1. power up the laptop, and hit ‘i’ a bunch after seeing ‘Forth’ (easy to miss, just re-try)
  2. Then, do the following commands at the ok prompt. (hitting enter after each one)
    1. ok debug secure-startup (sets a break point at secure startup)
    2. ok resume (runs and breaks at secure start up)
    3. f (gives a forth 'ok' prompt)
    4. ok clock-node @ iselect
    5. ok decimal
    6. ok sec min hour day month year set-time (sec, min, hour, etc. should be numbers correlating to the current date) (e.g. 00 48 3 13 12 2007 set-time)
  3. power off, and try booting.