Re: [U-Boot] [PATCH 0/4] Tegra210 support for P2571

2015-06-19 Thread Simon Glass
Hi Tom,

I've got one of these shield things  - it is a seriously cool piece of
hardware. I've have to read a bit about what is it for.

So, any idea where to find a UART and recovery button?

Regards,
Simon


On 17 June 2015 at 16:44, Tom Warren twar...@nvidia.com wrote:
 Yes, it's a 32-bit T210 U-Boot.  T210 supports both AARCH32 and AARCH64.

 A 64-bit build will follow, but I haven't figured out how to meld the 32-bit 
 AVP SPL portion/build with the 64-bit CPU portion/build in one clean build 
 command, so I'm building them separately and then fusing them together in a 
 separate script.  If anyone has ideas on how to generate a hybrid 32-bit 
 (AVP)/64-bit (A57) U-Boot binary in one fell swoop, I'm all ears. :)

 Tom

 -Original Message-
 From: Stephen Warren [mailto:swar...@wwwdotorg.org]
 Sent: Wednesday, June 17, 2015 1:07 PM
 To: Tom Warren
 Cc: u-boot@lists.denx.de; Stephen Warren; Tom Warren
 Subject: Re: [U-Boot] [PATCH 0/4] Tegra210 support for P2571

 On 06/03/2015 02:35 PM, Tom Warren wrote:
  Adds support for Tegra210 SoC and P2571 NVIDIA board.
  Largely based on T124/Venice2. This is a baseline patchset - more will
  follow to make things more T210- specific as P2571 peripherals/devices
  are brought up.

 Does this add support for a 32-bit or a 64-bit U-Boot? Since T210 is a 
 64-bit CPU I
 would have expected a 64-bit U-Boot, yet:

 a)

 arch/arm/Kconfig contains:

 config TEGRA
 ...
  select CPU_V7

 and this patch doesn't modify that.

 b)

 I can built an executable with these patches applied (after manually fixing 
 up
 some merge problems) with an ARMv7 compiler, but not with an
 ARMv8 compiler.

 I think that means this is a 32-bit port. We need a 64-bit port.
 ---
 This email message is for the sole use of the intended recipient(s) and may 
 contain
 confidential information.  Any unauthorized review, use, disclosure or 
 distribution
 is prohibited.  If you are not the intended recipient, please contact the 
 sender by
 reply email and destroy all copies of the original message.
 ---
 ___
 U-Boot mailing list
 U-Boot@lists.denx.de
 http://lists.denx.de/mailman/listinfo/u-boot
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH 0/4] Tegra210 support for P2571

2015-06-17 Thread Tom Warren
Yes, it's a 32-bit T210 U-Boot.  T210 supports both AARCH32 and AARCH64.

A 64-bit build will follow, but I haven't figured out how to meld the 32-bit 
AVP SPL portion/build with the 64-bit CPU portion/build in one clean build 
command, so I'm building them separately and then fusing them together in a 
separate script.  If anyone has ideas on how to generate a hybrid 32-bit 
(AVP)/64-bit (A57) U-Boot binary in one fell swoop, I'm all ears. :)

Tom

 -Original Message-
 From: Stephen Warren [mailto:swar...@wwwdotorg.org]
 Sent: Wednesday, June 17, 2015 1:07 PM
 To: Tom Warren
 Cc: u-boot@lists.denx.de; Stephen Warren; Tom Warren
 Subject: Re: [U-Boot] [PATCH 0/4] Tegra210 support for P2571
 
 On 06/03/2015 02:35 PM, Tom Warren wrote:
  Adds support for Tegra210 SoC and P2571 NVIDIA board.
  Largely based on T124/Venice2. This is a baseline patchset - more will
  follow to make things more T210- specific as P2571 peripherals/devices
  are brought up.
 
 Does this add support for a 32-bit or a 64-bit U-Boot? Since T210 is a 64-bit 
 CPU I
 would have expected a 64-bit U-Boot, yet:
 
 a)
 
 arch/arm/Kconfig contains:
 
 config TEGRA
 ...
  select CPU_V7
 
 and this patch doesn't modify that.
 
 b)
 
 I can built an executable with these patches applied (after manually fixing up
 some merge problems) with an ARMv7 compiler, but not with an
 ARMv8 compiler.
 
 I think that means this is a 32-bit port. We need a 64-bit port.
---
This email message is for the sole use of the intended recipient(s) and may 
contain
confidential information.  Any unauthorized review, use, disclosure or 
distribution
is prohibited.  If you are not the intended recipient, please contact the 
sender by
reply email and destroy all copies of the original message.
---
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH 0/4] Tegra210 support for P2571

2015-06-17 Thread Stephen Warren

On 06/03/2015 02:35 PM, Tom Warren wrote:

Adds support for Tegra210 SoC and P2571 NVIDIA board.
Largely based on T124/Venice2. This is a baseline
patchset - more will follow to make things more T210-
specific as P2571 peripherals/devices are brought up.


Does this add support for a 32-bit or a 64-bit U-Boot? Since T210 is a 
64-bit CPU I would have expected a 64-bit U-Boot, yet:


a)

arch/arm/Kconfig contains:

config TEGRA
...
select CPU_V7

and this patch doesn't modify that.

b)

I can built an executable with these patches applied (after manually 
fixing up some merge problems) with an ARMv7 compiler, but not with an 
ARMv8 compiler.


I think that means this is a 32-bit port. We need a 64-bit port.
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH 0/4] Tegra210 support for P2571

2015-06-05 Thread Tom Warren
Adds support for Tegra210 SoC and P2571 NVIDIA board.
Largely based on T124/Venice2. This is a baseline
patchset - more will follow to make things more T210-
specific as P2571 peripherals/devices are brought up.

