2018-03-06 10:18:40 +00:00
|
|
|
From fbd0bffb20ca5edd21bbeb7cc20e24d091ab4280 Mon Sep 17 00:00:00 2001
|
2018-01-16 03:31:08 +00:00
|
|
|
From: Rob Clark <robdclark@gmail.com>
|
|
|
|
Date: Wed, 21 Jun 2017 14:21:15 -0400
|
2018-03-06 10:18:40 +00:00
|
|
|
Subject: [PATCH 1/4] WIP: fix usb
|
2017-08-04 14:30:07 +00:00
|
|
|
|
|
|
|
---
|
2018-01-16 03:31:08 +00:00
|
|
|
common/usb_storage.c | 4 ++--
|
|
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
2017-08-04 14:30:07 +00:00
|
|
|
|
2017-12-22 01:35:59 +00:00
|
|
|
diff --git a/common/usb_storage.c b/common/usb_storage.c
|
2018-03-06 10:18:40 +00:00
|
|
|
index a91b1c0d2f..caea87a09f 100644
|
2017-12-22 01:35:59 +00:00
|
|
|
--- a/common/usb_storage.c
|
|
|
|
+++ b/common/usb_storage.c
|
2018-03-06 10:18:40 +00:00
|
|
|
@@ -1018,7 +1018,7 @@ static int usb_request_sense(struct scsi_cmd *srb, struct us_data *ss)
|
2017-08-04 14:30:07 +00:00
|
|
|
|
2017-12-22 01:35:59 +00:00
|
|
|
static int usb_test_unit_ready(struct scsi_cmd *srb, struct us_data *ss)
|
|
|
|
{
|
|
|
|
- int retries = 10;
|
|
|
|
+ int retries = 20;
|
2017-08-04 14:30:07 +00:00
|
|
|
|
2017-12-22 01:35:59 +00:00
|
|
|
do {
|
|
|
|
memset(&srb->cmd[0], 0, 12);
|
2018-03-06 10:18:40 +00:00
|
|
|
@@ -1041,7 +1041,7 @@ static int usb_test_unit_ready(struct scsi_cmd *srb, struct us_data *ss)
|
2017-12-22 01:35:59 +00:00
|
|
|
if ((srb->sense_buf[2] == 0x02) &&
|
|
|
|
(srb->sense_buf[12] == 0x3a))
|
|
|
|
return -1;
|
|
|
|
- mdelay(100);
|
|
|
|
+ mdelay(250);
|
|
|
|
} while (retries--);
|
|
|
|
|
|
|
|
return -1;
|
2018-01-16 03:31:08 +00:00
|
|
|
--
|
2018-03-06 10:18:40 +00:00
|
|
|
2.14.3
|
2018-01-16 03:31:08 +00:00
|
|
|
|
2018-03-06 10:18:40 +00:00
|
|
|
From d1b25b8d6461c5278228d657de9c24e0979e4b9d Mon Sep 17 00:00:00 2001
|
2018-01-16 03:31:08 +00:00
|
|
|
From: Rob Clark <robdclark@gmail.com>
|
|
|
|
Date: Mon, 3 Jul 2017 08:34:37 -0400
|
2018-03-06 10:18:40 +00:00
|
|
|
Subject: [PATCH 2/4] HACK: disable emmc
|
2018-01-16 03:31:08 +00:00
|
|
|
|
|
|
|
Hitting some timeout which makes boot take much longer. And
|
|
|
|
uefi/boot/rootfs partitions will be on sd-card or usb disk, etc,
|
|
|
|
so we can just ignore emmc.
|
|
|
|
---
|
|
|
|
arch/arm/dts/dragonboard410c.dts | 2 ++
|
|
|
|
1 file changed, 2 insertions(+)
|
|
|
|
|
|
|
|
diff --git a/arch/arm/dts/dragonboard410c.dts b/arch/arm/dts/dragonboard410c.dts
|
2018-03-06 10:18:40 +00:00
|
|
|
index 5ccfe7f8c8..9e2d3f5d9b 100644
|
2018-01-16 03:31:08 +00:00
|
|
|
--- a/arch/arm/dts/dragonboard410c.dts
|
|
|
|
+++ b/arch/arm/dts/dragonboard410c.dts
|
|
|
|
@@ -67,6 +67,7 @@
|
|
|
|
reg = <0x78d9000 0x400>;
|
|
|
|
};
|
|
|
|
|
|
|
|
+/*
|
|
|
|
sdhci@07824000 {
|
|
|
|
compatible = "qcom,sdhci-msm-v4";
|
|
|
|
reg = <0x7824900 0x11c 0x7824000 0x800>;
|
|
|
|
@@ -76,6 +77,7 @@
|
|
|
|
clock = <&clkc 0>;
|
|
|
|
clock-frequency = <100000000>;
|
|
|
|
};
|
|
|
|
+*/
|
|
|
|
|
|
|
|
sdhci@07864000 {
|
|
|
|
compatible = "qcom,sdhci-msm-v4";
|
|
|
|
--
|
2018-03-06 10:18:40 +00:00
|
|
|
2.14.3
|
2018-09-04 12:47:36 +00:00
|
|
|
From 6baac1d73a20f880cb91f3bc03fe4f9cf88c61f6 Mon Sep 17 00:00:00 2001
|
2018-01-16 03:31:08 +00:00
|
|
|
From: Peter Robinson <pbrobinson@gmail.com>
|
2018-09-04 12:47:36 +00:00
|
|
|
Date: Tue, 4 Sep 2018 12:21:59 +0100
|
|
|
|
Subject: [PATCH] add options for dm410c config
|
2018-01-16 03:31:08 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
configs/dragonboard410c_defconfig | 10 ++++++++++
|
|
|
|
1 file changed, 10 insertions(+)
|
|
|
|
|
2017-09-19 08:30:31 +00:00
|
|
|
diff --git a/configs/dragonboard410c_defconfig b/configs/dragonboard410c_defconfig
|
2018-09-04 12:47:36 +00:00
|
|
|
index 96a831443a..d167c765b1 100644
|
2017-09-19 08:30:31 +00:00
|
|
|
--- a/configs/dragonboard410c_defconfig
|
|
|
|
+++ b/configs/dragonboard410c_defconfig
|
2018-09-04 12:47:36 +00:00
|
|
|
@@ -6,6 +6,8 @@ CONFIG_DISTRO_DEFAULTS=y
|
|
|
|
CONFIG_NR_DRAM_BANKS=1
|
|
|
|
CONFIG_FIT=y
|
|
|
|
CONFIG_OF_BOARD_SETUP=y
|
2018-03-06 10:18:40 +00:00
|
|
|
+CONFIG_FAT_WRITE=y
|
2017-09-19 08:30:31 +00:00
|
|
|
+CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y
|
2018-09-04 12:47:36 +00:00
|
|
|
CONFIG_MISC_INIT_R=y
|
|
|
|
# CONFIG_DISPLAY_CPUINFO is not set
|
|
|
|
# CONFIG_DISPLAY_BOARDINFO is not set
|
|
|
|
@@ -35,6 +37,13 @@ CONFIG_DM_PMIC=y
|
2018-03-06 10:18:40 +00:00
|
|
|
CONFIG_PMIC_PM8916=y
|
|
|
|
CONFIG_MSM_SERIAL=y
|
|
|
|
CONFIG_SPMI_MSM=y
|
|
|
|
+CONFIG_DM_ETH=y
|
|
|
|
+CONFIG_DM_KEYBOARD=y
|
2017-09-19 08:30:31 +00:00
|
|
|
+CONFIG_DM_VIDEO=y
|
2018-01-16 03:31:08 +00:00
|
|
|
+# CONFG_VIDEO_BPP8 is not set
|
2017-09-19 08:30:31 +00:00
|
|
|
+CONFIG_NO_FB_CLEAR=y
|
|
|
|
+CONFIG_VIDEO_SIMPLE=y
|
2018-09-04 12:47:36 +00:00
|
|
|
+CONFIG_USB_KEYBOARD=y
|
2018-03-06 10:18:40 +00:00
|
|
|
CONFIG_USB=y
|
|
|
|
CONFIG_DM_USB=y
|
|
|
|
CONFIG_USB_EHCI_HCD=y
|
2018-09-04 12:47:36 +00:00
|
|
|
@@ -46,5 +55,6 @@ CONFIG_USB_HOST_ETHER=y
|
2018-03-06 10:18:40 +00:00
|
|
|
CONFIG_USB_ETHER_ASIX=y
|
|
|
|
CONFIG_USB_ETHER_ASIX88179=y
|
|
|
|
CONFIG_USB_ETHER_MCS7830=y
|
|
|
|
+CONFIG_USB_ETHER_RTL8152=y
|
|
|
|
CONFIG_USB_ETHER_SMSC95XX=y
|
|
|
|
CONFIG_OF_LIBFDT_OVERLAY=y
|
2018-01-16 03:31:08 +00:00
|
|
|
--
|
2018-09-04 12:47:36 +00:00
|
|
|
2.19.0.rc0
|
|
|
|
|