/prep_chromebook_for_linux_install

Use Centipede to help prep chromebook for linux install.

Primary LanguageC++GNU General Public License v3.0GPL-3.0

prep_chromebook_for_linux_install

Use Centipede to help prep chromebook for linux install.
Currently written with Linux workstation in mind.

Usage

  • Install Arduino IDE
  • Copy the script.ino file, in this repo, into the IDE
  • Connect the centipede to your machine.
  • Upload the code onto the centipede.
  • Put chromebook in to developer mode.
  • Once into developer mode, access the terminal.
  • Log in as chronos user in terminal $: chronos
  • Escalate using $: sudo su
  • Plug centipede into chromebook and let it run its commands.

    Notes:

    Currently if you change the void loop() to an int main() it will lock up the centipede. I have not yet discovered if it is hard bricked or just locked up.

  • The board was locked up, the steps to correct the issue and rescue the board were found Here.

    Used $: flashrom --wp-status and $: flashrom --wp-disable as a test of commands. Replace with the actual desired commands.

    Issues

  • The Keyboard.print(), Keyboard.println(), Keyboard.press() functions sometimes do not return the full string or list of characters of the complete command. Still looking at why.
    ISSUE SOLVED. The issue was solved using the Keyboard.press() function then using delay to make each press 50ms rather than using a wait() call.