Trying to boot BBB by building fresh u-boot from scratch

Hi All,
I am new to BBB.
I build u-boot for beaglebone black with below steps.

1. Clone source code:
 git clone git://git.denx.de/u-boot.git

2. make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- am335x-evm-defconfig

3.  make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j10

I got MLO and u-boot.img file. I paste MLO and u-boot.img into BOOT partition of SD card.

I got below log.

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...
Extension init...
Found 0 extension board(s).
No EFI system partition
No EFI system partition
Failed to persist EFI variables
BootOrder not defined
EFI boot manager: Cannot load any image
switch to partitions #0, OK
mmc1(part 0) is current device
Scanning mmc 1:1...
Extension init...
BootOrder not defined
EFI boot manager: Cannot load any image
## Error: "bootcmd_nand0" not defined
starting USB...
Bus usb@47401800: Port not available.
USB is stopped. Please issue 'usb start' first.
starting USB...
Bus usb@47401800: Port not available.
ethernet@4a100000 Waiting for PHY auto negotiation to complete......... TIMEOUT                                                                                         !
musb-hdrc: peripheral reset irq lost!
high speed config #2: 2 mA, Ethernet Gadget, using RNDIS
missing environment variable: pxeuuid
Retrieving file: pxelinux.cfg/01-6c-ec-eb-a5-a0-34
ethernet@4a100000 Waiting for PHY auto negotiation to complete....

Some issue with USB is coming which I don’t know how to resolve.

Can someone help ?

Thanks & Regards
Vivek Yadav

looks good for mainline u-boot, you are just missing /extlinux/extlinux.conf in the first partition to boot your image to tell u-boot what to load…

Regards,

Hi Robert,
Thanks For reply.
I am begineer in embedded linux stuff.
Q.1 Where did I get this ā€œ/extlinux/extlinux.confā€ ?
Q.2 I read many post but no one mention about this /extlinux/extlinux.conf . Everyone talks about MLO, u-boot.img, uEnv.txt, uImage and am335x_beaglebone.dtb. So if you point out any good resource. It will be helpfull, mean while I am doing my search.

Thanks & Regards
Vivek Yadav

You create it!

Correct, but you built ā€˜master’ of git u-boot, and not an existing published branch. this was a recent change (within the last month or so), to remove ancient ways of booting…

In the most generic case of extlinux, you’ll need a file in the boot partition:

(cat /extlinux/extlinux.conf ) so something starting like…

label Linux microSD
    kernel /uImage
    append console=ttyS0,115200n8 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 rng_core.default_quality=100

Now are you using? 1 or 2 partitions, what files are in /boot/*

(i assume MLO, u-boot.img, uEnv.txt, uImage and am335x_beaglebone.dtb but please state it…)

extra points for running, tree on your mounted boot location…

tree /<mounted>/boot

Regards,

1 Like

Hi Robert,

I have 2 partition of my SD Card(16 GB). 1st partition as BOOT(type: FAT32, Flag: boot & lba) and 2nd one Rootfs(type: ext4).

1st partition i.e BOOT has all files as mentioned MLO, u-boot.img, uEnv.txt, uImage and am335x_beaglebone.dtb . I have attached picture also.

And Content of uEnv.txt file is as below.

console=ttyS0,115200n8
bootsettings=setenv bootargs console=ttyO0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait earlyprintk mem=512M
mmcboot=echo Booting from microSD ...; setenv autoload no ; load mmc 0:1 ${loadaddr} uImage ; load mmc 0:1 ${fdtaddr} am335x-boneblack.dtb ; run bootsettings ; bootm ${loadaddr} - ${fdtaddr}
uenvcmd=run mmcboot

Hi Robert,

I created file extlinux/extlinux.conf as you told me.

label Linux microSD
    kernel /uImage
    append console=ttyS0,115200n8 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 rng_core.default_quality=100

Some how I reach futhur and I got below logs now. And it got stuck here and same prints are coming again and again. looks like rebooting again.

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/mmcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 rng_core.default_quality=100
## Booting kernel from Legacy Image at 82000000 ...
   Image Name:   Linux-6.5.0-rc1-00033-geb26cbb1a
   Created:      2023-09-28  18:08:49 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5174704 Bytes = 4.9 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 9df2db20
   Booting using the fdt blob at 0x9df2db20
Working FDT set to 9df2db20
   Loading Kernel Image
   Loading Device Tree to 8ffe7000, end 8ffff377 ... OK
Working FDT set to 8ffe7000

Starting kernel ...



@Viveky1794 close, now we just tune it for your system…

as your uEnv.txt had:

console=ttyS0,115200n8
bootsettings=setenv bootargs console=ttyO0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait earlyprintk mem=512M
mmcboot=echo Booting from microSD ...; setenv autoload no ; load mmc 0:1 ${loadaddr} uImage ; load mmc 0:1 ${fdtaddr} am335x-boneblack.dtb ; run bootsettings ; bootm ${loadaddr} - ${fdtaddr}
uenvcmd=run mmcboot

Just use:

label Linux microSD
    kernel /uImage
    append console=ttyS0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait earlyprintk mem=512M
2 Likes

Hi @RobertCNelson

issue is still there.

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
## Booting kernel from Legacy Image at 82000000 ...
   Image Name:   Linux-6.5.0-rc1-00033-geb26cbb1a
   Created:      2023-09-28  18:08:49 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5174704 Bytes = 4.9 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 9df2db20
   Booting using the fdt blob at 0x9df2db20
Working FDT set to 9df2db20
   Loading Kernel Image
   Loading Device Tree to 8ffe7000, end 8ffff377 ... OK
Working FDT set to 8ffe7000

Starting kernel ...



May be some issue with Rootfs ?

No it looks good, everything in u-boot is now setup… what defconfig did you use as a base for 6.5.0-rc1 ? technically 6.6-rc3 is now out, if you want 6.5, well 6.5.5 is out, so why 6.5.0-rc1?

for just testing mainline, use the omap2plus_defconfig and it’ll just boot fine…

Regards,

Hi @RobertCNelson,

what defconfig did you use as a base for 6.5.0-rc1

I am not restricted to any branch. I have this kernel already in my system so I build that.
Now I freshly cloned linux kernel source from Github.

GitHub - torvalds/linux: Linux kernel source tree

Again build the kernel successfully with omap2plus_defconfig as shown in picture.

But unfortunately, Result is same. You can see in the log.


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
## Booting kernel from Legacy Image at 82000000 ...
   Image Name:   Linux-6.6.0-rc3
   Created:      2023-09-30   2:55:42 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5198776 Bytes = 5 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 9df2db20
   Booting using the fdt blob at 0x9df2db20
Working FDT set to 9df2db20
   Loading Kernel Image
   Loading Device Tree to 8ffe7000, end 8ffff377 ... OK
Working FDT set to 8ffe7000

Starting kernel ...



Thanks & Regards
Vivek Yadav

Hi @RobertCNelson

Now, I am able to boot mainline linux kernel. which is 6.6-rc3. I took help from buildroot to build my rootfs. Which solve my problem. Log is just for refrence.

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.000025] 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.001950] Console: colour dummy device 80x30
[    0.002028] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
[    0.090530] CPU: Testing write buffer coherency: ok
[    0.090632] CPU0: Spectre v2: using BPIALL workaround
[    0.090645] pid_max: default: 32768 minimum: 301
[    0.090767] LSM: initializing lsm=capability,integrity
[    0.090935] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.090953] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.092429] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.093996] Setting up static identity map for 0x80100000 - 0x80100078
[    0.094277] rcu: Hierarchical SRCU implementation.
[    0.094286] rcu:     Max phase no-delay instances is 1000.
[    0.094986] smp: Bringing up secondary CPUs ...
[    0.095029] smp: Brought up 1 node, 1 CPU
[    0.095042] SMP: Total of 1 processors activated (996.14 BogoMIPS).
[    0.095053] CPU: All CPU(s) started in SVC mode.
[    0.095887] devtmpfs: initialized
[    0.111565] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.111907] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.111940] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.113257] pinctrl core: initialized pinctrl subsystem
[    0.115619] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.118123] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.118715] audit: initializing netlink subsys (disabled)
[    0.119944] thermal_sys: Registered thermal governor 'fair_share'
[    0.119963] thermal_sys: Registered thermal governor 'step_wise'
[    0.119969] thermal_sys: Registered thermal governor 'user_space'
[    0.120073] audit: type=2000 audit(0.110:1): state=initialized audit_enabled=0 res=1
[    0.120142] cpuidle: using governor menu
[    0.136181] No ATAGs?
[    0.136206] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.139103] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.
[    0.795519] iommu: Default domain type: Translated
[    0.795539] iommu: DMA domain TLB invalidation policy: strict mode
[    0.796948] SCSI subsystem initialized
[    0.798722] pps_core: LinuxPPS API ver. 1 registered
[    0.798732] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.798754] PTP clock support registered
[    0.800659] vgaarb: loaded
[    0.800976] clocksource: Switched to clocksource dmtimer
[    0.801562] VFS: Disk quotas dquot_6.6.0
[    0.801622] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.823331] NET: Registered PF_INET protocol family
[    0.823664] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.825008] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.825041] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.825058] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.825100] TCP bind hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    0.825199] TCP: Hash tables configured (established 4096 bind 4096)
[    0.825330] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.825358] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.825530] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.826682] RPC: Registered named UNIX socket transport module.
[    0.826703] RPC: Registered udp transport module.
[    0.826709] RPC: Registered tcp transport module.
[    0.826714] RPC: Registered tcp-with-tls transport module.
[    0.826720] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.826743] PCI: CLS 0 bytes, default 64
[    0.828281] Initialise system trusted keyrings
[    0.829126] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.830312] NFS: Registering the id_resolver key type
[    0.830394] Key type id_resolver registered
[    0.830402] Key type id_legacy registered
[    0.830453] jffs2: version 2.2. (NAND) (SUMMARY)  Ā© 2001-2006 Red Hat, Inc.
[    0.830911] Key type asymmetric registered
[    0.830927] Asymmetric key parser 'x509' registered
[    0.831162] io scheduler mq-deadline registered
[    0.831175] io scheduler kyber registered
[    0.831252] io scheduler bfq registered
[    0.835169] Serial: 8250/16550 driver, 6 ports, IRQ sharing enabled
[    0.853475] brd: module loaded
[    0.861312] loop: module loaded
[    0.862221] mtdoops: mtd device (mtddev=name/number) must be supplied
[    0.864871] i2c_dev: i2c /dev entries driver
[    0.865718] cpuidle: enable-method property 'ti,am3352' found operations
[    0.866164] sdhci: Secure Digital Host Controller Interface driver
[    0.866174] sdhci: Copyright(c) Pierre Ossman
[    0.866348] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.866604] ledtrig-cpu: registered to indicate activity on CPUs
[    0.867353] Initializing XFRM netlink socket
[    0.867474] NET: Registered PF_INET6 protocol family
[    0.869190] Segment Routing with IPv6
[    0.869264] In-situ OAM (IOAM) with IPv6
[    0.869371] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    0.870282] NET: Registered PF_PACKET protocol family
[    0.870310] NET: Registered PF_KEY protocol family
[    0.870431] Key type dns_resolver registered
[    0.870646] ThumbEE CPU extension supported.
[    0.870668] Registering SWP/SWPB emulation handler
[    0.871250] omap_voltage_late_init: Voltage driver support not added
[    0.871610] SmartReflex Class3 initialized
[    0.878936] Loading compiled-in X.509 certificates
[    0.920152] platform 44e10800.pinmux: Fixed dependency cycle(s) with /ocp/interconnect@44c00000/segment@200000/target-module@10000/scm@0/pinmux@800/clkout2-pins
[    0.920683] pinctrl-single 44e10800.pinmux: 142 pins, size 568
[    0.925388] ti-sysc: probe of 44e31000.target-module failed with error -16
[    0.939794] ti-sysc: probe of 48040000.target-module failed with error -16
[    0.952285] OMAP GPIO hardware version 0.1
[    0.964962] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
[    0.969927] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 25, base_baud = 3000000) is a 8250
[    0.970248] serial serial0: tty port ttyS3 registered
[    1.000916] debugfs: Directory '49000000.dma' with parent 'dmaengine' already present!
[    1.001108] edma 49000000.dma: TI EDMA DMA engine driver
[    1.012361] sdhci-omap 481d8000.mmc: supply pbias not found, using dummy regulator
[    1.012824] sdhci-omap 481d8000.mmc: supply vqmmc not found, using dummy regulator
[    1.027787] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[    1.035192] l3-aon-clkctrl:0000:0: failed to disable
[    1.038306] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 32, base_baud = 3000000) is a 8250
[    1.038384] printk: console [ttyS0] enabled
[    1.923059] mmc1: SDHCI controller on 481d8000.mmc [481d8000.mmc] using External DMA
[    1.961804] tps65217-pmic: Failed to locate of_node [id: -1]
[    1.967871] tps65217-bl: Failed to locate of_node [id: -1]
[    1.978905] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[    1.985115] i2c 0-0070: Fixed dependency cycle(s) with /ocp/interconnect@48000000/segment@300000/target-module@e000/lcdc@0/port/endpoint@0
[    1.997884] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    2.007355] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
[    2.016267] sdhci-omap 48060000.mmc: Got CD GPIO
[    2.021269] sdhci-omap 48060000.mmc: supply pbias not found, using dummy regulator
[    2.032940] sdhci-omap 48060000.mmc: supply vqmmc not found, using dummy regulator
[    2.041620] sdhci-omap 47810000.mmc: supply pbias not found, using dummy regulator
[    2.051392] sdhci-omap 47810000.mmc: supply vqmmc not found, using dummy regulator
[    2.081129] mmc1: new high speed MMC card at address 0001
[    2.087784] mmcblk1: mmc1:0001 MMC04G 3.60 GiB
[    2.093820] mmc0: SDHCI controller on 48060000.mmc [48060000.mmc] using External DMA
[    2.103897]  mmcblk1: p1 p2
[    2.108235] mmcblk1boot0: mmc1:0001 MMC04G 2.00 MiB
[    2.115437] mmcblk1boot1: mmc1:0001 MMC04G 2.00 MiB
[    2.122388] mmcblk1rpmb: mmc1:0001 MMC04G 128 KiB, chardev (250:0)
[    2.174190] mmc2: SDHCI controller on 47810000.mmc [47810000.mmc] using External DMA
[    2.185083] clk: Disabling unused clocks
[    2.190253] Waiting for root device /dev/mmcblk0p2...
[    2.210638] mmc0: new high speed SDHC card at address e624
[    2.217599] mmcblk0: mmc0:e624 SS16G 14.8 GiB
[    2.228868]  mmcblk0: p1 p2
[    2.278842] EXT4-fs (mmcblk0p2): mounted filesystem 1a64b592-aa5f-414f-9644-5e7e70d5bbe7 r/w with ordered data mode. Quota mode: none.
[    2.291277] VFS: Mounted root (ext4 filesystem) on device 179:26.
[    2.303617] devtmpfs: mounted
[    2.308102] Freeing unused kernel image (initmem) memory: 1024K
[    2.314800] Run /sbin/init as init process
[    2.434044] 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
[    2.620131] mmc2: Failed to initialize a non-removable card
[    4.404875] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[    4.426833] omap-aes 53500000.aes: will run requests pump with realtime priority
[    4.453781] at24 2-0054: supply vcc not found, using dummy regulator
[    4.495730] at24 2-0055: supply vcc not found, using dummy regulator
[    4.534650] at24 2-0056: supply vcc not found, using dummy regulator
[    4.574873] at24 2-0057: supply vcc not found, using dummy regulator
[    4.617617] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    4.785536] Bluetooth: Core ver 2.22
[    4.789413] NET: Registered PF_BLUETOOTH protocol family
[    4.794907] Bluetooth: HCI device and connection manager initialized
[    4.801345] Bluetooth: HCI socket layer initialized
[    4.806254] Bluetooth: L2CAP socket layer initialized
[    4.811390] Bluetooth: SCO socket layer initialized
[    4.857462] Bluetooth: HCI UART driver ver 2.3
[    4.862128] Bluetooth: HCI UART protocol H4 registered
[    4.867296] Bluetooth: HCI UART protocol BCSP registered
[    4.872936] Bluetooth: HCI UART protocol LL registered
[    4.878172] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    4.884946] Bluetooth: HCI UART protocol Broadcom registered
[    4.894750] Bluetooth: hci0: Frame reassembly failed (-84)
[    4.919571] remoteproc remoteproc0: wkup_m3 is available
[    5.232178] Bluetooth: hci0: Failed to get CTS
[    5.394824] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    5.672558] tps6521x_pwrbutton tps65217-pwrbutton: DMA mask not set
[    5.701731] 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.791268] omap_rng 48310000.rng: Random Number Generator ver. 20
[    5.798233] random: crng init done
[    5.814965] omap_rtc 44e3e000.rtc: already running
[    5.822231] omap_rtc 44e3e000.rtc: registered as rtc0
[    5.827409] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01T00:06:33 UTC (946685193)
[    5.884611] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[    5.921279] omap-sham 53100000.sham: will run requests pump with realtime priority
[    6.113671] tda998x 0-0070: found TDA19988
[    6.122779] tilcdc 4830e000.lcdc: bound 0-0070 (ops tda998x_ops [tda998x])
[    6.152698] [drm] Initialized tilcdc 1.0.0 20121205 for 4830e000.lcdc on minor 0
[    6.171845] tilcdc 4830e000.lcdc: [drm] Cannot find any crtc or sizes
[    6.180339] tilcdc 4830e000.lcdc: [drm] Cannot find any crtc or sizes
[    6.212923] am335x-phy-driver 47401300.usb-phy: dummy supplies not allowed for exclusive requests
[    6.282823] am335x-phy-driver 47401b00.usb-phy: dummy supplies not allowed for exclusive requests
[    6.396570] usbcore: registered new interface driver usbfs
[    6.402351] usbcore: registered new interface driver hub
[    6.407790] usbcore: registered new device driver usb
[    6.525982] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[    6.531594] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[    6.551623] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[    6.559972] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.567340] usb usb1: Product: MUSB HDRC host driver
[    6.572367] usb usb1: Manufacturer: Linux 6.6.0-rc3 musb-hcd
[    6.578055] usb usb1: SerialNumber: musb-hdrc.1
[    6.605467] hub 1-0:1.0: USB hub found
[    6.631280] hub 1-0:1.0: 1 port detected
[    6.658537] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    6.688338] remoteproc remoteproc0: powering up wkup_m3
[    6.728871] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 243276
[    6.737556] remoteproc remoteproc0: remote processor wkup_m3 is now up
[    6.737587] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
[    6.757757] PM: Cannot get wkup_m3_ipc handle
Initializing random number generator: OK
Saving random seed: OK
Starting network: OK

Welcome to Buildroot
buildroot login: root
#
#
#
# uname -a
Linux buildroot 6.6.0-rc3 #1 SMP Sun Oct  1 22:05:54 IST 2023 armv7l GNU/Linux
# [   17.124620] PM: bootloader does not support rtc-only!


Special thanks to @RobertCNelson

Thanks & Regards
Vivek Yadav

1 Like