How do I know what are the modules my beagleone has ?

Hi all,

I recently build mainline kernel 6.6-rc3 . I also build modules as well. Steps are as below.


make ARCH=arm distclean
make ARCH=arm omap2plus_defconfig
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- menuconfig
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- uImage dtbs LOADADDR=0x80008000 -j10
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- modules -j10
sudo make ARCH=arm modules_install

Than transfer build kernel modules into SD card Rootfs partition.

sudo cp arch/arm/boot/uImage    /media/<user>/BOOT && sync
sudo cp -a /lib/modules/6.6.0-r23/     /media/<user>/Rootfs && sync

My beaglebone successfully booted. But Once I gave ā€œlsmodā€ to check modules. I didn’t see any module.

Can someone pointout ? What is the issue with understanding ? I am not able to see usb or ethernet things if I execute ā€œifconfigā€ command.

I am not getting the issue. Please pointout.

Thanks & Regards
Vivek Yadav

have you tried, been a while since i’ve seen this issue.
sudo depmod -a

so… you copied your ā€œhostā€ modules to your microSD… in the base folder… ā€˜/’…

Looking above, you ran this command:

sudo make ARCH=arm modules_install

Just do this instead:

sudo make ARCH=arm modules_install INSTALL_MOD_PATH=/media/<user>/Rootfs/

Regards,

1 Like

Hi @RobertCNelson,

I tried below mention command

sudo make ARCH=arm modules_install INSTALL_MOD_PATH=/media/USER/Rootfs/

U-Boot SPL 2023.10-rc4-00075-g964aae1644 (Sep 28 2023 - 22:50:39 +0530)
Trying to boot from MMC1


U-Boot 2023.10-rc4-00075-g964aae1644 (Sep 28 2023 - 22:50:39 +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@4a100000using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
MAC de:ad:be:ef:00:01
HOST MAC de:ad:be:ef:00:00
RNDIS ready
, 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:      Linux microSD
Retrieving file: /uImage
append: console=ttyS0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait earlyprintk mem=512M
Retrieving file: /am335x-boneblack-wireless.dtb
## Booting kernel from Legacy Image at 82000000 ...
   Image Name:   Linux-6.6.0-rc3
   Created:      2023-10-01  16:36:16 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5169656 Bytes = 4.9 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
Working FDT set to 88000000
   Loading Kernel Image
   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-gcc (GCC) 14.0.0 20230605 (experimental) [master revision c7fe7ad612bb6aac1d078d215d5700ec4ef70e3c], GNU ld (Linaro_Binutils-2023.06) 2.40.50.20230605) #1 SMP Sun Oct  1 22:05:54 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 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 rw rootfstype=ext4 rootwait earlyprintk mem=512M
[    0.000000] Unknown kernel command line parameters "earlyprintk", will be passed to user space.
[    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: 484736K/522240K available (10240K kernel code, 1108K rwdata, 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 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.000027] clocksource: dmtimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000489] TI gptimer clockevent: 24000000 Hz at /ocp/interconnect@48000000/segment@0/target-module@40000
[    0.001963] Console: colour dummy device 80x30
[    0.002040] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
[    0.090536] CPU: Testing write buffer coherency: ok
[    0.090639] CPU0: Spectre v2: using BPIALL workaround
[    0.090649] pid_max: default: 32768 minimum: 301
[    0.090773] LSM: initializing lsm=capability,integrity
[    0.090939] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.090959] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.092440] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.094019] Setting up static identity map for 0x80100000 - 0x80100078
[    0.094302] rcu: Hierarchical SRCU implementation.
[    0.094312] rcu:     Max phase no-delay instances is 1000.
[    0.095004] smp: Bringing up secondary CPUs ...
[    0.095047] smp: Brought up 1 node, 1 CPU
[    0.095058] SMP: Total of 1 processors activated (996.14 BogoMIPS).
[    0.095070] CPU: All CPU(s) started in SVC mode.
[    0.095902] devtmpfs: initialized
[    0.111587] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.111929] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.111962] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.113269] pinctrl core: initialized pinctrl subsystem
[    0.115622] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.118126] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.118715] audit: initializing netlink subsys (disabled)
[    0.119961] thermal_sys: Registered thermal governor 'fair_share'
[    0.119981] thermal_sys: Registered thermal governor 'step_wise'
[    0.119987] thermal_sys: Registered thermal governor 'user_space'
[    0.120092] audit: type=2000 audit(0.110:1): state=initialized audit_enabled=0 res=1
[    0.120166] cpuidle: using governor menu
[    0.136214] No ATAGs?
[    0.136238] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.139133] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.
[    0.795608] iommu: Default domain type: Translated
[    0.795628] iommu: DMA domain TLB invalidation policy: strict mode
[    0.797032] SCSI subsystem initialized
[    0.798816] pps_core: LinuxPPS API ver. 1 registered
[    0.798827] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.798851] PTP clock support registered
[    0.800760] vgaarb: loaded
[    0.801075] clocksource: Switched to clocksource dmtimer
[    0.801657] VFS: Disk quotas dquot_6.6.0
[    0.801717] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.823442] NET: Registered PF_INET protocol family
[    0.823780] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.825124] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.825156] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.825174] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.825216] TCP bind hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    0.825315] TCP: Hash tables configured (established 4096 bind 4096)
[    0.825447] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.825473] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.825647] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.826818] RPC: Registered named UNIX socket transport module.
[    0.826836] RPC: Registered udp transport module.
[    0.826842] RPC: Registered tcp transport module.
[    0.826847] RPC: Registered tcp-with-tls transport module.
[    0.826853] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.826876] PCI: CLS 0 bytes, default 64
[    0.828398] Initialise system trusted keyrings
[    0.829243] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.830428] NFS: Registering the id_resolver key type
[    0.830488] Key type id_resolver registered
[    0.830496] Key type id_legacy registered
[    0.830548] jffs2: version 2.2. (NAND) (SUMMARY)  Ā© 2001-2006 Red Hat, Inc.
[    0.830994] Key type asymmetric registered
[    0.831009] Asymmetric key parser 'x509' registered
[    0.831236] io scheduler mq-deadline registered
[    0.831249] io scheduler kyber registered
[    0.831332] io scheduler bfq registered
[    0.835255] Serial: 8250/16550 driver, 6 ports, IRQ sharing enabled
[    0.853586] brd: module loaded
[    0.861462] loop: module loaded
[    0.862361] mtdoops: mtd device (mtddev=name/number) must be supplied
[    0.865034] i2c_dev: i2c /dev entries driver
[    0.865876] cpuidle: enable-method property 'ti,am3352' found operations
[    0.866316] sdhci: Secure Digital Host Controller Interface driver
[    0.866326] sdhci: Copyright(c) Pierre Ossman
[    0.866497] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.866751] ledtrig-cpu: registered to indicate activity on CPUs
[    0.867500] Initializing XFRM netlink socket
[    0.867629] NET: Registered PF_INET6 protocol family
[    0.869366] Segment Routing with IPv6
[    0.869437] In-situ OAM (IOAM) with IPv6
[    0.869544] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    0.870458] NET: Registered PF_PACKET protocol family
[    0.870485] NET: Registered PF_KEY protocol family
[    0.870607] Key type dns_resolver registered
[    0.870819] ThumbEE CPU extension supported.
[    0.870841] Registering SWP/SWPB emulation handler
[    0.871423] omap_voltage_late_init: Voltage driver support not added
[    0.871784] SmartReflex Class3 initialized
[    0.879101] Loading compiled-in X.509 certificates
[    0.920495] platform 44e10800.pinmux: Fixed dependency cycle(s) with /ocp/interconnect@44c00000/segment@200000/target-module@10000/scm@0/pinmux@800/clkout2-pins
[    0.921020] pinctrl-single 44e10800.pinmux: 142 pins, size 568
[    0.925786] ti-sysc: probe of 44e31000.target-module failed with error -16
[    0.940221] ti-sysc: probe of 48040000.target-module failed with error -16
[    0.952581] OMAP GPIO hardware version 0.1
[    0.965332] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
[    0.970280] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 25, base_baud = 3000000) is a 8250
[    0.970605] serial serial0: tty port ttyS3 registered
[    1.001514] debugfs: Directory '49000000.dma' with parent 'dmaengine' already present!
[    1.001568] edma 49000000.dma: TI EDMA DMA engine driver
[    1.012811] sdhci-omap 481d8000.mmc: supply pbias not found, using dummy regulator
[    1.013277] sdhci-omap 481d8000.mmc: supply vqmmc not found, using dummy regulator
[    1.028179] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[    1.035592] l3-aon-clkctrl:0000:0: failed to disable
[    1.038646] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 32, base_baud = 3000000) is a 8250
[    1.038726] printk: console [ttyS0] enabled
[    1.923380] mmc1: SDHCI controller on 481d8000.mmc [481d8000.mmc] using External DMA
[    1.961902] tps65217-pmic: Failed to locate of_node [id: -1]
[    1.967986] tps65217-bl: Failed to locate of_node [id: -1]
[    1.978800] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[    1.984999] i2c 0-0070: Fixed dependency cycle(s) with /ocp/interconnect@48000000/segment@300000/target-module@e000/lcdc@0/port/endpoint@0
[    1.997779] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    2.007339] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
[    2.016249] sdhci-omap 48060000.mmc: Got CD GPIO
[    2.021256] sdhci-omap 48060000.mmc: supply pbias not found, using dummy regulator
[    2.032504] sdhci-omap 48060000.mmc: supply vqmmc not found, using dummy regulator
[    2.041215] sdhci-omap 47810000.mmc: supply pbias not found, using dummy regulator
[    2.049945] sdhci-omap 47810000.mmc: supply vqmmc not found, using dummy regulator
[    2.086861] mmc0: SDHCI controller on 48060000.mmc [48060000.mmc] using External DMA
[    2.098711] mmc1: new high speed MMC card at address 0001
[    2.105566] mmcblk1: mmc1:0001 MMC04G 3.60 GiB
[    2.113208]  mmcblk1: p1 p2
[    2.117559] mmcblk1boot0: mmc1:0001 MMC04G 2.00 MiB
[    2.124728] mmcblk1boot1: mmc1:0001 MMC04G 2.00 MiB
[    2.131617] mmcblk1rpmb: mmc1:0001 MMC04G 128 KiB, chardev (250:0)
[    2.176501] mmc2: SDHCI controller on 47810000.mmc [47810000.mmc] using External DMA
[    2.187427] clk: Disabling unused clocks
[    2.192772] Waiting for root device /dev/mmcblk0p2...
[    2.212057] mmc0: new high speed SDHC card at address e624
[    2.218838] mmcblk0: mmc0:e624 SS16G 14.8 GiB
[    2.230094]  mmcblk0: p1 p2
[    2.591090] mmc2: Failed to initialize a non-removable card
[    2.708808] EXT4-fs (mmcblk0p2): recovery complete
[    2.730191] EXT4-fs (mmcblk0p2): mounted filesystem 1a64b592-aa5f-414f-9644-5e7e70d5bbe7 r/w with ordered data mode. Quota mode: none.
[    2.742529] VFS: Mounted root (ext4 filesystem) on device 179:26.
[    2.754627] devtmpfs: mounted
[    2.759104] Freeing unused kernel image (initmem) memory: 1024K
[    2.765685] Run /sbin/init as init process
[    2.884655] EXT4-fs (mmcblk0p2): re-mounted 1a64b592-aa5f-414f-9644-5e7e70d5bbe7 r/w. Quota mode: none.
Starting syslogd: OK
Starting klogd: OK
Running sysctl: FAIL
Starting mdev... OK
[    4.839734] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[    4.855843] omap-aes 53500000.aes: will run requests pump with realtime priority
[    4.874325] at24 2-0054: supply vcc not found, using dummy regulator
[    4.915842] at24 2-0055: supply vcc not found, using dummy regulator
[    4.955147] at24 2-0056: supply vcc not found, using dummy regulator
[    4.995300] at24 2-0057: supply vcc not found, using dummy regulator
[    5.038076] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    5.204011] Bluetooth: Core ver 2.22
[    5.207879] NET: Registered PF_BLUETOOTH protocol family
[    5.213329] Bluetooth: HCI device and connection manager initialized
[    5.219743] Bluetooth: HCI socket layer initialized
[    5.224675] Bluetooth: L2CAP socket layer initialized
[    5.229782] Bluetooth: SCO socket layer initialized
[    5.276188] Bluetooth: HCI UART driver ver 2.3
[    5.280713] Bluetooth: HCI UART protocol H4 registered
[    5.286045] Bluetooth: HCI UART protocol BCSP registered
[    5.291644] Bluetooth: HCI UART protocol LL registered
[    5.296877] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    5.303652] Bluetooth: HCI UART protocol Broadcom registered
[    5.323373] Bluetooth: hci0: Frame reassembly failed (-84)
[    5.452207] remoteproc remoteproc0: wkup_m3 is available
[    5.654817] Bluetooth: hci0: Failed to get CTS
[    5.794464] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    6.073242] tps6521x_pwrbutton tps65217-pwrbutton: DMA mask not set
[    6.080808] 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
[    6.161563] omap_rng 48310000.rng: Random Number Generator ver. 20
[    6.168518] random: crng init done
[    6.193129] omap_rtc 44e3e000.rtc: registered as rtc0
[    6.198321] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01T00:00:00 UTC (946684800)
[    6.245195] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[    6.271484] omap-sham 53100000.sham: will run requests pump with realtime priority
[    6.483743] tda998x 0-0070: found TDA19988
[    6.501709] tilcdc 4830e000.lcdc: bound 0-0070 (ops tda998x_ops [tda998x])
[    6.522853] [drm] Initialized tilcdc 1.0.0 20121205 for 4830e000.lcdc on minor 0
[    6.532000] tilcdc 4830e000.lcdc: [drm] Cannot find any crtc or sizes
[    6.540624] tilcdc 4830e000.lcdc: [drm] Cannot find any crtc or sizes
[    6.581497] am335x-phy-driver 47401300.usb-phy: dummy supplies not allowed for exclusive requests
[    6.642991] am335x-phy-driver 47401b00.usb-phy: dummy supplies not allowed for exclusive requests
[    6.756299] usbcore: registered new interface driver usbfs
[    6.762040] usbcore: registered new interface driver hub
[    6.767472] usbcore: registered new device driver usb
[    6.866104] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[    6.871695] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[    6.911763] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[    6.920119] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.927498] usb usb1: Product: MUSB HDRC host driver
[    6.932530] usb usb1: Manufacturer: Linux 6.6.0-rc3 musb-hcd
[    6.938218] usb usb1: SerialNumber: musb-hdrc.1
[    6.961883] hub 1-0:1.0: USB hub found
[    6.971748] hub 1-0:1.0: 1 port detected
[    7.024260] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    7.062888] remoteproc remoteproc0: powering up wkup_m3
[    7.081249] PM: Cannot get wkup_m3_ipc handle
[    7.126503] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 243276
[    7.135175] remoteproc remoteproc0: remote processor wkup_m3 is now up
[    7.135208] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
Initializing random number generator: OK
Saving random seed: OK
Starting network: OK

