From 88cc5caa8e94f20d87f0ec5c247dc679044a59d0 Mon Sep 17 00:00:00 2001 From: igorpecovnik Date: Thu, 9 Jan 2014 18:05:18 +0100 Subject: [PATCH] High load patch --- build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.sh b/build.sh index 4c47615..eeb6bee 100644 --- a/build.sh +++ b/build.sh @@ -58,9 +58,13 @@ fi # Applying Patch for 2gb memory patch -f $DEST/u-boot-sunxi/include/configs/sunxi-common.h < patch/memory.patch || true + # Applying Patch for gpio patch -f $DEST/linux-sunxi/drivers/gpio/gpio-sunxi.c < patch/gpio.patch || true +# Applying Patch for high load. Could cause troubles with USB OTG port +sed -e 's/usb_detect_type = 1/usb_detect_type = 0/g' $DEST/cubie_configs/sysconfig/linux/cubietruck.fex > $DEST/cubie_configs/sysconfig/linux/cubietruck.fex + #Change Video output ( TODO add a param so the user can choose that ?) sed -e 's/screen0_output_type.*/screen0_output_type = '$DISPLAY'/g' $DEST/cubie_configs/sysconfig/linux/cubietruck.fex > $DEST/cubie_configs/sysconfig/linux/cubietruck-vga.fex