mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
core/linux-raspberrypi-latest to 3.18.3-3
This commit is contained in:
parent
acd182b3e4
commit
dc1906c66b
3 changed files with 152 additions and 3 deletions
|
@ -10,7 +10,7 @@ _srcname=linux-${_commit}
|
|||
_kernelname=${pkgbase#linux}
|
||||
_desc="Raspberry Pi"
|
||||
pkgver=3.18.3
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
bfqver=v7r6
|
||||
arch=('arm' 'armv6h')
|
||||
url="http://www.kernel.org/"
|
||||
|
@ -24,6 +24,8 @@ source=("https://github.com/raspberrypi/linux/archive/${_commit}.tar.gz"
|
|||
"http://algo.ing.unimo.it/people/paolo/disk_sched/patches/${pkgver:0:4}.0-${bfqver}/0002-block-introduce-the-BFQ-${bfqver}-I-O-sched-for-${pkgver:0:4}.patch"
|
||||
"http://algo.ing.unimo.it/people/paolo/disk_sched/patches/${pkgver:0:4}.0-${bfqver}/0003-block-bfq-add-Early-Queue-Merge-EQM-to-BFQ-${bfqver}-for-${pkgver:0:4}.0.patch"
|
||||
'https://github.com/raspberrypi/tools/raw/master/mkimage/mkknlimg'
|
||||
'config.txt'
|
||||
'cmdline.txt'
|
||||
'config')
|
||||
md5sums=('268d92c11ba4251bfcb062c17463bc33'
|
||||
'SKIP'
|
||||
|
@ -31,6 +33,8 @@ md5sums=('268d92c11ba4251bfcb062c17463bc33'
|
|||
'22ef862652608c8d6b07536e990d4bcb'
|
||||
'b031b1aafd416453d1c8579bd6823fca'
|
||||
'405015cdeb544575c25018b3487a2e76'
|
||||
'4db81bb73c5eb33d145da4dfacaf439e'
|
||||
'1428c61e01e78241a0be3d999b34c2ea'
|
||||
'46b4b57d60bd346f8a9ff7a5f20c6f39')
|
||||
|
||||
prepare() {
|
||||
|
@ -100,6 +104,7 @@ _package() {
|
|||
provides=('kernel26' "linux=${pkgver}" 'aufs_friendly')
|
||||
conflicts=('kernel26' 'linux')
|
||||
install=${pkgname}.install
|
||||
backup=('boot/config.txt' 'boot/cmdline.txt')
|
||||
|
||||
cd "${srcdir}/${_srcname}"
|
||||
|
||||
|
@ -145,12 +150,13 @@ _package() {
|
|||
# move module tree /lib -> /usr/lib
|
||||
mkdir -p "${pkgdir}/usr"
|
||||
mv "$pkgdir/lib" "$pkgdir/usr"
|
||||
|
||||
install -m644 ../config.txt ../cmdline.txt "${pkgdir}/boot"
|
||||
}
|
||||
|
||||
_package-headers() {
|
||||
pkgdesc="Header files and scripts for building modules for linux kernel - ${_desc}"
|
||||
provides=('linux-headers=${pkgver}')
|
||||
replaces=('linux-headers-raspberrypi-latest')
|
||||
provides=("linux-headers=${pkgver}")
|
||||
conflicts=('linux-headers')
|
||||
|
||||
install -dm755 "${pkgdir}/usr/lib/modules/${_kernver}"
|
||||
|
|
1
core/linux-raspberrypi-latest/cmdline.txt
Normal file
1
core/linux-raspberrypi-latest/cmdline.txt
Normal file
|
@ -0,0 +1 @@
|
|||
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 rw rootfstype=ext4 elevator=noop rootwait
|
142
core/linux-raspberrypi-latest/config.txt
Normal file
142
core/linux-raspberrypi-latest/config.txt
Normal file
|
@ -0,0 +1,142 @@
|
|||
# Uncomment some or all of these to enable the optional hardware interfaces
|
||||
# Params:
|
||||
# i2c0 (default "off") Set to "on" to enable the i2c0 interface
|
||||
# i2c1 (default "off") Set to "on" to enable the i2c1 interface
|
||||
# i2s (default "off") Set to "on" to enable the i2s interface
|
||||
# spi (default "off") Set to "on" to enable the spi interfaces
|
||||
# act_led_trigger (default "mmc")
|
||||
# Choose which activity the LED tracks.
|
||||
# Use "heartbeat" for a nice load indicator.
|
||||
# act_led_activelow (default "off")
|
||||
# Set to "on" to invert the sense of the LED
|
||||
# act_led_gpio (default "16" on a non-Plus board, "47" on a Plus)
|
||||
# Set which GPIO pin to use for the activity LED
|
||||
# (in case you want to connect it to an external
|
||||
# device).
|
||||
#
|
||||
# N.B. It is recommended to only enable those interfaces that are needed.
|
||||
# Leaving all interfaces enabled can lead to unwanted behaviour (I2C
|
||||
# interfering with Pi Camera, I2S and SPI hogging GPIO pins, etc.)
|
||||
#device_tree_param=i2c0=on
|
||||
#device_tree_param=i2c1=on
|
||||
#device_tree_param=i2s=on
|
||||
#device_tree_param=spi=on
|
||||
#device_tree_param=act_led_trigger=mmc
|
||||
|
||||
# Uncomment one of these lines to enable an audio interface
|
||||
#device_tree_overlay=hifiberry-dac
|
||||
#device_tree_overlay=hifiberry-dacplus
|
||||
#device_tree_overlay=hifiberry-digi
|
||||
#device_tree_overlay=iqaudio-dac
|
||||
#device_tree_overlay=iqaudio-dacplus
|
||||
|
||||
# Uncomment to enable the lirc-rpi module
|
||||
# Params: gpio_out_pin (default "17") GPIO pin for output
|
||||
# gpio_in_pin (default "18") GPIO pin for input
|
||||
# gpio_in_pull (default "down") Pull up/down/off on the input pin
|
||||
# sense (defaults to "-1") Override the IR receive auto-detection
|
||||
# logic:
|
||||
# "1" = force active high
|
||||
# "0" = force active low
|
||||
# "-1" = use auto-detection
|
||||
# softcarrier (default "on") Turn the software carrier "on" or "off".
|
||||
# invert (default "off") "on" = invert the output pin.
|
||||
# debug (default "off") "on" = enable additional debug messages.
|
||||
#device_tree_overlay=lirc-rpi
|
||||
#device_tree_param=gpio_out_pin=17
|
||||
#device_tree_param=gpio_in_pin=18
|
||||
#device_tree_param=gpio_in_pull=down
|
||||
|
||||
# Uncomment to enable the w1-gpio Onewire interface module
|
||||
# Use this overlay if you *don't* need a pin to drive an external pullup
|
||||
# Params: gpiopin (default "4") GPIO pin for I/O
|
||||
#device_tree_overlay=w1-gpio
|
||||
#device_tree_param=gpiopin=4
|
||||
|
||||
# Uncomment to enable the w1-gpio Onewire interface module
|
||||
# Use this overlay if you *do* need a pin to drive an external pullup
|
||||
# Params: gpiopin (default "4") GPIO pin for I/O
|
||||
# pullup (default "5") GPIO pin for external pullup
|
||||
#device_tree_overlay=w1-gpio
|
||||
#device_tree_param=gpiopin=4
|
||||
#device_tree_param=pullup=5
|
||||
|
||||
# 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 set monitor mode to DMT
|
||||
#hdmi_group=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 core. 700 MHz is the default.
|
||||
#arm_freq=800
|
||||
|
||||
# for more options see http://elinux.org/RPi_config.txt
|
||||
|
||||
## Some over clocking settings, governor 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=64
|
Loading…
Reference in a new issue