blob: ec988cb5187a7d2e9accfca2ed8f22dad1c1224c (
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
89
90
91
92
93
94
|
meta-rcar-gen2
===========
This layer provides that evaluation board is mounted ARM SoCs of Renesas
Electronics, called the R-Car Generation 2. Currently, this supports
board and the SoCs of the following:
- Board: lager / SoC: R8A7790 (R-Car H2)
- Board: koelsch / SoC: R8A7791 (R-Car M2-W)
- Board: gose / SoC: R8A7793 (R-Car M2-N)
- Board: alt / SoC: R8A7794 (R-Car E2)
Patches
=======
Please submit any patches for this layer to: takeshi.saito.xv@renesas.com
Please see the MAINTAINERS file for more details.
Dependencies
============
This layer depends on:
URI: git://git.yoctoproject.org/poky
layers: meta, meta-yocto, meta-yocto-bsp
branch: master
URI: git://git.yoctoproject.org/meta-renesas
layers: renesas
branch: master
Build with X11/Weston
URI: git://git.openembedded.org/meta-openembedded
layers: meta-oe, meta-multimedia
branch: master
URI: git://git.yoctoproject.org/meta-qt4
branch: master
Build Instructions
==================
The following instructions require a Poky installation (or equivalent).
Initialize a build using the 'oe-init-build-env' script in Poky. Once
initialized configure bblayers.conf by adding the meta-renesas and
meta-rcar-gen2 layer. e.g.:
BBLAYERS ?= " \
<path to layer>/poky/meta \
<path to layer>/poky/meta-yocto \
<path to layer>/poky/meta-yocto-bsp \
<path to layer>/meta-renesas \
<path to layer>/meta-renesas/meta-rcar-gen2 \
<path to layer>/meta-openembedded/meta-oe \
<path to layer>/meta-qt4 \
"
To build a specific target BSP configure the associated machine in local.conf:
MACHINE ?= "<supported board name>"
Build the target file system image using bitbake:
$ bitbake core-image-minimal
Once complete the images for the target machine will be available in the output
directory 'tmp/deploy/images/<supported board name>'.
Images generated:
* uImage (Linux Kernel binary, in u-boot wrapped format)
* uImage+dtb (Linux Kernel binary with DTB, in u-boot wrapped format)
* zImage (Linux Kernel binary)
* zImage+dtb (Linux Kernel binary with DTB)
* uImage-<SoC namme>-<machine name>.dtb (DTB for target machine)
* core-image-minimal-<machine name>.tar.bz2 (rootfs tar+bzip2)
* core-image-minimal-<machine name>.jffs2 (rootfs in JFFS2 format)
* u-boot.bin (U-Boot binary)
* u-boot.srec (U-Boot Motorola S-record)
Build with SGX/RGX
==================
MACHINE_FEATURES_append = " sgx"
MULTI_PROVIDER_WHITELIST += "virtual/libgl virtual/egl virtual/libgles1 virtual/libgles2"
PREFERRED_PROVIDER_virtual/libgles1 = ""
PREFERRED_PROVIDER_virtual/libgles2 = "gles-user-module"
PREFERRED_PROVIDER_virtual/egl = "libegl"
PREFERRED_PROVIDER_virtual/libgl = ""
PREFERRED_PROVIDER_virtual/mesa = ""
PREFERRED_PROVIDER_libgbm = "libgbm"
PREFERRED_PROVIDER_libgbm-dev = "libgbm"
Build with Renesas multimedia libraries
=======================================
|