High load patch
This commit is contained in:
parent
5e19e6a031
commit
88cc5caa8e
1 changed files with 4 additions and 0 deletions
4
build.sh
4
build.sh
|
@ -58,9 +58,13 @@ fi
|
||||||
|
|
||||||
# Applying Patch for 2gb memory
|
# Applying Patch for 2gb memory
|
||||||
patch -f $DEST/u-boot-sunxi/include/configs/sunxi-common.h < patch/memory.patch || true
|
patch -f $DEST/u-boot-sunxi/include/configs/sunxi-common.h < patch/memory.patch || true
|
||||||
|
|
||||||
# Applying Patch for gpio
|
# Applying Patch for gpio
|
||||||
patch -f $DEST/linux-sunxi/drivers/gpio/gpio-sunxi.c < patch/gpio.patch || true
|
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 ?)
|
#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
|
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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue