BBG stopped reponding

Well the eMMC overlay isn’t loaded, normally beagle-version would report how u-boot read them…

/boot/uEnv.txt Settings:
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[enable_uboot_cape_universal=1]

Seeing a serial log would help figure out more, but your LCD makes getting to the serial port a little painful.

Regards,

Here is the serial log for your reference.

U-Boot SPL 2022.04-ge0d31da5 (Aug 04 2023 - 18:48:26 +0000)
Trying to boot from MMC2

U-Boot 2022.04-ge0d31da5 (Aug 04 2023 - 18:48:26 +0000)

CPU : AM335X-GP rev 2.1
Model: TI AM335x BeagleBone Black
DRAM: 512 MiB
Reset Source: Power-on reset has occurred.
RTC 32KCLK Source: External.
Core: 150 devices, 14 uclasses, devicetree: separate
WDT: Started wdt@44e35000 with servicing (60s timeout)
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from EXT4… ** File not found /boot/uboot.env **

** Unable to read “/boot/uboot.env” from mmc0:1 **
Board: BeagleBone Black
not set. Validating first E-fuse MAC
BeagleBone Black:
BeagleBone Cape EEPROM: no EEPROM at address: 0x54
BeagleBone Cape EEPROM: no EEPROM at address: 0x55
BeagleBone Cape EEPROM: no EEPROM at address: 0x56
BeagleBone Cape EEPROM: no EEPROM at address: 0x57
Net: eth2: ethernet@4a100000, eth3: usb_ether
Press SPACE to abort autoboot in 0 seconds
board_name=[A335BNLT] …
board_rev=[00C0] …
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
Couldn’t find partition 0:2 0x82000000
Can’t set block device
Couldn’t find partition 0:2 0x82000000
Can’t set block device
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1…
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
Scanning disk mmc@48060000.blk…
Scanning disk mmc@481d8000.blk…
Found 4 disks
No EFI system partition
BootOrder not defined
EFI boot manager: Cannot load any image
gpio: pin 56 (gpio 56) value is 0
gpio: pin 55 (gpio 55) value is 0
gpio: pin 54 (gpio 54) value is 0
gpio: pin 53 (gpio 53) value is 1
switch to partitions #0, OK
mmc0 is current device
gpio: pin 54 (gpio 54) value is 1
Checking for: /uEnv.txt …
934 bytes read in 3 ms (303.7 KiB/s)
gpio: pin 55 (gpio 55) value is 1
Loaded environment from /uEnv.txt
Importing environment from mmc …
Checking if uenvcmd is set …
gpio: pin 56 (gpio 56) value is 1
Running uenvcmd …
Checking for: /boot/uEnv.txt …
gpio: pin 55 (gpio 55) value is 1
708 bytes read in 3 ms (230.5 KiB/s)
Loaded environment from /boot/uEnv.txt
Checking if uname_r is set in /boot/uEnv.txt…
gpio: pin 56 (gpio 56) value is 1
Running uname_boot …
loading /boot/vmlinuz-5.10.87-bone-rt-r59 …
9462272 bytes read in 600 ms (15 MiB/s)
debug: [enable_uboot_overlays=1] …
debug: [enable_uboot_cape_universal=1] …
debug: [uboot_base_dtb_univ=am335x-boneblack-uboot-univ.dtb] …
uboot_overlays: [uboot_base_dtb=am335x-boneblack-uboot-univ.dtb] …
uboot_overlays: Switching too: dtb=am335x-boneblack-uboot-univ.dtb …
loading /boot/dtbs/5.10.87-bone-rt-r59/am335x-boneblack-uboot-univ.dtb …
215646 bytes read in 18 ms (11.4 MiB/s)
Found 0 extension board(s).
uboot_overlays: [fdt_buffer=0x60000] …
uboot_overlays: uboot loading of [BB-ADC-00A0.dtbo] disabled by /boot/uEnv.txt [disable_uboot_overlay_adc=1]…
uboot_overlays: loading /lib/firmware/BB-UART1-00A0.dtbo …
1022 bytes read in 26 ms (38.1 KiB/s)
uboot_overlays: loading /lib/firmware/BB-UART2-00A0.dtbo …
1022 bytes read in 26 ms (38.1 KiB/s)
uboot_overlays: loading /lib/firmware/BB-UART4-00A0.dtbo …
1022 bytes read in 12 ms (83 KiB/s)
uboot_overlays: loading /lib/firmware/BB-AAIM-LCD-00A1.dtbo …
4817 bytes read in 28 ms (168 KiB/s)
uboot_overlays: loading /lib/firmware/BB-I2C1-00A0.dtbo …
1102 bytes read in 5 ms (214.8 KiB/s)
uboot_overlays: uboot loading of [BB-BONE-eMMC1-01-00A0.dtbo] disabled by /boot/uEnv.txt [disable_uboot_overlay_emmc=1]…
uboot_overlays: uboot loading of [BB-HDMI-TDA998x-00A0.dtbo] disabled by /boot/uEnv.txt [disable_uboot_overlay_video=1]…
debug: [console=ttyS0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M quiet] …
debug: [bootz 0x82000000 - 88000000] …
Kernel image @ 0x82000000 [ 0x000000 - 0x906200 ]

