USB and ethernet interfaces are not visible to me.

Hi All,

I recently build mainline linux kernel (6.6.0-rc3). You cna checklog for more information.
I didn’t get usb and ethernet interface when i run ifconfig command.

Can someone pointout the issue ?

U-Boot SPL 2023.04 (Oct 04 2023 - 16:14:54 +0530)
Trying to boot from MMC1


U-Boot 2023.04 (Oct 04 2023 - 16:14:54 +0530)

CPU  : AM335X-GP rev 2.1
Model: TI AM335x BeagleBone Black
DRAM:  512 MiB
Core:  160 devices, 18 uclasses, devicetree: separate
WDT:   Started wdt@44e35000 with servicing every 1000ms (60s timeout)
NAND:  0 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from FAT... Unable to read "uboot.env" from mmc0:1...
<ethaddr> not set. Validating first E-fuse MAC
Net:   eth2: ethernet@4a100000, eth3: usb_ether
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
1:      beaglebone-buildroot
Retrieving file: /zImage
append: console=ttyS0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait
Retrieving file: /am335x-boneblack-wireless.dtb
Kernel image @ 0x82000000 [ 0x000000 - 0x4ee988 ]
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
Working FDT set to 88000000
   Loading Device Tree to 8ffeb000, end 8ffff0ab ... OK
