-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
69 lines (44 loc) · 1.63 KB
/
README
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
meta-sunxi
==========
This layer provides support for Sunxi Allwinner SOCs.
This is Yocto BSP layer for Allwinner SOCs.
Supported Boards/Machines
=========================
Boards Supported by this layer (Please refer to the associate .conf for more
information):
* A20-OlinuXino-Lime2
machine name: sun7i_a20_lime2
Maintainers, Patches/Submissions, Community
=======
Please submit any patches against this BSP to the sunxi mailing list
(inux-sunxi@googlegroups.com) and cc: the maintainer:
Maintainer: Vishnu Patekar <vishnupatekar0510@gmail.com>
Table of Contents
=================
I. Building the meta-sunxi BSP layer
I. Building the meta-sunxi BSP layer
========================================
To install the required packages for Yocto follow below
http://www.yoctoproject.org/docs/1.7/yocto-project-qs/yocto-project-qs.html
1. Clone the yocto poky.
$ cd ~
$ git clone http://git.yoctoproject.org/git/poky
$ cd poky
$ git checkout -b dizzy origin/dizzy
2. clone the meta-sunxi layer
$ cd ~/poky
$ git clone https://github.com/vishnupatekar/meta-sunxi.git
$ source oe-init-build-env
3. Once initialized configure build/conf/bblayers.conf by adding the 'meta-sunxi' layer.
e.g.:
BBLAYERS ?= " \
/home/vishnu/yocto/poky/meta \
/home/vishnu/yocto/poky/meta-yocto \
/home/vishnu/yocto/poky/meta-sunxi \
"
To build a specific target BSP configure the associated machine in build/conf/local.conf:
MACHINE ?= "sun7i_a20_lime2"
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 'build/tmp/deploy/images'.