CI20 Distros

The CI20 ships with Debian7 installed, but a number of other distributions have been built and run on CI20 already. Those distributions are undergoing preparation for their images to be uploaded to the file store, and the links here will be updated in due course.

As the images are generated the procedure used to build and burn the images will be documented by articles in the CI20 Rootfs Guides category.

How to burn images
For instructions on how to use the below images please see the Dev Zone.

Debian
The Debian7 NAND burning image, as used for the production NAND image, is available to download from these links. Note, it is approximately a 1Gbyte download:

To burn the CI20 on-board NAND back to the factory default image download the following SDcard image and follow the instructions on Flashing the NAND Image.

Debian 7 Factory Default 2014-06-25
The default Debian7 NAND image is available here

The rootfs tarball used to create this image is available here

The associated md5sums are dc330745036cefd853ceb56d09d46334 debian-nand-v2-20140625.img f0148cf26475fe019c8ed91a11d6c331 rootfs-20140625.tar

Debian 7 2014-09-12
The image is available here. changelog NOTE: DEFAULT UART HEADER CHANGED!

The rootfs tarball used to create this image is available here

The associated md5sum of the image is fc88a13626003b5df33ee8a3d5bb0e9d debian_2014_09_12_b.img

Please verify the MD5 of the image you download before using it.

Debian 7 FSF Image 2014-09-12
A Free Software Foundation compatible image (pending review) is available here.

md5sum 8ef04efc2405108dfbf815238a866480 debian_2014_09_12_FSF.img

The changelog for this image is here

Note: This image is based on the newer edition of the Debian7 image.

Debian 7 2015-01-15
The image is available here The rootfs tarball is available here The associated MD5sum is c0e046144b95b7e4d54753340ac2aa45 debian7_2015_01_15.img 4c03f44272d6b7520123a0dce7e1e1b3 rootfs2015-01-15_16_49_47.tar

Changelog Updated SGX binaries from 1.11 to 1.13 Installed openssh client Installed flowstarterapp for Imagination Flowcloud Updated kernel with mmc hotplug fix Added kernel options for usb cameras and usb serial drivers

Debian 7 2015-02-02
The image is available here The rootfs tarball is available here The associated MD5sum is 37a11dda7b6b4a7bfc36d98657933ea4 debian7_2015_02_02.img a7456979aa9f77ba1c1943be5bef9b2c rootfs2015-02-02_12_06_04.tar

Changelog Updated kernel with adc drivers. Can read AUX1 and AUX2 now using sysfs. using 'cat /sys/devices/platform/jz4780-adc/jz4740-hwmon.0/in0_input' using 'cat /sys/devices/platform/jz4780-adc/jz4740-hwmon.0/in1_input'

Before you upgrade
Before upgrading you must ensure you have a kernel with CONFIG_FHANDLE enabled since the version of udev in jessie now requires it. The kernel supplied in the NAND image does not have this option enabled. You can test if you have it by running

grep 'T sys_open_by_handle_at' /proc/kallsyms

Old kernels will print nothing, up to date kernels will print the symbol address.

