aboutsummaryrefslogtreecommitdiff
blob: 4e956472cd9a3ea760de5d8675573b1882439cd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
==========
Gentoo ARM
==========

Drivers and misc for Gentoo on various ARM devices, for Chromebook, Trimslice
diskless, udoo/wandboard, beagleboneblack, allwinner a-10, and rpi.  Some 
of the relevant/current graphics configs are documented below.

To get started, add the overlay to make.conf, update package.foo and USE 
flags as needed, and mask packages as needed.  The general config is:

 * ACCEPT_KEYWORDS="~arm"

 * Basic config: udev, polkit, consolekit, xattr, caps, pam (no systemd or logind)

 * X support: xwayland, opentegra, fbturbo, armsoc, rpi (still in testing)

 * wayland/weston: egl/gles1/gles2, -opengl -glx (except a few odd packages with opengl flag)

 * Needs package.foo configs for complete install (depends on usage)

 * Kernels sources:

   - Trimslice: gentoo-sources latest

   - RaspberryPi: fbtft drivers now in Adafruit staging

      + raspberrypi-sources
      + adafruit-raspberrypi-sources
      + drm-raspberrypi-sources (provisional vc4 drm support)

   - Wandboard-quad and Udoo-quad: `RCN LinuxOnArm`_ patches on mainline

      + latest 4.1.y mainline branch

   - BeagleboneBlack: RCN bb_kernel patches on mainline

      + bone-sources updated to 4.1.0-bone9
      + see `RCN LinuxOnArm`_ for latest updates

   - Chromebook: next dev branch beyond stock Google ChromeOS (custom config, installed as KERN3, USB3 rootfs or SDCard)

      + Samsung Snow - 3.8.11 chromeos-sources
      + Tegra K1 - 3.10.18 chromeos-sources

   - Jetson K1 - 3.19.0-rc6 linux-jetson

   - Efikamx: "Latest" upstream kernel, custom config (2.6.31.14.27-efikamx) external ASIX module, SDCard rootfs

   - MK802-II 1 GB: "Latest" upstream kernel with correct device tree (3.4.75.sun4i+), custom config, SDCard rootfs

.. _RCN LinuxOnArm: http://eewiki.net/display/linuxonarm/Home

Steev's test setup:

(other) Steve's test setup:

 * Hardware: Jetson, Trimslice, Wandboard quad, Chromebooks (snow and K1), Raspberry Pi B/B+/B2, Udoo quad, Cubox quad, BeagleboneBlack

  - Full X is only built for all of them (so far) with wayland/weston testing in progress)

    + gles/egl, no opengl/glx, cairo/clutter/cogl, +qt5/-qt4, +gtk3/-gtk

 * Overlays:

  - https://github.com/sarnold/portage-overlay  (general)

  - https://github.com/sarnold/arm (pushes to gentoo/arm)

 * Recommended CPU flags

  - armv7 defaults: -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard

   + add neon to USE flags if processor supports it, ebuilds that use neon should take care of flags

  - alternately you can set fpu to one of the neon-vfp flags

   + Example flags for Tegra K1:
   + -march=armv7-a -mtune=cortex-a15 -mfpu=neon-vfpv4 -mfp16-format=ieee

 * Configs: See the config directory in arm overlay for test configs

Config differences are minimal, mainly graphics and neon. Webkit-gtk builds with everything but jit, the cairo gles backend is enabled instead of opengl, and Trimslice uses opentegra-specific repos and mesa-9999.

You can (optionally) add this overlay with layman::

  $ layman -f -a arm_support -o https://raw.github.com/gentoo/arm/master/configs/layman.xml