Welcome to Buildroot
buildroot login: [   17.123929] PM: bootloader does not support rtc-only!
root
#
#
#
# ls
# lsmod
# depmod -a
# ls /lib/modules/
5.10.100-g7a7a3af903/  5.10.30/               6.6.0-rc3/
# ls /lib/modules/
5.10.100-g7a7a3af903  5.10.30               6.6.0-rc3
# ls /lib/modules/6.6.0-rc3/
build                      modules.dep
kernel/                    modules.dep.bin
modules.alias              modules.devname
modules.alias.bin          modules.order
modules.builtin            modules.softdep
modules.builtin.alias.bin  modules.symbols
modules.builtin.bin        modules.symbols.bin
modules.builtin.modinfo
# ls /lib/modules/6.6.0-rc3/kernel/
arch/     crypto/   drivers/  fs/       lib/      mm/       net/      sound/
# ls /lib/modules/6.6.0-rc3/kernel/drivers/
ata/         cpufreq/     hsi/         memory/      power/       usb/
block/       crypto/      hwmon/       mfd/         pwm/         video/
bluetooth/   dma/         iio/         misc/        regulator/   w1/
char/        extcon/      input/       mtd/         remoteproc/  watchdog/
clk/         gpio/        leds/        net/         rtc/
connector/   gpu/         mailbox/     pci/         soc/
counter/     hid/         media/       phy/         spi/
# ls /lib/modules/6.6.0-rc3/kernel/drivers/usb/
class/    core/     gadget/   isp1760/  mon/      phy/      serial/
common/   dwc3/     host/     misc/     musb/     roles/    storage/
# ls /lib/modules/6.6.0-rc3/kernel/drivers/usb/host/
ehci-hcd.ko       ohci-hcd.ko       xhci-hcd.ko
ehci-omap.ko      ohci-pci.ko       xhci-pci.ko
ehci-pci.ko       ohci-platform.ko  xhci-plat-hcd.ko
# ls /lib/modules/6.6.0-rc3/kernel/drivers/
ata/         cpufreq/     hsi/         memory/      power/       usb/
block/       crypto/      hwmon/       mfd/         pwm/         video/
bluetooth/   dma/         iio/         misc/        regulator/   w1/
char/        extcon/      input/       mtd/         remoteproc/  watchdog/
clk/         gpio/        leds/        net/         rtc/
connector/   gpu/         mailbox/     pci/         soc/
counter/     hid/         media/       phy/         spi/
# ls /lib/modules/6.6.0-rc3/kernel/drivers/char/hw_random/
omap-rng.ko       omap3-rom-rng.ko  rng-core.ko
# ls /lib/modules/6.6.0-rc3/kernel/drivers/char/hw_random/
omap-rng.ko       omap3-rom-rng.ko  rng-core.ko
# ls /lib/modules/6.6.0-rc3/kernel/drivers/char/hw_random/

As you can see there are .ko files are there under /lib/modules/6.6.0-rc3/kernel/drivers/ folder.
Do I manually need to load all these drivers using insmod command.

Thanks & Regards
Vivek Yadav

Now run what @amf99 recommended. :wink:

1 Like

I already tried this command depmod -a but it didn’t work for me. :smiling_face_with_tear:

You guys are most qualified person for this type of issue. I am beginner in embedded Linux. :face_with_head_bandage:

1 Like

lsmod, should work after a reboot.

Sorry to say but this method I tried, result is same. lsmod does not work after reboot also.

dmesg logs

