This is a text-only version of the following page on https://raymii.org: --- Title : Olimex OlinuXino A20 LIME2 Minimal Debian 7 Image Author : Remy van Elst Date : 28-01-2015 URL : https://raymii.org/s/articles/Olimex_A20-OLinuXino-LIME2_minimal_debian_7_image.html Format : Markdown/HTML --- ![olimex][1] I have an Olimex A10 LIME board for which I've made a minimal image, see [this page for details][2]. It is a very awesome and powerfull ARM dev board with open source hardware. I like it so much that I decided to also get the A20. The Olimex A20-LIME2 is the big brother of the A10. The [Olimex Olinuxino A20 LIME2][3], an open source hardware ARM (Allwinner A20) dual core based dev board with 160 GPIO's, 1,2 GHz/1 GB RAM, 2 USB 2.0 ports, 1 esata port, 1 hdmi port, USB-OTG, 1 gbit lan (not via the usb bus) and more of those nice features. The price is even more awesome, the device costs 45 euro's, add 5 euro's and you have yourself a nice black case. It consumes very little power, combined with all the features a perfect dev / tinkerboard.

Recently I removed all Google Ads from this site due to their invasive tracking, as well as Google Analytics. Please, if you found this content useful, consider a small donation using any of the options below:

I'm developing an open source monitoring app called Leaf Node Monitoring, for windows, linux & android. Go check it out!

Consider sponsoring me on Github. It means the world to me if you show your appreciation and you'll help pay the server costs.

You can also sponsor me by getting a Digital Ocean VPS. With this referral link you'll get $200 credit for 60 days. Spend $25 after your credit expires and I'll get $25!

[Olimex][5] sponsored a board for me to create the image, I would like to thank them very much for them. The difference with the A10-LIME is the dual core ARM processor, 1 GB of ram instead of 512 and gigabit networking. Sadly, the default Debian 7 image suplied by Olimex is bloated and huge. Perfect for the general tinkerer, has a Desktop Environment and a lot of dev tools and support for everything. Not perfect for me, I want a small minimal base to start and add up on that only what I need. This image takes up about 200 MB of space and uses only around 15 MB of RAM idle. I took this image and stripped everything out of it, leaving only the bare minimum. Basically it only runs SSH and allows you to install the tools you need to build your project, without any other cruft. It is also more optimized to run off flash storage, by default it has no logging, no locatedb updates, noatime mount option, this all reducing writes to the SD card. The main features / differences from the Olimex provided Debian image (Debian 7 with kernel 3.4.90): * Removed `olimex` user * Removed all graphical software (x11/desktop etc) (`apt-get purge --auto-remove 'libx11-.*'`) * Removed crtmpserver * Removed Apache * Removed development packages like gcc, perl and python-dev * Removed a lot of kernel modules for things like WiMax, wireless, iscsi etc. * Removed other packages like audio and video codecs * Removed compiled ffmpeg * Removed kernel modules for media and wireless * Removed all locales and documentation * Replaced openssh by Dropbear (port 22 default) * Username/password the same, 'root/olimex' * Getty terminals off, only ssh. * DHCP enabled on eth0. The kernel itself is still 3.4, the Debian version is 7 for armhf. ### Download You can download the image from here: * HTTPS: [tar.gz, click here][6] * TORRENT: [.torrent, click here][7] * MD5SUM: e1987a80584f669ffd820f012f293b85 * SHA256: 3d0eaf6c6315d7c03795f73ff616bb0327f3a246e13f648ff6ab43d990e6f447 Feel free to mirror it wherever you want. If you like it or use it, you might consider sending me a nice email. Or, if this image helped you and you want to support me AND get $10 Digital Ocean credit (2 months free), use this link to order: ### Instructions Download the image: wget https://2162bb74000a471eb2839a7f1648771a.objectstore.eu/olimex/a20_debian7_minimal_raymii.img.tar.gz Extract it: tar -xf a20_debian7_minimal_raymii.img.tar.gz Verify the md5 sum: md5 a20_debian7_minimal_raymii.img sha256sum a20_debian7_minimal_raymii.img If it is correct, continue. If it is not correct, retry the download. Plug in your microSD card and use `dmesg` to see which device it is. Please note that this image is supposed to be on the MicroSD card. I don't know if and how it works on the eMMC internal flash. Write the image to the microSD card: dd if=a20_debian7_minimal_raymii.img of=/dev/mmcblk0 Afterwards, use a tool like (c)fdisk, parted or gparted to enlarge the second partition. It is only 500 MB, which is to small to use most of the time. Plug the microSD card back in and boot the Olimex. It receives an IP address via DHCP. Check your router, the serial console or use nmap to find it. Log in as root with the password `olimex`. If you want to install software, please `apt-get update` first, since the apt- lists are removed to save +100 MB. Enjoy! [1]: https://raymii.org/s/inc/img/A20-OLinuXino-LIME.jpeg [2]: https://raymii.org/s/articles/Olimex_A10-OLinuXino-LIME_minimal_debian_7_image.html [3]: https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXIno-LIME2/open-source-hardware [4]: https://www.digitalocean.com/?refcode=7435ae6b8212 [5]: http://olimex.com/ [6]: https://2162bb74000a471eb2839a7f1648771a.objectstore.eu/olimex/a20_debian7_minimal_raymii.img.tar.gz [7]: https://raymii.org/s/inc/downloads/a20_debian7_minimal_raymii.img.tar.gz.torrent --- License: All the text on this website is free as in freedom unless stated otherwise. This means you can use it in any way you want, you can copy it, change it the way you like and republish it, as long as you release the (modified) content under the same license to give others the same freedoms you've got and place my name and a link to this site with the article as source. This site uses Google Analytics for statistics and Google Adwords for advertisements. You are tracked and Google knows everything about you. Use an adblocker like ublock-origin if you don't want it. All the code on this website is licensed under the GNU GPL v3 license unless already licensed under a license which does not allows this form of licensing or if another license is stated on that page / in that software: This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . Just to be clear, the information on this website is for meant for educational purposes and you use it at your own risk. I do not take responsibility if you screw something up. Use common sense, do not 'rm -rf /' as root for example. If you have any questions then do not hesitate to contact me. See https://raymii.org/s/static/About.html for details.