1 |
commit: 0f66a3c604ea29bd37ed1291ff6f04712f73276c |
2 |
Author: Michael Weber <michael <AT> xmw <DOT> de> |
3 |
AuthorDate: Wed Apr 1 15:10:09 2015 +0000 |
4 |
Commit: Michael Weber <xmw <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 1 15:10:09 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/dev/xmw.git/commit/?id=0f66a3c6 |
7 |
|
8 |
Version bump |
9 |
|
10 |
Package-Manager: portage-2.2.18 |
11 |
Manifest-Sign-Key: 62EEF090 |
12 |
|
13 |
sys-boot/raspberrypi-firmware/ChangeLog | 8 +++ |
14 |
sys-boot/raspberrypi-firmware/Manifest | 17 +++++ |
15 |
.../raspberrypi-firmware-0_p20130711-cmdline.txt | 1 + |
16 |
.../raspberrypi-firmware-0_p20130711-config.txt | 81 ++++++++++++++++++++++ |
17 |
.../files/raspberrypi-firmware-0_p20130711-envd | 2 + |
18 |
sys-boot/raspberrypi-firmware/metadata.xml | 8 +++ |
19 |
.../raspberrypi-firmware-1_pre20150327.ebuild | 62 +++++++++++++++++ |
20 |
7 files changed, 179 insertions(+) |
21 |
|
22 |
diff --git a/sys-boot/raspberrypi-firmware/ChangeLog b/sys-boot/raspberrypi-firmware/ChangeLog |
23 |
new file mode 100644 |
24 |
index 0000000..9ebdcf3 |
25 |
--- /dev/null |
26 |
+++ b/sys-boot/raspberrypi-firmware/ChangeLog |
27 |
@@ -0,0 +1,8 @@ |
28 |
+*raspberrypi-firmware-1_pre20150327 (01 Apr 2015) |
29 |
+ |
30 |
+ 01 Apr 2015; Michael Weber <xmw@g.o> |
31 |
+ +files/raspberrypi-firmware-0_p20130711-cmdline.txt, |
32 |
+ +files/raspberrypi-firmware-0_p20130711-config.txt, |
33 |
+ +files/raspberrypi-firmware-0_p20130711-envd, +metadata.xml, |
34 |
+ +raspberrypi-firmware-1_pre20150327.ebuild: |
35 |
+ Version bump |
36 |
|
37 |
diff --git a/sys-boot/raspberrypi-firmware/Manifest b/sys-boot/raspberrypi-firmware/Manifest |
38 |
new file mode 100644 |
39 |
index 0000000..eb6a105 |
40 |
--- /dev/null |
41 |
+++ b/sys-boot/raspberrypi-firmware/Manifest |
42 |
@@ -0,0 +1,17 @@ |
43 |
+-----BEGIN PGP SIGNED MESSAGE----- |
44 |
+Hash: SHA256 |
45 |
+ |
46 |
+DIST raspberrypi-firmware-ffda51ebff-bootcode.bin 17864 SHA256 18e58724814b0b8abb75b245b35aac14867f717d221a8fb5582d176586722a30 SHA512 e45f8b4588f54bb6ac99eb395e73681f88b5c8869d5d22bc14b09db8ca1ffe93a8d4c5da87700ce05fdc35d8e77ace48580dcce23f9b53d5973315796f42ba8a WHIRLPOOL 0e16e1d3d4fcde60087b81ff44b119109d553a61708f5c7bce1239613cd86cabf05fc3df7b474d992c8d4a4c5098293eea59c85070b2449ff4f12ea2c10b2d84 |
47 |
+DIST raspberrypi-firmware-ffda51ebff-fixup.dat 6154 SHA256 a7643347be21cf5fe51df3e9ab9f5ffcd026afa79f4dcbd76b376f239e33a3f5 SHA512 1664e0bdb445ac2e0848cfa2116389bf1116a510878a85e8cd206ae1eab0e45d2617802a934aff6cf9666dab9cd7fb2879a4f0e4e6ef62d7bdcde1db6317971b WHIRLPOOL 34555585c12a369478288d107cef32f262ff56b02f7f4d2f72e3d75780db4f0da9c95e5517171080fc2680437e098caeeb853887080bf08e38c7f011de4cf769 |
48 |
+DIST raspberrypi-firmware-ffda51ebff-fixup_cd.dat 2365 SHA256 ee58e3ab010e2f3102476b0d70ba40790ce51fec168c7fda696720f50a88a7b2 SHA512 0c329ca7b5bc1dd52d1f7e3aaba1a0e7fd8f669a1f9ef42ec7fe1429e2210a2d7a4b419231e2343bbf58cbe9b6c5f429c16ca0fd3aeec055163f83b028052675 WHIRLPOOL c11c622e9a8908e2092a2b5ca60b63b99e3de96040998005465be424f7ddf6838b9ce7297b3da461c9c40cba0f6536603bf168575625a7c4a146cbe0c4f52165 |
49 |
+DIST raspberrypi-firmware-ffda51ebff-fixup_x.dat 9210 SHA256 3c3ff7d6c901e23b7cddae880e2486d3bbfa19bc3bf2fc105d3cfec36d7f3095 SHA512 0f2c41818317f3581e589e8f610d17d5bc99a384e10afd6735c40cf7eaf1de975d4a7dee73bc1e6e84be9fa80e06487ced5417bdc26de4d41334821772085757 WHIRLPOOL c3f86d4913237d619963b90b367385ad99f706813b4d8a50ad1492adf11b240d9fb966b9d06f7a5a89e9152d3657f2306f49d85ff74af7d41433049b4fe2708e |
50 |
+DIST raspberrypi-firmware-ffda51ebff-start.elf 3540280 SHA256 c11878e3a7ee9d5f4f56c655e4f5104378b1958275a8c7bc0944a9752c806373 SHA512 2b707f0c376eb5be762f31f492038f16f802daea5281de980f55c3ac5bb0c08927de5fa5bad2216e1535b6bea36d864abd074f420d335be35f7beb0e28e4ad87 WHIRLPOOL 84266f79f69ae7b656e00c08f6a0ecfeb87f2b394b9df4ca13f77ea1a807f2423478efa882555899329b600e2f07f4afb687d0fe13079baa6b699232271d6c22 |
51 |
+DIST raspberrypi-firmware-ffda51ebff-start_cd.elf 586616 SHA256 97a66d7f707b7c9244483faab746b525ecdb420ad8818f2869bbb83e44a768bb SHA512 81fd6d5579b58ab95c0bb6a41923814f76410436bac177a08856739d785978070d79829f22117a0ff73beba41bc707110f9a95fbbd85c7be51bc8697d1a43177 WHIRLPOOL 31eef08ccc141a117e809ff67a79380dd820e09d477dc4ce0a99eb21976db822e945161c0bcb44ef52586675b879d8b7956e77427b96692f98e092e6b8de6a1c |
52 |
+DIST raspberrypi-firmware-ffda51ebff-start_x.elf 4635752 SHA256 5435ef94dac8eb3f726996802d1df32093d385e87e7225a9ce3dd02ffd9cd6f5 SHA512 3a0a768986590f67bb4ac3a8ed6fe8b2e49412a200fbc67b03196c786dade222b068535feb171cc2faf419bbcaa89f1b562e8bd38957fbd1658dec26c0a73cee WHIRLPOOL d04c8027fd95c30c62dbc48debdb6a84101318dd9773929fafcfb231e5f29c1814446f8ecbea11353fb40e0ef0568ef8417fbab86120fc200ab5022f81f3aab7 |
53 |
+-----BEGIN PGP SIGNATURE----- |
54 |
+Version: GnuPG v2 |
55 |
+ |
56 |
+iF4EAREIAAYFAlUcClEACgkQknrdDGLu8JDidQD/XP0TeWeS98MT3do4ZCM0Asbn |
57 |
+txdhjdW827iM7K8dJKUA/jqG0TMqhU0fC4yRFfDltM8/7fyz6D2tTzje7Bo65PAG |
58 |
+=88J3 |
59 |
+-----END PGP SIGNATURE----- |
60 |
|
61 |
diff --git a/sys-boot/raspberrypi-firmware/files/raspberrypi-firmware-0_p20130711-cmdline.txt b/sys-boot/raspberrypi-firmware/files/raspberrypi-firmware-0_p20130711-cmdline.txt |
62 |
new file mode 100644 |
63 |
index 0000000..39112a2 |
64 |
--- /dev/null |
65 |
+++ b/sys-boot/raspberrypi-firmware/files/raspberrypi-firmware-0_p20130711-cmdline.txt |
66 |
@@ -0,0 +1 @@ |
67 |
+ipv6.disable=0 selinux=0 plymouth.enable=0 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=noop rootwait |
68 |
|
69 |
diff --git a/sys-boot/raspberrypi-firmware/files/raspberrypi-firmware-0_p20130711-config.txt b/sys-boot/raspberrypi-firmware/files/raspberrypi-firmware-0_p20130711-config.txt |
70 |
new file mode 100644 |
71 |
index 0000000..9401530 |
72 |
--- /dev/null |
73 |
+++ b/sys-boot/raspberrypi-firmware/files/raspberrypi-firmware-0_p20130711-config.txt |
74 |
@@ -0,0 +1,81 @@ |
75 |
+#from archlinux arm sdcard image |
76 |
+# uncomment if you get no picture on HDMI for a default "safe" mode |
77 |
+#hdmi_safe=1 |
78 |
+ |
79 |
+# uncomment this if your display has a black border of unused pixels visible |
80 |
+# and your display can output without overscan |
81 |
+#disable_overscan=1 |
82 |
+ |
83 |
+# uncomment the following to adjust overscan. Use positive numbers if console |
84 |
+# goes off screen, and negative if there is too much border |
85 |
+#overscan_left=16 |
86 |
+#overscan_right=16 |
87 |
+#overscan_top=16 |
88 |
+#overscan_bottom=16 |
89 |
+ |
90 |
+# uncomment to force a console size. By default it will be display's size minus |
91 |
+# overscan. |
92 |
+#framebuffer_width=1280 |
93 |
+#framebuffer_height=720 |
94 |
+ |
95 |
+# uncomment if hdmi display is not detected and composite is being output |
96 |
+#hdmi_force_hotplug=1 |
97 |
+ |
98 |
+# uncomment to force a specific HDMI mode (this will force VGA) |
99 |
+#hdmi_group=1 |
100 |
+#hdmi_mode=1 |
101 |
+ |
102 |
+# uncomment to force a HDMI mode rather than DVI. This can make audio work in |
103 |
+# DMT (computer monitor) modes |
104 |
+#hdmi_drive=2 |
105 |
+ |
106 |
+# uncomment to increase signal to HDMI, if you have interference, blanking, or |
107 |
+# no display |
108 |
+#config_hdmi_boost=4 |
109 |
+ |
110 |
+# uncomment for composite PAL |
111 |
+#sdtv_mode=2 |
112 |
+ |
113 |
+#uncomment to overclock the arm. 700 MHz is the default. |
114 |
+#arm_freq=800 |
115 |
+ |
116 |
+# for more options see http://elinux.org/RPi_config.txt |
117 |
+ |
118 |
+## Some over clocking settings, govenor already set to ondemand |
119 |
+ |
120 |
+##None |
121 |
+#arm_freq=700 |
122 |
+#core_freq=250 |
123 |
+#sdram_freq=400 |
124 |
+#over_voltage=0 |
125 |
+ |
126 |
+##Modest |
127 |
+#arm_freq=800 |
128 |
+#core_freq=300 |
129 |
+#sdram_freq=400 |
130 |
+#over_voltage=0 |
131 |
+ |
132 |
+##Medium |
133 |
+#arm_freq=900 |
134 |
+#core_freq=333 |
135 |
+#sdram_freq=450 |
136 |
+#over_voltage=2 |
137 |
+ |
138 |
+##High |
139 |
+#arm_freq=950 |
140 |
+#core_freq=450 |
141 |
+#sdram_freq=450 |
142 |
+#over_voltage=6 |
143 |
+ |
144 |
+##Turbo |
145 |
+#arm_freq=1000 |
146 |
+#core_freq=500 |
147 |
+#sdram_freq=500 |
148 |
+#over_voltage=6 |
149 |
+ |
150 |
+gpu_mem_512=316 |
151 |
+gpu_mem_256=128 |
152 |
+cma_lwm=16 |
153 |
+cma_hwm=32 |
154 |
+cma_offline_start=16 |
155 |
+ |
156 |
|
157 |
diff --git a/sys-boot/raspberrypi-firmware/files/raspberrypi-firmware-0_p20130711-envd b/sys-boot/raspberrypi-firmware/files/raspberrypi-firmware-0_p20130711-envd |
158 |
new file mode 100644 |
159 |
index 0000000..22ed093 |
160 |
--- /dev/null |
161 |
+++ b/sys-boot/raspberrypi-firmware/files/raspberrypi-firmware-0_p20130711-envd |
162 |
@@ -0,0 +1,2 @@ |
163 |
+CONFIG_PROTECT="/boot/config.txt /boot/cmdline.txt" |
164 |
+ |
165 |
|
166 |
diff --git a/sys-boot/raspberrypi-firmware/metadata.xml b/sys-boot/raspberrypi-firmware/metadata.xml |
167 |
new file mode 100644 |
168 |
index 0000000..5b80fb9 |
169 |
--- /dev/null |
170 |
+++ b/sys-boot/raspberrypi-firmware/metadata.xml |
171 |
@@ -0,0 +1,8 @@ |
172 |
+<?xml version="1.0" encoding="UTF-8"?> |
173 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
174 |
+<pkgmetadata> |
175 |
+<maintainer> |
176 |
+<email>xmw@g.o</email> |
177 |
+<name>Michael Weber</name> |
178 |
+</maintainer> |
179 |
+</pkgmetadata> |
180 |
|
181 |
diff --git a/sys-boot/raspberrypi-firmware/raspberrypi-firmware-1_pre20150327.ebuild b/sys-boot/raspberrypi-firmware/raspberrypi-firmware-1_pre20150327.ebuild |
182 |
new file mode 100644 |
183 |
index 0000000..2c2d0bc |
184 |
--- /dev/null |
185 |
+++ b/sys-boot/raspberrypi-firmware/raspberrypi-firmware-1_pre20150327.ebuild |
186 |
@@ -0,0 +1,62 @@ |
187 |
+# Copyright 1999-2015 Gentoo Foundation |
188 |
+# Distributed under the terms of the GNU General Public License v2 |
189 |
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/raspberrypi-firmware/raspberrypi-firmware-1_pre20130807.ebuild,v 1.1 2013/08/15 18:21:47 xmw Exp $ |
190 |
+ |
191 |
+EAPI=5 |
192 |
+ |
193 |
+inherit readme.gentoo |
194 |
+ |
195 |
+DESCRIPTION="Raspberry PI boot loader and firmware" |
196 |
+HOMEPAGE="https://github.com/raspberrypi/firmware" |
197 |
+MY_COMMIT="ffda51ebff" |
198 |
+SRC_URI="" |
199 |
+for my_src_uri in bootcode.bin fixup{,_cd,_x}.dat start{,_cd,_x}.elf ; do |
200 |
+ SRC_URI="${SRC_URI} https://github.com/raspberrypi/firmware/raw/${MY_COMMIT}/boot/${my_src_uri} -> ${PN}-${MY_COMMIT}-${my_src_uri}" |
201 |
+done |
202 |
+ |
203 |
+LICENSE="GPL-2 raspberrypi-videocore-bin" |
204 |
+SLOT="0" |
205 |
+KEYWORDS="~arm -*" |
206 |
+IUSE="" |
207 |
+ |
208 |
+DEPEND="" |
209 |
+RDEPEND="!sys-boot/raspberrypi-loader" |
210 |
+ |
211 |
+S=${WORKDIR} |
212 |
+ |
213 |
+RESTRICT="binchecks strip" |
214 |
+ |
215 |
+src_unpack() { :; } |
216 |
+ |
217 |
+pkg_preinst() { |
218 |
+ if [ -z "${REPLACING_VERSIONS}" ] ; then |
219 |
+ local msg="" |
220 |
+ if [ -e "${D}"/boot/cmdline.txt -a -e /boot/cmdline.txt ] ; then |
221 |
+ msg+="/boot/cmdline.txt " |
222 |
+ fi |
223 |
+ if [ -e "${D}"/boot/config.txt -a -e /boot/config.txt ] ; then |
224 |
+ msg+="/boot/config.txt " |
225 |
+ fi |
226 |
+ if [ -n "${msg}" ] ; then |
227 |
+ msg="This package installs following files: ${msg}." |
228 |
+ msg="${msg} Please remove(backup) your copies durning install" |
229 |
+ msg="${msg} and merge settings afterwards." |
230 |
+ msg="${msg} Further updates will be CONFIG_PROTECTed." |
231 |
+ die "${msg}" |
232 |
+ fi |
233 |
+ fi |
234 |
+} |
235 |
+ |
236 |
+src_install() { |
237 |
+ insinto /boot |
238 |
+ local a |
239 |
+ for a in ${A} ; do |
240 |
+ newins "${DISTDIR}"/${a} ${a#${PN}-${MY_COMMIT}-} |
241 |
+ done |
242 |
+ newins "${FILESDIR}"/${PN}-0_p20130711-config.txt config.txt |
243 |
+ newins "${FILESDIR}"/${PN}-0_p20130711-cmdline.txt cmdline.txt |
244 |
+ newenvd "${FILESDIR}"/${PN}-0_p20130711-envd 90${PN} |
245 |
+ readme.gentoo_create_doc |
246 |
+} |
247 |
+ |
248 |
+DOC_CONTENTS="Please configure your ram setup by editing /boot/config.txt" |