Working FDT set to 8ffeb000

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 6.6.0-rc3 (root@riscv-demo) (arm-linux-gnueabihf-gc                                                                                        c (GCC) 14.0.0 20230605 (experimental) [master revision c7fe7ad612bb6aac1d078d21                                                                                        5d5700ec4ef70e3c], GNU ld (Linaro_Binutils-2023.06) 2.40.50.20230605) #1 SMP Fri                                                                                         Oct  6 09:19:37 IST 2023
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructio                                                                                        n cache
[    0.000000] OF: fdt: Machine model: TI AM335x BeagleBone Black Wireless
[    0.000000] Memory policy: Data cache writeback
[    0.000000] cma: Reserved 16 MiB at 0x9e800000 on node -1
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000080000000-0x000000009fdfffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x000000009fdfffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000009fdfffff]
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] AM335X ES2.1 (sgx neon)
[    0.000000] percpu: Embedded 16 pages/cpu s36052 r8192 d21292 u65536
[    0.000000] Kernel command line: console=ttyS0,115200n8 root=/dev/mmcblk0p2 r                                                                                        w rootfstype=ext4 rootwait
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, l                                                                                        inear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, li                                                                                        near)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129412
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 484736K/522240K available (10240K kernel code, 1108K rwda                                                                                        ta, 2532K rodata, 1024K init, 283K bss, 21120K reserved, 16384K cma-reserved, 0K                                                                                         highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jif                                                                                        fies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    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 interrup                                                                                        ts
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] TI gptimer clocksource: always-on /ocp/interconnect@44c00000/segm                                                                                        ent@200000/target-module@31000
[    0.000002] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478                                                                                        484971ns
[    0.000027] clocksource: dmtimer: mask: 0xffffffff max_cycles: 0xffffffff, ma                                                                                        x_idle_ns: 79635851949 ns
[    0.000491] TI gptimer clockevent: 24000000 Hz at /ocp/interconnect@48000000/                                                                                        segment@0/target-module@40000
[    0.001959] Console: colour dummy device 80x30
[    0.002035] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
[    0.090538] CPU: Testing write buffer coherency: ok
[    0.090640] CPU0: Spectre v2: using BPIALL workaround
[    0.090651] pid_max: default: 32768 minimum: 301
[    0.090779] LSM: initializing lsm=capability,integrity
[    0.090950] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linea                                                                                        r)
[    0.090971] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes,                                                                                         linear)
[    0.092438] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.094002] Setting up static identity map for 0x80100000 - 0x80100078
[    0.094282] rcu: Hierarchical SRCU implementation.
[    0.094293] rcu:     Max phase no-delay instances is 1000.
[    0.094986] smp: Bringing up secondary CPUs ...
[    0.095031] smp: Brought up 1 node, 1 CPU
[    0.095043] SMP: Total of 1 processors activated (996.14 BogoMIPS).
[    0.095054] CPU: All CPU(s) started in SVC mode.
[    0.095885] devtmpfs: initialized
[    0.111535] VFP support v0.3: implementor 41 architecture 3 part 30 variant c                                                                                         rev 3
[    0.111876] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma                                                                                        x_idle_ns: 19112604462750000 ns
[    0.111909] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.113184] pinctrl core: initialized pinctrl subsystem
[    0.115517] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.118012] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.118607] audit: initializing netlink subsys (disabled)
[    0.119841] thermal_sys: Registered thermal governor 'fair_share'
[    0.119860] thermal_sys: Registered thermal governor 'step_wise'
[    0.119866] thermal_sys: Registered thermal governor 'user_space'
[    0.119969] audit: type=2000 audit(0.110:1): state=initialized audit_enabled=                                                                                        0 res=1
[    0.120045] cpuidle: using governor menu
[    0.136089] No ATAGs?
[    0.136114] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.139011] kprobes: kprobe jump-optimization is enabled. All kprobes are opt                                                                                        imized if possible.
[    0.795811] iommu: Default domain type: Translated
[    0.795832] iommu: DMA domain TLB invalidation policy: strict mode
[    0.797235] SCSI subsystem initialized
[    0.799005] pps_core: LinuxPPS API ver. 1 registered
[    0.799017] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giome                                                                                        tti <giometti@linux.it>
[    0.799040] PTP clock support registered
[    0.800953] vgaarb: loaded
[    0.801263] clocksource: Switched to clocksource dmtimer
[    0.801844] VFS: Disk quotas dquot_6.6.0
[    0.801908] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.823589] NET: Registered PF_INET protocol family
[    0.823927] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear                                                                                        )
[    0.825269] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096                                                                                         bytes, linear)
[    0.825304] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes,                                                                                         linear)
[    0.825320] TCP established hash table entries: 4096 (order: 2, 16384 bytes,                                                                                         linear)
[    0.825362] TCP bind hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    0.825460] TCP: Hash tables configured (established 4096 bind 4096)
[    0.825592] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.825620] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.825796] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.826942] RPC: Registered named UNIX socket transport module.
[    0.826964] RPC: Registered udp transport module.
[    0.826969] RPC: Registered tcp transport module.
[    0.826975] RPC: Registered tcp-with-tls transport module.
[    0.826980] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.827004] PCI: CLS 0 bytes, default 64
[    0.828528] Initialise system trusted keyrings
[    0.829352] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.830552] NFS: Registering the id_resolver key type
[    0.830625] Key type id_resolver registered
[    0.830633] Key type id_legacy registered
[    0.830685] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.831136] Key type asymmetric registered
[    0.831151] Asymmetric key parser 'x509' registered
[    0.831220] io scheduler mq-deadline registered
[    0.831387] io scheduler kyber registered
[    0.831477] io scheduler bfq registered
[    0.835406] Serial: 8250/16550 driver, 6 ports, IRQ sharing enabled
[    0.853741] brd: module loaded
[    0.861587] loop: module loaded
[    0.862494] mtdoops: mtd device (mtddev=name/number) must be supplied
[    0.865173] i2c_dev: i2c /dev entries driver
[    0.866015] cpuidle: enable-method property 'ti,am3352' found operations
[    0.866465] sdhci: Secure Digital Host Controller Interface driver
[    0.866475] sdhci: Copyright(c) Pierre Ossman
[    0.866650] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.866907] ledtrig-cpu: registered to indicate activity on CPUs
[    0.867659] Initializing XFRM netlink socket
[    0.867783] NET: Registered PF_INET6 protocol family
[    0.869494] Segment Routing with IPv6
[    0.869568] In-situ OAM (IOAM) with IPv6
[    0.869678] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    0.870571] NET: Registered PF_PACKET protocol family
[    0.870601] NET: Registered PF_KEY protocol family
[    0.870763] Key type dns_resolver registered
[    0.870964] ThumbEE CPU extension supported.
[    0.870986] Registering SWP/SWPB emulation handler
[    0.871569] omap_voltage_late_init: Voltage driver support not added
[    0.871919] SmartReflex Class3 initialized
[    0.879229] Loading compiled-in X.509 certificates
[    0.920705] platform 44e10800.pinmux: Fixed dependency cycle(s) with /ocp/int                                                                                        erconnect@44c00000/segment@200000/target-module@10000/scm@0/pinmux@800/clkout2-p                                                                                        ins
[    0.921416] pinctrl-single 44e10800.pinmux: 142 pins, size 568
[    0.926015] ti-sysc: probe of 44e31000.target-module failed with error -16
[    0.940476] ti-sysc: probe of 48040000.target-module failed with error -16
[    0.952833] OMAP GPIO hardware version 0.1
[    0.965554] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
[    0.970502] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 25, base_baud =                                                                                         3000000) is a 8250
[    0.970832] serial serial0: tty port ttyS3 registered
[    1.001749] debugfs: Directory '49000000.dma' with parent 'dmaengine' already                                                                                         present!
[    1.001802] edma 49000000.dma: TI EDMA DMA engine driver
[    1.013078] sdhci-omap 481d8000.mmc: supply pbias not found, using dummy regu                                                                                        lator
[    1.013547] sdhci-omap 481d8000.mmc: supply vqmmc not found, using dummy regu                                                                                        lator
[    1.028485] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counter                                                                                        s available
[    1.035896] l3-aon-clkctrl:0000:0: failed to disable
[    1.038958] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 32, base_baud =                                                                                         3000000) is a 8250
[    1.039036] printk: console [ttyS0] enabled
[    1.913117] mmc1: SDHCI controller on 481d8000.mmc [481d8000.mmc] using Exter                                                                                        nal DMA
[    1.952141] tps65217-pmic: Failed to locate of_node [id: -1]
[    1.958208] tps65217-bl: Failed to locate of_node [id: -1]
[    1.969216] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[    1.975431] i2c 0-0070: Fixed dependency cycle(s) with /ocp/interconnect@4800                                                                                        0000/segment@300000/target-module@e000/lcdc@0/port/endpoint@0
[    1.988200] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    1.997772] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000                                                                                         microseconds (-22)
[    2.006683] sdhci-omap 48060000.mmc: Got CD GPIO
[    2.011687] sdhci-omap 48060000.mmc: supply pbias not found, using dummy regu                                                                                        lator
[    2.023010] sdhci-omap 48060000.mmc: supply vqmmc not found, using dummy regu                                                                                        lator
[    2.031776] sdhci-omap 47810000.mmc: supply pbias not found, using dummy regu                                                                                        lator
[    2.040500] sdhci-omap 47810000.mmc: supply vqmmc not found, using dummy regu                                                                                        lator
[    2.060227] mmc1: new high speed MMC card at address 0001
[    2.067216] mmcblk1: mmc1:0001 MMC04G 3.60 GiB
[    2.074275]  mmcblk1: p1 p2
[    2.078438] mmcblk1boot0: mmc1:0001 MMC04G 2.00 MiB
[    2.084777] mmc0: SDHCI controller on 48060000.mmc [48060000.mmc] using Exter                                                                                        nal DMA
[    2.094706] mmcblk1boot1: mmc1:0001 MMC04G 2.00 MiB
[    2.101864] mmcblk1rpmb: mmc1:0001 MMC04G 128 KiB, chardev (250:0)
[    2.166619] mmc2: SDHCI controller on 47810000.mmc [47810000.mmc] using Exter                                                                                        nal DMA
[    2.177654] clk: Disabling unused clocks
[    2.182598] mmc0: new high speed SDHC card at address e624
[    2.189528] mmcblk0: mmc0:e624 SS16G 14.8 GiB
[    2.201188]  mmcblk0: p1 p2
[    2.252249] EXT4-fs (mmcblk0p2): recovery complete
[    2.261169] EXT4-fs (mmcblk0p2): mounted filesystem 1a64b592-aa5f-414f-9644-5                                                                                        e7e70d5bbe7 r/w with ordered data mode. Quota mode: none.
[    2.273525] VFS: Mounted root (ext4 filesystem) on device 179:26.
[    2.285974] devtmpfs: mounted
[    2.290420] Freeing unused kernel image (initmem) memory: 1024K
[    2.297055] Run /sbin/init as init process
[    2.456676] EXT4-fs (mmcblk0p2): re-mounted 1a64b592-aa5f-414f-9644-5e7e70d5b                                                                                        be7 r/w. Quota mode: none.
[    2.603398] random: crng init done
Seeding 256 bits and crediting
Saving 256 bits of creditable seed for next boot
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Starting mdev... OK
[    2.623385] mmc2: Failed to initialize a non-removable card
[    4.223319] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[    4.235306] omap-aes 53500000.aes: will run requests pump with realtime priority
[    4.262444] at24 2-0054: supply vcc not found, using dummy regulator
[    4.296028] at24 2-0055: supply vcc not found, using dummy regulator
[    4.334880] at24 2-0056: supply vcc not found, using dummy regulator
[    4.374832] at24 2-0057: supply vcc not found, using dummy regulator
[    4.417601] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    4.584634] Bluetooth: Core ver 2.22
[    4.588504] NET: Registered PF_BLUETOOTH protocol family
[    4.593959] Bluetooth: HCI device and connection manager initialized
[    4.600371] Bluetooth: HCI socket layer initialized
[    4.605310] Bluetooth: L2CAP socket layer initialized
[    4.610419] Bluetooth: SCO socket layer initialized
[    4.657684] Bluetooth: HCI UART driver ver 2.3
[    4.662347] Bluetooth: HCI UART protocol H4 registered
[    4.667516] Bluetooth: HCI UART protocol BCSP registered
[    4.673159] Bluetooth: HCI UART protocol LL registered
[    4.678391] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    4.685172] Bluetooth: HCI UART protocol Broadcom registered
[    4.695362] Bluetooth: hci0: Frame reassembly failed (-84)
[    4.830358] remoteproc remoteproc0: wkup_m3 is available
[    5.035155] Bluetooth: hci0: Failed to get CTS
[    5.184908] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    5.443102] tps6521x_pwrbutton tps65217-pwrbutton: DMA mask not set
[    5.458106] input: tps65217_pwrbutton as /devices/platform/ocp/44c00000.interconnect/44c00000.interconnect:segment@200000/44e0b000.target-module/44e0b000.i2c/i2c-0/0-0024/tps65217-pwrbutton/input/input0
[    5.541623] omap_rng 48310000.rng: Random Number Generator ver. 20
[    5.572988] omap_rtc 44e3e000.rtc: already running
[    5.604215] omap_rtc 44e3e000.rtc: registered as rtc0
[    5.609384] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01T00:20:05 UTC (946686005)
[    5.652202] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[    5.671859] omap-sham 53100000.sham: will run requests pump with realtime priority
[    5.894035] tda998x 0-0070: found TDA19988
[    5.913340] tilcdc 4830e000.lcdc: bound 0-0070 (ops tda998x_ops [tda998x])
[    5.933538] [drm] Initialized tilcdc 1.0.0 20121205 for 4830e000.lcdc on minor 0
[    5.942071] tilcdc 4830e000.lcdc: [drm] Cannot find any crtc or sizes
[    5.950656] tilcdc 4830e000.lcdc: [drm] Cannot find any crtc or sizes
[    6.010191] am335x-phy-driver 47401300.usb-phy: dummy supplies not allowed for exclusive requests
[    6.057644] am335x-phy-driver 47401b00.usb-phy: dummy supplies not allowed for exclusive requests
[    6.163671] usbcore: registered new interface driver usbfs
[    6.169294] usbcore: registered new interface driver hub
[    6.174848] usbcore: registered new device driver usb
[    6.295438] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[    6.300849] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[    6.325406] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[    6.333864] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.341129] usb usb1: Product: MUSB HDRC host driver
[    6.346171] usb usb1: Manufacturer: Linux 6.6.0-rc3 musb-hcd
[    6.351881] usb usb1: SerialNumber: musb-hdrc.1
[    6.392291] hub 1-0:1.0: USB hub found
[    6.396193] hub 1-0:1.0: 1 port detected
[    6.433532] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    6.483234] remoteproc remoteproc0: powering up wkup_m3
[    6.488657] remoteproc remoteproc0: Direct firmware load for am335x-pm-firmware.elf failed with error -2
[    6.498388] remoteproc remoteproc0: request_firmware failed: -2
[    6.504410] wkup_m3_ipc 44e11324.wkup_m3_ipc: rproc_boot failed
[    6.553596] PM: Cannot get wkup_m3_ipc handle
Starting network: ip: SIOCGIFFLAGS: No such device
FAIL

