summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrei Gherzan <andrei@gherzan.ro>2013-01-06 20:14:49 +0200
committerAndrei Gherzan <andrei@gherzan.ro>2013-01-24 21:34:48 +0200
commite3e92fe9035f872e619f56426414dd93e917f3cc (patch)
tree3003b02b92234e14dfd184b105b9c7739836ba2d
parent305c5259e24eaa9fb285ca983dc4f9454743fa0c (diff)
downloadmeta-raspberrypi-e3e92fe9035f872e619f56426414dd93e917f3cc.tar.gz
README: Refactor
* Use maximum 80 columns per line * Add contents * Add "Contribution" section Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
-rw-r--r--README106
1 files changed, 74 insertions, 32 deletions
diff --git a/README b/README
index 8429c69..920d063 100644
--- a/README
+++ b/README
@@ -24,8 +24,22 @@
24 .... 24 ....
25 25
26 26
27 OpenEmbedded BSP Layer - RaspberryPi 27
28-------------------------------------- 28Contents:
29=========
301. OpenEmbedded BSP Layer - RaspberryPi
312. Yocto BSP Layer - RaspberryPi
32 2.A. Compressed deployed files
33 2.B. GPU memory
34 2.C. Add purchased license codecs
35 2.D. Disable overscan
36 2.E. Set overclocking options
373. Contribution
38
39
40
411. OpenEmbedded BSP Layer - RaspberryPi
42=======================================
29 43
30This is the general hardware specific BSP overlay for the RaspberryPi device. 44This is the general hardware specific BSP overlay for the RaspberryPi device.
31It should be used with openembedded-core (not old-style org.openembedded.dev). 45It should be used with openembedded-core (not old-style org.openembedded.dev).
@@ -35,21 +49,25 @@ More information can be found at:
35 http://www.raspberrypi.org/ (Official Site) 49 http://www.raspberrypi.org/ (Official Site)
36 http://www.distant-earth.com/ (My Site) 50 http://www.distant-earth.com/ (My Site)
37 51
38Build scripts patched to support making a firmware image for the RaspberryPi with Angstrom can be found at: 52Build scripts patched to support making a firmware image for the RaspberryPi
53with Angstrom can be found at:
39 54
40 http://github.com/Angstrom-distribution/setup-scripts 55 http://github.com/Angstrom-distribution/setup-scripts
41 56
42When not depending on meta-openembedded and not using systemd, you may need to 57When not depending on meta-openembedded and not using systemd, you may need to
43mask few recipes requiring systemd or other recipes not included in your distribution of choice. 58mask few recipes requiring systemd or other recipes not included in your
59distribution of choice.
44 60
45You can achieve this by adding something like the following to local.conf: 61You can achieve this by adding something like the following to local.conf:
46 62
47BBMASK = "meta-raspberrypi/recipes-multimedia/libav|meta-raspberrypi/recipes-core/systemd" 63BBMASK = "meta-raspberrypi/recipes-multimedia/libav|\
64meta-raspberrypi/recipes-core/systemd"
48 65
49You can adjust the BBMASK for any .bbappends that your distribution does not contain recipes for. 66You can adjust the BBMASK for any .bbappends that your distribution does not
67contain recipes for.
50 68
51The core BSP part of meta-raspberrypi should work with different OpenEmbedded/Yocto 69The core BSP part of meta-raspberrypi should work with different
52distributions and layer stacks, such as: 70OpenEmbedded/Yocto distributions and layer stacks, such as:
53 71
54* Distro-less (only with OE-Core). 72* Distro-less (only with OE-Core).
55* Angstrom (main focus of testing). 73* Angstrom (main focus of testing).
@@ -65,13 +83,10 @@ URI: git://git.openembedded.org/meta-openembedded
65branch: master 83branch: master
66revision: HEAD 84revision: HEAD
67 85
68It is preferred that people raise pull requests using GIThub by forking the appropriate tree:
69 86
70 https://github.com/djwillis/
71 (More info on achieving this can be found at http://help.github.com/send-pull-requests/)
72 87
73 Yocto BSP Layer - RaspberryPi 882. Yocto BSP Layer - RaspberryPi
74------------------------------- 89================================
75 90
76This layer depends on: 91This layer depends on:
77 92
@@ -94,38 +109,42 @@ How to use it:
945. dd to a SD card the generated sdimg file (use xzcat if rpi-sdimg.xz is used) 1095. dd to a SD card the generated sdimg file (use xzcat if rpi-sdimg.xz is used)
956. Boot your RPI. 1106. Boot your RPI.
96 111
97Optional - compressed deployed files: 1122.A. Optional - compressed deployed files:
98===================================== 113==========================================
991. Overwrite IMAGE_FSTYPES in local.conf 1141. Overwrite IMAGE_FSTYPES in local.conf
100 IMAGE_FSTYPES = "tar.bz2 ext3.xz rpi-sdimg.xz 115 IMAGE_FSTYPES = "tar.bz2 ext3.xz rpi-sdimg.xz
1012. Overwrite SDIMG_ROOTFS_TYPE in local.conf 1162. Overwrite SDIMG_ROOTFS_TYPE in local.conf
102 SDIMG_ROOTFS_TYPE = "ext3.xz" 117 SDIMG_ROOTFS_TYPE = "ext3.xz"
103*Accommodate the values above to your own needs (ex: ext3 / ext4). 118*Accommodate the values above to your own needs (ex: ext3 / ext4).
104 119
105Optional - GPU memory: 1202.B. Optional - GPU memory:
106======================== 121===========================
107Variable : Details 122Variable : Details
108GPU_MEM : GPU memory in megabyte. Sets the memory split between the ARM and GPU. ARM gets the remaining memory. Min 16. Default 64. 123GPU_MEM : GPU memory in megabyte. Sets the memory split between the ARM and
109GPU_MEM_256 : GPU memory in megabyte for the 256MB Raspberry Pi. Ignored by the 512MB RP. Overrides gpu_mem. Max 192. Default not set. 124 GPU. ARM gets the remaining memory. Min 16. Default 64.
110GPU_MEM_512 : GPU memory in megabyte for the 512MB Raspberry Pi. Ignored by the 256MB RP. Overrides gpu_mem. Max 448. Default not set. 125GPU_MEM_256 : GPU memory in megabyte for the 256MB Raspberry Pi. Ignored by the
111 126 512MB RP. Overrides gpu_mem. Max 192. Default not set.
112Optional - Add purchased license codecs: 127GPU_MEM_512 : GPU memory in megabyte for the 512MB Raspberry Pi. Ignored by the
113======================================== 128 256MB RP. Overrides gpu_mem. Max 448. Default not set.
114To add you own licenses use variables KEY_DECODE_MPG2 and KEY_DECODE_WVC1 in local.conf. Example: 129
1302.C.Optional - Add purchased license codecs:
131============================================
132To add you own licenses use variables KEY_DECODE_MPG2 and KEY_DECODE_WVC1 in
133local.conf. Example:
115KEY_DECODE_MPG2 = "12345678" 134KEY_DECODE_MPG2 = "12345678"
116KEY_DECODE_WVC1 = "12345678" 135KEY_DECODE_WVC1 = "12345678"
117You can supply more licenses separated by comma. Example: 136You can supply more licenses separated by comma. Example:
118KEY_DECODE_WVC1 = "0x12345678,0xabcdabcd,0x87654321" 137KEY_DECODE_WVC1 = "0x12345678,0xabcdabcd,0x87654321"
119 138
120Optional - Disable overscan: 1392.D. Optional - Disable overscan:
121============================ 140=================================
122By default the GPU adds a black border around the video output to compensate for TVs 141By default the GPU adds a black border around the video output to compensate for
123which cut off part of the image. To disable this set this variable in 142TVs which cut off part of the image. To disable this set this variable in
124local.conf: 143local.conf:
125DISALE_OVERSCAN = "0" 144DISALE_OVERSCAN = "0"
126 145
127Optional - Set overclocking options: 1462.E. Optional - Set overclocking options:
128==================================== 147=========================================
129The Raspberry PI can be overclocked. As of now overclocking up to the "Turbo 148The Raspberry PI can be overclocked. As of now overclocking up to the "Turbo
130Mode" is officially supported by the raspbery and does not void warranty. 149Mode" is officially supported by the raspbery and does not void warranty.
131Check the config.txt for a detailed description of options and modes. Example: 150Check the config.txt for a detailed description of options and modes. Example:
@@ -136,5 +155,28 @@ SDRAM_FREQ = "500"
136OVER_VOLTAGE = "6" 155OVER_VOLTAGE = "6"
137 156
138 157
139Layer maintainer: John Willis <John.Willis at distant-earth.com> 158
140 Andrei Gherzan <andrei at gherzan.ro> 1593. Contributing
160===============
161
162To contribute to this layer you should send the patches for review to the
163mailing list.
164
165Mailing list:
166
167 https://lists.yoctoproject.org/listinfo/yocto
168
169Source code:
170
171 git://git.yoctoproject.org/meta-raspberrypi
172 http://git.yoctoproject.org/git/meta-raspberrypi
173 https://github.com/djwillis/meta-raspberrypi
174
175When sending patches, please use something like:
176
177git send-email --to yocto@yoctoproject.org \
178--subject-prefix='meta-raspberrypi][PATCH'
179
180
181Layer maintainers: John Willis <John.Willis at distant-earth.com>
182 Andrei Gherzan <andrei at gherzan.ro>