Skip to content

Instantly share code, notes, and snippets.

@cellularmitosis
Last active April 6, 2022 01:21
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cellularmitosis/5b7541db99ee07a476dcb42afbffaee1 to your computer and use it in GitHub Desktop.
Save cellularmitosis/5b7541db99ee07a476dcb42afbffaee1 to your computer and use it in GitHub Desktop.
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

@kekyo
Copy link

kekyo commented Apr 6, 2022

Hi, thank you told us your experience for upgrade process. I feel it's bricked same as processing.
Finally I got totally upgrades with apt packages by latest official Debian 8 package.
See instruction information in my gist when you are interesting ;)

https://gist.github.com/kekyo/1d851907bf5b59ddb204448de3b18383

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