Welcome to Buildroot
buildroot login: root
#
# [   17.122149] PM: Cannot get wkup_m3_ipc handle
[   17.126828] platform pm33xx: deferred probe pending

#
# ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

#
#
# lsmod
Module                  Size  Used by    Not tainted
pm33xx                 12288  0
cpufreq_dt             12288  0
wkup_m3_ipc            12288  1 pm33xx
omap_wdt               12288  0
watchdog               24576  1 omap_wdt
musb_dsps              16384  0
musb_hdrc             126976  1 musb_dsps
udc_core               45056  1 musb_hdrc
usbcore               204800  1 musb_hdrc
snd_soc_hdmi_codec     16384  1
phy_am335x             12288  2
phy_generic            12288  1 phy_am335x
usb_common             12288  5 musb_dsps,musb_hdrc,udc_core,usbcore,phy_am335x
tda998x                20480  0
snd_soc_simple_card    16384  0
snd_soc_simple_card_utils    16384  1 snd_soc_simple_card
omap_sham              28672  0
evdev                  20480  0
rtc_omap               16384  2 pm33xx
omap_rng               12288  0
rng_core               16384  1 omap_rng
tps65218_pwrbutton     12288  0
snd_soc_davinci_mcasp    24576  2
snd_soc_ti_udma        12288  1 snd_soc_davinci_mcasp
snd_soc_ti_edma        12288  1 snd_soc_davinci_mcasp
snd_soc_ti_sdma        12288  1 snd_soc_davinci_mcasp
snd_soc_core          180224  7 snd_soc_hdmi_codec,snd_soc_simple_card,snd_soc_simple_card_utils,snd_soc_davinci_mcasp,snd_soc_ti_udma,snd_soc_ti_edma,snd_soc_ti_sdma
snd_pcm_dmaengine      12288  1 snd_soc_core
snd_pcm               110592  5 snd_soc_hdmi_codec,snd_soc_simple_card_utils,snd_soc_davinci_mcasp,snd_soc_core,snd_pcm_dmaengine
snd_timer              32768  1 snd_pcm
snd                    69632  4 snd_soc_hdmi_codec,snd_soc_core,snd_pcm,snd_timer
soundcore              12288  1 snd
omap_mailbox           16384  1
leds_gpio              12288  0
led_class              12288  1 leds_gpio
tilcdc                 32768  0
drm_dma_helper         16384  2 tilcdc
drm_kms_helper        122880  3 tda998x,tilcdc,drm_dma_helper
drm                   425984  5 tda998x,tilcdc,drm_dma_helper,drm_kms_helper
drm_panel_orientation_quirks    12288  1 drm
ti_emif_sram           12288  1 pm33xx
cppi41                 16384 60
wkup_m3_rproc          12288  1
phy_am335x_control     12288  1 phy_am335x
hci_uart               53248  0
btbcm                  16384  1 hci_uart
bluetooth             520192  3 hci_uart,btbcm
ecdh_generic           12288  1 bluetooth
ecc                    32768  1 ecdh_generic
at24                   16384  0
omap_aes_driver        24576  0
omap_crypto            12288  1 omap_aes_driver
crypto_engine          12288  2 omap_sham,omap_aes_driver
libaes                 12288  2 bluetooth,omap_aes_driver
#

