This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1097817/am3358-usb1
部件号:AM3358您好,
SDK: TI-processor-SDK-Linux-AM335x-EVM-SDK- 07.03 .00.005
客户已在TMDSK3358上移植Ubuntu18,他可以通过usb0和网络登录系统,但不能使用USB1。 使用lsusb命令时没有USB设备显示,也没有根集线器。 他使用了SDK 默认的uboot和zImage。 如何调试?
以下是引导日志:
U-Boot SPL 2020.01-g2781231a33 (May 24 2021 - 11:08:13 +0000) Trying to boot from MMC1 U-Boot 2020.01-g2781231a33 (May 24 2021 - 11:08:13 +0000) CPU : AM335X-GP rev 2.1 Model: TI AM335x EVM-SK DRAM: 256 MiB WDT: Started with servicing (60s timeout) NAND: 0 MiB MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 Loading Environment from FAT... *** Warning - bad CRC, using default environment <ethaddr> not set. Validating first E-fuse MAC Net: eth0: ethernet@4a100000 Hit any key to stop autoboot: 2 1 0 switch to partitions #0, OK mmc0 is current device SD/MMC found on device 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... switch to partitions #0, OK mmc0 is current device SD/MMC found on device 0 4653568 bytes read in 305 ms (14.6 MiB/s) 64918 bytes read in 8 ms (7.7 MiB/s) ## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 Loading Device Tree to 8df22000, end 8df34d95 ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.4.106-g023faefa70 (root@dchen) (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #1 PREEMPT Thu Apr 28 17:00:27 CST 2022 [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: TI AM335x EVM-SK [ 0.000000] Memory policy: Data cache writeback [ 0.000000] efi: Getting EFI parameters from FDT: [ 0.000000] efi: UEFI not found. [ 0.000000] cma: Reserved 48 MiB at 0x8a800000 [ 0.000000] CPU: All CPU(s) started in SVC mode. [ 0.000000] AM335X ES2.1 (sgx neon) [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 64706 [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=987c8776-02 rw rootfstype=ext4 rootwait [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear) [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 194176K/261120K available (9216K kernel code, 295K rwdata, 3092K rodata, 1024K init, 254K bss, 17792K reserved, 49152K cma-reserved, 0K highmem) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] IRQ: Found an INTC at 0x(ptrval) (revision 5.0) with 128 interrupts [ 0.000000] random: get_random_bytes called from start_kernel+0x2b4/0x470 with crng_init=0 [ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz [ 0.000016] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns [ 0.000037] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000047] OMAP clocksource: timer1 at 24000000 Hz [ 0.000312] timer_probe: no matching timers found [ 0.000495] Console: colour dummy device 80x30 [ 0.000530] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0' [ 0.000535] This ensures that you still see kernel messages. Please [ 0.000539] update your kernel commandline. [ 0.000590] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736) [ 0.089111] pid_max: default: 32768 minimum: 301 [ 0.089323] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.089337] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.090231] CPU: Testing write buffer coherency: ok [ 0.090301] CPU0: Spectre v2: using BPIALL workaround [ 0.091160] Setting up static identity map for 0x80100000 - 0x80100060 [ 0.091302] rcu: Hierarchical SRCU implementation. [ 0.091384] EFI services will not be available. [ 0.091760] devtmpfs: initialized [ 0.102170] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 [ 0.102566] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.102590] futex hash table entries: 256 (order: -1, 3072 bytes, linear) [ 0.106391] pinctrl core: initialized pinctrl subsystem [ 0.107222] DMI not present or invalid. [ 0.107694] NET: Registered protocol family 16 [ 0.110031] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.133695] l3-aon-clkctrl:0000:0: failed to disable [ 0.135795] cpuidle: using governor ladder [ 0.135828] cpuidle: using governor menu [ 0.151623] No ATAGs? [ 0.151634] hw-breakpoint: debug architecture 0x4 unsupported. [ 0.167037] debugfs: Directory '49000000.edma' with parent 'dmaengine' already present! [ 0.167075] edma 49000000.edma: TI EDMA DMA engine driver [ 0.168806] v1_8d: supplied by vbat [ 0.169340] v3_3d: supplied by vbat [ 0.170324] iommu: Default domain type: Translated [ 0.172436] SCSI subsystem initialized [ 0.172912] mc: Linux media interface: v0.10 [ 0.172959] videodev: Linux video capture interface: v2.00 [ 0.173064] pps_core: LinuxPPS API ver. 1 registered [ 0.173071] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.173091] PTP clock support registered [ 0.173122] EDAC MC: Ver: 3.0.0 [ 0.174308] Advanced Linux Sound Architecture Driver Initialized. [ 0.175559] clocksource: Switched to clocksource timer1 [ 0.183167] thermal_sys: Registered thermal governor 'fair_share' [ 0.183177] thermal_sys: Registered thermal governor 'bang_bang' [ 0.183195] thermal_sys: Registered thermal governor 'step_wise' [ 0.183200] thermal_sys: Registered thermal governor 'user_space' [ 0.183206] thermal_sys: Registered thermal governor 'power_allocator' [ 0.183808] NET: Registered protocol family 2 [ 0.184595] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.184624] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 0.184648] TCP bind hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 0.184670] TCP: Hash tables configured (established 2048 bind 2048) [ 0.184780] UDP hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.184798] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.184945] NET: Registered protocol family 1 [ 0.185641] RPC: Registered named UNIX socket transport module. [ 0.185656] RPC: Registered udp transport module. [ 0.185661] RPC: Registered tcp transport module. [ 0.185666] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.185684] PCI: CLS 0 bytes, default 64 [ 0.186650] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available [ 0.187907] Initialise system trusted keyrings [ 0.188302] workingset: timestamp_bits=14 max_order=16 bucket_order=2 [ 0.192846] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.193680] NFS: Registering the id_resolver key type [ 0.193726] Key type id_resolver registered [ 0.193733] Key type id_legacy registered [ 0.193781] ntfs: driver 2.1.32 [Flags: R/O]. [ 0.194486] Key type asymmetric registered [ 0.194499] Asymmetric key parser 'x509' registered [ 0.194552] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244) [ 0.194562] io scheduler mq-deadline registered [ 0.194568] io scheduler kyber registered [ 0.198425] ti-sysc 44e07000.target-module: dts flag should be at module level for ti,no-reset-on-init [ 0.199708] OMAP GPIO hardware version 0.1 [ 0.225413] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400 [ 0.250979] pinctrl-single 44e10800.pinmux: 142 pins, size 568 [ 0.255346] pwm-backlight backlight: backlight supply power not found, using dummy regulator [ 0.301077] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled [ 0.305508] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 29, base_baud = 3000000) is a 8250 [ 0.941269] printk: console [ttyS0] enabled [ 0.948322] omap_rng 48310000.rng: Random Number Generator ver. 20 [ 0.955733] random: fast init done [ 0.959426] random: crng init done [ 0.964363] tilcdc-panel panel: found backlight [ 0.970212] OF: graph: no port node found in /ocp/interconnect@48000000/segment@300000/target-module@e000/lcdc@0 [ 0.980766] OF: graph: no port node found in /ocp/interconnect@48000000/segment@300000/target-module@e000/lcdc@0 [ 0.991462] OF: graph: no port node found in /ocp/interconnect@48000000/segment@300000/target-module@e000/lcdc@0 [ 1.001729] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 1.008384] [drm] No driver support for vblank timestamp query. [ 1.014963] [drm] Initialized tilcdc 1.0.0 20121205 for 4830e000.lcdc on minor 0 [ 1.066799] Console: switching to colour frame buffer device 100x30 [ 1.090038] tilcdc 4830e000.lcdc: fb0: tilcdcdrmfb frame buffer device [ 1.111600] brd: module loaded [ 1.122197] loop: module loaded [ 1.130681] libphy: Fixed MDIO Bus: probed [ 1.195581] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000 [ 1.203296] libphy: 4a101000.mdio: probed [ 1.210497] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver Atheros 8031 ethernet [ 1.219866] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver Atheros 8031 ethernet [ 1.229370] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4 [ 1.235899] cpsw 4a100000.ethernet: ALE Table size 1024 [ 1.241250] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies) [ 1.248539] cpsw 4a100000.ethernet: Detected MACID = c4:ed:ba:8d:4f:d7 [ 1.256001] cpsw 4a100000.ethernet: cpsw: Detected MACID = c4:ed:ba:8d:4f:d9 [ 1.264924] i2c /dev entries driver [ 1.271365] cpuidle: enable-method property 'ti,am3352' found operations [ 1.278862] sdhci: Secure Digital Host Controller Interface driver [ 1.285099] sdhci: Copyright(c) Pierre Ossman [ 1.290875] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22) [ 1.299668] omap_hsmmc 48060000.mmc: Got CD GPIO [ 1.317373] omap_hsmmc 47810000.mmc: RX DMA channel request failed [ 1.323896] sdhci-pltfm: SDHCI platform and OF driver helper [ 1.332103] ledtrig-cpu: registered to indicate activity on CPUs [ 1.342704] davinci-mcasp 4803c000.mcasp: IRQ common not found [ 1.350328] NET: Registered protocol family 10 [ 1.356386] Segment Routing with IPv6 [ 1.360150] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 1.366884] NET: Registered protocol family 17 [ 1.371788] Key type dns_resolver registered [ 1.376340] omap_voltage_late_init: Voltage driver support not added [ 1.383376] Loading compiled-in X.509 certificates [ 1.425787] tps65910 0-002d: No interrupt support, no core IRQ [ 1.436357] vrtc: supplied by vbat [ 1.441225] vio: supplied by vbat [ 1.446361] vdd_mpu: supplied by vbat [ 1.451734] vdd_core: supplied by vbat [ 1.458006] vdig1: supplied by vbat [ 1.462797] vdig2: supplied by vbat [ 1.467609] vpll: supplied by vbat [ 1.472313] vdac: supplied by vbat [ 1.477043] vaux1: supplied by vbat [ 1.481807] vaux2: supplied by vbat [ 1.486581] vaux33: supplied by vbat [ 1.491489] vmmc: supplied by vbat [ 1.496106] vbb: supplied by vbat [ 1.500533] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz [ 1.510900] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22) [ 1.519836] omap_hsmmc 48060000.mmc: Got CD GPIO [ 1.586466] mmc0: host does not support reading read-only switch, assuming write-enable [ 1.596781] mmc0: new high speed SDHC card at address 59b4 [ 1.603278] mmcblk0: mmc0:59b4 SDU1 29.4 GiB [ 1.610230] mmcblk0: p1 p2 [ 1.664674] input: gpio_buttons0 as /devices/platform/gpio_buttons0/input/input0 [ 1.673821] hctosys: unable to open rtc device (rtc0) [ 1.680211] ALSA device list: [ 1.683282] No soundcards found. [ 1.831424] EXT4-fs (mmcblk0p2): recovery complete [ 1.838051] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [ 1.846358] VFS: Mounted root (ext4 filesystem) on device 179:2. [ 1.860499] devtmpfs: mounted [ 1.865406] Freeing unused kernel memory: 1024K [ 1.870681] Run /sbin/init as init process [ 2.351295] systemd[1]: System time before build time, advancing clock. [ 2.416305] systemd[1]: systemd 237 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid) [ 2.438692] systemd[1]: Detected architecture arm. Welcome to [1mUbuntu 18.04.6 LTS[0m! [ 2.487065] systemd[1]: Set hostname to <am335x>. [ 2.861410] systemd[1]: File /lib/systemd/system/systemd-journald.service:36 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling. [ 2.878825] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.) [ 3.109911] systemd[1]: Reached target Remote File Systems. [[0;32m OK [0m] Reached target Remote File Systems. [ 3.149370] systemd[1]: Created slice System Slice. [[0;32m OK [0m] Created slice System Slice. [ 3.187861] systemd[1]: Listening on Syslog Socket. [[0;32m OK [0m] Listening on Syslog Socket. [ 3.216955] systemd[1]: Listening on udev Control Socket. [[0;32m OK [0m] Listening on udev Control Socket. [ 3.247993] systemd[1]: Listening on udev Kernel Socket. [[0;32m OK [0m] Listening on udev Kernel Socket. [[0;32m OK [0m] Created slice system-serial\x2dgetty.slice. [[0;32m OK [0m] Started Forward Password Requests to Wall Directory Watch. [[0;32m OK [0m] Listening on Journal Socket (/dev/log). [[0;32m OK [0m] Reached target Swap. [[0;32m OK [0m] Started Dispatch Password Requests to Console Directory Watch. [[0;32m OK [0m] Reached target Local Encrypted Volumes. [[0;32m OK [0m] Reached target Paths. [[0;32m OK [0m] Created slice User and Session Slice. [[0;32m OK [0m] Reached target Slices. [[0;32m OK [0m] Listening on /dev/initctl Compatibility Named Pipe. [[0;32m OK [0m] Listening on Journal Socket. Starting Journal Service... Starting Set the console keyboard layout... Mounting Kernel Debug File System... Starting Load Kernel Modules... Starting Create Static Device Nodes in /dev... Starting Remount Root and Kernel File Systems... Starting udev Coldplug all Devices... Mounting POSIX Message Queue File System... [[0;32m OK [0m] Mounted Kernel Debug File System. [[0;32m OK [0m] Started Load Kernel Modules. [[0;32m OK [0m] Started Remount Root and Kernel File Systems. [[0;32m OK [0m] Started Create Static Device Nodes in /dev. [[0;32m OK [0m] Mounted POSIX Message Queue File System. Starting Load/Save Random Seed... Starting udev Kernel Device Manager... Mounting Kernel Configuration File System... Starting Apply Kernel Variables... [[0;32m OK [0m] Started Load/Save Random Seed. [[0;32m OK [0m] Mounted Kernel Configuration File System. [[0;32m OK [0m] Started Apply Kernel Variables. [[0;32m OK [0m] Started udev Kernel Device Manager. [[0;32m OK [0m] Started Journal Service. Starting Flush Journal to Persistent Storage... [[0;32m OK [0m] Started Set the console keyboard layout. [[0;32m OK [0m] Reached target Local File Systems (Pre). [[0;32m OK [0m] Reached target Local File Systems. Starting Set console font and keymap... Starting Raise network interfaces... [[0;32m OK [0m] Started Set console font and keymap. [[0;32m OK [0m] Started Flush Journal to Persistent Storage. Starting Create Volatile Files and Directories... [[0;32m OK [0m] Created slice system-systemd\x2dbacklight.slice. Starting Load/Save Screen Backlight鈥ghtness of backlight:backlight... [[0;32m OK [0m] Started udev Coldplug all Devices. [[0;32m OK [0m] Found device /dev/ttyS0. [[0;32m OK [0m] Started Load/Save Screen Backlight Brightness of backlight:backlight. [[0;32m OK [0m] Started Create Volatile Files and Directories. Starting Update UTMP about System Boot/Shutdown... Starting Network Time Synchronization... Starting Network Name Resolution... [[0;32m OK [0m] Started Update UTMP about System Boot/Shutdown. [[0;32m OK [0m] Started Network Time Synchronization. [[0;32m OK [0m] Started Network Name Resolution. [[0;32m OK [0m] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. [[0;32m OK [0m] Started ifup for eth1. [[0;32m OK [0m] Started ifup for eth0. [[0;32m OK [0m] Reached target Host and Network Name Lookups. [[0;32m OK [0m] Reached target System Initialization. [[0;32m OK [0m] Listening on D-Bus System Message Bus Socket. [[0;32m OK [0m] Reached target Sockets. [[0;32m OK [0m] Reached target Basic System. Starting Login Service... [[0;32m OK [0m] Started Regular background program processing daemon. Starting Dispatcher daemon for systemd-networkd... Starting System Logging Service... [[0;32m OK [0m] Started Set the CPU Frequency Scaling governor. [[0;32m OK [0m] Started Daily Cleanup of Temporary Directories. [[0;32m OK [0m] Started D-Bus System Message Bus. [[0;32m OK [0m] Started Login Service. [[0;32m OK [0m] Reached target System Time Synchronized. [[0;32m OK [0m] Started Discard unused blocks once a week. [[0;32m OK [0m] Started Message of the Day. [[0;32m OK [0m] Started Daily apt download activities. [[0;32m OK [0m] Started Daily apt upgrade and clean activities. [[0;32m OK [0m] Reached target Timers. [[0;32m OK [0m] Started System Logging Service. [[0;1;31mFAILED[0m] Failed to start Raise network interfaces. See 'systemctl status networking.service' for details. [ 12.946421] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000020): FIFO underflow [ 12.954645] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000104): Sync lost [[0;32m OK [0m] Started Dispatcher daemon for systemd-networkd. [[0;32m OK [0m] Reached target Network. Starting Permit User Sessions... Starting OpenBSD Secure Shell server... [[0;32m OK [0m] Started Permit User Sessions. [[0;32m OK [0m] Started Serial Getty on ttyS0. Starting Set console scheme... [[0;32m OK [0m] Started Set console scheme. [[0;32m OK [0m] Created slice system-getty.slice. [[0;32m OK [0m] Started Getty on tty1. [[0;32m OK [0m] Reached target Login Prompts. [[0;32m OK [0m] Started OpenBSD Secure Shell server. [[0;32m OK [0m] Reached target Multi-User System. [[0;32m OK [0m] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [[0;32m OK [0m] Started Update UTMP about System Runlevel Changes. Ubuntu 18.04.6 LTS am335x ttyS0
您好,Nacy,
所有USB驱动程序都在处理器SDK中作为模块(*.ko)构建。 客户是否已将预构建内核模块安装到AM335xs上的Ubuntu rootfs?
Gong Ping 说:客户3358客户是否4066.966万是否已4066.966万已将预建内核模块安装到AM3335x上的Ubuntu rootfs?
您好,
请您详细解释一下吗? 或者是否有相关的用户指南?