Skip to content

Instantly share code, notes, and snippets.

@franz-josef-kaiser
Last active April 23, 2018 22:29
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save franz-josef-kaiser/a67a6f85e60a4ae17216 to your computer and use it in GitHub Desktop.
Save franz-josef-kaiser/a67a6f85e60a4ae17216 to your computer and use it in GitHub Desktop.
pcDuino v1 setup - incl. XBMC

Handy shortcuts

  • Access main menu: Alt + F1

  • Open Terminal: �Ctrl + Alt + T

  • Fullscreen window toggle: F11

  • Package manager apt-get intro and handy stuff

Step by Step guide

  1. Setup Linux - handy link - the setup guide PDF
  2. Either use a SD Card or a micro USB. If so, go with this guide to connect the pcDuino to the PC.
  3. Grab latest v2 Kernel image from the pcDuino homepage.
  4. Grab latest Ubuntu + update.sh repo from pcDuino homepage (same link)
  5. Burn Kernel with Win32DiskImager on the SD Card.
  6. Insert SD Card into the pcDuino
  7. Power up board. RX LED will stay off. TX LED will blink slowely during burning, stop blinking when completed or blink rapidly when it failed.
  8. Either format SD card (Windows) or use PhoenixCard 3.06 (or similar) to "Format to normal"
  9. Copy Ubuntu + update.sh onto the SD Card (may take a while)
  10. Insert the SD into the pcDuino

Now Linux/(L)Ubuntu 12.04 LTS should be accessible.

  1. Setup Wifi (lower right corner or just main menu und connection setup)
  2. Set keyboard to German (or whatever) layout dpkg-reconfigure keyboard-configuration
  3. Install Aptitude sudo apt-get install aptitude
  4. sudo apt-get update (may take a while)
  5. Install nano to make your life easier: sudo apt-get install nano or sudo aptitude install nano

We will then have: Linaro 12.07

  1. Setup lirc like in this guide: sudo apt-get install lirc && sudo apt-get install lirc-x. If something went wrong through configuration, reconfigure it with sudo dpkg-reconfigure lirc
  2. Add a Lirc > XBMC mapping file (to map Lirc/IR/remote buttons to XBMC buttons) sudo touch .xbmc/userdata/Lircmap.xml
  3. Search up the XBMC Buttons
  4. Search up the Lircd Button conf file: cat /etc/lirc/lircd.conf. In there you will find one include that points to example to /usr/share/lirc/remotes/asus/lircd/conf.asusdh. Just cat the contents. The name for each remote in that file will be the device in the Lircmap.xml file for XBMC. Example: `sudo nano .xbmc/userdata/Lircmap.xml:
<lircmap>
    <remote device="AsusDH">
        <left>REV</left>
        <right>KEY_FORWARD</right>
    </remote>
</lircmap>
  1. Yamaha - converting lirc codes tutorial, existing remote mappings, lirc on Pi tutorial, XBMC lirc setup

  2. Additional Save some space and remove orphaned and not longer installed packages: sudo apt-get autoclean && sudo apt-get autoremove

LED status on typical working board

Task Power LED TX LED RX LED
Board boot up On Off Off
Board boot up to Ubuntu On On On
Good working board On On On

LED status when burning image to the board

Board production date newer than 4th April 2013

Linux Kernel Power LED TX LED RX LED
Linux kernel is burning to flash On Blink Slowly Off
Linux kernel burning is complete On Off Off
Linux kernel burning is failed On Blink rapid Off
Linux kernel is updated, wait for Ubuntu update On Blink slowly On
Ubuntu Power LED TX LED RX LED
Ubuntu image is burning to flash On Blink rapid On
Ubuntu image burning is complete On Blink slowly Blink slowly
Ubuntu image burning is failed On Blink rapid Blink rapid

LED status when burning image to the board

Board production date older than 4th April 2013

Linux Kernel Power LED TX LED RX LED
Linux kernel is burning to flash On Off Off
Linux kernel burning is complete On Off Off
Linux kernel burning is failed On Off Off
Linux kernel is updated, wait for Ubuntu update On Blink slowly On
Ubuntu Power LED TX LED RX LED
Ubuntu image is burning to flash On Blink rapid On
Ubuntu image burning is complete On Blink slowly Blink slowly
Ubuntu image burning is failed On Blink rapid Blink rapid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment