[U-Boot] U-Boot and USB 3.0

DJM-Avalesta david.myers at avalesta.com
Wed Jan 30 18:29:23 UTC 2019


Hi Bin 

Further to previous, I have built the latest u-boot source from
git.denx.de but, when I flash this version, it fails to boot the kernel.
Here are the debug traces. 

The working u-Boot:- 

U-Boot 2019.01-dirty (Jan 29 2019 - 08:17:16 -0800)

TEGRA186
Model: NVIDIA P2771-0000-500
DRAM:  7.8 GiB
MC:   Tegra SD/MMC: 0, Tegra SD/MMC: 1
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   eth0: ethernet at 2490000
Hit any key to stop autoboot:  0
Tegra186 (P2771-0000-500) # boot
MMC: no card present
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
Found /boot/extlinux/extlinux.conf
Retrieving file: /boot/extlinux/extlinux.conf
213 bytes read in 90 ms (2 KiB/s)
p2771-0000 eMMC boot options
1:      primary kernel
Enter choice: 1:        primary kernel
Retrieving file: /boot/Image
20727600 bytes read in 546 ms (36.2 MiB/s)
append: root=/dev/mmcblk0p1 rw rootwait console=ttyS0,115200n8
console=tty0 OS=l4t fbcon=map:0 net.ifnames=0 memtype=0 video=tegrafb
no_console_suspend=1 earlycon=uart8250,mmio32,0x03100000
nvdumper_reserved=0x2772e0000 gpt tegra_fbmem2=0x140000 at 0x969ee000
lut_mem2=0x2008 at 0x969eb000 tegraid=18.1.2.0.0 tegra_keep_boot_clocks
maxcpus=6 boot.slot_suffix= boot.ratchetvalues=0.2.1
androidboot.serialno=0422518026482 bl_prof_dataptr=0x10000 at 0x277040000
sdhci_tegra.en_boot_part_access=1 root=/dev/mmcblk0p1 rw rootwait
rootfstype=ext4
## Flattened Device Tree blob at 92000000
   Booting using the fdt blob at 0x92000000
   reserving fdt memory region: addr=80000000 size=10000
   Using Device Tree in place at 0000000092000000, end 0000000092049273

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x100
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.38-tegra (buildbrain at mobile-u64-773)
(gcc version 4.8.5 (GCC) ) #1 SMP PREEMPT Thu May 17 00:15:19 PDT 2018

and the non-working u-boot:- 

U-Boot 2019.01 (Jan 30 2019 - 17:38:42 +0000)

TEGRA186
Model: NVIDIA P2771-0000-500
DRAM:  7.8 GiB
MMC:   sdhci at 3400000: 1, sdhci at 3460000: 0
Loading Environment from MMC... *** Warning - bad CRC, using default
environment

In:    serial
Out:   serial
Err:   serial
Net:   eth0: ethernet at 2490000
Hit any key to stop autoboot:  0
MMC: no card present
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
Found /boot/extlinux/extlinux.conf
Retrieving file: /boot/extlinux/extlinux.conf
213 bytes read in 2 ms (103.5 KiB/s)
p2771-0000 eMMC boot options
1:      primary kernel
Enter choice: 1:        primary kernel
Retrieving file: /boot/Image
20727600 bytes read in 509 ms (38.8 MiB/s)
append:  root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4
## Flattened Device Tree blob at 92000000
   Booting using the fdt blob at 0x92000000
   Using Device Tree in place at 0000000092000000, end 0000000092049273

Starting kernel ... 

Any ideas? 

- David 

On 2019-01-29 13:46, DJM-Avalesta wrote:

> Hi Bin. 
> 
> I am trying to build and load u-boot at the moment (just the same version as I already have) but I keep breaking the system. When I can build and overwrite u-boot, I will try a more recent version of the u-boot source, but I worry that there may be NVidia-Jetson-specific code in the current version of u-boot.
> 
> Many thanks 
> David 
> 
> On 2019-01-29 02:49, Bin Meng wrote: 
> Hi,
> 
> On Tue, Jan 29, 2019 at 1:32 AM DJM-Avalesta <david.myers at avalesta.com> wrote: 
> Dear Bin Meng,
> 
> I have a version of U-Boot, on my Jetson TX2 hardware, which does not support USB 3.0.
> 
> U-Boot 2016.07-g9c3b9a4
> 
> (May 17 2018 - 00:08:48 -0700)
> 
> Can you please use latest U-Boot instead? That will be much easier.
> 
> Is it possible to apply one or more of your patches to this version to implement support for USB 3.0?
> 
> Technically it's doable.
> 
> Many thanks for your help.
> 
> Regards,
> Bin


More information about the U-Boot mailing list