Skip to content

Instantly share code, notes, and snippets.

@cellularmitosis cellularmitosis/README.md
Last active Dec 5, 2019

Embed
What would you like to do?
Installing Debian on the MIPS Creator CI20

Blog 2019/11/4

<- previous | index | next ->

Installing Debian on the MIPS Creator CI20

With my recent interest in compilers, I decided to pick up a MIPS machine.

ci20

The MIPS Creator CI20 is a single-board computer (specs):

  • Dual-core 1.2GHz MIPS32 CPU
  • 1GB Ram
  • HDMI video out with OpenGL 2.1 via a PowerVR SGX540 GPU
  • Boot from 8GB onboard flash, SD Card, or USB
  • WiFi, Bluetooth, Ethernet

It is available for about $70 from mouser.com, sold as the Imagination Technologies VL-62851 (datasheet).

Bricked? Nope!

I found the instructions for updating Debian confusing, and at one point thought I had bricked my CI20. Turns out I just needed to be patient!

To update to a more recent release of Debian, download nand_2016_06_02.img from the CI20 elinux page. This is an SD Card image, which when booted, will overwrite the onboard flash.

Burn this image to an SD Card, set the boot jumper, and boot the CI20. You will see the LED turn briefly red, then blue. This indicates it is overwriting the onboard flash. Though there is no HDMI output, the CI20 is working correctly! About 10 minutes later the LED will turn red again, indicating it has finished writing to the onboard flash.

There is a note about how the older and newer boot sectors and root filesystems are incompatible, which can lead to a situation where the kernel boots, but panics when it can't mount the root filesystem.

(Between this panic and the "mysterious" blue LED, this was the point at which I mistakenly thought I had bricked my CI20).

This process is also covered in the Android Authority review of the CI20.

Next, download rootfs_2016_06_02.tar. Partition and format an SD Card (on my machine, this was mkfs.ext4 /dev/mmcblk0). Mount the filesystem and untar the tarball into it (pv rootfs_2016_06_02.tar | tar x). Place the SD Card into your CI20, set the boot jumper, and power it up.

Hmm, I can't seem to get that image to boot correctly.

I was able to get the gentoo image to boot. Grab gentoo-stage4-ci20.img from the experimental/mips/desktop-ci20 directory.

Resources

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.