[U-Boot] [PATCH 19/23] ARM: tegra: Enable PCIe on Beaver

Marcel Ziswiler
2014-08-20T08:56:58Z

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!

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 #