#
# ls /lib
lib/    lib32/
# ls /lib/modules/6.6.0-rc3/
build                      modules.dep
kernel/                    modules.dep.bin
modules.alias              modules.devname
modules.alias.bin          modules.order
modules.builtin            modules.softdep
modules.builtin.alias.bin  modules.symbols
modules.builtin.bin        modules.symbols.bin
modules.builtin.modinfo
# ls /lib/modules/6.6.0-rc3/kernel/
arch/     crypto/   drivers/  fs/       lib/      mm/       net/      sound/
#
# dmesg
[    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 Sun Oct  1 22:05:54 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 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] pcpu-alloc: s36052 r8192 d21292 u65536 alloc=16*4096
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Kernel command line: console=ttyS0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait earlyprintk mem=512M
[    0.000000] Unknown kernel command line parameters "earlyprintk", will be passed to user space.
[    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: 484736K/522240K available (10240K kernel code, 1108K rwdata, 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 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.000025] clocksource: dmtimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000487] TI gptimer clockevent: 24000000 Hz at /ocp/interconnect@48000000/segment@0/target-module@40000
[    0.001956] Console: colour dummy device 80x30
[    0.002035] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
[    0.090532] CPU: Testing write buffer coherency: ok
[    0.090636] CPU0: Spectre v2: using BPIALL workaround
[    0.090647] pid_max: default: 32768 minimum: 301
[    0.090771] LSM: initializing lsm=capability,integrity
[    0.090943] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.090963] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.092444] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.094025] Setting up static identity map for 0x80100000 - 0x80100078
[    0.094302] rcu: Hierarchical SRCU implementation.
[    0.094312] rcu:     Max phase no-delay instances is 1000.
[    0.095007] smp: Bringing up secondary CPUs ...
[    0.095052] smp: Brought up 1 node, 1 CPU
[    0.095065] SMP: Total of 1 processors activated (996.14 BogoMIPS).
[    0.095076] CPU: All CPU(s) started in SVC mode.
[    0.095913] devtmpfs: initialized
[    0.111628] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.111967] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.111999] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.113346] pinctrl core: initialized pinctrl subsystem
[    0.115711] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.118220] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.118812] audit: initializing netlink subsys (disabled)
[    0.120042] thermal_sys: Registered thermal governor 'fair_share'
[    0.120059] thermal_sys: Registered thermal governor 'step_wise'
[    0.120066] thermal_sys: Registered thermal governor 'user_space'
[    0.120171] audit: type=2000 audit(0.110:1): state=initialized audit_enabled=0 res=1
[    0.120246] cpuidle: using governor menu
[    0.136307] No ATAGs?
[    0.136332] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.139250] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.
[    0.796113] iommu: Default domain type: Translated
[    0.796134] iommu: DMA domain TLB invalidation policy: strict mode
[    0.797539] SCSI subsystem initialized
[    0.798340] reg-fixed-voltage fixedregulator0: using DT '/fixedregulator0' for '(null)' GPIO lookup
[    0.798391] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/fixedregulator0[0]'
[    0.798418] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator0[0]'
[    0.798432] reg-fixed-voltage fixedregulator0: using lookup tables for GPIO lookup
[    0.798442] reg-fixed-voltage fixedregulator0: No GPIO consumer (null) found
[    0.798977] libata version 3.00 loaded.
[    0.799324] pps_core: LinuxPPS API ver. 1 registered
[    0.799334] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.799358] PTP clock support registered
[    0.801291] vgaarb: loaded
[    0.801607] clocksource: Switched to clocksource dmtimer
[    0.802196] VFS: Disk quotas dquot_6.6.0
[    0.802257] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.824100] NET: Registered PF_INET protocol family
[    0.824447] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.825801] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.825835] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.825852] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.825895] TCP bind hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    0.825995] TCP: Hash tables configured (established 4096 bind 4096)
[    0.826127] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.826155] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.826330] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.827486] RPC: Registered named UNIX socket transport module.
[    0.827506] RPC: Registered udp transport module.
[    0.827511] RPC: Registered tcp transport module.
[    0.827516] RPC: Registered tcp-with-tls transport module.
[    0.827522] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.827547] PCI: CLS 0 bytes, default 64
[    0.829097] Initialise system trusted keyrings
[    0.829929] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.831131] NFS: Registering the id_resolver key type
[    0.831202] Key type id_resolver registered
[    0.831211] Key type id_legacy registered
[    0.831262] jffs2: version 2.2. (NAND) (SUMMARY)  Ā© 2001-2006 Red Hat, Inc.
[    0.831890] Key type asymmetric registered
[    0.831910] Asymmetric key parser 'x509' registered
[    0.831978] io scheduler mq-deadline registered
[    0.831989] io scheduler kyber registered
[    0.832065] io scheduler bfq registered
[    0.836003] Serial: 8250/16550 driver, 6 ports, IRQ sharing enabled
[    0.854399] brd: module loaded
[    0.862250] loop: module loaded
[    0.863156] mtdoops: mtd device (mtddev=name/number) must be supplied
[    0.864594] mdio_bus fixed-0: using lookup tables for GPIO lookup
[    0.864615] mdio_bus fixed-0: No GPIO consumer reset found
[    0.865820] i2c_dev: i2c /dev entries driver
[    0.866672] cpuidle: enable-method property 'ti,am3352' found operations
[    0.867117] sdhci: Secure Digital Host Controller Interface driver
[    0.867126] sdhci: Copyright(c) Pierre Ossman
[    0.867301] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.867553] ledtrig-cpu: registered to indicate activity on CPUs
[    0.868305] Initializing XFRM netlink socket
[    0.868430] NET: Registered PF_INET6 protocol family
[    0.870163] Segment Routing with IPv6
[    0.870236] In-situ OAM (IOAM) with IPv6
[    0.870343] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    0.871258] NET: Registered PF_PACKET protocol family
[    0.871285] NET: Registered PF_KEY protocol family
[    0.871407] Key type dns_resolver registered
[    0.871750] ThumbEE CPU extension supported.
[    0.871774] Registering SWP/SWPB emulation handler
[    0.872229] omap_voltage_late_init: Voltage driver support not added
[    0.872588] SmartReflex Class3 initialized
[    0.879910] Loading compiled-in X.509 certificates
[    0.915554] gpiochip_find_base: found new base at 512
[    0.921378] platform 44e10800.pinmux: Fixed dependency cycle(s) with /ocp/interconnect@44c00000/segment@200000/target-module@10000/scm@0/pinmux@800/clkout2-pins
[    0.922111] pinctrl-single 44e10800.pinmux: 142 pins, size 568
[    0.926675] ti-sysc: probe of 44e31000.target-module failed with error -16
[    0.941213] ti-sysc: probe of 48040000.target-module failed with error -16
[    0.951538] gpiochip_find_base: found new base at 512
[    0.951771] gpio gpiochip0: (gpio-0-31): created GPIO range 0->7 ==> 44e10800.pinmux PIN 0->7
[    0.951794] gpio gpiochip0: (gpio-0-31): created GPIO range 8->11 ==> 44e10800.pinmux PIN 90->93
[    0.951809] gpio gpiochip0: (gpio-0-31): created GPIO range 12->27 ==> 44e10800.pinmux PIN 12->27
[    0.951823] gpio gpiochip0: (gpio-0-31): created GPIO range 28->31 ==> 44e10800.pinmux PIN 30->33
[    0.953443] gpio gpiochip0: (gpio-0-31): added GPIO chardev (254:0)
[    0.953593] gpio gpiochip0: registered GPIOs 512 to 543 on gpio-0-31
[    0.953676] OMAP GPIO hardware version 0.1
[    0.965547] i2c i2c-2: using DT '/ocp/interconnect@48000000/segment@100000/target-module@9c000/i2c@0' for 'scl' GPIO lookup
[    0.965613] of_get_named_gpiod_flags: can't parse 'scl-gpios' property of node '/ocp/interconnect@48000000/segment@100000/target-module@9c000/i2c@0[0]'
[    0.965648] of_get_named_gpiod_flags: can't parse 'scl-gpio' property of node '/ocp/interconnect@48000000/segment@100000/target-module@9c000/i2c@0[0]'
[    0.965677] i2c i2c-2: using lookup tables for GPIO lookup
[    0.965686] i2c i2c-2: No GPIO consumer scl found
[    0.965707] i2c i2c-2: using DT '/ocp/interconnect@48000000/segment@100000/target-module@9c000/i2c@0' for 'sda' GPIO lookup
[    0.965736] of_get_named_gpiod_flags: can't parse 'sda-gpios' property of node '/ocp/interconnect@48000000/segment@100000/target-module@9c000/i2c@0[0]'
[    0.965767] of_get_named_gpiod_flags: can't parse 'sda-gpio' property of node '/ocp/interconnect@48000000/segment@100000/target-module@9c000/i2c@0[0]'
[    0.965792] i2c i2c-2: using lookup tables for GPIO lookup
[    0.965799] i2c i2c-2: No GPIO consumer sda found
[    0.966453] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
[    0.970838] omap8250 481a6000.serial: using DT '/ocp/interconnect@48000000/segment@100000/target-module@a6000/serial@0' for 'rs485-term' GPIO lookup
[    0.970905] of_get_named_gpiod_flags: can't parse 'rs485-term-gpios' property of node '/ocp/interconnect@48000000/segment@100000/target-module@a6000/serial@0[0]'
[    0.970942] of_get_named_gpiod_flags: can't parse 'rs485-term-gpio' property of node '/ocp/interconnect@48000000/segment@100000/target-module@a6000/serial@0[0]'
[    0.970971] omap8250 481a6000.serial: using lookup tables for GPIO lookup
[    0.970980] omap8250 481a6000.serial: No GPIO consumer rs485-term found
[    0.970989] omap8250 481a6000.serial: using DT '/ocp/interconnect@48000000/segment@100000/target-module@a6000/serial@0' for 'rs485-rx-during-tx' GPIO lookup
[    0.971020] of_get_named_gpiod_flags: can't parse 'rs485-rx-during-tx-gpios' property of node '/ocp/interconnect@48000000/segment@100000/target-module@a6000/serial@0[0]'
[    0.971050] of_get_named_gpiod_flags: can't parse 'rs485-rx-during-tx-gpio' property of node '/ocp/interconnect@48000000/segment@100000/target-module@a6000/serial@0[0]'
[    0.971077] omap8250 481a6000.serial: using lookup tables for GPIO lookup
[    0.971084] omap8250 481a6000.serial: No GPIO consumer rs485-rx-during-tx found
[    0.971432] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 25, base_baud = 3000000) is a 8250
[    0.971982] serial serial0: tty port ttyS3 registered
[    0.975708] gpiochip_find_base: found new base at 544
[    0.975752] gpio gpiochip1: (gpio-32-63): created GPIO range 0->17 ==> 44e10800.pinmux PIN 34->51
[    0.975770] gpio gpiochip1: (gpio-32-63): created GPIO range 18->21 ==> 44e10800.pinmux PIN 77->80
[    0.975785] gpio gpiochip1: (gpio-32-63): created GPIO range 22->31 ==> 44e10800.pinmux PIN 56->65
[    0.976617] gpio gpiochip1: (gpio-32-63): added GPIO chardev (254:1)
[    0.976767] gpio gpiochip1: registered GPIOs 544 to 575 on gpio-32-63
[    0.978946] gpiochip_find_base: found new base at 576
[    0.978986] gpio gpiochip2: (gpio-64-95): created GPIO range 0->4 ==> 44e10800.pinmux PIN 66->70
[    0.979003] gpio gpiochip2: (gpio-64-95): created GPIO range 5->6 ==> 44e10800.pinmux PIN 98->99
[    0.979017] gpio gpiochip2: (gpio-64-95): created GPIO range 7->8 ==> 44e10800.pinmux PIN 75->76
[    0.979031] gpio gpiochip2: (gpio-64-95): created GPIO range 13->13 ==> 44e10800.pinmux PIN 141->141
[    0.979045] gpio gpiochip2: (gpio-64-95): created GPIO range 14->21 ==> 44e10800.pinmux PIN 100->107
[    0.979082] gpio gpiochip2: Persistence not supported for GPIO 10
[    0.979097] gpio-586 (LS_BUF_EN): hogged as output/high
[    0.979611] gpio gpiochip2: (gpio-64-95): added GPIO chardev (254:2)
[    0.979724] gpio gpiochip2: registered GPIOs 576 to 607 on gpio-64-95
[    1.002854] debugfs: Directory '49000000.dma' with parent 'dmaengine' already present!
[    1.002906] edma 49000000.dma: TI EDMA DMA engine driver
[    1.013873] sdhci-omap 481d8000.mmc: using DT '/ocp/interconnect@48000000/segment@100000/target-module@d8000/mmc@0' for 'wp' GPIO lookup
[    1.013942] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/interconnect@48000000/segment@100000/target-module@d8000/mmc@0[0]'
[    1.013979] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/interconnect@48000000/segment@100000/target-module@d8000/mmc@0[0]'
[    1.014008] sdhci-omap 481d8000.mmc: using lookup tables for GPIO lookup
[    1.014017] sdhci-omap 481d8000.mmc: No GPIO consumer wp found
[    1.014180] sdhci-omap 481d8000.mmc: supply pbias not found, using dummy regulator
[    1.014648] sdhci-omap 481d8000.mmc: supply vqmmc not found, using dummy regulator
[    1.029532] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[    1.030292] gpio-clk clk_mcasp0: using DT '/clk_mcasp0' for 'enable' GPIO lookup
[    1.030350] of_get_named_gpiod_flags: parsed 'enable-gpios' property of node '/clk_mcasp0[0]' - status (0)
[    1.030453] gpio gpiochip0: Persistence not supported for GPIO 27
[    1.031168] gpiochip_find_base: found new base at 608
[    1.031209] gpio gpiochip3: (gpio-96-127): created GPIO range 0->7 ==> 44e10800.pinmux PIN 82->89
[    1.031229] gpio gpiochip3: (gpio-96-127): created GPIO range 8->11 ==> 44e10800.pinmux PIN 52->55
[    1.031242] gpio gpiochip3: (gpio-96-127): created GPIO range 12->15 ==> 44e10800.pinmux PIN 94->97
[    1.031257] gpio gpiochip3: (gpio-96-127): created GPIO range 16->17 ==> 44e10800.pinmux PIN 71->72
[    1.031270] gpio gpiochip3: (gpio-96-127): created GPIO range 18->18 ==> 44e10800.pinmux PIN 135->135
[    1.031285] gpio gpiochip3: (gpio-96-127): created GPIO range 19->20 ==> 44e10800.pinmux PIN 108->109
[    1.031299] gpio gpiochip3: (gpio-96-127): created GPIO range 21->21 ==> 44e10800.pinmux PIN 73->73
[    1.031314] gpio gpiochip3: (gpio-96-127): created GPIO range 22->23 ==> 44e10800.pinmux PIN 8->9
[    1.031330] gpio gpiochip3: (gpio-96-127): created GPIO range 26->27 ==> 44e10800.pinmux PIN 10->11
[    1.031346] gpio gpiochip3: (gpio-96-127): created GPIO range 28->28 ==> 44e10800.pinmux PIN 74->74
[    1.031361] gpio gpiochip3: (gpio-96-127): created GPIO range 29->29 ==> 44e10800.pinmux PIN 81->81
[    1.031377] gpio gpiochip3: (gpio-96-127): created GPIO range 30->31 ==> 44e10800.pinmux PIN 28->29
[    1.037156] l3-aon-clkctrl:0000:0: failed to disable
[    1.037438] gpio gpiochip3: (gpio-96-127): added GPIO chardev (254:3)
[    1.037574] gpio gpiochip3: registered GPIOs 608 to 639 on gpio-96-127
[    1.039464] omap8250 44e09000.serial: using DT '/ocp/interconnect@44c00000/segment@200000/target-module@9000/serial@0' for 'rs485-term' GPIO lookup
[    1.039529] of_get_named_gpiod_flags: can't parse 'rs485-term-gpios' property of node '/ocp/interconnect@44c00000/segment@200000/target-module@9000/serial@0[0]'
[    1.039566] of_get_named_gpiod_flags: can't parse 'rs485-term-gpio' property of node '/ocp/interconnect@44c00000/segment@200000/target-module@9000/serial@0[0]'
[    1.039594] omap8250 44e09000.serial: using lookup tables for GPIO lookup
[    1.039604] omap8250 44e09000.serial: No GPIO consumer rs485-term found
[    1.039613] omap8250 44e09000.serial: using DT '/ocp/interconnect@44c00000/segment@200000/target-module@9000/serial@0' for 'rs485-rx-during-tx' GPIO lookup
[    1.039642] of_get_named_gpiod_flags: can't parse 'rs485-rx-during-tx-gpios' property of node '/ocp/interconnect@44c00000/segment@200000/target-module@9000/serial@0[0]'
[    1.039672] of_get_named_gpiod_flags: can't parse 'rs485-rx-during-tx-gpio' property of node '/ocp/interconnect@44c00000/segment@200000/target-module@9000/serial@0[0]'
[    1.039698] omap8250 44e09000.serial: using lookup tables for GPIO lookup
[    1.039705] omap8250 44e09000.serial: No GPIO consumer rs485-rx-during-tx found
[    1.040054] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 32, base_baud = 3000000) is a 8250
[    1.040134] printk: console [ttyS0] enabled
[    1.924786] mmc1: SDHCI controller on 481d8000.mmc [481d8000.mmc] using External DMA
[    1.935478] i2c i2c-0: using DT '/ocp/interconnect@44c00000/segment@200000/target-module@b000/i2c@0' for 'scl' GPIO lookup
[    1.935548] of_get_named_gpiod_flags: can't parse 'scl-gpios' property of node '/ocp/interconnect@44c00000/segment@200000/target-module@b000/i2c@0[0]'
[    1.935585] of_get_named_gpiod_flags: can't parse 'scl-gpio' property of node '/ocp/interconnect@44c00000/segment@200000/target-module@b000/i2c@0[0]'
[    1.935616] i2c i2c-0: using lookup tables for GPIO lookup
[    1.935628] i2c i2c-0: No GPIO consumer scl found
[    1.935650] i2c i2c-0: using DT '/ocp/interconnect@44c00000/segment@200000/target-module@b000/i2c@0' for 'sda' GPIO lookup
[    1.935747] of_get_named_gpiod_flags: can't parse 'sda-gpios' property of node '/ocp/interconnect@44c00000/segment@200000/target-module@b000/i2c@0[0]'
[    1.935784] of_get_named_gpiod_flags: can't parse 'sda-gpio' property of node '/ocp/interconnect@44c00000/segment@200000/target-module@b000/i2c@0[0]'
[    1.935812] i2c i2c-0: using lookup tables for GPIO lookup
[    1.935821] i2c i2c-0: No GPIO consumer sda found
[    1.962431] tps65217-pmic: Failed to locate of_node [id: -1]
[    1.968517] tps65217-bl: Failed to locate of_node [id: -1]
[    1.979532] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[    1.985735] i2c 0-0070: Fixed dependency cycle(s) with /ocp/interconnect@48000000/segment@300000/target-module@e000/lcdc@0/port/endpoint@0
[    1.998512] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    2.005820] reg-fixed-voltage fixedregulator@2: using DT '/fixedregulator@2' for '(null)' GPIO lookup
[    2.005876] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/fixedregulator@2[0]'
[    2.005925] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator@2[0]' - status (0)
[    2.005959] gpio gpiochip2: Persistence not supported for GPIO 9
[    2.007526] sdhci-omap 48060000.mmc: using DT '/ocp/interconnect@48000000/segment@0/target-module@60000/mmc@0' for 'cd' GPIO lookup
[    2.007611] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/interconnect@48000000/segment@0/target-module@60000/mmc@0[0]' - status (0)
[    2.007708] gpio gpiochip3: Persistence not supported for GPIO 6
[    2.007732] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
[    2.016610] sdhci-omap 48060000.mmc: Got CD GPIO
[    2.021258] sdhci-omap 48060000.mmc: using DT '/ocp/interconnect@48000000/segment@0/target-module@60000/mmc@0' for 'wp' GPIO lookup
[    2.021298] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/interconnect@48000000/segment@0/target-module@60000/mmc@0[0]'
[    2.021334] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/interconnect@48000000/segment@0/target-module@60000/mmc@0[0]'
[    2.021363] sdhci-omap 48060000.mmc: using lookup tables for GPIO lookup
[    2.021375] sdhci-omap 48060000.mmc: No GPIO consumer wp found
[    2.021566] sdhci-omap 48060000.mmc: supply pbias not found, using dummy regulator
[    2.031370] sdhci-omap 47810000.mmc: using DT '/ocp/target-module@47810000/mmc@0' for 'wp' GPIO lookup
[    2.031444] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/target-module@47810000/mmc@0[0]'
[    2.031477] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/target-module@47810000/mmc@0[0]'
[    2.031501] sdhci-omap 47810000.mmc: using lookup tables for GPIO lookup
[    2.031513] sdhci-omap 47810000.mmc: No GPIO consumer wp found
[    2.032235] sdhci-omap 48060000.mmc: supply vqmmc not found, using dummy regulator
[    2.040827] sdhci-omap 47810000.mmc: supply pbias not found, using dummy regulator
[    2.049720] sdhci-omap 47810000.mmc: supply vqmmc not found, using dummy regulator
[    2.079545] mmc1: new high speed MMC card at address 0001
[    2.086269] mmcblk1: mmc1:0001 MMC04G 3.60 GiB
[    2.093592] mmc0: SDHCI controller on 48060000.mmc [48060000.mmc] using External DMA
[    2.101993]  mmcblk1: p1 p2
[    2.106552] mmcblk1boot0: mmc1:0001 MMC04G 2.00 MiB
[    2.113841] mmcblk1boot1: mmc1:0001 MMC04G 2.00 MiB
[    2.120653] mmcblk1rpmb: mmc1:0001 MMC04G 128 KiB, chardev (250:0)
[    2.176956] mmc2: SDHCI controller on 47810000.mmc [47810000.mmc] using External DMA
[    2.188098] clk: Disabling unused clocks
[    2.193503] Waiting for root device /dev/mmcblk0p2...
[    2.202167] mmc0: new high speed SDHC card at address e624
[    2.209225] mmcblk0: mmc0:e624 SS16G 14.8 GiB
[    2.220898]  mmcblk0: p1 p2
[    2.415514] EXT4-fs (mmcblk0p2): recovery complete
[    2.427749] EXT4-fs (mmcblk0p2): mounted filesystem 1a64b592-aa5f-414f-9644-5e7e70d5bbe7 r/w with ordered data mode. Quota mode: none.
[    2.440104] VFS: Mounted root (ext4 filesystem) on device 179:26.
[    2.452536] devtmpfs: mounted
[    2.457029] Freeing unused kernel image (initmem) memory: 1024K
[    2.463658] Run /sbin/init as init process
[    2.467815]   with arguments:
[    2.467823]     /sbin/init
[    2.467830]     earlyprintk
[    2.467836]   with environment:
[    2.467842]     HOME=/
[    2.467848]     TERM=linux
[    2.573090] EXT4-fs (mmcblk0p2): re-mounted 1a64b592-aa5f-414f-9644-5e7e70d5bbe7 r/w. Quota mode: none.
[    2.623502] mmc2: Failed to initialize a non-removable card
[    4.532917] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[    4.544899] omap-aes 53500000.aes: will run requests pump with realtime priority
[    4.582566] at24 2-0054: supply vcc not found, using dummy regulator
[    4.589392] at24 2-0054: using DT '/ocp/interconnect@48000000/segment@100000/target-module@9c000/i2c@0/cape_eeprom0@54' for 'wp' GPIO lookup
[    4.589459] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/interconnect@48000000/segment@100000/target-module@9c000/i2c@0/cape_eeprom0@54[0]'
[    4.589505] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/interconnect@48000000/segment@100000/target-module@9c000/i2c@0/cape_eeprom0@54[0]'
[    4.589541] at24 2-0054: using lookup tables for GPIO lookup
[    4.589553] at24 2-0054: No GPIO consumer wp found
[    4.615870] at24 2-0055: supply vcc not found, using dummy regulator
[    4.622727] at24 2-0055: using DT '/ocp/interconnect@48000000/segment@100000/target-module@9c000/i2c@0/cape_eeprom1@55' for 'wp' GPIO lookup
[    4.622789] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/interconnect@48000000/segment@100000/target-module@9c000/i2c@0/cape_eeprom1@55[0]'
[    4.622833] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/interconnect@48000000/segment@100000/target-module@9c000/i2c@0/cape_eeprom1@55[0]'
[    4.622868] at24 2-0055: using lookup tables for GPIO lookup
[    4.622879] at24 2-0055: No GPIO consumer wp found
[    4.656069] at24 2-0056: supply vcc not found, using dummy regulator
[    4.662927] at24 2-0056: using DT '/ocp/interconnect@48000000/segment@100000/target-module@9c000/i2c@0/cape_eeprom2@56' for 'wp' GPIO lookup
[    4.662992] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/interconnect@48000000/segment@100000/target-module@9c000/i2c@0/cape_eeprom2@56[0]'
[    4.663036] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/interconnect@48000000/segment@100000/target-module@9c000/i2c@0/cape_eeprom2@56[0]'
[    4.663071] at24 2-0056: using lookup tables for GPIO lookup
[    4.663082] at24 2-0056: No GPIO consumer wp found
[    4.696009] at24 2-0057: supply vcc not found, using dummy regulator
[    4.702864] at24 2-0057: using DT '/ocp/interconnect@48000000/segment@100000/target-module@9c000/i2c@0/cape_eeprom3@57' for 'wp' GPIO lookup
[    4.702931] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/interconnect@48000000/segment@100000/target-module@9c000/i2c@0/cape_eeprom3@57[0]'
[    4.702973] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/interconnect@48000000/segment@100000/target-module@9c000/i2c@0/cape_eeprom3@57[0]'
[    4.703008] at24 2-0057: using lookup tables for GPIO lookup
[    4.703019] at24 2-0057: No GPIO consumer wp found
[    4.737071] at24 0-0050: using DT '/ocp/interconnect@44c00000/segment@200000/target-module@b000/i2c@0/baseboard_eeprom@50' for 'wp' GPIO lookup
[    4.737161] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/interconnect@44c00000/segment@200000/target-module@b000/i2c@0/baseboard_eeprom@50[0]'
[    4.737208] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/interconnect@44c00000/segment@200000/target-module@b000/i2c@0/baseboard_eeprom@50[0]'
[    4.737243] at24 0-0050: using lookup tables for GPIO lookup
[    4.737255] at24 0-0050: No GPIO consumer wp found
[    4.738597] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    4.905284] Bluetooth: Core ver 2.22
[    4.909153] NET: Registered PF_BLUETOOTH protocol family
[    4.914617] Bluetooth: HCI device and connection manager initialized
[    4.921029] Bluetooth: HCI socket layer initialized
[    4.925968] Bluetooth: L2CAP socket layer initialized
[    4.931077] Bluetooth: SCO socket layer initialized
[    4.976790] Bluetooth: HCI UART driver ver 2.3
[    4.981316] Bluetooth: HCI UART protocol H4 registered
[    4.986652] Bluetooth: HCI UART protocol BCSP registered
[    4.992258] Bluetooth: HCI UART protocol LL registered
[    4.997490] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    5.004288] Bluetooth: HCI UART protocol Broadcom registered
[    5.012054] hci-ti serial0-0: using DT '/ocp/interconnect@48000000/segment@100000/target-module@a6000/serial@0/bluetooth' for 'enable' GPIO lookup
[    5.012164] of_get_named_gpiod_flags: parsed 'enable-gpios' property of node '/ocp/interconnect@48000000/segment@100000/target-module@a6000/serial@0/bluetooth[0]' - status (0)
[    5.012224] gpio gpiochip3: Persistence not supported for GPIO 28
[    5.014157] Bluetooth: hci0: Frame reassembly failed (-84)
[    5.047697] remoteproc remoteproc0: wkup_m3 is available
[    5.365063] Bluetooth: hci0: Failed to get CTS
[    5.482837] (NULL device *): using DT '/leds/led2' for '(null)' GPIO lookup
[    5.482931] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led2[0]' - status (0)
[    5.482979] gpio gpiochip0: Persistence not supported for GPIO 21
[    5.482990] gpio-533 (?): no flags found for (null)
[    5.483323] (NULL device *): using DT '/leds/led3' for '(null)' GPIO lookup
[    5.483372] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led3[0]' - status (0)
[    5.483404] gpio gpiochip0: Persistence not supported for GPIO 22
[    5.483415] gpio-534 (?): no flags found for (null)
[    5.483610] (NULL device *): using DT '/leds/led4' for '(null)' GPIO lookup
[    5.483646] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led4[0]' - status (0)
[    5.483673] gpio gpiochip0: Persistence not supported for GPIO 23
[    5.483683] gpio-535 (?): no flags found for (null)
[    5.483852] (NULL device *): using DT '/leds/led5' for '(null)' GPIO lookup
[    5.483886] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led5[0]' - status (0)
[    5.483913] gpio gpiochip0: Persistence not supported for GPIO 24
[    5.483923] gpio-536 (?): no flags found for (null)
[    5.504613] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    5.774357] tps6521x_pwrbutton tps65217-pwrbutton: DMA mask not set
[    5.792919] 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.861425] omap_rng 48310000.rng: Random Number Generator ver. 20
[    5.868720] random: crng init done
[    5.903244] omap_rtc 44e3e000.rtc: already running
[    5.932452] omap_rtc 44e3e000.rtc: registered as rtc0
[    5.937637] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01T00:00:39 UTC (946684839)
[    5.946448] omap_rtc 44e3e000.rtc: using DT '/ocp/interconnect@44c00000/segment@200000/target-module@3e000/rtc@0' for 'wp' GPIO lookup
[    5.946515] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/interconnect@44c00000/segment@200000/target-module@3e000/rtc@0[0]'
[    5.946556] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/interconnect@44c00000/segment@200000/target-module@3e000/rtc@0[0]'
[    5.946587] omap_rtc 44e3e000.rtc: using lookup tables for GPIO lookup
[    5.946599] omap_rtc 44e3e000.rtc: No GPIO consumer wp found
[    5.986214] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[    6.021951] omap-sham 53100000.sham: will run requests pump with realtime priority
[    6.194277] tda998x 0-0070: found TDA19988
[    6.212254] tilcdc 4830e000.lcdc: bound 0-0070 (ops tda998x_ops [tda998x])
[    6.233373] [drm] Initialized tilcdc 1.0.0 20121205 for 4830e000.lcdc on minor 0
[    6.251942] tilcdc 4830e000.lcdc: [drm] Cannot find any crtc or sizes
[    6.260461] tilcdc 4830e000.lcdc: [drm] Cannot find any crtc or sizes
[    6.288735] am335x-phy-driver 47401300.usb-phy: using DT '/ocp/target-module@47400000/usb-phy@1300' for 'reset' GPIO lookup
[    6.288822] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/target-module@47400000/usb-phy@1300[0]'
[    6.288859] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/target-module@47400000/usb-phy@1300[0]'
[    6.288891] am335x-phy-driver 47401300.usb-phy: using lookup tables for GPIO lookup
[    6.288904] am335x-phy-driver 47401300.usb-phy: No GPIO consumer reset found
[    6.288915] am335x-phy-driver 47401300.usb-phy: using DT '/ocp/target-module@47400000/usb-phy@1300' for 'vbus-detect' GPIO lookup
[    6.288941] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpios' property of node '/ocp/target-module@47400000/usb-phy@1300[0]'
[    6.288968] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpio' property of node '/ocp/target-module@47400000/usb-phy@1300[0]'
[    6.288988] am335x-phy-driver 47401300.usb-phy: using lookup tables for GPIO lookup
[    6.288998] am335x-phy-driver 47401300.usb-phy: No GPIO consumer vbus-detect found
[    6.289147] am335x-phy-driver 47401300.usb-phy: dummy supplies not allowed for exclusive requests
[    6.372968] am335x-phy-driver 47401b00.usb-phy: using DT '/ocp/target-module@47400000/usb-phy@1b00' for 'reset' GPIO lookup
[    6.373049] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/target-module@47400000/usb-phy@1b00[0]'
[    6.373084] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/target-module@47400000/usb-phy@1b00[0]'
[    6.373115] am335x-phy-driver 47401b00.usb-phy: using lookup tables for GPIO lookup
[    6.373127] am335x-phy-driver 47401b00.usb-phy: No GPIO consumer reset found
[    6.373139] am335x-phy-driver 47401b00.usb-phy: using DT '/ocp/target-module@47400000/usb-phy@1b00' for 'vbus-detect' GPIO lookup
[    6.373164] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpios' property of node '/ocp/target-module@47400000/usb-phy@1b00[0]'
[    6.373191] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpio' property of node '/ocp/target-module@47400000/usb-phy@1b00[0]'
[    6.373212] am335x-phy-driver 47401b00.usb-phy: using lookup tables for GPIO lookup
[    6.373222] am335x-phy-driver 47401b00.usb-phy: No GPIO consumer vbus-detect found
[    6.373368] am335x-phy-driver 47401b00.usb-phy: dummy supplies not allowed for exclusive requests
[    6.403424] asoc-simple-card sound: using DT '/sound' for 'simple-audio-card,hp-det' GPIO lookup
[    6.403500] of_get_named_gpiod_flags: can't parse 'simple-audio-card,hp-det-gpios' property of node '/sound[0]'
[    6.403533] of_get_named_gpiod_flags: can't parse 'simple-audio-card,hp-det-gpio' property of node '/sound[0]'
[    6.403552] asoc-simple-card sound: using lookup tables for GPIO lookup
[    6.403563] asoc-simple-card sound: No GPIO consumer simple-audio-card,hp-det found
[    6.403576] asoc-simple-card sound: using DT '/sound' for 'simple-audio-card,mic-det' GPIO lookup
[    6.403596] of_get_named_gpiod_flags: can't parse 'simple-audio-card,mic-det-gpios' property of node '/sound[0]'
[    6.403618] of_get_named_gpiod_flags: can't parse 'simple-audio-card,mic-det-gpio' property of node '/sound[0]'
[    6.403633] asoc-simple-card sound: using lookup tables for GPIO lookup
[    6.403643] asoc-simple-card sound: No GPIO consumer simple-audio-card,mic-det found
[    6.469070] usbcore: registered new interface driver usbfs
[    6.474824] usbcore: registered new interface driver hub
[    6.480260] usbcore: registered new device driver usb
[    6.596679] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[    6.602262] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[    6.642112] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[    6.650464] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.657835] usb usb1: Product: MUSB HDRC host driver
[    6.662855] usb usb1: Manufacturer: Linux 6.6.0-rc3 musb-hcd
[    6.668544] usb usb1: SerialNumber: musb-hdrc.1
[    6.692472] hub 1-0:1.0: USB hub found
[    6.696363] hub 1-0:1.0: 1 port detected
[    6.752698] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    6.802397] remoteproc remoteproc0: powering up wkup_m3
[    6.829593] PM: Cannot get wkup_m3_ipc handle
[    6.863132] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 243276
[    6.871733] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
[    6.878767] remoteproc remoteproc0: remote processor wkup_m3 is now up
[   17.124519] PM: bootloader does not support rtc-only!
#

what image did you originally use? (provide a link if possible)

@Viveky1794 built it from buildroot…

so a buildroot version and what config might be useful…

Regards,

1 Like

Hi @RobertCNelson and @amf99.

so a buildroot version and what config might be useful…

utility- buidtroot GitHub - buildroot/buildroot: Buildroot, making embedded Linux easy. Note that this is not the official repository, but only a mirror. The official Git repository is at http://git.buildroot.net/buildroot/. Do not open issues or file pull requests here.
branch - master
defconfig- beaglebone_defconfig

Steps

sudo make beaglebone_defconfig
sudo make menuconfig

Kernel ==> kernel binary format(zImage)

sudo make -j20

If I use everything from buildroot. I can see lsmod listed all the available modules.
You can check log at last.
But I am facing issue if I compile mainline kernel and modules and transfer to BBB rootfs/lib/modules/.

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 - 0x5fa7a8 ]
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
Working FDT set to 88000000
   Loading Device Tree to 8ffec000, end 8ffff12f ... OK
Working FDT set to 8ffec000

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.10.162 (root@riscv-demo) (arm-buildroot-linux-gnu                                                                                        eabihf-gcc.br_real (Buildroot 2023.08-651-g61b72fb9d4) 12.3.0, GNU ld (GNU Binut                                                                                        ils) 2.40) #1 SMP Wed Oct 4 16:16:04 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
[    0.000000] Memory policy: Data cache writeback
[    0.000000] cma: Reserved 16 MiB at 0x9e800000
[    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 20 pages/cpu s49740 r8192 d23988 u81920
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129412
[    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] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[    0.000000] Memory: 484836K/522240K available (10240K kernel code, 1025K rwda                                                                                        ta, 2176K rodata, 1024K init, 280K bss, 21020K reserved, 16384K cma-reserved, 0K                                                                                         highmem)
[    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] TI gptimer clocksource: always-on /ocp/interconnect@44c00000/segm                                                                                        ent@200000/target-module@31000
[    0.000011] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478                                                                                        484971ns
[    0.000032] clocksource: dmtimer: mask: 0xffffffff max_cycles: 0xffffffff, ma                                                                                        x_idle_ns: 79635851949 ns
[    0.000428] TI gptimer clockevent: 24000000 Hz at /ocp/interconnect@48000000/                                                                                        segment@0/target-module@40000
[    0.001971] Console: colour dummy device 80x30
[    0.002040] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
[    0.090520] pid_max: default: 32768 minimum: 301
[    0.090676] LSM: Security Framework initializing
[    0.090786] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linea                                                                                        r)
[    0.090804] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes,                                                                                         linear)
[    0.091837] CPU: Testing write buffer coherency: ok
[    0.091924] CPU0: Spectre v2: using BPIALL workaround
[    0.092326] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.093205] Setting up static identity map for 0x80100000 - 0x80100078
[    0.093420] rcu: Hierarchical SRCU implementation.
[    0.093978] smp: Bringing up secondary CPUs ...
[    0.093995] smp: Brought up 1 node, 1 CPU
[    0.094007] SMP: Total of 1 processors activated (996.14 BogoMIPS).
[    0.094016] CPU: All CPU(s) started in SVC mode.
[    0.094718] devtmpfs: initialized
[    0.107435] VFP support v0.3: implementor 41 architecture 3 part 30 variant c                                                                                         rev 3
[    0.107742] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma                                                                                        x_idle_ns: 19112604462750000 ns
[    0.107771] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.109040] pinctrl core: initialized pinctrl subsystem
[    0.111086] NET: Registered protocol family 16
[    0.113875] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.121551] audit: initializing netlink subsys (disabled)
[    0.122752] thermal_sys: Registered thermal governor 'fair_share'
[    0.122764] thermal_sys: Registered thermal governor 'step_wise'
[    0.122780] thermal_sys: Registered thermal governor 'user_space'
[    0.123058] cpuidle: using governor menu
[    1.556555] audit: type=2000 audit(0.120:1): state=initialized audit_enabled=                                                                                        0 res=1
[    1.746517] No ATAGs?
[    1.746547] hw-breakpoint: debug architecture 0x4 unsupported.
[    1.771373] Kprobes globally optimized
[    1.780124] iommu: Default domain type: Translated
[    1.782103] vgaarb: loaded
[    1.782638] SCSI subsystem initialized
[    1.783554] pps_core: LinuxPPS API ver. 1 registered
[    1.783571] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giome                                                                                        tti <giometti@linux.it>
[    1.783618] PTP clock support registered
[    1.784799] clocksource: Switched to clocksource dmtimer
[    2.373877] VFS: Disk quotas dquot_6.6.0
[    2.373994] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    2.383704] NET: Registered protocol family 2
[    2.384037] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear                                                                                        )
[    2.385062] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144                                                                                         bytes, linear)
[    2.385119] TCP established hash table entries: 4096 (order: 2, 16384 bytes,                                                                                         linear)
[    2.385164] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    2.385225] TCP: Hash tables configured (established 4096 bind 4096)
[    2.385351] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    2.385379] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    2.385554] NET: Registered protocol family 1
[    2.386599] RPC: Registered named UNIX socket transport module.
[    2.386620] RPC: Registered udp transport module.
[    2.386629] RPC: Registered tcp transport module.
[    2.386638] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.386658] PCI: CLS 0 bytes, default 64
[    2.388142] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counter                                                                                        s available
[    2.389734] Initialise system trusted keyrings
[    2.390176] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    2.391400] NFS: Registering the id_resolver key type
[    2.391467] Key type id_resolver registered
[    2.391478] Key type id_legacy registered
[    2.391535] jffs2: version 2.2. (NAND) (SUMMARY)  Ā© 2001-2006 Red Hat, Inc.
[    2.391913] Key type asymmetric registered
[    2.391930] Asymmetric key parser 'x509' registered
[    2.391951] io scheduler mq-deadline registered
[    2.391963] io scheduler kyber registered
[    2.766171] ti-sysc: probe of 44e31000.target-module failed with error -16
[    2.817451] ti-sysc: probe of 48040000.target-module failed with error -16
[    3.093151] debugfs: Directory '49000000.dma' with parent 'dmaengine' already                                                                                         present!
[    3.093199] edma 49000000.dma: TI EDMA DMA engine driver
[    3.116668] pinctrl-single 44e10800.pinmux: 142 pins, size 568
[    3.122219] Serial: 8250/16550 driver, 6 ports, IRQ sharing enabled
[    3.126068] printk: console [ttyS0] disabled
[    3.126267] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 20, base_baud =                                                                                         3000000) is a 8250
[    3.772256] printk: console [ttyS0] enabled
[    3.789699] brd: module loaded
[    3.801578] loop: module loaded
[    3.806876] mtdoops: mtd device (mtddev=name/number) must be supplied
[    3.874839] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1                                                                                        000000
[    3.885606] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driv                                                                                        er SMSC LAN8710/LAN8720
[    3.895227] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
[    3.901618] cpsw 4a100000.ethernet: ALE Table size 1024
[    3.907202] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
[    3.914436] cpsw 4a100000.ethernet: Detected MACID = 6c:ec:eb:a5:a0:34
[    3.923206] i2c /dev entries driver
[    3.928689] cpuidle: enable-method property 'ti,am3352' found operations
[    3.936300] sdhci: Secure Digital Host Controller Interface driver
[    3.942514] sdhci: Copyright(c) Pierre Ossman
[    3.947655] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.955729] sdhci-omap 481d8000.mmc: supply vqmmc not found, using dummy regu                                                                                        lator
[    3.965155] ledtrig-cpu: registered to indicate activity on CPUs
[    3.973310] Initializing XFRM netlink socket
[    3.977910] NET: Registered protocol family 10
[    3.983997] Segment Routing with IPv6
[    3.987907] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.994625] NET: Registered protocol family 17
[    3.999217] NET: Registered protocol family 15
[    4.003791] Key type dns_resolver registered
[    4.008720] oprofile: using arm/armv7
[    4.012492] ThumbEE CPU extension supported.
[    4.016875] Registering SWP/SWPB emulation handler
[    4.022112] omap_voltage_late_init: Voltage driver support not added
[    4.028571] sr_dev_init: No voltage domain specified for smartreflex0. Cannot                                                                                         initialize
[    4.036727] sr_dev_init: No voltage domain specified for smartreflex1. Cannot                                                                                         initialize
[    4.045129] SmartReflex Class3 initialized
[    4.049732] mmc1: SDHCI controller on 481d8000.mmc [481d8000.mmc] using Exter                                                                                        nal DMA
[    4.058378] Loading compiled-in X.509 certificates
[    4.082785] OMAP GPIO hardware version 0.1
[    4.115493] tps65217-pmic: Failed to locate of_node [id: -1]
[    4.128524] tps65217-bl: Failed to locate of_node [id: -1]
[    4.137044] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[    4.143151] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    4.152731] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
[    4.165768] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000                                                                                         microseconds (-22)
[    4.174518] sdhci-omap 48060000.mmc: Got CD GPIO
[    4.179495] sdhci-omap 48060000.mmc: supply vqmmc not found, using dummy regu                                                                                        lator
[    4.209905] mmc1: new high speed MMC card at address 0001
[    4.216303] mmc0: SDHCI controller on 48060000.mmc [48060000.mmc] using Exter                                                                                        nal DMA
[    4.225493] mmcblk1: mmc1:0001 MMC04G 3.60 GiB
[    4.230659] mmcblk1boot0: mmc1:0001 MMC04G partition 1 2.00 MiB
[    4.237129] mmcblk1boot1: mmc1:0001 MMC04G partition 2 2.00 MiB
[    4.243452] mmcblk1rpmb: mmc1:0001 MMC04G partition 3 128 KiB, chardev (249:0                                                                                        )
[    4.252792]  mmcblk1: p1 p2
[    4.260947] Waiting for root device /dev/mmcblk0p2...
[    4.323081] mmc0: new high speed SDHC card at address e624
[    4.329750] mmcblk0: mmc0:e624 SS16G 14.8 GiB
[    4.340343]  mmcblk0: p1 p2
[    5.454867] EXT4-fs (mmcblk0p2): recovery complete
[    5.467080] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. O                                                                                        pts: (null)
[    5.475367] VFS: Mounted root (ext4 filesystem) on device 179:26.
[    5.481741] devtmpfs: mounted
[    5.486128] Freeing unused kernel memory: 1024K
[    5.491201] Run /sbin/init as init process
[    5.625631] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
Saving 256 bits of non-creditable seed for next boot
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Starting mdev... OK
[    7.127325] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[    7.133603] omap-aes 53500000.aes: will run requests pump with realtime prior                                                                                        ity
[    7.157081] at24 0-0050: supply vcc not found, using dummy regulator
[    7.166425] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    7.173779] at24 2-0054: supply vcc not found, using dummy regulator
[    7.209371] at24 2-0055: supply vcc not found, using dummy regulator
[    7.248681] at24 2-0056: supply vcc not found, using dummy regulator
[    7.288143] at24 2-0057: supply vcc not found, using dummy regulator
[    7.635672] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    7.814151] davinci-mcasp 48038000.mcasp: IRQ common not found
[    7.862287] tps6521x_pwrbutton tps65217-pwrbutton: DMA mask not set
[    7.877148] input: tps65217_pwr_but as /devices/platform/ocp/44c00000.interco                                                                                        nnect/44c00000.interconnect:segment@200000/44e0b000.target-module/44e0b000.i2c/i                                                                                        2c-0/0-0024/tps65217-pwrbutton/input/input0
[    7.955060] omap_rng 48310000.rng: Random Number Generator ver. 20
[    7.971374] random: crng init done
[    7.985718] omap_rtc 44e3e000.rtc: registered as rtc0
[    7.990899] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01T00:00:0                                                                                        0 UTC (946684800)
[    8.053962] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[    8.073655] omap-sham 53100000.sham: will run requests pump with realtime pri                                                                                        ority
[    8.267408] tda998x 0-0070: found TDA19988
[    8.276626] tilcdc 4830e000.lcdc: bound 0-0070 (ops tda998x_ops [tda998x])
[    8.296254] [drm] Initialized tilcdc 1.0.0 20121205 for 4830e000.lcdc on mino                                                                                        r 0
[    8.315239] tilcdc 4830e000.lcdc: [drm] Cannot find any crtc or sizes
[    8.334385] tilcdc 4830e000.lcdc: [drm] Cannot find any crtc or sizes
[    8.388709] am335x-phy-driver 47401300.usb-phy: supply vcc not found, using d                                                                                        ummy regulator
[    8.397615] am335x-phy-driver 47401300.usb-phy: dummy supplies not allowed fo                                                                                        r exclusive requests
[    8.436412] am335x-phy-driver 47401b00.usb-phy: supply vcc not found, using d                                                                                        ummy regulator
[    8.445307] am335x-phy-driver 47401b00.usb-phy: dummy supplies not allowed fo                                                                                        r exclusive requests
[    8.511874] usbcore: registered new interface driver usbfs
[    8.517678] usbcore: registered new interface driver hub
[    8.523100] usbcore: registered new device driver usb
[    8.620139] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[    8.625707] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus numbe                                                                                        r 1
[    8.655221] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bc                                                                                        dDevice= 5.10
[    8.663552] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=                                                                                        1
[    8.670887] usb usb1: Product: MUSB HDRC host driver
[    8.675909] usb usb1: Manufacturer: Linux 5.10.162 musb-hcd
[    8.681507] usb usb1: SerialNumber: musb-hdrc.1
[    8.725407] hub 1-0:1.0: USB hub found
[    8.729293] hub 1-0:1.0: 1 port detected
[    8.768046] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    8.797126] remoteproc remoteproc0: wkup_m3 is available
[    8.828516] remoteproc remoteproc0: powering up wkup_m3
[    8.858074] remoteproc remoteproc0: Direct firmware load for am335x-pm-firmwa                                                                                        re.elf failed with error -2
[    8.867816] remoteproc remoteproc0: request_firmware failed: -2
[    8.873771] wkup_m3_ipc 44e11324.wkup_m3_ipc: rproc_boot failed
[    8.881890] PM: Cannot get wkup_m3_ipc handle
Starting network: OK

