From f6ff9389481cc454282bee47a4f62d58bde0610b Mon Sep 17 00:00:00 2001 From: ThomasKaiser Date: Sun, 10 Sep 2017 04:18:51 -0700 Subject: [PATCH] Minor PineBook fixes Wrt eMMC see https://forum.armbian.com/index.php?/topic/5089-pinebook-install-to-emmc/&tab=comments#comment-39000 --- .../bsp/pinebook/50-pine64-pinebook-touchpad.conf | 4 ++-- .../foresee-64GB-emmc-workaround.patch | 13 +++++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 patch/u-boot/u-boot-pine64-default/foresee-64GB-emmc-workaround.patch diff --git a/packages/bsp/pinebook/50-pine64-pinebook-touchpad.conf b/packages/bsp/pinebook/50-pine64-pinebook-touchpad.conf index 0539a741c..ed0ce4342 100644 --- a/packages/bsp/pinebook/50-pine64-pinebook-touchpad.conf +++ b/packages/bsp/pinebook/50-pine64-pinebook-touchpad.conf @@ -4,6 +4,6 @@ Section "InputClass" MatchDevicePath "/dev/input/event*" Option "AccelerationProfile" "2" Option "AdaptiveDeceleration" "1" - #Option "ConstantDeceleration" "2.4" # Pinebook 14" - Option "ConstantDeceleration" "1.2" # Pinebook 11" + Option "ConstantDeceleration" "2.4" # Pinebook 14" + #Option "ConstantDeceleration" "1.2" # Pinebook 11" EndSection diff --git a/patch/u-boot/u-boot-pine64-default/foresee-64GB-emmc-workaround.patch b/patch/u-boot/u-boot-pine64-default/foresee-64GB-emmc-workaround.patch new file mode 100644 index 000000000..551d06187 --- /dev/null +++ b/patch/u-boot/u-boot-pine64-default/foresee-64GB-emmc-workaround.patch @@ -0,0 +1,13 @@ +diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c +index d160bd5..c9f0b9e 100644 +--- a/drivers/mmc/mmc.c ++++ b/drivers/mmc/mmc.c +@@ -2272,7 +2272,7 @@ static int mmc_complete_init(struct mmc *mmc) + err = sunxi_switch_to_best_bus(mmc); + if (err) { + MMCINFO("switch to best speed mode fail\n"); +- return err; ++ /* return err; */ + } + + init_part(&mmc->block_dev); /* it will send cmd17 */