Flattened Device Tree blob at 88000000

Booting using the fdt blob at 0x88000000
Using Device Tree in place at 88000000, end 88098fff

Starting kernel …

[ 1.629293] l3-aon-clkctrl:0000:0: failed to disable
[ 1.678963] omap_voltage_late_init: Voltage driver support not added
[ 1.679299] PM: Cannot get wkup_m3_ipc handle
[ 1.764237] wkup_m3_rproc 44d00000.cpu: Platform data missing!
[ 1.836489] gpiochip_add_data_with_key: GPIOs 0…31 (gpio-0-31) failed to register, -517
[ 2.127053] wkup_m3_ipc 44e11324.wkup_m3_ipc: IPC Request for A8->M3 Channel failed! -517
[ 2.962536] OF: graph: no port node found in /ocp/interconnect@48000000/segment@300000/target-module@e000/lcdc@0
[ 2.962959] OF: graph: no port node found in /ocp/interconnect@48000000/segment@300000/target-module@e000/lcdc@0
[ 2.964472] tilcdc 4830e000.lcdc: no encoders/connectors found
[ 3.052483] debugfs: Directory ‘49000000.dma’ with parent ‘dmaengine’ already present!
[ 3.214445] gpio-of-helper ocp:cape-universal: Failed to get gpio property of ‘P8_13’
[ 3.214454] gpio-of-helper ocp:cape-universal: Failed to create gpio entry
[ 3.221369] PM: Cannot get wkup_m3_ipc handle
[ 3.315262] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[ 3.326546] OF: graph: no port node found in /ocp/interconnect@48000000/segment@300000/target-module@e000/lcdc@0
[ 3.327187] OF: graph: no port node found in /ocp/interconnect@48000000/segment@300000/target-module@e000/lcdc@0
[ 3.475839] PM: Cannot get wkup_m3_ipc handle
[ 3.480607] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[ 3.481697] PM: Cannot get wkup_m3_ipc handle
[ 3.487280] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[ 3.499865] PM: Cannot get wkup_m3_ipc handle
[ 3.505285] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[FAILED] Failed to start appmount.service.
[ 19.842456] PM: Cannot get wkup_m3_ipc handle
[ 19.883221] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[ 20.103309] rtc-pcf8563 1-0051: pcf8563_write_block_data: err=-121 addr=0e, data=03
[ 20.103344] rtc-pcf8563 1-0051: pcf8563_probe: write error

Ubuntu 20.04 LTS

I tried with single partition for rootfs… still getting same error

Version: [1.20240419.0, merged usr cleanups…]

cat /etc/default/beagle-flasher:

#debug_over_display=tty0
source=/dev/mmcblk0
destination=/dev/mmcblk1
rfs_partition=single
rfs_rootfs_type=ext4
rfs_rootfs_startmb=4
bootloader=/opt/u-boot/bb-u-boot-am335x-evm/install-mmcblk1.sh
flash_back=beaglebone-black-emmc-to-microsd

INFO: /proc/cmdline
INFO: [cat /proc/cmdline]
console=ttyS0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M quiet

