Skip to content

Instantly share code, notes, and snippets.

@joshgiesbrecht
Last active March 29, 2023 12:52
Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save joshgiesbrecht/9f2857f64213d7c6f9480209b8953a14 to your computer and use it in GitHub Desktop.
Save joshgiesbrecht/9f2857f64213d7c6f9480209b8953a14 to your computer and use it in GitHub Desktop.
How to get (re)started with a (Pocket)C.H.I.P.

WHOA THERE probably go look at this first: https://nytpu.com/gemlog/2021-04-15.gmi seriously it's so good

Setting up to Flash

  1. Are you running linux? if not, go get a Linux VM. Ubuntu 20.10 worked for me.
  2. follow the instructions here: https://github.com/Thore-Krug/Flash-CHIP it be very good yes

Fresh Flash First Steps

  1. update sources.list (use http://deb.debian.org/ instead of archive or whatever) or is it? ugh looks like they changed it again, or un-changed it, or something

  2. tmp link apt's http method to https go to /usr/lib/apt/methods/ and sudo ln -s http https

  3. remember to turn on wifi, lol

  4. fix expired debian key by adding

     Acquire::Check-Valid-Until "0";
    

    to /etc/apt/apt.conf

  5. sudo apt install apt-transport-https

  6. hey, now's a great time to apt update and apt upgrade, and go get a coffee

  7. how about installing ssh while we're at it so you can remote into it

  8. move the new pico-8 files into the place, /usr/lib/pico-8/

Other Useful Tips

Disable touch screen while in sleep mode (so it doesn't wake up by accident in your pocket): https://www.reddit.com/r/ChipCommunity/comments/cvspz4/disable_touchtowake_while_in_sleep_pocket_chip/

If you upgrade to Debian 10 and the Fn keys stop working, fix with this info: https://www.ecliptik.com/Pocket-CHIP/#fixing-fn-keys

References

https://github.com/Thore-Krug/Flash-CHIP

http://chip.jfpossibilities.com/chip/debian/

https://web.archive.org/web/20201112031913/http://www.chip-community.org/index.php/Main_Page

https://www.reddit.com/r/ChipCommunity/comments/lvo82m/fix_for_is_the_package_apttransporthttps_installed/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment