{"id":18583838,"url":"https://github.com/timnn/pi-builder","last_synced_at":"2025-09-13T16:25:19.829Z","repository":{"id":141234293,"uuid":"50613441","full_name":"TimNN/pi-builder","owner":"TimNN","description":null,"archived":false,"fork":false,"pushed_at":"2016-01-29T20:04:23.000Z","size":657,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"custom","last_synced_at":"2025-05-09T03:51:52.439Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TimNN.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-28T21:01:25.000Z","updated_at":"2016-01-28T21:01:44.000Z","dependencies_parsed_at":"2023-04-23T07:51:07.873Z","dependency_job_id":null,"html_url":"https://github.com/TimNN/pi-builder","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimNN%2Fpi-builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimNN%2Fpi-builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimNN%2Fpi-builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimNN%2Fpi-builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TimNN","download_url":"https://codeload.github.com/TimNN/pi-builder/tar.gz/refs/heads/custom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254471049,"owners_count":22076587,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T00:25:01.803Z","updated_at":"2025-05-16T05:10:32.184Z","avatar_url":"https://github.com/TimNN.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ubuntu MATE 15.10 for the Raspberry Pi  2.\n\nMartin Wimpress and Rohith Madhavan have made an Ubuntu MATE image\nfor the Raspberry Pi 2 which you can download or build yourself.\n\nThe image is functional and based on the regular Ubuntu `armhf` base,\nnot the new Snappy Core, which means that the installation procedure for\napplications is the same as that for the regular desktop version, ie using\n`apt-get`.\n\nWe have done what we can to optimise the build for the Raspberry Pi 2\nand one can comfortably use applications such as LibreOffice, which in\nfact is a joy to use :-) But the microSDHC I/O throughput is a\nbottleneck so **we recommend that you use a Class 6 or Class 10 microSDHC**\ncard. If you build the image yourself we recommend you use the `f2fs`\nfilesystem.\n\nYou'll need a microSD card which is 4GB or greater to fit the image.\nThe file system can be resized to occupy the unallocated space of the\nmicroSD card, similar to Raspbian.\n\n**NOTE! There are no predefined user accounts**. The first time you\nboot the Ubuntu MATE image it will run through a setup wizard where you\ncan create your own user account and configure your regional settings.\nThe first boot is quite slow, but once the first boot configuration is\ncomplete subsequent boots are much quicker.\n\n## Download\n\nA pre-built image available from the Ubuntu MATE website.\n\n  * \u003chttps://ubuntu-mate.org/raspberry-pi/\u003e\n\n## Putting the image on microSDHC\n\nDownload the image and then:\n\n  1. Extract the `.img.bz2` archive to get the image file.\n\n    bunzip2 ubuntu-mate-15.10-desktop-armhf-raspberry-pi-2.img.bz2\n\n  2. Write the image file to the microSD card as root.\n\n    sudo ddrescue -d -D --force ubuntu-mate-15.10-desktop-armhf-raspberry-pi-2.img /dev/sdX\n\nThe drive may be mounted on any `/dev/sdX` so use the command `lsblk` to\ncheck.\n\n## Re-size file system\n\nThere are no utilities included for automatic file system re-sizing. However,\nit's not hard to do manually. Once booted:\n\n    `sudo fdisk /dev/mmcblk0`\n\nDelete the second partition (d, 2), then re-create it using the defaults\n(n, p, 2, enter, enter), then write and exit (w). Reboot the system, then:\n\n    `sudo resize2fs /dev/mmcblk0p2`\n\n## Enable and Disable X11\n\nWe created a simple utility called `graphical` to disable/enable the\nMATE desktop environment for easily creating a headless *\"server\"*.\nExecuting `graphical disable` will present a console login on the next\nboot, with now X11 or associated services running. If you want to get\nthe full Ubuntu MATE desktop back, run `graphical enable` and reboot.\n\n## Hardware accelerated video\n\nMost videos will play with hardware acceleration using `omxplayer` which\nis pre-installed in Ubuntu MATE. However if you have MPEG-2 or VC-1 video\nvideo files then **you will need MPEG-2 and/or VC-1 licenses from the\n[Raspberry Pi Store](http://www.raspberrypi.com/license-keys/)**.\n\n### Redirecting audio output\n\nYou can select which audio device `omxplayer` should output audio to.\n\n#### For HDMI\n\n    omxplayer -o hdmi video.mp4\n\n#### For 3.5mm audio jack\n\n    omxplayer -o local video.mp4\n\nThe sound will output to HDMI by default if both HDMI and the 3.5mm audio jack\nare connected. You can, however, force the system to output to a particular\ndevice using `amixer`.\n\n#### For HDMI\n\n    sudo amixer cset numid=3 2\n\n#### For 3.5mm audio jack\n\n    sudo amixer cset numid=3 1\n\n## Feedback and Improvements\n\nPlease post all feedback on the [dedicated community topic](https://ubuntu-mate.community/t/ubuntu-mate-15-04-for-raspberry-pi-2/517).\nIf you have any improvements then please submit a pull request to our\nBitBucket.\n\n  * \u003chttps://bitbucket.org/ubuntu-mate/ubuntu-mate-rpi2\u003e\n\n## Credits\n\n  * [Rohith Madhavan](http://rohithmadhavan.com) - Made the Ubuntu MATE 15.04 image.\n  * [Martin Wimpress](https://flexion.org) - Added first boot setup wizard and architecture optimisations.\n  * [Ryan Finnie](http://finnie.org) - Raspberry Pi 2 Kernel, Firmware and video driver packages.\n  * [Sjoerd Simons](http://sjoerd.luon.net) - Made the initial Raspberry Pi 2 kernel patches for Debian Jessie.\n  * [Sergio Conde](http://omxplayer.sconde.net/) - Maintains `omxplayer` for the Raspberry Pi.\n  * [Spindle](https://github.com/RPi-Distro/spindle) - a tool to help spin distribution images\n\n## Changes\n\n### 2015-10-22 - Ubuntu MATE 15.10 for Raspbery Pi 2 Final Release\n\n  * Added OMXPlayer GUI.\n  * Added YouTube Downloader.\n  * Added `fake-hwclock`.\n  * Added `python-spidev` and `python3-spidev`.\n  * Added `python-codebug-tether` and `python3-codebug-tether`.\n  * Added `python-codebug-i2c-tether` and `python3-codebug-i2c-tether`.\n  * Added file system integrity checking on first boot.\n  * Optimised first run of MATE Menu.\n  * Optimised LibreOffice icons.\n  * Reinstated `oem-config`, which has been patched for the Raspberry Pi 2.\n    * Now includes the Ubuntu MATE slideshow.\n  * Fixed udev rules and groups for accessing `spi`.\n  * Fixed Scratch, it now runs via a `sudo` wrapper.\n    * Simliar to how Raspbian does it except *only* Scratch can be executed with elevated privileges, not everything.\n  * Removed Compiz.\n\n### 2015-10-14 - Ubuntu MATE 15.10 for Raspbery Pi 2 Release Candidate\n\n  * Fixed framebuffer so it now uses 32-bit colour depth.\n  * Added Minecraft Pi Edition 0.1.1-4.\n  * Added Scratch 20150916.\n  * Added Sonic Pi 2.7.0-1.\n  * Added essential Python 2.7.x and Python 3.4.x libraries.\n  * Added `raspi-gpio`.\n  * Added `python-rpi.gpio` and `python3-rpi.gpio`.\n  * Added `python-serial` and `python3-serial`.\n  * Added `python-picamera` and `python3-picamera`.\n  * Added `python-sense-hat` and `python3-sense-hat`.\n  * Added `python-astropi` and `python3-astropi`.\n  * Added `python-pygame` and `python3-pygame`.\n  * Added `udev` rules for `gpio`, `input`, `i2c`, `spi`, `vchiq`.\n  * Added `/usr/local/sbin/adduser.local` hook to automatically add new users to the `adm`, `gpio`, `i2c`, `input`, `spi` and `video` groups.\n  * Added `openssh-server` with first-boot host key regeneration.\n  * Added `graphical` a utility to disable/enable the MATE desktop environment for easily creating a headless *\"server\"*.\n  * Updated to Linux 4.1.10.\n    * Now using the kernel, firmware and drivers from Raspberry Pi Foundation and includes `rpi-update` to easily update the kernel and firmware.\n  * Updated `/boot/config.txt` so it is now fully documented.\n  * Updated to `raspi-copies-and-fills` (high performance memcpy and memset) 0.5-1.\n  * Updated to `xserver-xorg-video-fbturbo` (an accelerated x.org driver) 0~git.20151007.f9a6ed7.\n  * Updated to `omx-player` 0.3.6~git20150912~d99bd86.\n  * Updated `/boot/config.txt` so when HDMI is connected audio is sent over HDMI by default.\n  * Enabled Plymouth to improve startup and shutdown performance.\n  * Removed `oem-config`.\n\n### 2015-04-22 - Ubuntu MATE 15.04 for Raspberry Pi 2 Final Release\n\n  * Enabled Ryan Finnie's PPA.\n    * \u003chttps://launchpad.net/~fo0bar/+archive/ubuntu/rpi2\u003e\n    * Many thanks to Ryan for adding Vivid as a build target.\n  * Changed from `cfq` to `deadline` I/O scheduler.\n  * Added `xserver-xorg-video-fbturbo` (an accelerated x.org driver) 0~git.20150305.e094e3c-1.15.04.\n    * Limited to hardware accelerated window moving and scrolling.\n  * Added `raspi-copies-and-fills` (high performance memcpy and memset) 0.4-1.\n  * Added `oem-config` so first boot provides a setup wizard.\n  * Added `rpi2-ubuntu-errata` for facilitating post-release updates/migrations.\n  * Added sym-links to VideoCore utilties in `/opt/vc/` for 3rd party script compatibility.\n  * Added `f2fs` support to the build script.\n    * Pre-built images available for download use `ext4` because `f2fs` file systems can not be resized\n    at present.\n  * Updated to Linux 3.18.0-20.21.\n  * Updated to `flash-kernel` 3.0~rc.4ubuntu54+rpi2.4.\n  * Updated to `omxplayer` 0.3.6~git20150402~74aac37.\n  * Updated to `raspberrypi-firmware-nokernel` 1.20150402.3ea439c-1.\n  * Updated to `raspberrypi-vc` (VideoCore GPU libraries) 1.20150323.7650bcb-1.\n  * Fixed `/etc/network/interfaces` so that the Ethernet device is now configurable via Network Manager.\n  * Removed `openssh-server` until host key regeneration can be integrated.\n\n### 2015-03-14 - Ubuntu MATE 15.04 for Raspberry Pi 2 Beta 2\n\n  * Enabled `systemd` as the init system.\n  * Added `raspberrypi-vc` (VideoCore GPU libraries) 1.20150301.0de0b20-3.\n  * Added `omxplayer` 0.3.6~git20150217~5337be8.\n  * Added `linux-firmware`.\n  * Added `openssh-server`.\n\n### 2015-03-07 - Ubuntu MATE 15.04 for Raspberry Pi 2 Beta 1\n\n  * Initial Release.\n\n## TODO\n\n  * Add automatic reszing of the root file system.\n  * Add `raspi-config` or equivilent.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimnn%2Fpi-builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimnn%2Fpi-builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimnn%2Fpi-builder/lists"}