INFO: Preparing sysctl
INFO: [sysctl: vm.min_free_kbytes=[2828]
INFO: [sysctl: setting: [sysctl -w vm.min_free_kbytes=16384]
vm.min_free_kbytes = 16384

INFO: [lsblk -i]
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
mmcblk0 179:0 0 14.9G 0 disk
`-mmcblk0p1 179:1 0 3.9G 0 part /

INFO: copying [/dev/mmcblk0] → [/dev/mmcblk1]

INFO: [source=/dev/mmcblk0] is a valid block device
ERROR: [destination=/dev/mmcblk1] does not exist

Example: /etc/default/beagle-flasher

source=/dev/mmcblk0
destination=/dev/mmcblk1
rfs_partition=single
rfs_rootfs_type=ext4
rfs_rootfs_startmb=4
bootloader=/opt/u-boot/bb-u-boot-am335x-evm/install-mmcblk1.sh
flash_back=beaglebone-black-emmc-to-microsd

How can i restructure the partition to copy this image to eMMC? or Can we change the flasher script which can create the same structure in eMMC?

You’ve disabled eMMC… so there’s no chance of the flashing script to work…

Regards,

Correct from log i could see the parameters is disabled. If i change Env.txt will it work?

The eMMC /dev/mmcblk1 device should show up if you disable the line disable_uboot_overlay_emmc=1

Regards,

I tried enabling the eMMC and executed below command

**sudo beagle-flasher** 
--------------------------------------------------------------------------------
Version: [1.20240419.0, merged usr cleanups...]
--------------------------------------------------------------------------------
cat /etc/default/beagle-flasher:
--------------------------------------------------------------------------------
#debug_over_display=tty0
source=/dev/mmcblk0
destination=/dev/mmcblk1
rfs_partition=single
rfs_rootfs_type=ext4
rfs_rootfs_startmb=4
bootloader=/opt/u-boot/bb-u-boot-am335x-evm/install-mmcblk1.sh
flash_back=beaglebone-black-emmc-to-microsd
--------------------------------------------------------------------------------
INFO: /proc/cmdline
INFO: [cat /proc/cmdline]
console=ttyS0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M quiet
--------------------------------------------------------------------------------
INFO: Preparing sysctl
INFO: [sysctl: vm.min_free_kbytes=[2828]
INFO: [sysctl: setting: [sysctl -w vm.min_free_kbytes=16384]
vm.min_free_kbytes = 16384
--------------------------------------------------------------------------------
INFO: [lsblk -i]
NAME         MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
mmcblk0      179:0    0 14.9G  0 disk 
`-mmcblk0p1  179:1    0  3.9G  0 part /
mmcblk1      179:256  0  3.6G  0 disk 
`-mmcblk1p1  179:257  0  3.6G  0 part 
mmcblk1boot0 179:512  0    4M  1 disk 
mmcblk1boot1 179:768  0    4M  1 disk 
--------------------------------------------------------------------------------
INFO: copying [/dev/mmcblk0] -> [/dev/mmcblk1]
--------------------------------------------------------------------------------
INFO: [source=/dev/mmcblk0] is a valid block device
INFO: [destination=/dev/mmcblk1] is a valid block device
INFO: Creating: [/boot/config-5.10.87-bone-rt-r59]
INFO: Generating: [/boot/initrd.img-5.10.87-bone-rt-r59]
update-initramfs: Generating /boot/initrd.img-5.10.87-bone-rt-r59
--------------------------------------------------------------------------------
INFO: flush_cache: [blockdev --flushbufs /dev/mmcblk1]
--------------------------------------------------------------------------------
INFO: Erasing: [/dev/mmcblk1]
INFO: flush_cache: [blockdev --flushbufs /dev/mmcblk1]
--------------------------------------------------------------------------------
INFO: [dd if=/dev/zero of=/dev/mmcblk1 bs=1M count=108 status=progress]
106954752 bytes (107 MB, 102 MiB) copied, 2 s, 53.2 MB/s
108+0 records in
108+0 records out
113246208 bytes (113 MB, 108 MiB) copied, 9.99337 s, 11.3 MB/s
--------------------------------------------------------------------------------
INFO: [dd if=/dev/mmcblk1 of=/dev/null bs=1M count=108 status=progress]
81788928 bytes (82 MB, 78 MiB) copied, 2 s, 40.5 MB/s
108+0 records in
108+0 records out
113246208 bytes (113 MB, 108 MiB) copied, 2.89038 s, 39.2 MB/s
--------------------------------------------------------------------------------
INFO: flush_cache: [blockdev --flushbufs /dev/mmcblk1]
--------------------------------------------------------------------------------
INFO: Erasing: [/dev/mmcblk1] complete
--------------------------------------------------------------------------------
INFO: [/bin/bash /opt/u-boot/bb-u-boot-am335x-evm/install-mmcblk1.sh]
dd if=/opt/u-boot/bb-u-boot-am335x-evm/MLO of=/dev/mmcblk1 count=2 seek=1 bs=128k
0+1 records in
0+1 records out
106556 bytes (107 kB, 104 KiB) copied, 0.0379715 s, 2.8 MB/s
dd if=/opt/u-boot/bb-u-boot-am335x-evm/u-boot-dtb.img of=/dev/mmcblk1 count=4 seek=1 bs=384k
2+1 records in
2+1 records out
990620 bytes (991 kB, 967 KiB) copied, 0.119078 s, 8.3 MB/s
--------------------------------------------------------------------------------
INFO: Partitioning: /dev/mmcblk1
INFO: sfdisk: [sfdisk from util-linux 2.34]
INFO: sfdisk: [sfdisk --force --wipe-partitions always /dev/mmcblk1]
INFO: sfdisk: [4M,,L,*]
--------------------------------------------------------------------------------
Checking that no-one is using this disk right now ... OK

Disk /dev/mmcblk1: 3.58 GiB, 3825205248 bytes, 7471104 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

>>> Created a new DOS disklabel with disk identifier 0x00dafccc.
/dev/mmcblk1p1: Created a new partition 1 of type 'Linux' and of size 3.6 GiB.
/dev/mmcblk1p2: Done.

New situation:
Disklabel type: dos
Disk identifier: 0x00dafccc

Device         Boot Start     End Sectors  Size Id Type
/dev/mmcblk1p1 *     8192 7471103 7462912  3.6G 83 Linux

The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
INFO: flush_cache: [blockdev --flushbufs /dev/mmcblk1]
--------------------------------------------------------------------------------
INFO: Formatting: /dev/mmcblk1
mkfs.ext4 -O ^metadata_csum,^64bit /dev/mmcblk1p1 -L rootfs
mke2fs 1.45.5 (07-Jan-2020)
Discarding device blocks: done                            
Creating filesystem with 932864 4k blocks and 233392 inodes
Filesystem UUID: 1aa71a55-7d2c-44b3-b0eb-7030c39f905a
Superblock backups stored on blocks: 
	32768, 98304, 163840, 229376, 294912, 819200, 884736

Allocating group tables: done                            
Writing inode tables: done                            
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done 

--------------------------------------------------------------------------------
INFO: flush_cache: [blockdev --flushbufs /dev/mmcblk1]
--------------------------------------------------------------------------------
INFO: Formatting: /dev/mmcblk1 complete
--------------------------------------------------------------------------------
INFO: Copying: /dev/mmcblk0p1 -> /dev/mmcblk1p1
INFO: [mount /dev/mmcblk1p1 /tmp/rootfs/ -o async,noatime]
INFO: rsync: (-aHAXx) [/ -> /tmp/rootfs/]
          2.20G  84%    3.73MB/s    0:09:23 (xfr#47454, to-chk=0/60895)   
--------------------------------------------------------------------------------
INFO: flush_cache: [blockdev --flushbufs /dev/mmcblk1]
--------------------------------------------------------------------------------
INFO: rsync: (-aHAXx) [/ -> /tmp/rootfs/]
              0   0%    0.00kB/s    0:00:00 (xfr#0, to-chk=0/60895)   
--------------------------------------------------------------------------------
INFO: flush_cache: [blockdev --flushbufs /dev/mmcblk1]
--------------------------------------------------------------------------------
INFO: Copying: Kernel modules
INFO: rsync: (-aHAXx) /lib/modules/5.10.87-bone-rt-r59/ -> /tmp/rootfs/lib/modules/5.10.87-bone-rt-r59/
         25.97M  99%    1.28MB/s    0:00:19 (xfr#2546, to-chk=0/2936)   
--------------------------------------------------------------------------------
INFO: flush_cache: [blockdev --flushbufs /dev/mmcblk1]
--------------------------------------------------------------------------------
INFO: Generating: /etc/fstab
INFO: [cat /tmp/rootfs/etc/fstab]
# /etc/fstab: static file system information.
#
/dev/mmcblk1p1  /  ext4  noatime,errors=remount-ro  0  1
debugfs  /sys/kernel/debug  debugfs  mode=755,uid=root,gid=gpio,defaults  0  0
--------------------------------------------------------------------------------
INFO: flush_cache: [blockdev --flushbufs /dev/mmcblk1]
--------------------------------------------------------------------------------
INFO: [cat /tmp/rootfs/boot/uEnv.txt]
uname_r=5.10.87-bone-rt-r59
cmdline=coherent_pool=1M quiet
					 enable_uboot_overlays=1
					 enable_uboot_overlay_emmc=1
					 enable_uboot_cape_universal=1
					 disable_uboot_overlay_video=1
					 disable_uboot_overlay_adc=1
					 uboot_overlay_addr0=/lib/firmware/BB-UART1-00A0.dtbo
					 uboot_overlay_addr1=/lib/firmware/BB-UART2-00A0.dtbo
					 uboot_overlay_addr2=/lib/firmware/BB-UART4-00A0.dtbo
					 uboot_overlay_addr3=/lib/firmware/BB-AAIM-LCD-00A1.dtbo
					 uboot_overlay_addr4=/lib/firmware/BB-I2C1-00A0.dtbo
				  #cmdline=cape_disable=bone_capemgr.disable_partno=BB-BONELT-HDMI, BB-BONELT-HDMIN, BB-BONE-HDMI bone_capemgr.enable_partno=BB-UART1,BB-AAIM-LCD:00A1,BB-UART4,BB-UART2,BB-I2C1
--------------------------------------------------------------------------------
INFO: [cp -v /etc/beagle-flasher/beaglebone-black-emmc-to-microsd /tmp/rootfs/etc/default/beagle-flasher]
'/etc/beagle-flasher/beaglebone-black-emmc-to-microsd' -> '/tmp/rootfs/etc/default/beagle-flasher'
--------------------------------------------------------------------------------
INFO: [cat /tmp/rootfs/etc/default/generic-sys-mods]
#This file is sourced by /usb/bin/bb-growpart
ROOT_DRIVE=/dev/mmcblk1
ROOT_PARTITION=1
ARCH_SOC_MODULES=generic
--------------------------------------------------------------------------------
INFO: flush_cache: [blockdev --flushbufs /dev/mmcblk1]
--------------------------------------------------------------------------------
Copying: /dev/mmcblk0p1 -> /dev/mmcblk1p1 complete
--------------------------------------------------------------------------------
INFO: flush_cache: [blockdev --flushbufs /dev/mmcblk1]
--------------------------------------------------------------------------------
INFO: [umount /tmp/rootfs/ || umount -l /tmp/rootfs/ || write_failure]
--------------------------------------------------------------------------------
INFO: Force writeback of eMMC buffers by Syncing: /dev/mmcblk1
INFO: [dd if=/dev/mmcblk1 of=/dev/null count=100000 status=progress]
41140736 bytes (41 MB, 39 MiB) copied, 2 s, 20.6 MB/s
100000+0 records in
100000+0 records out
51200000 bytes (51 MB, 49 MiB) copied, 2.51676 s, 20.3 MB/s
--------------------------------------------------------------------------------
INFO: flush_cache: [blockdev --flushbufs /dev/mmcblk1]
--------------------------------------------------------------------------------
**/usr/sbin/beagle-flasher: line 86: echo: write error: Invalid argument**

Seems like it failed with error. Please provide your suggestions.

Hi Robert,

I checked the eMMC after executing above steps, It seems booting from eMMC, but some of the startup scripts failed to execute. Here is the boot log for your reference. Please suggest the fix to boot it successfully from eMMC.

U-Boot SPL 2022.04-gbaca7b46 (Jan 15 2024 - 19:59:28 +0000)
Trying to boot from MMC2

U-Boot 2022.04-gbaca7b46 (Jan 15 2024 - 19:59:28 +0000)

CPU : AM335X-GP rev 2.1
Model: TI AM335x BeagleBone Black
DRAM: 512 MiB
Reset Source: Power-on reset has occurred.
RTC 32KCLK Source: External.
Core: 150 devices, 14 uclasses, devicetree: separate
WDT: Started wdt@44e35000 with servicing (60s timeout)
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from EXT4… Board: BeagleBone Black
not set. Validating first E-fuse MAC
BeagleBone Black:
BeagleBone Cape EEPROM: no EEPROM at address: 0x54
BeagleBone Cape EEPROM: no EEPROM at address: 0x55
BeagleBone Cape EEPROM: no EEPROM at address: 0x56
BeagleBone Cape EEPROM: no EEPROM at address: 0x57
Net: eth2: ethernet@4a100000, eth3: usb_ether
Press SPACE to abort autoboot in 0 seconds
board_name=[A335BNLT] …
board_rev=[00C0] …
gpio: pin 56 (gpio 56) value is 0
gpio: pin 55 (gpio 55) value is 0
gpio: pin 54 (gpio 54) value is 0
gpio: pin 53 (gpio 53) value is 1
switch to partitions #0, OK
mmc1(part 0) is current device
Scanning mmc 1:1…
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
Scanning disk mmc@48060000.blk…
Disk mmc@48060000.blk not ready
Scanning disk mmc@481d8000.blk…
Found 2 disks
No EFI system partition
BootOrder not defined
EFI boot manager: Cannot load any image
gpio: pin 56 (gpio 56) value is 0
gpio: pin 55 (gpio 55) value is 0
gpio: pin 54 (gpio 54) value is 0
gpio: pin 53 (gpio 53) value is 1
switch to partitions #0, OK
mmc1(part 0) is current device
gpio: pin 54 (gpio 54) value is 1
Checking for: /uEnv.txt …
Checking for: /boot/uEnv.txt …
gpio: pin 55 (gpio 55) value is 1
707 bytes read in 3 ms (229.5 KiB/s)
Loaded environment from /boot/uEnv.txt
Checking if uname_r is set in /boot/uEnv.txt…
gpio: pin 56 (gpio 56) value is 1
Running uname_boot …
loading /boot/vmlinuz-5.10.87-bone-rt-r59 …
9462272 bytes read in 598 ms (15.1 MiB/s)
debug: [enable_uboot_overlays=1] …
debug: [enable_uboot_cape_universal=1] …
debug: [uboot_base_dtb_univ=am335x-boneblack-uboot-univ.dtb] …
uboot_overlays: [uboot_base_dtb=am335x-boneblack-uboot-univ.dtb] …
uboot_overlays: Switching too: dtb=am335x-boneblack-uboot-univ.dtb …
loading /boot/dtbs/5.10.87-bone-rt-r59/am335x-boneblack-uboot-univ.dtb …
215646 bytes read in 17 ms (12.1 MiB/s)
Found 0 extension board(s).
uboot_overlays: [fdt_buffer=0x60000] …
uboot_overlays: uboot loading of [BB-ADC-00A0.dtbo] disabled by /boot/uEnv.txt [disable_uboot_overlay_adc=1]…
uboot_overlays: loading /lib/firmware/BB-UART1-00A0.dtbo …
1022 bytes read in 9 ms (110.4 KiB/s)
uboot_overlays: loading /lib/firmware/BB-UART2-00A0.dtbo …
1022 bytes read in 17 ms (58.6 KiB/s)
uboot_overlays: loading /lib/firmware/BB-UART4-00A0.dtbo …
1022 bytes read in 7 ms (142.6 KiB/s)
uboot_overlays: loading /lib/firmware/BB-AAIM-LCD-00A1.dtbo …
4817 bytes read in 9 ms (522.5 KiB/s)
uboot_overlays: loading /lib/firmware/BB-I2C1-00A0.dtbo …
1102 bytes read in 4 ms (268.6 KiB/s)
uboot_overlays: loading /boot/dtbs/5.10.87-bone-rt-r59/overlays/BB-BONE-eMMC1-01-00A0.dtbo …
1605 bytes read in 4 ms (391.6 KiB/s)
uboot_overlays: uboot loading of [BB-HDMI-TDA998x-00A0.dtbo] disabled by /boot/uEnv.txt [disable_uboot_overlay_video=1]…
loading /boot/initrd.img-5.10.87-bone-rt-r59 …
9686522 bytes read in 621 ms (14.9 MiB/s)
debug: [console=ttyS0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk1p1 ro rootfstype=ext4 rootwait coherent_pool=1M quiet] …
debug: [bootz 0x82000000 0x88080000:93cdfa 88000000] …
Kernel image @ 0x82000000 [ 0x000000 - 0x906200 ]

Flattened Device Tree blob at 88000000

Booting using the fdt blob at 0x88000000
Loading Ramdisk to 8f6c3000, end 8ffffdfa … OK
Loading Device Tree to 8f62a000, end 8f6c2fff … OK

Starting kernel …

[ 1.996928] l3-aon-clkctrl:0000:0: failed to disable
[ 2.100571] omap_voltage_late_init: Voltage driver support not added
[ 2.100897] PM: Cannot get wkup_m3_ipc handle
[ 2.185746] wkup_m3_rproc 44d00000.cpu: Platform data missing!
[ 2.258011] gpiochip_add_data_with_key: GPIOs 0…31 (gpio-0-31) failed to register, -517
[ 2.548179] wkup_m3_ipc 44e11324.wkup_m3_ipc: IPC Request for A8->M3 Channel failed! -517
[ 3.398086] OF: graph: no port node found in /ocp/interconnect@48000000/segment@300000/target-module@e000/lcdc@0
[ 3.398414] OF: graph: no port node found in /ocp/interconnect@48000000/segment@300000/target-module@e000/lcdc@0
[ 3.401231] tilcdc 4830e000.lcdc: no encoders/connectors found
[ 3.506540] debugfs: Directory ‘49000000.dma’ with parent ‘dmaengine’ already present!
[ 3.640427] gpio-of-helper ocp:cape-universal: Failed to get gpio property of ‘P8_13’
[ 3.640435] gpio-of-helper ocp:cape-universal: Failed to create gpio entry
[ 3.647068] PM: Cannot get wkup_m3_ipc handle
[ 3.739546] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[ 3.751648] OF: graph: no port node found in /ocp/interconnect@48000000/segment@300000/target-module@e000/lcdc@0
[ 3.752001] OF: graph: no port node found in /ocp/interconnect@48000000/segment@300000/target-module@e000/lcdc@0
[ 3.905322] PM: Cannot get wkup_m3_ipc handle
[ 3.911480] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[ 3.912566] PM: Cannot get wkup_m3_ipc handle
[ 3.917916] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[ 3.951683] PM: Cannot get wkup_m3_ipc handle
[ 3.959165] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[ 6.440054] PM: Cannot get wkup_m3_ipc handle
[ 6.451502] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[ 6.460454] PM: Cannot get wkup_m3_ipc handle
[ 6.475039] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[ 6.476061] PM: Cannot get wkup_m3_ipc handle
[ 6.477404] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[ 6.485992] PM: Cannot get wkup_m3_ipc handle
[ 6.491576] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
rootfs: recovering journal
rootfs: clean, 63829/233392 files, 612382/932864 blocks
[FAILED] Failed to start appmount.service.
[ 22.824814] PM: Cannot get wkup_m3_ipc handle
[ 22.854152] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[ 23.067226] rtc-pcf8563 1-0051: pcf8563_write_block_data: err=-121 addr=0e, data=03
[ 23.067259] rtc-pcf8563 1-0051: pcf8563_probe: write error
[FAILED] Failed to start Generic Board Startup.
[FAILED] Failed to start initrtc.service.

This is fine… connects with: bb-beagle-flasher/suite/focal/debian/beagle-flasher · master · BeagleBoard.org / repos-armhf · GitLab

Which came from: bb-beagle-flasher/suite/focal/debian/beagle-flasher · master · BeagleBoard.org / repos-armhf · GitLab

So it was done…

Regards,

remove quiet from /boot/uEnv.txt to see what’s really breaking things…

Regards,

Okay, I assume it will not cause any further issues and it should boot from internal flash without fail.
Thanks for the information.

Hi

BBG is booting successfully from internal flash with custom rootfs.

I created 2 partitions manually and copied the rootfs using Beagle-flasher. It worked as expected.

Thank you for your suggestions/input.