[uboot-tools] Add upstream patch to fix Tegra Jetson K1 pci-e
Peter Robinson
pbrobinson at fedoraproject.org
Thu Oct 16 19:26:23 UTC 2014
commit e5b1ecb8df9530826409405b5d684e443a4b8364
Author: Peter Robinson <pbrobinson at gmail.com>
Date: Thu Oct 16 20:25:48 2014 +0100
Add upstream patch to fix Tegra Jetson K1 pci-e
0012-tegra-fix-jetson-pcie.patch | 35 +++++++++++++++++++++++++++++++++++
uboot-tools.spec | 6 +++++-
2 files changed, 40 insertions(+), 1 deletions(-)
---
diff --git a/0012-tegra-fix-jetson-pcie.patch b/0012-tegra-fix-jetson-pcie.patch
new file mode 100644
index 0000000..500e48b
--- /dev/null
+++ b/0012-tegra-fix-jetson-pcie.patch
@@ -0,0 +1,35 @@
+From 105edd7a5c55db2f9abd927634aabeb90bc120f3 Mon Sep 17 00:00:00 2001
+From: Stephen Warren <swarren at nvidia.com>
+Date: Fri, 22 Aug 2014 15:04:08 -0600
+Subject: [PATCH] ARM: tegra: add PCIe-related pins to the Jetson TK1 pinmux tables
+
+This pinmux tables currently omit any configuration for PCIe clk_req,
+wake, and rst pins, which in turn causes intermittent failures in
+U-Boot's PCIe support. Import an updated version of the pinmux tables
+which rectifies this.
+
+Signed-off-by: Stephen Warren <swarren at nvidia.com>
+Signed-off-by: Tom Warren <twarren at nvidia.com>
+---
+ board/nvidia/jetson-tk1/pinmux-config-jetson-tk1.h | 5 +++++
+ 1 files changed, 5 insertions(+), 0 deletions(-)
+
+diff --git a/board/nvidia/jetson-tk1/pinmux-config-jetson-tk1.h b/board/nvidia/jetson-tk1/pinmux-config-jetson-tk1.h
+index d338818..de4eb35 100644
+--- a/board/nvidia/jetson-tk1/pinmux-config-jetson-tk1.h
++++ b/board/nvidia/jetson-tk1/pinmux-config-jetson-tk1.h
+@@ -283,6 +283,11 @@ static const struct pmux_pingrp_config jetson_tk1_pingrps[] = {
+ PINCFG(PCC2, DEFAULT, DOWN, NORMAL, INPUT, DEFAULT, DEFAULT),
+ PINCFG(SDMMC4_CLK_PCC4, SDMMC4, NORMAL, NORMAL, INPUT, DEFAULT, DEFAULT),
+ PINCFG(CLK2_REQ_PCC5, DEFAULT, NORMAL, NORMAL, OUTPUT, DEFAULT, DEFAULT),
++ PINCFG(PEX_L0_RST_N_PDD1, PE0, NORMAL, NORMAL, OUTPUT, DEFAULT, DEFAULT),
++ PINCFG(PEX_L0_CLKREQ_N_PDD2, PE0, UP, NORMAL, INPUT, DEFAULT, DEFAULT),
++ PINCFG(PEX_WAKE_N_PDD3, PE, UP, NORMAL, INPUT, DEFAULT, DEFAULT),
++ PINCFG(PEX_L1_RST_N_PDD5, PE1, NORMAL, NORMAL, OUTPUT, DEFAULT, DEFAULT),
++ PINCFG(PEX_L1_CLKREQ_N_PDD6, PE1, UP, NORMAL, INPUT, DEFAULT, DEFAULT),
+ PINCFG(CLK3_OUT_PEE0, EXTPERIPH3, NORMAL, NORMAL, OUTPUT, DEFAULT, DEFAULT),
+ PINCFG(CLK3_REQ_PEE1, DEFAULT, NORMAL, NORMAL, OUTPUT, DEFAULT, DEFAULT),
+ PINCFG(DAP_MCLK1_REQ_PEE2, SATA, NORMAL, NORMAL, OUTPUT, DEFAULT, DEFAULT),
+--
+1.7.2.5
+
diff --git a/uboot-tools.spec b/uboot-tools.spec
index 36e2f67..2d57275 100644
--- a/uboot-tools.spec
+++ b/uboot-tools.spec
@@ -2,7 +2,7 @@
Name: uboot-tools
Version: 2014.10
-Release: 1%{?candidate:.%{candidate}}%{?dist}
+Release: 2%{?candidate:.%{candidate}}%{?dist}
Summary: U-Boot utilities
Group: Development/Tools
@@ -22,6 +22,7 @@ Patch8: 0008-Switch-am335x_evm.h-to-use-config_distro_defaults-an.patch
Patch9: 0009-wandboard-port-to-generic-distro-booting.patch
Patch12: 0010-port-the-riotboard-to-distro-generic-configs-patch-b.patch
Patch13: 0011-port-utilite-to-distro-generic-boot-commands.patch
+Patch14: 0012-tegra-fix-jetson-pcie.patch
BuildRequires: dtc, openssl-devel
BuildRequires: fedora-logos, netpbm-progs
@@ -473,6 +474,9 @@ install -p -m 0644 tools/env/fw_env.config $RPM_BUILD_ROOT%{_sysconfdir}
%endif
%changelog
+* Thu Oct 16 2014 Peter Robinson <pbrobinson at fedoraproject.org> 2014.10-2
+- Add upstream patch to fix Tegra Jetson K1 pci-e (for network)
+
* Wed Oct 15 2014 Dennis Gilmore <dennis at ausil.us> - 2014.10-1
- update to 2014.10 final release
More information about the scm-commits
mailing list