Difference between revisions of "CI20 Distros"
m (→Upgrading: sed fix) |
(→Upgrading) |
||
Line 88: | Line 88: | ||
Move PVR specific xorg.conf out of the way | Move PVR specific xorg.conf out of the way | ||
mv /etc/X11/xorg.conf /etc/X11/xorg.conf.pvr | 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 | Remove PVR module from /etc/modules | ||
sed -i 's/pvrsrvkm//' /etc/modules | sed -i 's/pvrsrvkm//' /etc/modules |
Revision as of 08:34, 23 February 2015
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 is
255d6d70b48f6e15e6785c3c851949de debian_2014_09_12.img
Please verify the MD5 of the image you download before using.
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'
Upgrading to Debian 8 / Jessie
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 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
2014-11-26-v0.3 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
- Default resolution switched to 720p.
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 :).
- Instructional video here:- http://youtu.be/yE-Sgy5bb_Y
For further detail check out the Android on the MIPS CI20 page.
Older images
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...
OpenWRT
OpenWRT support is a work in progress. Check the following links:
- OpenWrt on CI20
- https://github.com/Pteridium/OpenWRT-experimental/tree/ci20-alpha (deprecated)
- OpenWRT-CI20 branch CI20-0.1 (current)
Check Readme.md for detailed status.
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
|