From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thierry Reding Date: Wed, 20 Aug 2014 11:46:08 +0200 Subject: [U-Boot] [PATCH 19/23] ARM: tegra: Enable PCIe on Beaver In-Reply-To: <1408525018.22441.9.camel@localhost.localdomain> References: <1408346196-30419-1-git-send-email-thierry.reding@gmail.com> <1408346196-30419-20-git-send-email-thierry.reding@gmail.com> <20140820063840.GG13793@ulmo> <1408525018.22441.9.camel@localhost.localdomain> Message-ID: <20140820094607.GD15414@ulmo> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Aug 20, 2014 at 10:56:58AM +0200, Marcel Ziswiler wrote: > On Wed, 2014-08-20 at 08:38 +0200, Thierry Reding wrote: > > Hehe... this should probably be i2c_write() instead. Perhaps this is on > > by default on Beaver and Cardhu but not on the particular revision that > > Apalis T30 uses? > > Well, we anyway use a completely different rail configuration but me > just copy-pasting your read and only changing register addresses resp. > values happens to just not wana be working (;-p). > > > Can you test whether things start working if you turn that into a write > > instead? > > Sure, already did and it works like a beauty! You're the man! Pretty cool. > U-Boot SPL 2014.10-rc1-00110-gff50ce9-dirty (Aug 20 2014 - 10:14:49) > > > U-Boot 2014.10-rc1-00110-gff50ce9-dirty (Aug 20 2014 - 10:14:49) > > TEGRA30 > Board: Toradex Apalis T30 > I2C: ready > DRAM: 1 GiB > MMC: Tegra SD/MMC: 0, Tegra SD/MMC: 1, Tegra SD/MMC: 2 > *** Warning - bad CRC, using default environment > > tegra-pcie: PCI regions: > tegra-pcie: I/O: 0x2000000-0x2010000 > tegra-pcie: non-prefetchable memory: 0x20000000-0x30000000 > tegra-pcie: prefetchable memory: 0x30000000-0x40000000 > tegra-pcie: 4x1, 1x2 configuration > tegra-pcie: probing port 0, using 4 lanes > tegra-pcie: link 0 down, retrying > tegra-pcie: link 0 down, retrying > tegra-pcie: link 0 down, retrying > tegra-pcie: link 0 down, ignoring > tegra-pcie: probing port 1, using 1 lanes > tegra-pcie: probing port 2, using 1 lanes > In: serial > Out: serial > Err: serial > Net: PCI device RTL8169#0: unknown chip version, assuming RTL-8169 > PCI device: TxConfig = 0x3F4000C0 > RTL8169#0 > Warning: RTL8169#0 using MAC address from net device > > Hit any key to stop autoboot: 0 > Apalis T30 # dhcp > BOOTP broadcast 1 > DHCP client bound to address 192.168.10.5 > Using RTL8169#0 device > TFTP from server 192.168.10.1; our IP address is 192.168.10.5 > Filename 'uImage-apalis_t30'. > Load address: 0x80408000 > Loading: > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > #################################################### > 3.9 MiB/s > done > Bytes transferred = 4569784 (45bab8 hex) > Apalis T30 # Wow, 3.9 MiB/s on average. I only get around 2.0 MiB/s on all my devices. TrimSlice is the exception with around 5.0 MiB/s. I wonder where exactly that comes from. It's the oldest device so I'd expect it to be the slowest too. Thierry -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: