README 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. _
  2. __| | _____ _____ _ _ ___
  3. / _` |/ _ \ \ / / __| | | / __|
  4. | (_| | __/\ V /\__ \ |_| \__ \
  5. \__,_|\___| \_/ |___/\__,_|___/
  6. Overview
  7. ========
  8. Devsus is a script that builds bootable, libre Devuan (http://www.devuan.org/)
  9. images for the Asus C201 Chromebook, one of the few laptops able to boot and run
  10. without any non-free software, all the way down to the firmware level. The C201
  11. is supported by Libreboot (http://www.libreboot.org/).
  12. The images produced by Devsus contain a Linux-libre
  13. (http://linux-libre.fsfla.org/) longterm kernel tuned for small size, good
  14. performance and short boot times.
  15. Some features of the RK3288 SoC, including built-in WiFi support, require use of
  16. non-free software. Therefore, they are unsupported by Devsus. To compensate for
  17. that, the Devsus kernel includes support for freedom-friendly devices:
  18. - Firmware for Atheros AR9271 based WiFi dongles
  19. - Drivers for Qualcomm CSR8510 based Bluetooth dongles
  20. Moreover, the Devuan installation is very minimal and consists of a barebones
  21. Devuan base, plus crucial command-line tools, like those required to connect to
  22. a WiFi network.
  23. Dependencies
  24. ============
  25. Devsus has been tested on Devuan 2 (ASCII) on x86_64, with the following
  26. packages installed:
  27. apt install --no-install-recommends --no-install-suggests \
  28. parted cgpt \
  29. git gawk device-tree-compiler vboot-kernel-utils gcc-arm-none-eabi \
  30. u-boot-tools \
  31. gcc make libc-dev wget g++ cmake \
  32. binfmt-support qemu-user-static debootstrap \
  33. bc wget xz-utils m4
  34. Building
  35. ========
  36. # ./devsus.sh
  37. This produces two Devuan disk images:
  38. 1) devuan-ascii-c201-libre-16GB.img, a 16 GB image suitable for persistent
  39. installation; its size should be exactly the size of the internal SSD
  40. 2) devuan-ascii-c201-libre-2GB.img, a 2 GB image suitable for booting the
  41. laptop off USB
  42. Usage
  43. =====
  44. To produce a bootable media, write the 2 GB image to a flash drive (of at least
  45. 2 GB):
  46. # dd if=$SOMEWHERE/devuan-ascii-c201-libre-2GB.img of=/dev/$DEVICE bs=50M
  47. The root password is blank.
  48. The 2 GB image (yes, the smaller one) contains the larger, 16 GB one under /.
  49. This way, it is possible to boot the laptop through USB, then install Devuan
  50. persistently without having to download or store the large image separately.
  51. Persistent installation is performed using dd, too:
  52. # dd if=/devuan-ascii-c201-libre-16GB.img of=/dev/mmcblk0
  53. Modifications
  54. =============
  55. The images produced by Devsus are very close to stock Devuan:
  56. - APT has been configured not to install "recommended" packages by default
  57. - Some critical (like udev) or useful (like iw) packages have been added
  58. - unscd has been added, to cache DNS
  59. - The number of virtual consoles has been reduced from 6 to 2
  60. Credits and Legal Information
  61. =============================
  62. Devsus' previous kernel building procedure was based on the linux-veyron package
  63. of Arch Linux ARM (http://www.archlinuxarm.org/).
  64. Devsus' workaround for ath9k_htc instability issues has been adopted from
  65. PrawnOS (https://github.com/SolidHal/PrawnOS) and found by SolidHal.
  66. Devsus is free and unencumbered software released under the terms of the GNU
  67. General Public License, version 2; see COPYING for the license text. For a list
  68. of its authors and contributors, see AUTHORS.
  69. The ASCII art logo at the top was made using FIGlet (http://www.figlet.org/).