After you upgrade:
 * Graphics acceleration will not work (the powervr drivers currently don't work with xorg 1.16).
 * MPlayer will be removed.
 * Your system will be converted to run systemd.

Upgrading
All commands should be run as root.

Move PVR specific xorg.conf out of the way mv /etc/X11/xorg.conf /etc/X11/xorg.conf.pvr If you are running the rootfs from an SD card, comment out the ubi boot line in fstab by adding a # at the start of the line nano /etc/fstab Remove PVR module from /etc/modules sed -i 's/pvrsrvkm//' /etc/modules Update sources.list to point to jessie sed -i 's/wheezy/jessie/g' /etc/apt/sources.list Update package lists apt-get update Upgrade packages apt-get dist-upgrade
 * APT may decide to remove some packages here - look carefully at the list before pressing yes.
 * During the upgrade you will be asked what to do about a modified version of /etc/lightdm/lightdm.conf. Select N here (selecting Y is ok, but will disable autologin).

To save some space you can remove some old packages by running apt-get autoremove apt-get autoclean If everything goes well, reboot reboot

Android
Android KitKat 4.4.2 image is available for download.

The image is 1.1Gbyte. You'll need an SD card to flash it on the CI20. Check Flashing the NAND Image

2015-05-11-v0.5 download here

Details on how to make the image are available here How to Make an Android SD Card Flash Image for MIPS CI20

Changelog
 * Audio over HDMI interface.
 * Audio jack auto-detection has been fixed in Linux kernel. Now we can easily switch audio output from HDMI to headphones and vice versa.
 * Audio over Bluetooth interface.
 * Recording audio.
 * Ethernet settings application has been added.

Notes
 * Videos work. Check out youtube.com in the browser!
 * Takes quite a bit of time for first boot after you flash android. So don't worry :). The recent change in the way UBIFS partitions are mounted helps.
 * Instructional video here:- http://youtu.be/yE-Sgy5bb_Y

For further detail check out the Android on the MIPS CI20 page.

Older images
2015-04-07-v0.4 download here

Changelog
 * Audio over HDMI interface.
 * Audio jack auto-detection has been fixed in Linux kernel. Now we can easily switch audio output from HDMI to headphones and vice versa.
 * Audio over Bluetooth interface.
 * Recording audio.
 * Ethernet settings application has been added.

2014-11-26-v0.3 download here

Changelog
 * Default resolution switched to 720p.

2014-11-20-v0.2 download here

Changelog
 * NAND storage upgraded to 4Gbyte.
 * SD Card hotplug issue fixed

2014-11-05-v0.1 download here

Old Notes


 * Storage limit to 1Gbyte at the moment.
 * SD card does not auto mount for Android. You can manually mount using mount -t vfat /dev/block/mmcblk0p1 /storage/sdcard1 and view files from commandline. But Android won't detect it..

Gentoo
A Gentoo Linux SDCard image is available on the Gentoo mirrors:

${YOUR_CLOSEST_MIRROR}/experimental/mips/desktop-ci20/

All the instructions are in the README file.

Please find the Gentoo mirrors list here:

http://www.gentoo.org/main/en/mirrors2.xml

Yocto
Yocto Sato is running on CI20 - you can download the image here

The image is around 200Mbyte. You'll need an SD card to flash it on the CI20. Check Flashing the NAND Image.

The image was made using the steps documented on How to make a Yocto Rootfs for CI20

A few details
 * Serial/Getty is on ttyS0. If you find a fix for getty on ttyS4, please email the list.
 * Display Resolution compiled in kernel is 1024x768 for greater compatibility with monitors.
 * The image uses kernel 3.0.8

Angstrom
Angstrom with a XFCE4 UI is running on the CI20 - you can download the image here

The image is 1Gbyte. You'll need an SD card to flash it on the CI20. Check Flashing the NAND Image.

The image was made using the steps documented on How to make an Angstrom Rootfs for CI20

Arch
Arch is running on CI20, and an image is in progress...

Buildroot
This is a small (~70Mb) buildroot image. It boots directly from the sd card and doesn't flash the NAND.

Just dd the image on an sd card. (dd if=image.img of=/dev/sdX). Or windows32diskimager.

It has a minimal X environment too :).

Suitable for checking your board and running memtest.


 * Username ci20
 * Password ci20
 * Root password ci20
 * For some reason, have to login via user ci20 and then su to root if logging in via monitor/tv.

2015_03_03
Download [here]

Specific notes fir 2015_03_03: This image has ddr timings tweaked. Purpose. Requesting people to run memtest using this.

OpenWRT
OpenWRT support is a work in progress. Check the following links:

Check Readme.md for detailed status.
 * OpenWrt on CI20
 * https://github.com/Pteridium/OpenWRT-experimental/tree/ci20-alpha (deprecated)
 * OpenWRT-CI20 branch CI20-0.3 (current)

OpenELEC
OpenELEC (short for "Open Embedded Linux Entertainment Center") is a free and open source embedded operating system providing a complete appliance-like media center software suite that comes with a pre-configured version of Kodi (formerly XBMC) media player and third-party addons with retro video game console emulators and PVR/DVR plugins.

OpenELEC is an extremely small and very fast booting Linux based distribution, primarily designed to be booted from flash memory card such as USB-memory, SD-card, CompactFlash or a solid-state drive, similar to that of the Linux Live distributions but specifically targeted to a minimum set-top box hardware setup based on ARM SoC's or Intel x86 processor and graphics.

Over the years OpenELEC have and have had partnerships with several media player manufacturers and media center system integrates as OEM firmware developers, with OpenELEC maintaining the operating-systems on their hardware.

Check the following links for discussion about CI20:
 * https://github.com/OpenELEC/OpenELEC.tv/issues/3830
 * http://openelec.tv/forum/12-guides-tips-and-tricks/1061-guide-how-to-build-your-own-openelec-distro

Chromium OS
General guide for building Chromium OS: https://www.chromium.org/chromium-os/developer-guide

See the general guide for prerequisites and much more detail about the build process and what each of these commands do.

Download sources
Follow the steps in the above guide until you get to 'Get the source code'. For building on the CI20, you can use an alternate manifest which will pull in the overlay.

Running on the CI20
The JZ4780 used in the CI20 has a limitation where it is impossible to boot from an SD card formatted with GPT (as used in Chromium OS). To workaround this, you can flash uboot and a kernel to the NAND and then boot from there.

To copy the NAND flashing image to an SD card, run this command after building the images. Ignore the message about the image being corrupt (say no).

Then insert the SD card in the CI20 and boot from SD. Like other flashing images, the LED should turn red and then back to blue.

To flash the Chromium OS rootfs to an SD card, run this command.

Then insert this SD card and boot from NAND.