Part Number: TMDSICE3359
Other Parts Discussed in Thread: AM3359
Tool/software: Linux
The USB Gadget Driver is not working on my TMDSICE3359. I created the SD Card with the default Linux-RT image and then tried different kernel configurations suggested on this thread without any success.
Please find attached the output during boot up.
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.67-rt40-gcfb76a2032 (oe-user@oe-host) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #1 PREEMPT RT Sat Oct 6 02:35:29 UTC 2018
[ 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 AM3359 ICE-V2 - dual PRUETH
[ 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: 64960
[ 0.000000] Kernel command line: console=ttyO3,115200n8 root=PARTUUID=0a216afc-02 rw rootfstype=ext4 rootwait
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Memory: 197212K/262144K available (8192K kernel code, 333K rwdata, 2508K rodata, 1024K init, 320K bss, 15780K reserved, 49152K cma-reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xd0800000 - 0xff800000 ( 752 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0900000 (9184 kB)
[ 0.000000] .init : 0xc0c00000 - 0xc0d00000 (1024 kB)
[ 0.000000] .data : 0xc0d00000 - 0xc0d534c0 ( 334 kB)
[ 0.000000] .bss : 0xc0d534c0 - 0xc0da3754 ( 321 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] RCU priority boosting: priority 1 delay 500 ms.
[ 0.000000] No expedited grace period (rcu_normal_after_boot).
[ 0.000000] Tasks RCU enabled.
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[ 0.000019] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000035] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000043] OMAP clocksource: timer1 at 24000000 Hz
[ 0.000273] timer_probe: no matching timers found
[ 0.000523] Console: colour dummy device 80x30
[ 0.000709] WARNING: Your 'console=ttyO3' has been replaced by 'ttyS3'
[ 0.000712] This ensures that you still see kernel messages. Please
[ 0.000714] update your kernel commandline.
[ 0.000747] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
[ 0.058774] pid_max: default: 32768 minimum: 301
[ 0.059039] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.059051] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.060125] CPU: Testing write buffer coherency: ok
[ 0.061083] Setting up static identity map for 0x80100000 - 0x80100060
[ 0.061430] Hierarchical SRCU implementation.
[ 0.062350] EFI services will not be available.
[ 0.064189] devtmpfs: initialized
[ 0.077452] random: get_random_u32 called from bucket_table_alloc+0x124/0x27c with crng_init=0
[ 0.078059] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 0.078479] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.078510] futex hash table entries: 256 (order: 1, 8192 bytes)
[ 0.082981] pinctrl core: initialized pinctrl subsystem
[ 0.083927] DMI not present or invalid.
[ 0.084537] NET: Registered protocol family 16
[ 0.088102] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.106353] omap_hwmod: debugss: _wait_target_disable failed
[ 0.167609] OMAP GPIO hardware version 0.1
[ 0.171607] GPIO line 100 (PR1_MII_CTRL) hogged as output/high
[ 0.171641] GPIO line 106 (MUX_MII_CTL1) hogged as output/low
[ 0.181467] No ATAGs?
[ 0.181489] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.202274] edma 49000000.edma: TI EDMA DMA engine driver
[ 0.207102] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/i2c0_pins_default, deferring probe
[ 0.207269] media: Linux media interface: v0.10
[ 0.207336] Linux video capture interface: v2.00
[ 0.207496] pps_core: LinuxPPS API ver. 1 registered
[ 0.207510] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.207542] PTP clock support registered
[ 0.207593] EDAC MC: Ver: 3.0.0
[ 0.208259] dmi: Firmware registration failed.
[ 0.208800] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[ 0.209532] Advanced Linux Sound Architecture Driver Initialized.
[ 0.211171] clocksource: Switched to clocksource timer1
[ 0.223957] NET: Registered protocol family 2
[ 0.225059] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.225121] TCP bind hash table entries: 2048 (order: 3, 49152 bytes)
[ 0.225257] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.225393] UDP hash table entries: 256 (order: 2, 16384 bytes)
[ 0.225447] UDP-Lite hash table entries: 256 (order: 2, 16384 bytes)
[ 0.225711] NET: Registered protocol family 1
[ 0.226371] RPC: Registered named UNIX socket transport module.
[ 0.226391] RPC: Registered udp transport module.
[ 0.226400] RPC: Registered tcp transport module.
[ 0.226409] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.227522] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[ 0.227681] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[ 0.229689] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[ 0.237094] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.238346] NFS: Registering the id_resolver key type
[ 0.238412] Key type id_resolver registered
[ 0.238425] Key type id_legacy registered
[ 0.238493] ntfs: driver 2.1.32 [Flags: R/O].
[ 0.241726] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[ 0.241750] io scheduler noop registered
[ 0.241762] io scheduler deadline registered
[ 0.241967] io scheduler cfq registered (default)
[ 0.241981] io scheduler mq-deadline registered
[ 0.241992] io scheduler kyber registered
[ 0.243753] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[ 0.323276] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
[ 0.327425] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 30, base_baud = 3000000) is a 8250
[ 0.959479] console [ttyS3] enabled
[ 0.965493] omap_rng 48310000.rng: Random Number Generator ver. 20
[ 0.989270] brd: module loaded
[ 1.002881] loop: module loaded
[ 1.009750] m25p80 spi0.0: found s25fl064k, expected w25q64
[ 1.015511] m25p80 spi0.0: s25fl064k (8192 Kbytes)
[ 1.020378] 4 ofpart partitions found on MTD device spi0.0
[ 1.025893] Creating 4 MTD partitions on "spi0.0":
[ 1.030736] 0x000000000000-0x000000080000 : "u-boot-spl"
[ 1.037514] 0x000000080000-0x000000180000 : "u-boot"
[ 1.043775] 0x000000180000-0x0000001a0000 : "u-boot-env"
[ 1.050320] 0x0000001a0000-0x000000800000 : "misc"
[ 1.057629] libphy: Fixed MDIO Bus: probed
[ 1.064686] i2c /dev entries driver
[ 1.068701] IR NEC protocol handler initialized
[ 1.073372] IR RC5(x/sz) protocol handler initialized
[ 1.078451] IR RC6 protocol handler initialized
[ 1.083004] IR JVC protocol handler initialized
[ 1.087555] IR Sony protocol handler initialized
[ 1.092194] IR SANYO protocol handler initialized
[ 1.096920] IR Sharp protocol handler initialized
[ 1.101646] IR MCE Keyboard/mouse protocol handler initialized
[ 1.107506] IR XMP protocol handler initialized
[ 1.113302] sdhci: Secure Digital Host Controller Interface driver
[ 1.119514] sdhci: Copyright(c) Pierre Ossman
[ 1.125762] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.138250] NET: Registered protocol family 10
[ 1.144587] Segment Routing with IPv6
[ 1.148379] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 1.155380] NET: Registered protocol family 17
[ 1.160174] Key type dns_resolver registered
[ 1.164851] omap_voltage_late_init: Voltage driver support not added
[ 1.211470] tps65910 0-002d: No interrupt support, no core IRQ
[ 1.219891] vrtc: supplied by vbat
[ 1.227254] vio: supplied by vbat
[ 1.232251] vdd1: supplied by vbat
[ 1.237646] vdd2: supplied by vbat
[ 1.244575] vdig1: supplied by vbat
[ 1.249606] vdig2: supplied by vbat
[ 1.254649] vpll: supplied by vbat
[ 1.259573] vdac: supplied by vbat
[ 1.264535] vaux1: supplied by vbat
[ 1.269574] vaux2: supplied by vbat
[ 1.274611] vaux33: supplied by vbat
[ 1.279708] vmmc: supplied by vbat
[ 1.284673] vbb: supplied by vbat
[ 1.290096] pca953x 0-0041: 0-0041 supply vcc not found, using dummy regulator
[ 1.325726] Console: switching to mono frame buffer device 12x2
[ 1.358691] ssd1307fb 0-003c: fb0: Solomon SSD1307 framebuffer device registered, using 192 bytes of video memory
[ 1.369118] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[ 1.431987] hctosys: unable to open rtc device (rtc0)
[ 1.437999] ALSA device list:
[ 1.443969] No soundcards found.
[ 1.451923] Waiting for root device PARTUUID=0a216afc-02...
[ 1.488574] mmc0: host does not support reading read-only switch, assuming write-enable
[ 1.498609] mmc0: new high speed SDHC card at address 0007
[ 1.504820] mmcblk0: mmc0:0007 SL16G 14.5 GiB
[ 1.511631] mmcblk0: p1 p2
[ 1.586562] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 1.594816] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 1.611079] devtmpfs: mounted
[ 1.616194] Freeing unused kernel memory: 1024K
[ 2.063806] systemd[1]: System time before build time, advancing clock.
[ 2.138230] systemd[1]: systemd 234 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN default-hierarchy=hybrid)
[ 2.160136] systemd[1]: Detected architecture arm.
Welcome to Arago 2018.08!
[ 2.211129] systemd[1]: Set hostname to <am335x-evm>.
[ 2.716505] systemd[1]: /lib/systemd/system/gadget-init.service:15: Unknown lvalue 'ExecStopPre' in section 'Service'
[ 3.089830] random: systemd: uninitialized urandom read (16 bytes read)
[ 3.097024] systemd[1]: Listening on udev Kernel Socket.
[ OK ] Listening on udev Kernel Socket.
[ 3.131687] random: systemd: uninitialized urandom read (16 bytes read)
[ 3.138918] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ OK ] Started Dispatch Password Requests to Console Directory Watch.
[ 3.246114] random: systemd: uninitialized urandom read (16 bytes read)
[ 3.253148] systemd[1]: Reached target Remote File Systems.
[ OK ] Reached target Remote File Systems.
[ 3.282150] systemd[1]: Listening on Journal Socket (/dev/log).
[ OK ] Listening on Journal Socket (/dev/log).
[ 3.315543] systemd[1]: Created slice User and Session Slice.
[ OK ] Created slice User and Session Slice.
[ 3.352476] systemd[1]: Listening on Network Service Netlink Socket.
[ OK ] Listening on Network Service Netlink Socket.
[ OK ] Created slice System Slice.
[ OK ] Reached target Slices.
Mounting POSIX Message Queue File System...
[ OK ] Created slice system-serial\x2dgetty.slice.
[ OK ] Listening on Process Core Dump Socket.
[ OK ] Listening on Journal Socket.
Starting Remount Root and Kernel File Systems...
[ OK ] Listening on Syslog Socket.
Starting Journal Service...
[ 3.695492] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ OK ] Reached target Swap.
Mounting Temporary Directory (/tmp)...
[ OK ] Listening on udev Control Socket.
Mounting Kernel Debug File System...
Starting Load Kernel Modules...
[ OK ] Created slice system-getty.slice.
[ 3.987886] cryptodev: loading out-of-tree module taints kernel.
[ OK ] Listening on /dev/initctl Compatibility Named[ 4.004859] cryptodev: driver 1.9 loaded.
Pipe.
[ OK ] Started Forward Password Requests to Wall Directory Watch.
[ 4.055083] usbcore: registered new interface driver usbfs
[ 4.060712] usbcore: registered new interface driver hub
[ 4.067462] usbcore: registered new device driver usb
[ OK ] Reached target Paths.
[ 4.084162] usbcore: registered new interface driver usbserial
[ 4.121634] usbcore: registered new interface driver ftdi_sio
[ 4.127551] usbserial: USB Serial support registered for FTDI USB Serial Device
[ OK ] Mounted Kernel Debug File System.
[ OK ] Mounted POSIX Message Queue File System.
[ OK ] Mounted Temporary Directory (/tmp).
[ OK ] Started Journal Service.
[ OK ] Started Remount Root and Kernel File Systems.
[ OK ] Started Load Kernel Modules.
Starting Apply Kernel Variables...
Mounting Kernel Configuration File System...
Starting Create System Users...
Starting Rebuild Hardware Database...
Starting Flush Journal to Persistent Storage...
[ OK ] Mounted Kernel Configuration File System.
[ OK ] Started Apply Kernel Variables.
[ OK ] Started Create System Users.
[ 4.762692] systemd-journald[77]: Received request to flush runtime journal from PID 1
Starting Create Static Device Nodes in /dev...
[ OK ] Started Flush Journal to Persistent Storage.
[ OK ] Started Create Static Device Nodes in /dev.
[ OK ] Reached target Local File Systems (Pre).
Mounting /var/volatile...
Mounting /media/ram...
Starting udev Kernel Device Manager...
[ OK ] Mounted /var/volatile.
[ OK ] Mounted /media/ram.
Starting Load/Save Random Seed...
[ OK ] Reached target Local File Systems.
Starting Create Volatile Files and Directories...
Starting Rebuild Journal Catalog...
Starting Rebuild Dynamic Linker Cache...
[ OK ] Started Load/Save Random Seed.
[ OK ] Started Create Volatile Files and Directories.
Starting Update UTMP about System Boot/Shutdown...
Starting Network Time Synchronization...
[ OK ] Started udev Kernel Device Manager.
[ OK ] Started Rebuild Journal Catalog.
[ OK ] Started Update UTMP about System Boot/Shutdown.
[ OK ] Started Network Time Synchronization.
[ OK ] Reached target System Time Synchronized.
[ OK ] Started Rebuild Dynamic Linker Cache.
[ OK ] Started Rebuild Hardware Database.
Starting Update is Completed...
Starting udev Coldplug all Devices...
[ OK ] Started Update is Completed.
[ 22.192625] input: gpio-decoder as /devices/platform/gpio-decoder/input/input0
[ 22.463784] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 22.546605] omap_rtc 44e3e000.rtc: already running
[ 22.658266] omap_rtc 44e3e000.rtc: registered as rtc0
[ OK ] Started udev Coldplug all Devices.
[ OK ] Reached target System Initialization.
[ OK ] Listening on dropbear.socket.
[ OK ] Started Daily Cleanup of Temporary Directories.
Starting Network Service...
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Listening on RPCbind Server Activation Socket.
[ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
Starting Print notice about GPLv3 packages...
[ OK ] Started Periodic Command Scheduler.
[ OK ] Started D-Bus System Message Bus.
[ 24.681800] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[ 24.744783] pruss 4a300000.pruss: creating PRU cores and other child platform devices
[ 24.769564] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[ 24.799766] PM: Cannot get wkup_m3_ipc handle
[ 24.833458] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[ 24.840051] omap-aes 53500000.aes: will run requests pump with realtime priority
[ 24.861726] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[ 24.862395] PM: Cannot get wkup_m3_ipc handle
[ 24.939699] remoteproc remoteproc0: wkup_m3 is available
[ 24.961874] PM: Cannot get wkup_m3_ipc handle
[ 24.962422] remoteproc remoteproc0: powering up wkup_m3
[ 25.001715] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 224628
[ 25.002004] remoteproc remoteproc0: remote processor wkup_m3 is now up
[ 25.002056] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
[ OK ] Started Kernel Logging Service.
[ 25.976909] PM: bootloader does not support rtc-only!
[ OK ] Started Hardware RNG Entropy Gatherer Daemon.
[ 26.044553] davinci_mdio 4a332400.mdio: davinci mdio revision 1.6, bus freq 1000000
Starting Login Service...
[ 26.222449] libphy: 4a332400.mdio: probed
Starting Avahi mDNS/DNS-SD Stack...
Starting RPC Bind Service...
[ 26.624446] davinci_mdio 4a332400.mdio: phy[1]: device 4a332400.mdio:01, driver TI TLK10X 10/100 Mbps PHY
Starting uim-sysfs.service...
[ OK ] Reached target Containers.
[ 26.751359] davinci_mdio 4a332400.mdio: phy[3]: device 4a332400.mdio:03, driver TI TLK10X 10/100 Mbps PHY
[ OK ] Started Job spooling tools.
[ 26.977605] remoteproc remoteproc1: 4a334000.pru is available
[ 27.118301] pru-rproc 4a334000.pru: PRU rproc node /ocp/pruss_soc_bus@4a326004/pruss@0/pru@34000 probed successfully
[ OK ] Started System Logging Service.
[ OK ] Started Daily rotation of log files.
[ OK ] Reached target Timers.
[ 27.389907] remoteproc remoteproc2: 4a338000.pru is available
[ 27.441105] pru-rproc 4a338000.pru: PRU rproc node /ocp/pruss_soc_bus@4a326004/pruss@0/pru@38000 probed successfully
[ OK ] Started Network Service.
[ 27.798866] prueth pruss_eth: pruss_fw_drop_untagged_vlan 0
[ 27.814696] prueth pruss_eth: pruss MC Mask 0:0:0:0:0:0
[ OK ] Started RPC Bind Service.
[ 28.147647] prueth pruss_eth: TI PRU ethernet (type 0) driver initialized
[ OK ] Found device /dev/ttyS3.
[ OK ] Found device /dev/ttyS0.
[ OK ] Found device /dev/mmcblk0p1.
[ OK ] Started Avahi mDNS/DNS-SD Stack.
[ OK ] Started Login Service.
Starting Start USB gadget...
[ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[ OK ] Created slice system-systemd\x2dbacklight.slice.
Starting Load/Save Screen Backlight…ghtness of backlight:ssd1307fb0...
Starting Wait for Network to be Configured...
[ OK ] Reached target Network.
Starting Lightning Fast Webserver With Light System Requirements...
Starting Simple Network Management Protocol (SNMP) Daemon....
Starting Enable and configure wl18xx bluetooth stack...
[ OK ] Started Redis In-Memory Data Store.
Starting Permit User Sessions...
Starting Network Name Resolution...
[ OK ] Started Load/Save Screen Backlight Brightness of backlight:ssd1307fb0.
[ 34.893932] udc-core: couldn't find an available UDC - added [g_multi] to list of pending drivers
[ OK ] Started Permit User Sessions.
[ OK ] Started Enable and configure wl18xx bluetooth stack.
[ OK ] Started uim-sysfs.service.
[ OK ] Started Lightning Fast Webserver With Light System Requirements.
[ 36.905408] remoteproc remoteproc2: powering up 4a338000.pru
[ 36.971171] remoteproc remoteproc2: Booting fw image ti-pruss/am335x-pru1-prueth-fw.elf, size 5508
[ 36.980946] pruss 4a300000.pruss: configured system_events[63-0] = 0x00600000.00a00000
[ OK ] Started Network Name Resolution.
[ 37.067876] pruss 4a300000.pruss: configured intr_channels = 0x0000012a host_intr = 0x0000022a
[ 37.096263] remoteproc remoteproc2: remote processor 4a338000.pru is now up
[ 37.124699] net eth1: started
[ 37.132811] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 37.234224] remoteproc remoteproc1: powering up 4a334000.pru
[ 37.903628] remoteproc remoteproc1: Booting fw image ti-pruss/am335x-pru0-prueth-fw.elf, size 5432
[ 37.917230] pruss 4a300000.pruss: configured system_events[63-0] = 0x00000600.00500000
[ 37.995664] pruss 4a300000.pruss: configured intr_channels = 0x00000095 host_intr = 0x00000115
[ 38.020711] remoteproc remoteproc1: remote processor 4a334000.pru is now up
[ 38.090915] net eth0: started
[ 38.122624] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[FAILED] Failed to start Start USB gadget.
See 'systemctl status gadget-init.service' for details.
[ OK ] Started Simple Network Management Protocol (SNMP) Daemon..
[ 39.123000] prueth pruss_eth eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[ 39.130730] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ OK ] Reached target Host and Network Name Lookups.
[ OK ] Started NFS status monitor for NFSv2/3 locking..
Starting rc.pvr.service...
[ OK ] Started Serial Getty on ttyS0.
[ OK ] Started Getty on tty1.
[ OK ] Started Serial Getty on ttyS3.
[ OK ] Started rc.pvr.service.
systemctl status gadget-init.service details are:
Loaded: loaded (/lib/systemd/system/gadget-init.service; enabled; vendor preset: enabled) Active: [[0;1;31mfailed[[0m (Result: exit-code) since Sat 2018-10-06 01:46:19 UTC; 4min 39s ago Process: 464 ExecStart=/usr/bin/gadget-init.sh [[0;1;31m(code=exited, status=1/FAILURE)[[0m Main PID: 464 (code=exited, status=1/FAILURE) Oct 06 01:46:16 am335x-evm systemd[1]: Starting Start USB gadget... Oct 06 01:46:16 am335x-evm gadget-init.sh[464]: SERIAL_NUMBER = 1234BBBK5678 Oct 06 01:46:16 am335x-evm gadget-init.sh[464]: PRODUCT = am335x_evm Oct 06 01:46:17 am335x-evm gadget-init.sh[464]: host_addr = 00:00:00:00:00:00 Oct 06 01:46:19 am335x-evm gadget-init.sh[464]: ifconfig: SIOCGIFFLAGS: No such device Oct 06 01:46:19 am335x-evm gadget-init.sh[464]: ifconfig: SIOCSIFADDR: No such device Oct 06 01:46:19 am335x-evm systemd[1]: [[0;1;39mgadget-init.service: Main process exited, code=exited, status=1/FAILURE[[0m Oct 06 01:46:19 am335x-evm systemd[1]: [[0;1;31mFailed to start Start USB gadget.[[0m Oct 06 01:46:19 am335x-evm systemd[1]: [[0;1;39mgadget-init.service: Unit entered failed state.[[0m Oct 06 01:46:19 am335x-evm systemd[1]: [[0;1;39mgadget-init.service: Failed with result 'exit-code'.[[0m
It fails because ifconfig does not find any usb0 device. But why?
g_multi driver fails as well during boot up:
[ 52.231359] udc-core: couldn't find an available UDC - added [g_multi] to list of pending drivers
As I said, I tried different kernel configurations and changed the device tree info of USB0 from disabled to okay, but none of this changes helped.
Thanks.