Welcome to Buildroot
buildroot login: root
#
# lsmod
Module                  Size  Used by    Not tainted
pm33xx                 16384  0
cpufreq_dt             16384  0
wkup_m3_ipc            16384  1 pm33xx
wkup_m3_rproc          16384  1
omap_wdt               16384  0
watchdog               20480  1 omap_wdt
musb_dsps              20480  0
musb_hdrc             118784  1 musb_dsps
udc_core               40960  1 musb_hdrc
usbcore               204800  1 musb_hdrc
snd_soc_hdmi_codec     16384  1
phy_am335x             16384  2
phy_generic            16384  1 phy_am335x
usb_common             16384  5 musb_dsps,musb_hdrc,udc_core,usbcore,phy_am335x
tda998x                28672  0
snd_soc_simple_card    20480  0
snd_soc_simple_card_utils    20480  1 snd_soc_simple_card
omap_sham              28672  0
evdev                  24576  0
rtc_omap               20480  2 pm33xx
omap_rng               16384  0
rng_core               20480  1 omap_rng
tps65218_pwrbutton     16384  0
snd_soc_davinci_mcasp    28672  2
snd_soc_ti_udma        16384  1 snd_soc_davinci_mcasp
snd_soc_ti_edma        16384  1 snd_soc_davinci_mcasp
snd_soc_ti_sdma        16384  1 snd_soc_davinci_mcasp
snd_soc_core          163840  7 snd_soc_hdmi_codec,snd_soc_simple_card,snd_soc_s                                                                                        imple_card_utils,snd_soc_davinci_mcasp,snd_soc_ti_udma,snd_soc_ti_edma,snd_soc_t                                                                                        i_sdma
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_pcm                98304  4 snd_soc_hdmi_codec,snd_soc_davinci_mcasp,snd_soc                                                                                        _core,snd_pcm_dmaengine
snd_timer              32768  1 snd_pcm
snd                    61440  4 snd_soc_hdmi_codec,snd_soc_core,snd_pcm,snd_time                                                                                        r
soundcore              16384  1 snd
omap_mailbox           20480  1
leds_gpio              16384  0
led_class              16384  1 leds_gpio
tilcdc                 32768  0
drm_kms_helper        172032  3 tda998x,tilcdc
cfbfillrect            16384  1 drm_kms_helper
syscopyarea            16384  1 drm_kms_helper
cfbimgblt              16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
cfbcopyarea            16384  1 drm_kms_helper
drm                   372736  4 tda998x,tilcdc,drm_kms_helper
drm_panel_orientation_quirks    16384  1 drm
ti_emif_sram           16384  1 pm33xx
cppi41                 20480 60
phy_am335x_control     16384  1 phy_am335x
at24                   20480  0
omap_aes_driver        24576  0
crypto_engine          16384  2 omap_sham,omap_aes_driver
omap_crypto            16384  1 omap_aes_driver
libaes                 16384  1 omap_aes_driver
# uname -r
5.10.162
# ls /lib/modules/
5.10.162
#


Not good news,
Linux 6.6-rc3 does not boot, hangs at ā€œStarting kernelā€ and reboots after about 30 seconds.
so I went back to Linux-6.5.5 stable, this crashes during boot
installing the modules and zImage should work, not sure why there not.
GL

Hi @amf99,

Linux 6.6-rc3 does not boot, hangs at ā€œStarting kernelā€ and reboots after about 30 seconds.

It also happen with me. Please check with working rootfs. In my case rootfs was the issue.

so I went back to Linux-6.5.5 stable, this crashes during boot
installing the modules and zImage should work, not sure why there not.
GL

Can you paste the steps and log of this experiment ?

Thanks & Regards
Vivek Yadav

I might have missed it, but I haven’t seen anyone recommend:

zcat /proc/config.gz

This should show a live list of config options used to build the running kernel.

Linking to internet search result: Obtain kernel config from currently running Linux system? - Super User

1 Like

here’s the story,
goal:
test if installing modules and zImage from Linux build outside of Buildroot works
Buildroot Linux version
v6.1.33-ti-r7
Linux version built outside of Buildroot
v6.1.26-ti-r5
On first boot after installing modules and zImage from V6.1.26, the BBB hung at ā€œStarting Kernelā€
it did not reboot like the other build/test that I did.
after about 30 seconds i press the reset button (just because :slight_smile: )
the BBB booted to command prompt and uname indicated it was running V6.1.26
so it is possible to upgrade modules and zImage
Note:
I choose to use Linux version that were close to each other for this test.
the Linux versions came from github/beagleboard