see the same thing, try “ifconfig eth0 up”
my guess is that there is a package missing in the build that makes this a startup at boot time.

How to compile missing pakage ? Any pointer ???

# ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

# ifconfig eth0 up
ifconfig: SIOCGIFFLAGS: No such device
#


Is your board a BeagleBone Black or BeagleBone Black Wireless…

As your booting as a BeagleBone Black Wireless

Regards,

@RobertCNelson,

My board is beaglebone black. :melting_face:

But I checked with both dtb am335x-boneblack.dtb and am335x-boneblack-wireless.dtb.

But Issue is same.

add:

fdt /am335x-boneblack.dtb

to extlinux.conf…

Regards,

the following is with the default build from the Buildroot image that you referenced above.
it should work out of the box, i’m testing on BBB non-wireless version

Welcome to Buildroot                                                            
buildroot login: root                                                           
# ifconfig                                                                      
lo        Link encap:Local Loopback                                             
          inet addr:127.0.0.1  Mask:255.0.0.0                                   
          inet6 addr: ::1/128 Scope:Host                                        
          UP LOOPBACK RUNNING  MTU:65536  Metric:1                              
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0                    
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0                  
          collisions:0 txqueuelen:1000                                          
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)                                
                                                                                
# ifconfig eth0 192.168.3.86 up                                                 
[   21.270521] cpsw 4a100000.ethernet: initializing cpsw version 1.12 (0)       
[   21.367270] SMSC LAN8710/LAN8720 4a101000.mdio:00: attached PHY driver [SMSC)
# [   24.566250] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow f
[   24.574368] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready          
ifconfig                                                                        
eth0      Link encap:Ethernet  HWaddr B0:D5:CC:CD:8A:B7                         
          inet addr:192.168.3.86  Bcast:192.168.3.255  Mask:255.255.255.0       
          inet6 addr: fe80::b2d5:ccff:fecd:8ab7/64 Scope:Link                   
          inet6 addr: 2603:8081:1500:111a:b2d5:ccff:fecd:8ab7/64 Scope:Global   
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1                    
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0                    
          TX packets:7 errors:0 dropped:0 overruns:0 carrier:0                  
          collisions:0 txqueuelen:1000                                          
          RX bytes:728 (728.0 B)  TX bytes:602 (602.0 B)                        
                                                                                
lo        Link encap:Local Loopback                                             
          inet addr:127.0.0.1  Mask:255.0.0.0                                   
          inet6 addr: ::1/128 Scope:Host                                        
          UP LOOPBACK RUNNING  MTU:65536  Metric:1                              
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0                    
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0                  
          collisions:0 txqueuelen:1000                                          
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)                                
                                                                                
# ping 192.168.3.1                                                              
PING 192.168.3.1 (192.168.3.1): 56 data bytes                                   
64 bytes from 192.168.3.1: seq=0 ttl=64 time=1.160 ms                           
64 bytes from 192.168.3.1: seq=1 ttl=64 time=0.749 ms                           
^C                                                                              
--- 192.168.3.1 ping statistics ---                                             
2 packets transmitted, 2 packets received, 0% packet loss                       
round-trip min/avg/max = 0.749/0.954/1.160 ms    
1 Like

Hi @RobertCNelson

etxlinux/etxlinux.conf

label beaglebone-buildroot
  kernel /zImage
  fdt /am335x-boneblack.dtb
  append console=ttyS0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait

vi /etc/network/interfaces

# interface file auto-generated by buildroot

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.10.1
netmask 255.255.255.0
gateway 192.168.10.1

ifconfig

# ifconfig
eth0      Link encap:Ethernet  HWaddr 6C:EC:EB:A5:A0:34
          inet addr:192.168.10.1  Bcast:0.0.0.0  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

#

I think ethernet is set up but how can we set up usb interface also.

Thanks & Regards
Vivek Yadav

Create systemd service file:

bb-usb-gadgets.service

[Unit]
Description=BeagleBoard.org USB gadgets
After=usb-gadget.target
ConditionFileIsExecutable=/usr/bin/bb-start-acm-ncm-rndis-old-gadget

[Service]
Type=forking
ExecStartPre=/sbin/modprobe libcomposite
ExecStart=/usr/bin/bb-start-acm-ncm-rndis-old-gadget

[Install]
WantedBy=multi-user.target

Copy this file as:

/usr/bin/bb-start-acm-ncm-rndis-old-gadget : https://github.com/rcn-ee/repos/blob/master/bb-usb-gadgets/suite/bookworm/debian/bb-start-acm-ncm-rndis-old-gadget

Then copy this file as:

/usr/bin/bb-setup-mac-address : https://github.com/rcn-ee/repos/blob/master/generic-sys-mods/suite/bookworm/debian/bb-setup-mac-address

Regards,

1 Like

Hi @RobertCNelson,

vi /etc/systemd/system/bb-usb-gadgets.service

[Unit]
Description=BeagleBoard.org USB gadgets
After=usb-gadget.target
ConditionFileIsExecutable=/usr/bin/bb-start-acm-ncm-rndis-old-gadget

[Service]
Type=forking
ExecStartPre=/sbin/modprobe libcomposite
ExecStart=/usr/bin/bb-start-acm-ncm-rndis-old-gadget

[Install]
WantedBy=multi-user.target

And otherfiles content copied as specified location.

/usr/bin/bb-start-acm-ncm-rndis-old-gadget
/usr/bin/bb-setup-mac-address

Still not getting usb interface

#
#
#
# reboot
# Stopping network: OK
Stopping mdev... stopped process in pidfile '/var/run/mdev.pid' (pid 100)
OK
Stopping klogd: OK
Stopping syslogd: OK
Seeding 256 bits and crediting
Saving 256 bits of creditable seed for next boot
umount: devtmpfs busy - remounted read-only
[  271.081396] EXT4-fs (mmcblk0p2): re-mounted 1a64b592-aa5f-414f-9644-5e7e70d5bbe7 ro. Quota mode: none.
The system is going down NOW!
Sent SIGTERM to all processes
Sent SIGKILL to all processes
Requesting system reboot
[  273.204492] reboot: Restarting system

