commit: 0f66a3c604ea29bd37ed1291ff6f04712f73276c Author: Michael Weber <michael <AT> xmw <DOT> de> AuthorDate: Wed Apr 1 15:10:09 2015 +0000 Commit: Michael Weber <xmw <AT> gentoo <DOT> org> CommitDate: Wed Apr 1 15:10:09 2015 +0000 URL: https://gitweb.gentoo.org/dev/xmw.git/commit/?id=0f66a3c6
Version bump Package-Manager: portage-2.2.18 Manifest-Sign-Key: 62EEF090 sys-boot/raspberrypi-firmware/ChangeLog | 8 +++ sys-boot/raspberrypi-firmware/Manifest | 17 +++++ .../raspberrypi-firmware-0_p20130711-cmdline.txt | 1 + .../raspberrypi-firmware-0_p20130711-config.txt | 81 ++++++++++++++++++++++ .../files/raspberrypi-firmware-0_p20130711-envd | 2 + sys-boot/raspberrypi-firmware/metadata.xml | 8 +++ .../raspberrypi-firmware-1_pre20150327.ebuild | 62 +++++++++++++++++ 7 files changed, 179 insertions(+) diff --git a/sys-boot/raspberrypi-firmware/ChangeLog b/sys-boot/raspberrypi-firmware/ChangeLog new file mode 100644 index 0000000..9ebdcf3 --- /dev/null +++ b/sys-boot/raspberrypi-firmware/ChangeLog @@ -0,0 +1,8 @@ +*raspberrypi-firmware-1_pre20150327 (01 Apr 2015) + + 01 Apr 2015; Michael Weber <[email protected]> + +files/raspberrypi-firmware-0_p20130711-cmdline.txt, + +files/raspberrypi-firmware-0_p20130711-config.txt, + +files/raspberrypi-firmware-0_p20130711-envd, +metadata.xml, + +raspberrypi-firmware-1_pre20150327.ebuild: + Version bump diff --git a/sys-boot/raspberrypi-firmware/Manifest b/sys-boot/raspberrypi-firmware/Manifest new file mode 100644 index 0000000..eb6a105 --- /dev/null +++ b/sys-boot/raspberrypi-firmware/Manifest @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +DIST raspberrypi-firmware-ffda51ebff-bootcode.bin 17864 SHA256 18e58724814b0b8abb75b245b35aac14867f717d221a8fb5582d176586722a30 SHA512 e45f8b4588f54bb6ac99eb395e73681f88b5c8869d5d22bc14b09db8ca1ffe93a8d4c5da87700ce05fdc35d8e77ace48580dcce23f9b53d5973315796f42ba8a WHIRLPOOL 0e16e1d3d4fcde60087b81ff44b119109d553a61708f5c7bce1239613cd86cabf05fc3df7b474d992c8d4a4c5098293eea59c85070b2449ff4f12ea2c10b2d84 +DIST raspberrypi-firmware-ffda51ebff-fixup.dat 6154 SHA256 a7643347be21cf5fe51df3e9ab9f5ffcd026afa79f4dcbd76b376f239e33a3f5 SHA512 1664e0bdb445ac2e0848cfa2116389bf1116a510878a85e8cd206ae1eab0e45d2617802a934aff6cf9666dab9cd7fb2879a4f0e4e6ef62d7bdcde1db6317971b WHIRLPOOL 34555585c12a369478288d107cef32f262ff56b02f7f4d2f72e3d75780db4f0da9c95e5517171080fc2680437e098caeeb853887080bf08e38c7f011de4cf769 +DIST raspberrypi-firmware-ffda51ebff-fixup_cd.dat 2365 SHA256 ee58e3ab010e2f3102476b0d70ba40790ce51fec168c7fda696720f50a88a7b2 SHA512 0c329ca7b5bc1dd52d1f7e3aaba1a0e7fd8f669a1f9ef42ec7fe1429e2210a2d7a4b419231e2343bbf58cbe9b6c5f429c16ca0fd3aeec055163f83b028052675 WHIRLPOOL c11c622e9a8908e2092a2b5ca60b63b99e3de96040998005465be424f7ddf6838b9ce7297b3da461c9c40cba0f6536603bf168575625a7c4a146cbe0c4f52165 +DIST raspberrypi-firmware-ffda51ebff-fixup_x.dat 9210 SHA256 3c3ff7d6c901e23b7cddae880e2486d3bbfa19bc3bf2fc105d3cfec36d7f3095 SHA512 0f2c41818317f3581e589e8f610d17d5bc99a384e10afd6735c40cf7eaf1de975d4a7dee73bc1e6e84be9fa80e06487ced5417bdc26de4d41334821772085757 WHIRLPOOL c3f86d4913237d619963b90b367385ad99f706813b4d8a50ad1492adf11b240d9fb966b9d06f7a5a89e9152d3657f2306f49d85ff74af7d41433049b4fe2708e +DIST raspberrypi-firmware-ffda51ebff-start.elf 3540280 SHA256 c11878e3a7ee9d5f4f56c655e4f5104378b1958275a8c7bc0944a9752c806373 SHA512 2b707f0c376eb5be762f31f492038f16f802daea5281de980f55c3ac5bb0c08927de5fa5bad2216e1535b6bea36d864abd074f420d335be35f7beb0e28e4ad87 WHIRLPOOL 84266f79f69ae7b656e00c08f6a0ecfeb87f2b394b9df4ca13f77ea1a807f2423478efa882555899329b600e2f07f4afb687d0fe13079baa6b699232271d6c22 +DIST raspberrypi-firmware-ffda51ebff-start_cd.elf 586616 SHA256 97a66d7f707b7c9244483faab746b525ecdb420ad8818f2869bbb83e44a768bb SHA512 81fd6d5579b58ab95c0bb6a41923814f76410436bac177a08856739d785978070d79829f22117a0ff73beba41bc707110f9a95fbbd85c7be51bc8697d1a43177 WHIRLPOOL 31eef08ccc141a117e809ff67a79380dd820e09d477dc4ce0a99eb21976db822e945161c0bcb44ef52586675b879d8b7956e77427b96692f98e092e6b8de6a1c +DIST raspberrypi-firmware-ffda51ebff-start_x.elf 4635752 SHA256 5435ef94dac8eb3f726996802d1df32093d385e87e7225a9ce3dd02ffd9cd6f5 SHA512 3a0a768986590f67bb4ac3a8ed6fe8b2e49412a200fbc67b03196c786dade222b068535feb171cc2faf419bbcaa89f1b562e8bd38957fbd1658dec26c0a73cee WHIRLPOOL d04c8027fd95c30c62dbc48debdb6a84101318dd9773929fafcfb231e5f29c1814446f8ecbea11353fb40e0ef0568ef8417fbab86120fc200ab5022f81f3aab7 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iF4EAREIAAYFAlUcClEACgkQknrdDGLu8JDidQD/XP0TeWeS98MT3do4ZCM0Asbn +txdhjdW827iM7K8dJKUA/jqG0TMqhU0fC4yRFfDltM8/7fyz6D2tTzje7Bo65PAG +=88J3 +-----END PGP SIGNATURE----- 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 new file mode 100644 index 0000000..39112a2 --- /dev/null +++ b/sys-boot/raspberrypi-firmware/files/raspberrypi-firmware-0_p20130711-cmdline.txt @@ -0,0 +1 @@ +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 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 new file mode 100644 index 0000000..9401530 --- /dev/null +++ b/sys-boot/raspberrypi-firmware/files/raspberrypi-firmware-0_p20130711-config.txt @@ -0,0 +1,81 @@ +#from archlinux arm sdcard image +# uncomment if you get no picture on HDMI for a default "safe" mode +#hdmi_safe=1 + +# uncomment this if your display has a black border of unused pixels visible +# and your display can output without overscan +#disable_overscan=1 + +# uncomment the following to adjust overscan. Use positive numbers if console +# goes off screen, and negative if there is too much border +#overscan_left=16 +#overscan_right=16 +#overscan_top=16 +#overscan_bottom=16 + +# uncomment to force a console size. By default it will be display's size minus +# overscan. +#framebuffer_width=1280 +#framebuffer_height=720 + +# uncomment if hdmi display is not detected and composite is being output +#hdmi_force_hotplug=1 + +# uncomment to force a specific HDMI mode (this will force VGA) +#hdmi_group=1 +#hdmi_mode=1 + +# uncomment to force a HDMI mode rather than DVI. This can make audio work in +# DMT (computer monitor) modes +#hdmi_drive=2 + +# uncomment to increase signal to HDMI, if you have interference, blanking, or +# no display +#config_hdmi_boost=4 + +# uncomment for composite PAL +#sdtv_mode=2 + +#uncomment to overclock the arm. 700 MHz is the default. +#arm_freq=800 + +# for more options see http://elinux.org/RPi_config.txt + +## Some over clocking settings, govenor already set to ondemand + +##None +#arm_freq=700 +#core_freq=250 +#sdram_freq=400 +#over_voltage=0 + +##Modest +#arm_freq=800 +#core_freq=300 +#sdram_freq=400 +#over_voltage=0 + +##Medium +#arm_freq=900 +#core_freq=333 +#sdram_freq=450 +#over_voltage=2 + +##High +#arm_freq=950 +#core_freq=450 +#sdram_freq=450 +#over_voltage=6 + +##Turbo +#arm_freq=1000 +#core_freq=500 +#sdram_freq=500 +#over_voltage=6 + +gpu_mem_512=316 +gpu_mem_256=128 +cma_lwm=16 +cma_hwm=32 +cma_offline_start=16 + diff --git a/sys-boot/raspberrypi-firmware/files/raspberrypi-firmware-0_p20130711-envd b/sys-boot/raspberrypi-firmware/files/raspberrypi-firmware-0_p20130711-envd new file mode 100644 index 0000000..22ed093 --- /dev/null +++ b/sys-boot/raspberrypi-firmware/files/raspberrypi-firmware-0_p20130711-envd @@ -0,0 +1,2 @@ +CONFIG_PROTECT="/boot/config.txt /boot/cmdline.txt" + diff --git a/sys-boot/raspberrypi-firmware/metadata.xml b/sys-boot/raspberrypi-firmware/metadata.xml new file mode 100644 index 0000000..5b80fb9 --- /dev/null +++ b/sys-boot/raspberrypi-firmware/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> +<email>[email protected]</email> +<name>Michael Weber</name> +</maintainer> +</pkgmetadata> diff --git a/sys-boot/raspberrypi-firmware/raspberrypi-firmware-1_pre20150327.ebuild b/sys-boot/raspberrypi-firmware/raspberrypi-firmware-1_pre20150327.ebuild new file mode 100644 index 0000000..2c2d0bc --- /dev/null +++ b/sys-boot/raspberrypi-firmware/raspberrypi-firmware-1_pre20150327.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $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 $ + +EAPI=5 + +inherit readme.gentoo + +DESCRIPTION="Raspberry PI boot loader and firmware" +HOMEPAGE="https://github.com/raspberrypi/firmware" +MY_COMMIT="ffda51ebff" +SRC_URI="" +for my_src_uri in bootcode.bin fixup{,_cd,_x}.dat start{,_cd,_x}.elf ; do + SRC_URI="${SRC_URI} https://github.com/raspberrypi/firmware/raw/${MY_COMMIT}/boot/${my_src_uri} -> ${PN}-${MY_COMMIT}-${my_src_uri}" +done + +LICENSE="GPL-2 raspberrypi-videocore-bin" +SLOT="0" +KEYWORDS="~arm -*" +IUSE="" + +DEPEND="" +RDEPEND="!sys-boot/raspberrypi-loader" + +S=${WORKDIR} + +RESTRICT="binchecks strip" + +src_unpack() { :; } + +pkg_preinst() { + if [ -z "${REPLACING_VERSIONS}" ] ; then + local msg="" + if [ -e "${D}"/boot/cmdline.txt -a -e /boot/cmdline.txt ] ; then + msg+="/boot/cmdline.txt " + fi + if [ -e "${D}"/boot/config.txt -a -e /boot/config.txt ] ; then + msg+="/boot/config.txt " + fi + if [ -n "${msg}" ] ; then + msg="This package installs following files: ${msg}." + msg="${msg} Please remove(backup) your copies durning install" + msg="${msg} and merge settings afterwards." + msg="${msg} Further updates will be CONFIG_PROTECTed." + die "${msg}" + fi + fi +} + +src_install() { + insinto /boot + local a + for a in ${A} ; do + newins "${DISTDIR}"/${a} ${a#${PN}-${MY_COMMIT}-} + done + newins "${FILESDIR}"/${PN}-0_p20130711-config.txt config.txt + newins "${FILESDIR}"/${PN}-0_p20130711-cmdline.txt cmdline.txt + newenvd "${FILESDIR}"/${PN}-0_p20130711-envd 90${PN} + readme.gentoo_create_doc +} + +DOC_CONTENTS="Please configure your ram setup by editing /boot/config.txt"