this is the git info from the Linux version built outside of Buildroot;
git branch -v
master eb26cbb1a754 Merge tag ā€˜platform-drivers-x86-v6.5-2’ of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86

since I’m setup,
Buildroot Linux version
5.10.162-ti-r59
Linux build outside of Buildroot
6.1.26-ti-r5
on first boot, BBB crashed
after pressing reset, BBB hangs at ā€œStarting kernelā€, does not reboot like prior test did
Starting to look like upgrades between major kernel version may be an issue.

Hi All,
Now I am able to see installed drivers using lsmod command.

Steps I followed …

I use buildroot for MLO, u-boot.img, extlinux/ and rootfs.tar

build mainline Linux kernel.

make ARCH=arm distclean
make ARCH=arm omap2plus_defconfig
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- menuconfig
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- zImage dtbs -j10
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- modules -j10
sudo make ARCH=arm modules_install INSTALL_MOD_PATH=/media/riscv/Rootfs/
sudo cp arch/arm/boot/zImage /media/riscv/Rootfs/BOOT && sync
sudo cp arch/arm/boot/dts/ti/omap/am355x-boneblack.dtb /media/riscv/Rootfs/BOOT && sync

extlinux/extlinux.conf

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

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.000003] 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.000485] TI gptimer clockevent: 24000000 Hz at /ocp/interconnect@48000000/segment@0/target-module@40000
[    0.001933] Console: colour dummy device 80x30
[    0.002008] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
[    0.090533] CPU: Testing write buffer coherency: ok
[    0.090638] CPU0: Spectre v2: using BPIALL workaround
[    0.090648] pid_max: default: 32768 minimum: 301
[    0.090772] LSM: initializing lsm=capability,integrity
[    0.090940] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.090961] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.092434] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.094016] Setting up static identity map for 0x80100000 - 0x80100078
[    0.094299] rcu: Hierarchical SRCU implementation.
[    0.094308] rcu:     Max phase no-delay instances is 1000.
[    0.095018] smp: Bringing up secondary CPUs ...
[    0.095063] smp: Brought up 1 node, 1 CPU
[    0.095075] SMP: Total of 1 processors activated (996.14 BogoMIPS).
[    0.095086] CPU: All CPU(s) started in SVC mode.
[    0.095928] devtmpfs: initialized
[    0.111340] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.111689] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.111724] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.113058] pinctrl core: initialized pinctrl subsystem
[    0.115424] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.117921] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.118504] audit: initializing netlink subsys (disabled)
[    0.119732] thermal_sys: Registered thermal governor 'fair_share'
[    0.119751] thermal_sys: Registered thermal governor 'step_wise'
[    0.119758] thermal_sys: Registered thermal governor 'user_space'
[    0.119862] audit: type=2000 audit(0.110:1): state=initialized audit_enabled=0 res=1
[    0.119938] cpuidle: using governor menu
[    0.135697] No ATAGs?
[    0.135721] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.138562] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.
[    0.795722] iommu: Default domain type: Translated
[    0.795742] iommu: DMA domain TLB invalidation policy: strict mode
[    0.797137] SCSI subsystem initialized
[    0.798861] pps_core: LinuxPPS API ver. 1 registered
[    0.798872] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.798895] PTP clock support registered
[    0.800784] vgaarb: loaded
[    0.801082] clocksource: Switched to clocksource dmtimer
[    0.801679] VFS: Disk quotas dquot_6.6.0
[    0.801738] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.823437] NET: Registered PF_INET protocol family
[    0.823773] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.825110] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.825144] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.825162] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.825205] TCP bind hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    0.825304] TCP: Hash tables configured (established 4096 bind 4096)
[    0.825438] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.825466] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.825640] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.826790] RPC: Registered named UNIX socket transport module.
[    0.826813] RPC: Registered udp transport module.
[    0.826818] RPC: Registered tcp transport module.
[    0.826823] RPC: Registered tcp-with-tls transport module.
[    0.826829] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.826854] PCI: CLS 0 bytes, default 64
[    0.828372] Initialise system trusted keyrings
[    0.829216] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.830398] NFS: Registering the id_resolver key type
[    0.830465] Key type id_resolver registered
[    0.830473] Key type id_legacy registered
[    0.830523] jffs2: version 2.2. (NAND) (SUMMARY)  Ā© 2001-2006 Red Hat, Inc.
[    0.830983] Key type asymmetric registered
[    0.830997] Asymmetric key parser 'x509' registered
[    0.831219] io scheduler mq-deadline registered
[    0.831235] io scheduler kyber registered
[    0.831320] io scheduler bfq registered
[    0.835202] Serial: 8250/16550 driver, 6 ports, IRQ sharing enabled
[    0.853745] brd: module loaded
[    0.861628] loop: module loaded
[    0.862529] mtdoops: mtd device (mtddev=name/number) must be supplied
[    0.865172] i2c_dev: i2c /dev entries driver
[    0.865999] cpuidle: enable-method property 'ti,am3352' found operations
[    0.866440] sdhci: Secure Digital Host Controller Interface driver
[    0.866449] sdhci: Copyright(c) Pierre Ossman
[    0.866624] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.866880] ledtrig-cpu: registered to indicate activity on CPUs
[    0.867619] Initializing XFRM netlink socket
[    0.867771] NET: Registered PF_INET6 protocol family
[    0.869486] Segment Routing with IPv6
[    0.869561] In-situ OAM (IOAM) with IPv6
[    0.869672] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    0.870581] NET: Registered PF_PACKET protocol family
[    0.870609] NET: Registered PF_KEY protocol family
[    0.870735] Key type dns_resolver registered
[    0.870935] ThumbEE CPU extension supported.
[    0.870956] Registering SWP/SWPB emulation handler
[    0.871529] omap_voltage_late_init: Voltage driver support not added
[    0.871873] SmartReflex Class3 initialized
[    0.879205] Loading compiled-in X.509 certificates
[    0.920339] platform 44e10800.pinmux: Fixed dependency cycle(s) with /ocp/interconnect@44c00000/segment@200000/target-module@10000/scm@0/pinmux@800/clkout2-pins
[    0.920872] pinctrl-single 44e10800.pinmux: 142 pins, size 568
[    0.925595] ti-sysc: probe of 44e31000.target-module failed with error -16
[    0.939938] ti-sysc: probe of 48040000.target-module failed with error -16
[    0.952381] OMAP GPIO hardware version 0.1
[    0.965047] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
[    0.994773] sdhci-omap 481d8000.mmc: supply pbias not found, using dummy regulator
[    0.995267] sdhci-omap 481d8000.mmc: supply vqmmc not found, using dummy regulator
[    1.051096] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
[    1.072924] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
[    1.073365] cpsw-switch 4a100000.switch: initialized cpsw ale version 1.4
[    1.073383] cpsw-switch 4a100000.switch: ALE Table size 1024
[    1.073506] cpsw-switch 4a100000.switch: cpts: overflow check period 500 (jiffies)
[    1.073522] cpsw-switch 4a100000.switch: CPTS: ref_clk_freq:250000000 calc_mult:2147483648 calc_shift:29 error:0 nsec/sec
[    1.073610] cpsw-switch 4a100000.switch: Detected MACID = 6c:ec:eb:a5:a0:34
[    1.075324] cpsw-switch 4a100000.switch: initialized (regs 0x4a100000, pool size 256) hw_ver:0019010C 1.12 (0)
[    1.085756] debugfs: Directory '49000000.dma' with parent 'dmaengine' already present!
[    1.085798] edma 49000000.dma: TI EDMA DMA engine driver
[    1.105830] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[    1.113188] l3-aon-clkctrl:0000:0: failed to disable
[    1.115457] printk: console [ttyS0] disabled
[    1.116234] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 34, base_baud = 3000000) is a 8250
[    1.116312] printk: console [ttyS0] enabled
[    2.071969] tps65217-pmic: Failed to locate of_node [id: -1]
[    2.077999] tps65217-bl: Failed to locate of_node [id: -1]
[    2.088829] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[    2.095017] i2c 0-0070: Fixed dependency cycle(s) with /ocp/interconnect@48000000/segment@300000/target-module@e000/lcdc@0/port/endpoint@0
[    2.107777] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    2.117309] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
[    2.126222] sdhci-omap 48060000.mmc: Got CD GPIO
[    2.131249] sdhci-omap 48060000.mmc: supply pbias not found, using dummy regulator
[    2.141853] sdhci-omap 48060000.mmc: supply vqmmc not found, using dummy regulator
[    2.151675] sdhci-omap 481d8000.mmc: supply pbias not found, using dummy regulator
[    2.160273] sdhci-omap 481d8000.mmc: supply vqmmc not found, using dummy regulator
[    2.176134] clk: Disabling unused clocks
[    2.197196] mmc1: SDHCI controller on 481d8000.mmc [481d8000.mmc] using External DMA
[    2.206184] mmc0: SDHCI controller on 48060000.mmc [48060000.mmc] using External DMA
[    2.215024] Waiting for root device /dev/mmcblk0p2...
[    2.281329] mmc1: new high speed MMC card at address 0001
[    2.287694] mmc0: new high speed SDHC card at address e624
[    2.294274] mmcblk0: mmc0:e624 SS16G 14.8 GiB
[    2.299937] mmcblk1: mmc1:0001 MMC04G 3.60 GiB
[    2.308118]  mmcblk1: p1 p2
[    2.311596]  mmcblk0: p1 p2
[    2.315629] mmcblk1boot0: mmc1:0001 MMC04G 2.00 MiB
[    2.323323] mmcblk1boot1: mmc1:0001 MMC04G 2.00 MiB
[    2.330064] mmcblk1rpmb: mmc1:0001 MMC04G 128 KiB, chardev (250:0)
[    2.465909] EXT4-fs (mmcblk0p2): recovery complete
[    2.478237] EXT4-fs (mmcblk0p2): mounted filesystem 1a64b592-aa5f-414f-9644-5e7e70d5bbe7 r/w with ordered data mode. Quota mode: none.
[    2.490592] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    2.503994] devtmpfs: mounted
[    2.508443] Freeing unused kernel image (initmem) memory: 1024K
[    2.515026] Run /sbin/init as init process
[    2.675985] EXT4-fs (mmcblk0p2): re-mounted 1a64b592-aa5f-414f-9644-5e7e70d5bbe7 r/w. Quota mode: none.
Seeding 256 bits without crediting
Saving 256 bits of non-creditable seed for next boot
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Starting mdev... OK
[    4.461523] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[    4.467788] omap-aes 53500000.aes: will run requests pump with realtime priority
[    4.501034] at24 2-0054: supply vcc not found, using dummy regulator
[    4.536995] at24 2-0055: supply vcc not found, using dummy regulator
[    4.575390] at24 2-0056: supply vcc not found, using dummy regulator
[    4.615295] at24 2-0057: supply vcc not found, using dummy regulator
[    4.657917] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    4.684025] remoteproc remoteproc0: wkup_m3 is available
[    5.034668] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    5.304150] tps6521x_pwrbutton tps65217-pwrbutton: DMA mask not set
[    5.312353] 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.400808] omap_rng 48310000.rng: Random Number Generator ver. 20
[    5.408087] random: crng init done
[    5.432622] omap_rtc 44e3e000.rtc: already running
[    5.459112] omap_rtc 44e3e000.rtc: registered as rtc0
[    5.464443] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01T00:04:08 UTC (946685048)
[    5.514808] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[    5.541375] omap-sham 53100000.sham: will run requests pump with realtime priority
[    5.733768] tda998x 0-0070: found TDA19988
[    5.753459] tilcdc 4830e000.lcdc: bound 0-0070 (ops tda998x_ops [tda998x])
[    5.772836] [drm] Initialized tilcdc 1.0.0 20121205 for 4830e000.lcdc on minor 0
[    5.781965] tilcdc 4830e000.lcdc: [drm] Cannot find any crtc or sizes
[    5.790464] tilcdc 4830e000.lcdc: [drm] Cannot find any crtc or sizes
[    5.836416] am335x-phy-driver 47401300.usb-phy: dummy supplies not allowed for exclusive requests
[    5.883222] am335x-phy-driver 47401b00.usb-phy: dummy supplies not allowed for exclusive requests
[    5.989330] usbcore: registered new interface driver usbfs
[    5.995141] usbcore: registered new interface driver hub
[    6.000574] usbcore: registered new device driver usb
[    6.128044] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[    6.133662] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[    6.151837] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[    6.160190] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.167568] usb usb1: Product: MUSB HDRC host driver
[    6.172593] usb usb1: Manufacturer: Linux 6.6.0-rc3 musb-hcd
[    6.178281] usb usb1: SerialNumber: musb-hdrc.1
[    6.205079] hub 1-0:1.0: USB hub found
[    6.211562] hub 1-0:1.0: 1 port detected
[    6.264144] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    6.304954] remoteproc remoteproc0: powering up wkup_m3
[    6.310418] remoteproc remoteproc0: Direct firmware load for am335x-pm-firmware.elf failed with error -2
[    6.320132] remoteproc remoteproc0: request_firmware failed: -2
[    6.326164] wkup_m3_ipc 44e11324.wkup_m3_ipc: rproc_boot failed
[    6.363312] PM: Cannot get wkup_m3_ipc handle
Starting network: OK

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

-sh: iconfig: not found
#
# ifconig
-sh: ifconig: not found
# 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 | more
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
snd_soc_hdmi_codec     16384  1
usbcore               204800  1 musb_hdrc
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
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  1 omap_aes_driver
#
#
#
#
#

Thanks & Regards
Vivek Yadav

Guessing you configured Buildroot to have boot as part of the rootfs and not it’s own partition.
up grades across Linux kernel major version does not work for me.