mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-03 11:22:56 +02:00
rpi-firmware: update to a newer commit; added rpi specific config files.
This commit is contained in:
parent
6be36e34da
commit
43590515b2
3 changed files with 91 additions and 3 deletions
2
srcpkgs/rpi-firmware/files/cmdline.txt
Executable file
2
srcpkgs/rpi-firmware/files/cmdline.txt
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 console=ttyAMA0,115200
|
||||||
|
kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 loglevel=4 elevator=noop rootwait
|
80
srcpkgs/rpi-firmware/files/config.txt
Executable file
80
srcpkgs/rpi-firmware/files/config.txt
Executable file
|
@ -0,0 +1,80 @@
|
||||||
|
# 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=64
|
||||||
|
gpu_mem_256=128
|
||||||
|
cma_lwm=16
|
||||||
|
cma_hwm=32
|
||||||
|
cma_offline_start=16
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'rpi-firmware'
|
# Template file for 'rpi-firmware'
|
||||||
pkgname=rpi-firmware
|
pkgname=rpi-firmware
|
||||||
version=20130219
|
version=20130227
|
||||||
revision=1
|
revision=1
|
||||||
short_desc="Firmware files for the Raspberry Pi"
|
short_desc="Firmware files for the Raspberry Pi"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
@ -11,14 +11,16 @@ noarch=yes
|
||||||
nofetch=yes
|
nofetch=yes
|
||||||
noextract=yes
|
noextract=yes
|
||||||
|
|
||||||
|
conf_files="/boot/cmdline.txt /boot/config.txt"
|
||||||
|
|
||||||
do_fetch() {
|
do_fetch() {
|
||||||
local url="git://github.com/raspberrypi/firmware.git"
|
local url="git://github.com/raspberrypi/firmware.git"
|
||||||
|
|
||||||
git clone --depth 1 $url ${pkgname}-${version}
|
git clone --depth 1 $url ${pkgname}-${version}
|
||||||
|
|
||||||
# Latest commit from 20130219
|
# Latest commit from 20130226
|
||||||
cd ${pkgname}-${version}
|
cd ${pkgname}-${version}
|
||||||
git checkout 4697c2b07a19f85f297abaf876d6edd1b1085bee
|
git checkout fea69f6e9e7c59fb292a026ff6aead6b17f21738
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
@ -37,4 +39,8 @@ do_install() {
|
||||||
vmove boot/COPYING.linux usr/share/licenses/${pkgname}
|
vmove boot/COPYING.linux usr/share/licenses/${pkgname}
|
||||||
vmove boot/LICENCE.broadcom usr/share/licenses/${pkgname}
|
vmove boot/LICENCE.broadcom usr/share/licenses/${pkgname}
|
||||||
vmove opt/vc/LICENCE usr/share/licenses/${pkgname}
|
vmove opt/vc/LICENCE usr/share/licenses/${pkgname}
|
||||||
|
|
||||||
|
# Install configuration files.
|
||||||
|
vinstall ${FILESDIR}/cmdline.txt 644 boot
|
||||||
|
vinstall ${FILESDIR}/config.txt 644 boot
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue