core/linux-raspberrypi to 3.18.5-2

This commit is contained in:
Kevin Mihelich 2015-02-06 01:44:29 +00:00
parent e1a29de147
commit e449a17acd
4 changed files with 4661 additions and 75 deletions

View file

@ -4,17 +4,17 @@
# NOTE: Packages replace linux-raspberrypi-latest, remove if that package comes back
buildarch=18
buildarch=20
pkgbase=linux-raspberrypi
_commit=05851b0ab113773aeefbe98bee94298fa3cf646c
_commit=bec4f0aff550047407c86eab7f2699ed99c5176d
_srcname=linux-${_commit}
_kernelname=${pkgbase#linux}
_desc="Raspberry Pi"
pkgver=3.18.5
pkgrel=1
pkgrel=2
bfqver=v7r7
arch=('arm' 'armv6h')
arch=('armv6h' 'armv7h')
url="http://www.kernel.org/"
license=('GPL2')
makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc' 'git')
@ -22,22 +22,24 @@ options=('!strip')
source=("https://github.com/raspberrypi/linux/archive/${_commit}.tar.gz"
#"git://git.code.sf.net/p/aufs/aufs3-standalone#branch=aufs3.x-rcN"
"git://git.code.sf.net/p/aufs/aufs3-standalone#branch=aufs${pkgver%.*}.1+" # 3.18.1+
"http://algo.ing.unimo.it/people/paolo/disk_sched/patches/${pkgver:0:4}.0-${bfqver}/0001-block-cgroups-kconfig-build-bits-for-BFQ-${bfqver}-${pkgver:0:4}.patch"
"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"
"ftp://teambelgium.net/bfq/patches/${pkgver:0:4}.0-${bfqver}/0001-block-cgroups-kconfig-build-bits-for-BFQ-${bfqver}-${pkgver:0:4}.patch"
"ftp://teambelgium.net/bfq/patches/${pkgver:0:4}.0-${bfqver}/0002-block-introduce-the-BFQ-${bfqver}-I-O-sched-for-${pkgver:0:4}.patch"
"ftp://teambelgium.net/bfq/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=('1d05c5376cc06bea1892dddd93cb5058'
'config.v6'
'config.v7')
md5sums=('00bba260e300216ece5223d49d7f9f79'
'SKIP'
'1c7c2d0338939a9e6953a64d80861471'
'a81346cce95baeac2c56cf60d3c7e5b6'
'8f2743651280f5a022e541f4e95e5546'
'405015cdeb544575c25018b3487a2e76'
'a294b4a0d711c58fb0d94df3b5ace975'
'2377702414f77f964fb97fb9ce9502b6'
'60bc3624123c183305677097bcd56212'
'565e0f31537e6cbfb81960e3f7f9a8eb')
'291c9285b48b8f1798389ac634b6dfae'
'cfc81b2490e5338c8e4ee3df49197444')
prepare() {
cd "${srcdir}/${_srcname}"
@ -59,7 +61,8 @@ prepare() {
patch -Np1 -i "${srcdir}/0003-block-bfq-add-Early-Queue-Merge-EQM-to-BFQ-${bfqver}-for-${pkgver:0:4}.0.patch"
msg "Prepare to build"
cat "${srcdir}/config" > ./.config
[[ $CARCH == "armv6h" ]] && cat "${srcdir}/config.v6" > ./.config
[[ $CARCH == "armv7h" ]] && cat "${srcdir}/config.v7" > ./.config
# add pkgrel to extraversion
sed -ri "s|^(EXTRAVERSION =)(.*)|\1 \2-${pkgrel}|" Makefile
@ -119,7 +122,8 @@ _package() {
mkdir -p "${pkgdir}"/{lib/modules,lib/firmware,boot/overlays}
make INSTALL_MOD_PATH="${pkgdir}" modules_install
perl ../mkknlimg --dtok arch/$KARCH/boot/zImage "${pkgdir}/boot/kernel.img"
[[ $CARCH == "armv6h" ]] && perl ../mkknlimg --dtok arch/$KARCH/boot/zImage "${pkgdir}/boot/kernel.img"
[[ $CARCH == "armv7h" ]] && perl ../mkknlimg --dtok arch/$KARCH/boot/zImage "${pkgdir}/boot/kernel7.img"
mv arch/$KARCH/boot/dts/*-overlay.dtb "${pkgdir}/boot/overlays"
mv arch/$KARCH/boot/dts/*.dtb "${pkgdir}/boot"

View file

@ -1,28 +1,38 @@
# Uncomment some or all of these to enable the optional hardware interfaces
# Params:
# i2c_arm (default "off") Set to "on" to enable the ARM's i2c interface
# i2c_vc (default "off") Set to "on" to enable the i2c interface
# i2c_arm Set to "on" to enable the ARM's i2c interface
# (default "off")
# i2c_vc Set to "on" to enable the i2c interface
# usually reserved for the VideoCore processor
# i2c An alias for i2c_arm
# 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.
# (default "off")
# i2c_arm_baudrate Set the baudrate of the ARM's i2c interface
# (default "100000")
# i2c_vc_baudrate Set the baudrate of the VideoCore i2c interface
# (default "100000")
# i2c_baudrate An alias for i2c_arm_baudrate
# i2s Set to "on" to enable the i2s interface
# (default "off")
# spi Set to "on" to enable the spi interfaces
# (default "off")
# act_led_trigger 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
# (default "mmc")
# act_led_activelow Set to "on" to invert the sense of the LED
# (default "off")
# act_led_gpio Set which GPIO pin to use for the activity LED
# (in case you want to connect it to an external
# device).
#
# device)
# (default "16" on a non-Plus board, "47" on a
# Plus or Pi 2)
# N.B. It is recommended to only enable those interfaces that are needed.
# Leaving all interfaces enabled can lead to unwanted behaviour (i2c_vc
# interfering with Pi Camera, I2S and SPI hogging GPIO pins, etc.)
# Note also that i2c_arm and i2c_vc are aliases for the physical
# Note also that i2c, i2c_arm and i2c_vc are aliases for the physical
# interfaces i2c0 and i2c1. Use of the numeric variants is still possible
# but deprecated because the ARM/VC assignments differ between board
# revisions.
# revisions. The same board-specific mapping applies to i2c_baudrate,
# and the other i2c baudrate parameters.
#device_tree_param=i2c_arm=on
#device_tree_param=i2c_vc=on
#device_tree_param=i2s=on
@ -38,17 +48,20 @@
#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.
# Params: gpio_out_pin GPIO pin for output (default "17")
# gpio_in_pin GPIO pin for input (default "18")
# gpio_in_pull Pull up/down/off on the input pin
# (default "down")
# sense Override the IR receive auto-detection logic:
# "1" = force active high
# "0" = force active low
# "-1" = use auto-detection
# (default "-1")
# softcarrier Turn the software carrier "on" or "off"
# (default "on")
# invert "on" = invert the output pin (default "off")
# debug "on" = enable additional debug messages
(default "off")
#device_tree_overlay=lirc-rpi
#device_tree_param=gpio_out_pin=17
#device_tree_param=gpio_in_pin=18
@ -57,26 +70,29 @@
# Uncomment to enable the w1-gpio Onewire interface module
# Use this overlay if you *don't* need a pin to drive an external pullup
# N.B. The parasitic power feature is not yet functional using DT.
# Params: gpiopin (default "4") GPIO pin for I/O
# Params: gpiopin GPIO pin for I/O (default "4")
#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
# N.B. The parasitic power feature is not yet functional using DT.
# Params: gpiopin (default "4") GPIO pin for I/O
# pullup (default "5") GPIO pin for external pullup
# Params: gpiopin GPIO pin for I/O (default "4")
# pullup GPIO pin for external pullup (default "5")
#device_tree_overlay=w1-gpio
#device_tree_param=gpiopin=4
#device_tree_param=pullup=5
# Uncomment to enable pps-gpio (pulse-per-second time signal via GPIO)
# Params: gpiopin (default "18") GPIO input pin
# Params: gpiopin GPIO input pin (default "18")
#device_tree_overlay=pps-gpio
#device_tree_param=gpiopin=18
# Uncomment to enable pfc8523 Real Time Clock
#device_tree_overlay=pfc8523-rtc
# Uncomment to enable the PCF8523 Real Time Clock
#device_tree_overlay=pcf8523-rtc
# Uncomment to enable the DS1307 Real Time Clock
#device_tree_overlay=ds1307-rtc
# Uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1
@ -155,5 +171,6 @@
#sdram_freq=500
#over_voltage=6
gpu_mem_1024=64
gpu_mem_512=64
gpu_mem_256=64

View file

@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm 3.18.4-1 Kernel Configuration
# Linux/arm 3.18.5-1 Kernel Configuration
#
CONFIG_ARM=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
@ -334,6 +334,7 @@ CONFIG_ARCH_BCM2708=y
# CONFIG_ARCH_S3C64XX is not set
# CONFIG_ARCH_DAVINCI is not set
# CONFIG_ARCH_OMAP1 is not set
# CONFIG_ARCH_BCM2709 is not set
#
# Broadcom BCM2708 Implementations
@ -1148,6 +1149,7 @@ CONFIG_BT_HCIVHCI=m
CONFIG_BT_MRVL=m
CONFIG_BT_MRVL_SDIO=m
CONFIG_BT_ATH3K=m
# CONFIG_BT_WILINK is not set
# CONFIG_AF_RXRPC is not set
CONFIG_FIB_RULES=y
CONFIG_WIRELESS=y
@ -1204,6 +1206,7 @@ CONFIG_NFC_SHDLC=y
# Near Field Communication (NFC) devices
#
CONFIG_NFC_PN533=m
# CONFIG_NFC_WILINK is not set
# CONFIG_NFC_TRF7970A is not set
CONFIG_NFC_SIM=m
CONFIG_NFC_PORT100=m
@ -1334,7 +1337,7 @@ CONFIG_BMP085_SPI=m
#
# EEPROM support
#
# CONFIG_EEPROM_AT24 is not set
CONFIG_EEPROM_AT24=m
# CONFIG_EEPROM_AT25 is not set
# CONFIG_EEPROM_LEGACY is not set
# CONFIG_EEPROM_MAX6875 is not set
@ -1344,7 +1347,7 @@ CONFIG_EEPROM_93CX6=m
#
# Texas Instruments shared transport line discipline
#
# CONFIG_TI_ST is not set
CONFIG_TI_ST=m
# CONFIG_SENSORS_LIS3_SPI is not set
# CONFIG_SENSORS_LIS3_I2C is not set
@ -1989,7 +1992,7 @@ CONFIG_MAX_RAW_DEVS=256
# CONFIG_TCG_TPM is not set
CONFIG_BRCM_CHAR_DRIVERS=y
CONFIG_BCM_VC_CMA=y
# CONFIG_BCM_VC_SM is not set
CONFIG_BCM_VC_SM=y
# CONFIG_XILLYBUS is not set
#
@ -2192,7 +2195,7 @@ CONFIG_W1_SLAVE_SMEM=m
CONFIG_W1_SLAVE_DS2408=m
CONFIG_W1_SLAVE_DS2408_READBACK=y
CONFIG_W1_SLAVE_DS2413=m
# CONFIG_W1_SLAVE_DS2406 is not set
CONFIG_W1_SLAVE_DS2406=m
CONFIG_W1_SLAVE_DS2423=m
CONFIG_W1_SLAVE_DS2431=m
CONFIG_W1_SLAVE_DS2433=m
@ -2206,7 +2209,7 @@ CONFIG_POWER_SUPPLY=y
# CONFIG_POWER_SUPPLY_DEBUG is not set
# CONFIG_PDA_POWER is not set
# CONFIG_TEST_POWER is not set
# CONFIG_BATTERY_DS2760 is not set
CONFIG_BATTERY_DS2760=m
# CONFIG_BATTERY_DS2780 is not set
CONFIG_BATTERY_DS2781=m
# CONFIG_BATTERY_DS2782 is not set
@ -2690,7 +2693,7 @@ CONFIG_DVB_USB_DVBSKY=m
CONFIG_SMS_USB_DRV=m
CONFIG_DVB_B2C2_FLEXCOP_USB=m
# CONFIG_DVB_B2C2_FLEXCOP_USB_DEBUG is not set
# CONFIG_DVB_AS102 is not set
CONFIG_DVB_AS102=m
#
# Webcam, TV (analog/digital) USB devices
@ -2896,7 +2899,7 @@ CONFIG_DVB_CXD2820R=m
CONFIG_DVB_RTL2830=m
CONFIG_DVB_RTL2832=m
CONFIG_DVB_SI2168=m
# CONFIG_DVB_AS102_FE is not set
CONFIG_DVB_AS102_FE=m
#
# DVB-C (cable) frontends
@ -3040,7 +3043,7 @@ CONFIG_LOGO=y
CONFIG_LOGO_LINUX_CLUT224=y
CONFIG_SOUND=y
CONFIG_SOUND_OSS_CORE=y
# CONFIG_SOUND_OSS_CORE_PRECLAIM is not set
CONFIG_SOUND_OSS_CORE_PRECLAIM=y
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
@ -3177,7 +3180,7 @@ CONFIG_SND_SOC_WM8804=m
# CONFIG_SND_SOC_WM8962 is not set
# CONFIG_SND_SOC_WM8978 is not set
# CONFIG_SND_SOC_TPA6130A2 is not set
# CONFIG_SND_SIMPLE_CARD is not set
CONFIG_SND_SIMPLE_CARD=m
# CONFIG_SOUND_PRIME is not set
CONFIG_AC97_BUS=m
@ -3342,20 +3345,20 @@ CONFIG_USB_WDM=m
#
CONFIG_USB_STORAGE=y
# CONFIG_USB_STORAGE_DEBUG is not set
CONFIG_USB_STORAGE_REALTEK=m
CONFIG_USB_STORAGE_DATAFAB=m
CONFIG_USB_STORAGE_FREECOM=m
CONFIG_USB_STORAGE_ISD200=m
CONFIG_USB_STORAGE_USBAT=m
CONFIG_USB_STORAGE_SDDR09=m
CONFIG_USB_STORAGE_SDDR55=m
CONFIG_USB_STORAGE_JUMPSHOT=m
CONFIG_USB_STORAGE_ALAUDA=m
CONFIG_USB_STORAGE_ONETOUCH=m
CONFIG_USB_STORAGE_KARMA=m
CONFIG_USB_STORAGE_CYPRESS_ATACB=m
CONFIG_USB_STORAGE_ENE_UB6250=m
# CONFIG_USB_UAS is not set
CONFIG_USB_STORAGE_REALTEK=y
CONFIG_USB_STORAGE_DATAFAB=y
CONFIG_USB_STORAGE_FREECOM=y
CONFIG_USB_STORAGE_ISD200=y
CONFIG_USB_STORAGE_USBAT=y
CONFIG_USB_STORAGE_SDDR09=y
CONFIG_USB_STORAGE_SDDR55=y
CONFIG_USB_STORAGE_JUMPSHOT=y
CONFIG_USB_STORAGE_ALAUDA=y
CONFIG_USB_STORAGE_ONETOUCH=y
CONFIG_USB_STORAGE_KARMA=y
CONFIG_USB_STORAGE_CYPRESS_ATACB=y
CONFIG_USB_STORAGE_ENE_UB6250=y
CONFIG_USB_UAS=y
#
# USB Imaging devices
@ -3543,9 +3546,9 @@ CONFIG_LEDS_GPIO=m
#
CONFIG_LEDS_TRIGGERS=y
CONFIG_LEDS_TRIGGER_TIMER=m
# CONFIG_LEDS_TRIGGER_ONESHOT is not set
CONFIG_LEDS_TRIGGER_ONESHOT=m
CONFIG_LEDS_TRIGGER_HEARTBEAT=m
# CONFIG_LEDS_TRIGGER_BACKLIGHT is not set
CONFIG_LEDS_TRIGGER_BACKLIGHT=m
CONFIG_LEDS_TRIGGER_CPU=y
CONFIG_LEDS_TRIGGER_GPIO=m
CONFIG_LEDS_TRIGGER_DEFAULT_ON=m
@ -3553,8 +3556,8 @@ CONFIG_LEDS_TRIGGER_DEFAULT_ON=m
#
# iptables trigger is under Netfilter config (LED target)
#
# CONFIG_LEDS_TRIGGER_TRANSIENT is not set
# CONFIG_LEDS_TRIGGER_CAMERA is not set
CONFIG_LEDS_TRIGGER_TRANSIENT=m
CONFIG_LEDS_TRIGGER_CAMERA=m
# CONFIG_ACCESSIBILITY is not set
# CONFIG_EDAC is not set
CONFIG_RTC_LIB=y
@ -3698,14 +3701,25 @@ CONFIG_R8188EU=m
CONFIG_88EU_AP_MODE=y
# CONFIG_R8723AU is not set
# CONFIG_LINE6_USB is not set
# CONFIG_VT6656 is not set
CONFIG_VT6656=m
CONFIG_BCM_WIMAX=m
# CONFIG_FT1000 is not set
#
# Speakup console speech
#
# CONFIG_SPEAKUP is not set
CONFIG_SPEAKUP=m
# CONFIG_SPEAKUP_SYNTH_ACNTSA is not set
# CONFIG_SPEAKUP_SYNTH_APOLLO is not set
# CONFIG_SPEAKUP_SYNTH_AUDPTR is not set
# CONFIG_SPEAKUP_SYNTH_BNS is not set
# CONFIG_SPEAKUP_SYNTH_DECTLK is not set
# CONFIG_SPEAKUP_SYNTH_DECEXT is not set
# CONFIG_SPEAKUP_SYNTH_LTLK is not set
CONFIG_SPEAKUP_SYNTH_SOFT=m
# CONFIG_SPEAKUP_SYNTH_SPKOUT is not set
# CONFIG_SPEAKUP_SYNTH_TXPRT is not set
# CONFIG_SPEAKUP_SYNTH_DUMMY is not set
# CONFIG_TOUCHSCREEN_CLEARPAD_TM1217 is not set
# CONFIG_TOUCHSCREEN_SYNAPTICS_I2C_RMI4 is not set
CONFIG_STAGING_MEDIA=y

File diff suppressed because it is too large Load diff