Tom Warren (4):
  ARM: Tegra210: Add SoC code/include files for T210
  ARM: Tegra210: Add support to common Tegra source/config files
  P2572: dts: Add DT files for Tegra210/P2572 board
  T210: Add support for T210-based P2571 board

 arch/arm/dts/Makefile |3 +-
 arch/arm/dts/tegra210-p2571.dts   |  106 ++
 arch/arm/dts/tegra210.dtsi|  511 ++
 arch/arm/include/asm/arch-tegra/ap.h  |6 +-
 arch/arm/include/asm/arch-tegra/clk_rst.h |   28 +-
 arch/arm/include/asm/arch-tegra/gp_padctrl.h  |3 +-
 arch/arm/include/asm/arch-tegra/pmc.h |7 +-
 arch/arm/include/asm/arch-tegra/tegra.h   |4 +-
 arch/arm/include/asm/arch-tegra210/ahb.h  |   91 ++
 arch/arm/include/asm/arch-tegra210/clock-tables.h |  566 +++
 arch/arm/include/asm/arch-tegra210/clock.h|   27 +
 arch/arm/include/asm/arch-tegra210/flow.h |   45 +
 arch/arm/include/asm/arch-tegra210/funcmux.h  |   23 +
 arch/arm/include/asm/arch-tegra210/gp_padctrl.h   |   74 ++
 arch/arm/include/asm/arch-tegra210/gpio.h |  303 ++
 arch/arm/include/asm/arch-tegra210/hardware.h |   16 +
 arch/arm/include/asm/arch-tegra210/mc.h   |   72 ++
 arch/arm/include/asm/arch-tegra210/pmu.h  |   14 +
 arch/arm/include/asm/arch-tegra210/powergate.h|   12 +
 arch/arm/include/asm/arch-tegra210/sysctr.h   |   26 +
 arch/arm/include/asm/arch-tegra210/tegra.h|   32 +
 arch/arm/mach-tegra/Kconfig   |4 +
 arch/arm/mach-tegra/Makefile  |4 +-
 arch/arm/mach-tegra/ap.c  |9 +-
 arch/arm/mach-tegra/clock.c   |3 +-
 arch/arm/mach-tegra/cpu.c |   55 +-
 arch/arm/mach-tegra/cpu.h |   10 +-
 arch/arm/mach-tegra/tegra210/Kconfig  |   18 +
 arch/arm/mach-tegra/tegra210/Makefile |   13 +
 arch/arm/mach-tegra/tegra210/clock.c  | 1086 +
 arch/arm/mach-tegra/tegra210/cpu.c|  328 +++
 arch/arm/mach-tegra/tegra210/funcmux.c|   71 ++
 arch/arm/mach-tegra/tegra210/xusb-padctl.c|  494 ++
 board/nvidia/p2571/Kconfig|   12 +
 board/nvidia/p2571/MAINTAINERS|6 +
 board/nvidia/p2571/Makefile   |9 +
 board/nvidia/p2571/max77620_init.c|   47 +
 board/nvidia/p2571/max77620_init.h|   14 +
 board/nvidia/p2571/p2571.c|   29 +
 board/nvidia/p2571/pinmux-config-p2571.h  |  235 +
 configs/p2571_defconfig   |5 +
 include/configs/p2571.h   |   72 ++
 include/configs/tegra210-common.h |   73 ++
 include/dt-bindings/clock/tegra210-car.h  |  342 +++
 include/fdtdec.h  |4 +
 lib/fdtdec.c  |3 +
 46 files changed, 4878 insertions(+), 37 deletions(-)
 create mode 100644 arch/arm/dts/tegra210-p2571.dts
 create mode 100644 arch/arm/dts/tegra210.dtsi
 create mode 100644 arch/arm/include/asm/arch-tegra210/ahb.h
 create mode 100644 arch/arm/include/asm/arch-tegra210/clock-tables.h
 create mode 100644 arch/arm/include/asm/arch-tegra210/clock.h
 create mode 100644 arch/arm/include/asm/arch-tegra210/flow.h
 create mode 100644 arch/arm/include/asm/arch-tegra210/funcmux.h
 create mode 100644 arch/arm/include/asm/arch-tegra210/gp_padctrl.h
 create mode 100644 arch/arm/include/asm/arch-tegra210/gpio.h
 create mode 100644 arch/arm/include/asm/arch-tegra210/hardware.h
 create mode 100644 arch/arm/include/asm/arch-tegra210/mc.h
 create mode 100644 arch/arm/include/asm/arch-tegra210/pmu.h
 create mode 100644 arch/arm/include/asm/arch-tegra210/powergate.h
 create mode 100644 arch/arm/include/asm/arch-tegra210/sysctr.h
 create mode 100644 arch/arm/include/asm/arch-tegra210/tegra.h
 create mode 100644 arch/arm/mach-tegra/tegra210/Kconfig
 create mode 100644 arch/arm/mach-tegra/tegra210/Makefile
 create mode 100644 arch/arm/mach-tegra/tegra210/clock.c
 create mode 100644 arch/arm/mach-tegra/tegra210/cpu.c
 create mode 100644 arch/arm/mach-tegra/tegra210/funcmux.c
 create mode 100644 arch/arm/mach-tegra/tegra210/xusb-padctl.c
 create mode 100644 board/nvidia/p2571/Kconfig
 create mode 100644 board/nvidia/p2571/MAINTAINERS
 create mode 100644 board/nvidia/p2571/Makefile
 create mode 100644 board/nvidia/p2571/max77620_init.c
 create mode 100644 board/nvidia/p2571/max77620_init.h
 create mode 100644 board/nvidia/p2571/p2571.c
 create mode 100644 board/nvidia/p2571/pinmux-config-p2571.h