don't patch kernel

This commit is contained in:
Gwenhael Le Moine 2014-02-27 23:11:00 +01:00
parent ce18db6f9b
commit 7ed9cd2b99
5 changed files with 0 additions and 39 deletions

View file

@ -12,7 +12,6 @@ DISPLAY=${DISPLAY:-"HDMI"} # "HDMI" or "VGA"
IMAGE_SIZE_MB=${IMAGE_SIZE_MB:-2000} IMAGE_SIZE_MB=${IMAGE_SIZE_MB:-2000}
SLACKWARE_VERSION=${SLACKWARE_VERSION:-14.1} SLACKWARE_VERSION=${SLACKWARE_VERSION:-14.1}
ROOTFS_VERSION=${ROOTFS_VERSION:-04Nov13} ROOTFS_VERSION=${ROOTFS_VERSION:-04Nov13}
#CONFIG_HZ=${CONFIG_HZ:-300HZ} # 250HZ, 300HZ or 1000HZ
TOOLCHAIN_VERSION=${TOOLCHAIN_VERSION:-4.8-2013.10} TOOLCHAIN_VERSION=${TOOLCHAIN_VERSION:-4.8-2013.10}
TOOLCHAIN_URL_RANDOM_NUMBER=${TOOLCHAIN_URL_RANDOM_NUMBER:-155358238} TOOLCHAIN_URL_RANDOM_NUMBER=${TOOLCHAIN_URL_RANDOM_NUMBER:-155358238}
@ -89,8 +88,6 @@ if [ -d "$DEST/linux-sunxi" ]; then
else else
git clone https://github.com/patrickhwood/linux-sunxi $DEST/linux-sunxi git clone https://github.com/patrickhwood/linux-sunxi $DEST/linux-sunxi
###PATCH kernel CONFIG_HZ, Arm dfault is hardcoded 100hz (10ms latency!). For mulitimedia and desktop a higher frequency is recomended.
#test -f $CWD/patch/$CONFIG_HZ.patch && patch -f $DEST/linux-sunxi/arch/arm/Kconfig < $CWD/patch/$CONFIG_HZ.patch
fi fi
#-------------------------------------------------------------------------------- #--------------------------------------------------------------------------------

View file

@ -1,3 +0,0 @@
root=/dev/mmcblk0p1 ro
extraargs=console=tty0,115200 sunxi_no_mali_mem_reserve sunxi_g2d_mem_reserve=0 sunxi_ve_mem_reserve=0 hdmi.audio=EDID:0 disp.screen0_output_mode=EDID:1280x720p50 rootwait panic=10 rootfstype=ext4 rootflags=discard
panic=10 rootfstype=ext4 rootflags=discard

View file

@ -1,11 +0,0 @@
--- ./arch/arm/Kconfig 2014-02-14 11:28:34.504514916 +0100
+++ ./arch/arm/Kconfig.a 2014-02-14 11:28:16.634516659 +0100
@@ -1698,7 +1698,7 @@
default OMAP_32K_TIMER_HZ if ARCH_OMAP && OMAP_32K_TIMER
default AT91_TIMER_HZ if ARCH_AT91
default SHMOBILE_TIMER_HZ if ARCH_SHMOBILE
- default 100
+ default 1000
config THUMB2_KERNEL
bool "Compile the kernel in Thumb-2 mode (EXPERIMENTAL)"

View file

@ -1,11 +0,0 @@
--- ./arch/arm/Kconfig 2014-02-14 11:28:34.504514916 +0100
+++ ./arch/arm/Kconfig.a 2014-02-14 11:28:16.634516659 +0100
@@ -1698,7 +1698,7 @@
default OMAP_32K_TIMER_HZ if ARCH_OMAP && OMAP_32K_TIMER
default AT91_TIMER_HZ if ARCH_AT91
default SHMOBILE_TIMER_HZ if ARCH_SHMOBILE
- default 100
+ default 250
config THUMB2_KERNEL
bool "Compile the kernel in Thumb-2 mode (EXPERIMENTAL)"

View file

@ -1,11 +0,0 @@
--- ./arch/arm/Kconfig 2014-02-14 11:28:34.504514916 +0100
+++ ./arch/arm/Kconfig.a 2014-02-14 11:28:16.634516659 +0100
@@ -1698,7 +1698,7 @@
default OMAP_32K_TIMER_HZ if ARCH_OMAP && OMAP_32K_TIMER
default AT91_TIMER_HZ if ARCH_AT91
default SHMOBILE_TIMER_HZ if ARCH_SHMOBILE
- default 100
+ default 300
config THUMB2_KERNEL
bool "Compile the kernel in Thumb-2 mode (EXPERIMENTAL)"