U-Boot SPL 2023.04 (Oct 04 2023 - 16:14:54 +0530)
Trying to boot from MMC1


U-Boot 2023.04 (Oct 04 2023 - 16:14:54 +0530)

CPU  : AM335X-GP rev 2.1
Model: TI AM335x BeagleBone Black
DRAM:  512 MiB
Core:  160 devices, 18 uclasses, devicetree: separate
WDT:   Started wdt@44e35000 with servicing every 1000ms (60s timeout)
NAND:  0 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from FAT... Unable to read "uboot.env" from mmc0:1...
<ethaddr> not set. Validating first E-fuse MAC
Net:   eth2: ethernet@4a100000, eth3: usb_ether
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
1:      beaglebone-buildroot
Retrieving file: /zImage
append: console=ttyS0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait
Retrieving file: /am335x-boneblack.dtb
Kernel image @ 0x82000000 [ 0x000000 - 0x4ee988 ]
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
Working FDT set to 88000000
   Loading Device Tree to 8ffeb000, end 8ffff1be ... OK
Working FDT set to 8ffeb000

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 6.6.0-rc3 (root@riscv-demo) (arm-linux-gnueabihf-gcc (GCC) 14.0.0 20230605 (experimental) [master revision c7fe7ad612bb6aac1d078d215d5700ec4ef70e3c], GNU ld (Linaro_Binutils-2023.06) 2.40.50.20230605) #1 SMP Fri Oct  6 09:19:37 IST 2023
[    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 BeagleBone Black
[    0.000000] Memory policy: Data cache writeback
[    0.000000] cma: Reserved 16 MiB at 0x9e800000 on node -1
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000080000000-0x000000009fdfffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x000000009fdfffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000009fdfffff]
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] AM335X ES2.1 (sgx neon)
[    0.000000] percpu: Embedded 16 pages/cpu s36052 r8192 d21292 u65536
[    0.000000] Kernel command line: console=ttyS0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129412
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 484740K/522240K available (10240K kernel code, 1108K rwdata, 2532K rodata, 1024K init, 283K bss, 21116K reserved, 16384K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    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] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] TI gptimer clocksource: always-on /ocp/interconnect@44c00000/segment@200000/target-module@31000
[    0.000002] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000026] clocksource: dmtimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000486] TI gptimer clockevent: 24000000 Hz at /ocp/interconnect@48000000/segment@0/target-module@40000
[    0.001934] Console: colour dummy device 80x30
[    0.002010] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
[    0.090533] CPU: Testing write buffer coherency: ok
[    0.090637] CPU0: Spectre v2: using BPIALL workaround
[    0.090649] pid_max: default: 32768 minimum: 301
[    0.090774] LSM: initializing lsm=capability,integrity
[    0.090944] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.090964] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.092440] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.094011] Setting up static identity map for 0x80100000 - 0x80100078
[    0.094288] rcu: Hierarchical SRCU implementation.
[    0.094299] rcu:     Max phase no-delay instances is 1000.
[    0.095007] smp: Bringing up secondary CPUs ...
[    0.095053] smp: Brought up 1 node, 1 CPU
[    0.095064] SMP: Total of 1 processors activated (996.14 BogoMIPS).
[    0.095075] CPU: All CPU(s) started in SVC mode.
[    0.095917] devtmpfs: initialized
[    0.111327] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.111674] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.111709] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.113083] pinctrl core: initialized pinctrl subsystem
[    0.115439] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.117931] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.118524] audit: initializing netlink subsys (disabled)
[    0.119760] thermal_sys: Registered thermal governor 'fair_share'
[    0.119781] thermal_sys: Registered thermal governor 'step_wise'
[    0.119787] thermal_sys: Registered thermal governor 'user_space'
[    0.119900] audit: type=2000 audit(0.110:1): state=initialized audit_enabled=0 res=1
[    0.119977] cpuidle: using governor menu
[    0.135725] No ATAGs?
[    0.135750] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.138589] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.
[    0.795389] iommu: Default domain type: Translated
[    0.795409] iommu: DMA domain TLB invalidation policy: strict mode
[    0.796803] SCSI subsystem initialized
[    0.798541] pps_core: LinuxPPS API ver. 1 registered
[    0.798553] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.798575] PTP clock support registered
[    0.800370] vgaarb: loaded
[    0.800769] clocksource: Switched to clocksource dmtimer
[    0.801369] VFS: Disk quotas dquot_6.6.0
[    0.801431] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.823090] NET: Registered PF_INET protocol family
[    0.823424] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.824762] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.824794] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.824811] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.824853] TCP bind hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    0.824952] TCP: Hash tables configured (established 4096 bind 4096)
[    0.825081] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.825111] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.825288] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.826447] RPC: Registered named UNIX socket transport module.
[    0.826467] RPC: Registered udp transport module.
[    0.826473] RPC: Registered tcp transport module.
[    0.826478] RPC: Registered tcp-with-tls transport module.
[    0.826483] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.826509] PCI: CLS 0 bytes, default 64
[    0.828024] Initialise system trusted keyrings
[    0.828865] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.830061] NFS: Registering the id_resolver key type
[    0.830137] Key type id_resolver registered
[    0.830145] Key type id_legacy registered
[    0.830195] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.830643] Key type asymmetric registered
[    0.830659] Asymmetric key parser 'x509' registered
[    0.830723] io scheduler mq-deadline registered
[    0.830890] io scheduler kyber registered
[    0.830980] io scheduler bfq registered
[    0.834888] Serial: 8250/16550 driver, 6 ports, IRQ sharing enabled
[    0.853438] brd: module loaded
[    0.861338] loop: module loaded
[    0.862240] mtdoops: mtd device (mtddev=name/number) must be supplied
[    0.864889] i2c_dev: i2c /dev entries driver
[    0.865718] cpuidle: enable-method property 'ti,am3352' found operations
[    0.866160] sdhci: Secure Digital Host Controller Interface driver
[    0.866170] sdhci: Copyright(c) Pierre Ossman
[    0.866343] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.866604] ledtrig-cpu: registered to indicate activity on CPUs
[    0.867350] Initializing XFRM netlink socket
[    0.867502] NET: Registered PF_INET6 protocol family
[    0.869216] Segment Routing with IPv6
[    0.869293] In-situ OAM (IOAM) with IPv6
[    0.869404] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    0.870324] NET: Registered PF_PACKET protocol family
[    0.870352] NET: Registered PF_KEY protocol family
[    0.870477] Key type dns_resolver registered
[    0.870681] ThumbEE CPU extension supported.
[    0.870701] Registering SWP/SWPB emulation handler
[    0.871275] omap_voltage_late_init: Voltage driver support not added
[    0.871613] SmartReflex Class3 initialized
[    0.878946] Loading compiled-in X.509 certificates
[    0.920017] platform 44e10800.pinmux: Fixed dependency cycle(s) with /ocp/interconnect@44c00000/segment@200000/target-module@10000/scm@0/pinmux@800/clkout2-pins
[    0.920549] pinctrl-single 44e10800.pinmux: 142 pins, size 568
[    0.925256] ti-sysc: probe of 44e31000.target-module failed with error -16
[    0.939630] ti-sysc: probe of 48040000.target-module failed with error -16
[    0.952114] OMAP GPIO hardware version 0.1
[    0.964793] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
[    0.994490] sdhci-omap 481d8000.mmc: supply pbias not found, using dummy regulator
[    0.994980] sdhci-omap 481d8000.mmc: supply vqmmc not found, using dummy regulator
[    1.050782] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
[    1.072614] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
[    1.073064] cpsw-switch 4a100000.switch: initialized cpsw ale version 1.4
[    1.073082] cpsw-switch 4a100000.switch: ALE Table size 1024
[    1.073208] cpsw-switch 4a100000.switch: cpts: overflow check period 500 (jiffies)
[    1.073224] cpsw-switch 4a100000.switch: CPTS: ref_clk_freq:250000000 calc_mult:2147483648 calc_shift:29 error:0 nsec/sec
[    1.073311] cpsw-switch 4a100000.switch: Detected MACID = 6c:ec:eb:a5:a0:34
[    1.075047] cpsw-switch 4a100000.switch: initialized (regs 0x4a100000, pool size 256) hw_ver:0019010C 1.12 (0)
[    1.085485] debugfs: Directory '49000000.dma' with parent 'dmaengine' already present!
[    1.085526] edma 49000000.dma: TI EDMA DMA engine driver
[    1.105622] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[    1.112973] l3-aon-clkctrl:0000:0: failed to disable
[    1.115263] printk: console [ttyS0] disabled
[    1.116049] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 34, base_baud = 3000000) is a 8250
[    1.116127] printk: console [ttyS0] enabled
[    2.071695] tps65217-pmic: Failed to locate of_node [id: -1]
[    2.077729] tps65217-bl: Failed to locate of_node [id: -1]
[    2.088536] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[    2.094735] i2c 0-0070: Fixed dependency cycle(s) with /ocp/interconnect@48000000/segment@300000/target-module@e000/lcdc@0/port/endpoint@0
[    2.107499] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    2.116973] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
[    2.125886] sdhci-omap 48060000.mmc: Got CD GPIO
[    2.130909] sdhci-omap 48060000.mmc: supply pbias not found, using dummy regulator
[    2.141589] sdhci-omap 48060000.mmc: supply vqmmc not found, using dummy regulator
[    2.151324] sdhci-omap 481d8000.mmc: supply pbias not found, using dummy regulator
[    2.159748] sdhci-omap 481d8000.mmc: supply vqmmc not found, using dummy regulator
[    2.175642] clk: Disabling unused clocks
[    2.196931] mmc0: SDHCI controller on 48060000.mmc [48060000.mmc] using External DMA
[    2.205167] mmc1: SDHCI controller on 481d8000.mmc [481d8000.mmc] using External DMA
[    2.213947] Waiting for root device /dev/mmcblk0p2...
[    2.280939] mmc0: new high speed SDHC card at address e624
[    2.286982] mmc1: new high speed MMC card at address 0001
[    2.293690] mmcblk1: mmc1:0001 MMC04G 3.60 GiB
[    2.299413] mmcblk0: mmc0:e624 SS16G 14.8 GiB
[    2.307272]  mmcblk1: p1 p2
[    2.311515] mmcblk1boot0: mmc1:0001 MMC04G 2.00 MiB
[    2.317456]  mmcblk0: p1 p2
[    2.321881] mmcblk1boot1: mmc1:0001 MMC04G 2.00 MiB
[    2.329335] mmcblk1rpmb: mmc1:0001 MMC04G 128 KiB, chardev (250:0)
[    2.353979] EXT4-fs (mmcblk0p2): mounted filesystem 1a64b592-aa5f-414f-9644-5e7e70d5bbe7 r/w with ordered data mode. Quota mode: none.
[    2.366404] VFS: Mounted root (ext4 filesystem) on device 179:10.
[    2.383764] devtmpfs: mounted
[    2.388114] Freeing unused kernel image (initmem) memory: 1024K
[    2.394779] Run /sbin/init as init process
[    2.560620] EXT4-fs (mmcblk0p2): re-mounted 1a64b592-aa5f-414f-9644-5e7e70d5bbe7 r/w. Quota mode: none.
[    2.704721] random: crng init done
Seeding 256 bits and crediting
Saving 256 bits of creditable seed for next boot
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Starting mdev... OK
[    4.331087] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[    4.337318] omap-aes 53500000.aes: will run requests pump with realtime priority
[    4.367283] at24 2-0054: supply vcc not found, using dummy regulator
[    4.405606] at24 2-0055: supply vcc not found, using dummy regulator
[    4.444427] at24 2-0056: supply vcc not found, using dummy regulator
[    4.487674] at24 2-0057: supply vcc not found, using dummy regulator
[    4.527859] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    4.562697] remoteproc remoteproc0: wkup_m3 is available
[    4.904243] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    5.192062] tps6521x_pwrbutton tps65217-pwrbutton: DMA mask not set
[    5.199667] input: tps65217_pwrbutton as /devices/platform/ocp/44c00000.interconnect/44c00000.interconnect:segment@200000/44e0b000.target-module/44e0b000.i2c/i2c-0/0-0024/tps65217-pwrbutton/input/input0
[    5.269387] omap_rng 48310000.rng: Random Number Generator ver. 20
[    5.302779] omap_rtc 44e3e000.rtc: already running
[    5.327846] omap_rtc 44e3e000.rtc: registered as rtc0
[    5.333153] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01T00:04:40 UTC (946685080)
[    5.374837] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[    5.401288] omap-sham 53100000.sham: will run requests pump with realtime priority
[    5.613439] tda998x 0-0070: found TDA19988
[    5.633141] tilcdc 4830e000.lcdc: bound 0-0070 (ops tda998x_ops [tda998x])
[    5.652539] [drm] Initialized tilcdc 1.0.0 20121205 for 4830e000.lcdc on minor 0
[    5.661581] tilcdc 4830e000.lcdc: [drm] Cannot find any crtc or sizes
[    5.670180] tilcdc 4830e000.lcdc: [drm] Cannot find any crtc or sizes
[    5.729627] am335x-phy-driver 47401300.usb-phy: dummy supplies not allowed for exclusive requests
[    5.762550] am335x-phy-driver 47401b00.usb-phy: dummy supplies not allowed for exclusive requests
[    5.879718] usbcore: registered new interface driver usbfs
[    5.885489] usbcore: registered new interface driver hub
[    5.891006] usbcore: registered new device driver usb
[    6.005825] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[    6.011435] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[    6.051502] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[    6.059889] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.067250] usb usb1: Product: MUSB HDRC host driver
[    6.072268] usb usb1: Manufacturer: Linux 6.6.0-rc3 musb-hcd
[    6.077956] usb usb1: SerialNumber: musb-hdrc.1
[    6.097031] hub 1-0:1.0: USB hub found
[    6.111121] hub 1-0:1.0: 1 port detected
[    6.170361] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    6.213994] remoteproc remoteproc0: powering up wkup_m3
[    6.219455] remoteproc remoteproc0: Direct firmware load for am335x-pm-firmware.elf failed with error -2
[    6.229196] remoteproc remoteproc0: request_firmware failed: -2
[    6.235205] wkup_m3_ipc 44e11324.wkup_m3_ipc: rproc_boot failed
[    6.264467] PM: Cannot get wkup_m3_ipc handle
Starting network: [    6.470997] cpsw-switch 4a100000.switch: starting ndev. mode: dual_mac
[    6.572275] SMSC LAN8710/LAN8720 4a101000.mdio:00: attached PHY driver (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL)
OK

Welcome to Buildroot
buildroot login: root
#
# ifconfig
eth0      Link encap:Ethernet  HWaddr 6C:EC:EB:A5:A0:34
          inet addr:192.168.10.1  Bcast:0.0.0.0  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


Thanks & Regards
Vivek Yadav

systemctl status bb-usb-gadgets.service

Regards,

Hi,

 systemctl status bb-usb-gadgets.service
-sh: systemctl: not found
#

Regards

So without systemd, and thus without After=usb-gadget.target you get to deal with race conditions on startup…

so just run:

modprobe libcomposite
/usr/bin/bb-start-acm-ncm-rndis-old-gadget

after startup…

Regards,

1 Like