Tegra2 USB issue

Lucas Stach l.stach at pengutronix.de
Thu Jul 24 09:08:33 PDT 2014


Am Donnerstag, den 24.07.2014, 20:05 +0400 schrieb Antony Pavlov:
> Hi!
> 
> I have just tested this commit
> 
> commit d8bdd537220dd83912949f19ba67029bd1f11c58
> Author: Lucas Stach <dev at lynxeye.de>
> Date:   Fri Apr 12 12:28:14 2013 +0200
> 
>     tegra: switch to proper CPU type
>     
>     Tegras main CPUs are all ARMv7.
>     
>     Signed-off-by: Lucas Stach <dev at lynxeye.de>
>     Tested-by: Antony Pavlov <antonynpavlov at gmail.com>
>     Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
> 
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index bb9b47b..dfb7e24 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -137,7 +137,7 @@ config ARCH_VEXPRESS
>  
>  config ARCH_TEGRA
>         bool "Nvidia Tegra-based boards"
> -       select CPU_ARM926T
> +       select CPU_V7
>         select HAS_DEBUG_LL
>  
>  config ARCH_ZYNQ
> 
> This commit breaks 'usb' command --- it does not scan devices anymore, just hangs.
> 
> I have used codesourcery arm-2013.11 toolchain.
> 
I haven't tested USB myself, as I'm not using second stage barebox after
u-boot and there's still things missing for USB to work on first stage.
Currently only SDMMMC is fully supported.

Are you testing exactly this commit? If so you might need to apply
431d8a247dfa63f817cda137a81dbb2244d413dc "arm: properly init alignment
trap bit", as USB might trigger an unaligned access.

> I'll try to check latest barebox from next, but just now I have no means to burn
> barebox-tegra20-toshiba-ac100.img into AC100's ROM.
> 
You'll notice that a newer barebox won't build images for AC100 that are
suitable to burn into a boot media, because there are no BCTs publicly
available for this device. The resulting AC100 image is only useful for
starting with TegraRCM.

Regards,
Lucas
-- 
Pengutronix e.K.             | Lucas Stach                 |
Industrial Linux Solutions   | http://www.pengutronix.de/  |




More information about the barebox mailing list