U-boot and Trying to Flash the BBAI-64 when the eMMC is Faulty...

Hello,

I finally was able to figure out my SD Card concerns w/ booting into an image for the BBAI-64. Since then, I have been trying to boot w/ an invalid eMMC onboard my BBAI-64…

Gave up waiting for root file system device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  /dev/mmcblk1p2 does not exist.  Dropping to a shell!
(initramfs)

It drops into a shell called initramfs which is nice for debugging partially. I am currently trying to erase the eMMC and plain, ole boot into SD Card for now.

Seth

P.S. Has anyone come across an issue like mine yet and can shed some data on how to use u-boot to erase mmc via blk# and cnt?

I have tried:

mmc dev 0
mmc erase 0 1

I know if you understand u-boot a bit, this is not okay. I am trying to configure the build and I have come to a conclusion that w/ the current state of my eMMC and its partition, I cannot boot into SD Card b/c of it.

Me Again,

I cannot be correct here but I think this developed when I started to build the Yocto distro for the BBAI-64.

If you have built Yocto for the BBAI-64 and have a faulty mmc0 device and have overcome the issues behind it, please send guidance…

Seth

Okay,

So, I found some articles so far:

  1. #Linux | How to fix Linux Mint initramfs Prompt at Boot | by Denis Sha | Medium

Where is the filesystem on the image that I would need to use fsck to make work?

Seth

P.S. It seems there is a normal initramfs prompt on some distros so far that pertain to issues I am seeing…

  1. That link does not fix the issue.
  2. My /dev/mmcblk0 is undefined and an actual unknown filesystem.
  3. Send guidance. I have a UART connection for debugging…

Blah.

Some positive learning experiences will come from this idea of me failing:

  1. Chapter 7. Managing the initial ramfs (initramfs) archive

That link seems promising. I am off to test that sum of commands from w/in initramfs…and then return service.

Please post your serial boot log

1 Like

I have a 15 minute rule when it comes to stuff that does not work. If your time is worth more than the board, move onto another board or another vendor.

My yocto build does not boot any more, it gets stuck in a uboot loop/prompt. Is it worth my time to debug??, not even close. Find stuff that works out of the box and go after your dreams that way, wasting time on chasing a ball that is bouncing down the court leads to nothing.

1 Like

I will post the boot log soon. Please give me some time.

I will update this post soon…

Seth

Yeppers @foxsquirrel ,

I goofed up my eMMC by putting a Yocto build on it (I am guessing here). I think that or when I misdiagnosed the cause and took action, I then created a double entendre of errors.

Anyway, I hope you can configure you board again. rs-online has the boards for sell. I may have to purchase another one. Argh. We shall see!

Seth

P.S. I am not sure so far about initramfs and how u-boot is tied in but my knowledge is short in this dept. for now. I am reading when I get time and learning as much as I can so I can figure out SPL to u-boot, to initramfs to kernel or something like that idea. See. I am just learning now how everything is tied together.

I highly doubt that is what happened.

Not sure how loading an image could do that. If Uboot and the Ti3boot has a problem it will not boot.

Get the flasher image and load that, if that still does not work then your board might have crapped out, not from the yocto image.

If you were logging or doing some extreme R/W to the emmc that might have caused some damage. I have not been able to burn one up yet, what I have read is that the possibility does exist. Is that based upon 20 year old technology or current??
Connect your ttl to linux debug port and post.

pretty sure Yocto’s version of u-boot still thinks the board is TI’s evm…

Regards,

1 Like

Okay,

I am still not ready. I will post tonight at some point or on Sunday CST.

Seth

@silver2row TI’s evm…

What is your MACHINE=

Source your build then,

$bitbake-layers show-layers

been close to 5 yrs since doing an initramfs, if memory serves, initramfs is a very basic root file system with the very minimum. it is also attached to the end of the u-boot image. when it comes to emmc, u-boot is placed in special partition(s) that is/are not part of the mmcblk (on a working sbc with emmc, a lsblk will/should show 4 partitions, 2 with mmcblk and 2 other, forget the naming off hand, these are the u-boot partitions). when you did emmc erase 0 1, that is erasing the mmcblk partition and not the u-boot partition.
i don’t have a BBAI-64, but if you can boot from a sdcard or something, then dd’ing zero to the emmc will clean out the emmc u-boot. i’ll take a look at the naming of the u-boot partitions in the morning, provided i don’t get side tracked.

1 Like

I will get this info and the boot log on Sunday.

I will stay patient. Thank you all for supporting it and the methods of error.

the u-boot partitions for emmc are mmcblk1boot0 and 1
where the data partitions are mmcblk1
hope this helps

1 Like

Hello Sir,

@RobertCNelson , here is the boot log.

[15:40:22.534] tio v2.5
[15:40:22.534] Press ctrl-t q to quit
[15:40:22.536] Connected

U-Boot SPL 2021.01-gea96725b (Sep 02 2023 - 15:57:35 +0000)
Model: BeagleBoard.org BeagleBone AI-64 R5
EEPROM not available at 0x50, trying to read at 0x51
Board: BBONEAI-64-B0- rev B0
SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.3--v08.06.03 (Chill Capybar')
Trying to boot from MMC2
Starting ATF on ARM64 core...

NOTICE:  BL31: v2.9(release):v2.9.0
NOTICE:  BL31: Built : 15:57:35, Sep  2 2023
I/TC: 
I/TC: OP-TEE version: 3.22.0 (gcc version 12.2.0 (Debian 12.2.0-14)) #1 Sat Sep  2 15:57:35 UTC 2023 aarch64
I/TC: WARNING: This OP-TEE configuration might be insecure!
I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html
I/TC: Primary CPU initializing
I/TC: SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.3--v08.06.03 (Chill Capybar')
I/TC: HUK Initialized
I/TC: Activated SA2UL device
I/TC: Fixing SA2UL firewall owner for GP device
I/TC: Enabled firewalls for SA2UL TRNG device
I/TC: SA2UL TRNG initialized
I/TC: SA2UL Drivers initialized
I/TC: Primary CPU switching to normal world boot

U-Boot SPL 2021.01-gea96725b (Sep 02 2023 - 15:57:35 +0000)
Model: Texas Instruments K3 J721E SoC
Board: BBONEAI-64-B0- rev B0
SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.3--v08.06.03 (Chill Capybar')
ti_i2c_eeprom_am6_parse_record: Ignoring record id 17
Trying to boot from MMC2


U-Boot 2021.01-gea96725b (Sep 02 2023 - 15:57:35 +0000)

SoC:   J721E SR1.1 GP
Model: Texas Instruments K3 J721E SoC
Board: BBONEAI-64-B0- rev B0
DRAM:  4 GiB
Flash: 0 Bytes
MMC:   sdhci@4f80000: 0, sdhci@4fb0000: 1
Loading Environment from FAT... ** No partition table - mmc 0 **
In:    serial@2800000
Out:   serial@2800000
Err:   serial@2800000
am65_cpsw_nuss ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA00101 cpsw_ver: 0x6BA80100 ale_ver: 0x00293904 Ports:1 mdio_freq:1000000
ti_i2c_eeprom_am6_parse_record: Ignoring record id 17
Net:   eth0: ethernet@46000000port@1
Press SPACE to abort autoboot in 2 seconds
board_name=[BBONEAI-64-B0-] ...
name_fdt=[k3-j721e-beagleboneai64.dtb] ...
i2c_write: error waiting for data ACK (status=0x116)
pca953x gpio@22: Error reading output register
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
740 bytes read in 8 ms (89.8 KiB/s)
BeagleBone AI-64 microSD (extlinux.conf) Options
1:	BeagleBone AI-64 microSD Recovery
2:	BeagleBone AI-64 copy microSD to eMMC
3:	BeagleBone AI-64 microSD (default)
Enter choice: 3
3:	BeagleBone AI-64 microSD (default)
Retrieving file: /initrd.img
9584911 bytes read in 413 ms (22.1 MiB/s)
Retrieving file: /Image
29485568 bytes read in 1252 ms (22.5 MiB/s)
append: root=/dev/mmcblk1p2 ro rootfstype=ext4 rootwait net.ifnames=0 quiet init=/usr/sbin/init-beagle-flasher
Retrieving file: /k3-j721e-beagleboneai64.dtb
226922 bytes read in 18 ms (12 MiB/s)
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Ramdisk to 8f6db000, end 8ffff10f ... OK
   Loading Device Tree to 000000008f6a0000, end 000000008f6da669 ... OK

Starting kernel ...

I/TC: Secondary CPU 1 initializing
I/TC: Secondary CPU 1 switching to normal world boot
I/TC: Reserved shared memory is enabled
I/TC: Dynamic shared memory is enabled
I/TC: Normal World virtualization support is disabled
I/TC: Asynchronous notifications are disabled
[    0.671993] debugfs: Directory '31010000.pat' with parent 'regmap' already present!
[    0.672216] debugfs: Directory '31011000.pat' with parent 'regmap' already present!
[    0.672363] debugfs: Directory '31012000.pat' with parent 'regmap' already present!
[    0.672487] debugfs: Directory '31013000.pat' with parent 'regmap' already present!
[    0.672632] debugfs: Directory '31014000.pat' with parent 'regmap' already present!
[    1.215834] am65-cpsw-nuss c000000.ethernet: /bus@100000/ethernet@c000000/ethernet-ports/port@1 error retrieving port phy: -19
[    2.330616] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[    3.142553] debugfs: Directory 'pd:27' with parent 'pm_genpd' already present!
[    3.149821] debugfs: Directory 'pd:26' with parent 'pm_genpd' already present!
[    3.158363] debugfs: Directory 'pd:242' with parent 'pm_genpd' already present!
[    3.165703] debugfs: Directory 'pd:241' with parent 'pm_genpd' already present!
[    3.173011] debugfs: Directory 'pd:240' with parent 'pm_genpd' already present!
[    3.180325] debugfs: Directory 'pd:239' with parent 'pm_genpd' already present!
[    3.302636] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[    4.267863] mmc1: Got data interrupt 0x00000002 even though no data operation was in progress.
[    4.276474] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[    4.282904] mmc1: sdhci: Sys addr:  0x00000008 | Version:  0x00001004
[    4.289329] mmc1: sdhci: Blk size:  0x00007200 | Blk cnt:  0x00000007
[    4.295753] mmc1: sdhci: Argument:  0x00000000 | Trn mode: 0x00000033
[    4.302179] mmc1: sdhci: Present:   0x01f70000 | Host ctl: 0x0000001f
[    4.308602] mmc1: sdhci: Power:     0x0000000f | Blk gap:  0x00000080
[    4.315026] mmc1: sdhci: Wake-up:   0x00000000 | Clock:    0x00000207
[    4.321451] mmc1: sdhci: Timeout:   0x00000000 | Int stat: 0x00000000
[    4.327876] mmc1: sdhci: Int enab:  0x03ff008b | Sig enab: 0x03ff008b
[    4.334300] mmc1: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000
[    4.340724] mmc1: sdhci: Caps:      0x3fe8c801 | Caps_1:   0x18002407
[    4.347150] mmc1: sdhci: Cmd:       0x00000c1a | Max curr: 0x00000000
[    4.353574] mmc1: sdhci: Resp[0]:   0x00000b00 | Resp[1]:  0x00e7177f
[    4.360003] mmc1: sdhci: Resp[2]:   0x325b5900 | Resp[3]:  0x00000900
[    4.366428] mmc1: sdhci: Host ctl2: 0x0000000c
[    4.370860] mmc1: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x0000000894e9320c
[    4.377981] mmc1: sdhci: ============================================
[    4.387995] mmc1: Got data interrupt 0x00000002 even though no data operation was in progress.
[    4.396605] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[    4.403036] mmc1: sdhci: Sys addr:  0x00000008 | Version:  0x00001004
[    4.409462] mmc1: sdhci: Blk size:  0x00007200 | Blk cnt:  0x00000007
[    4.415888] mmc1: sdhci: Argument:  0x00000000 | Trn mode: 0x00000033
[    4.422313] mmc1: sdhci: Present:   0x01f70000 | Host ctl: 0x0000001e
[    4.422686] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[    4.428736] mmc1: sdhci: Power:     0x0000000f | Blk gap:  0x00000080
[    4.428738] mmc1: sdhci: Wake-up:   0x00000000 | Clock:    0x00000207
[    4.428740] mmc1: sdhci: Timeout:   0x00000000 | Int stat: 0x00000000
[    4.428742] mmc1: sdhci: Int enab:  0x03ff008b | Sig enab: 0x03ff008b
[    4.428745] mmc1: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000
[    4.428749] mmc1: sdhci: Caps:      0x3fe8c801 | Caps_1:   0x18002407
[    4.473790] mmc1: sdhci: Cmd:       0x00000c1a | Max curr: 0x00000000
[    4.480215] mmc1: sdhci: Resp[0]:   0x00000b00 | Resp[1]:  0x00e7177f
[    4.486640] mmc1: sdhci: Resp[2]:   0x325b5900 | Resp[3]:  0x00000900
[    4.493065] mmc1: sdhci: Host ctl2: 0x0000000c
[    4.497496] mmc1: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x0000000894e9320c
[    4.504613] mmc1: sdhci: ============================================
[    4.663355] blk_update_request: I/O error, dev mmcblk1, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[    4.676064] blk_update_request: I/O error, dev mmcblk1, sector 1 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[    4.688780] blk_update_request: I/O error, dev mmcblk1, sector 2 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[    4.701488] blk_update_request: I/O error, dev mmcblk1, sector 3 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[    4.714282] blk_update_request: I/O error, dev mmcblk1, sector 4 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[    4.727178] blk_update_request: I/O error, dev mmcblk1, sector 5 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[    4.739952] blk_update_request: I/O error, dev mmcblk1, sector 6 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[    4.752792] blk_update_request: I/O error, dev mmcblk1, sector 7 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[    4.763006] Buffer I/O error on dev mmcblk1, logical block 0, async page read
[    4.771043] mmc1: Got data interrupt 0x00000002 even though no data operation was in progress.
[    4.779650] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[    4.786078] mmc1: sdhci: Sys addr:  0x00000008 | Version:  0x00001004
[    4.792506] mmc1: sdhci: Blk size:  0x00007200 | Blk cnt:  0x00000007
[    4.798932] mmc1: sdhci: Argument:  0x00000000 | Trn mode: 0x00000033
[    4.805355] mmc1: sdhci: Present:   0x01f70000 | Host ctl: 0x0000001f
[    4.811778] mmc1: sdhci: Power:     0x0000000f | Blk gap:  0x00000080
[    4.818201] mmc1: sdhci: Wake-up:   0x00000000 | Clock:    0x00000207
[    4.824624] mmc1: sdhci: Timeout:   0x00000000 | Int stat: 0x00000000
[    4.831046] mmc1: sdhci: Int enab:  0x03ff008b | Sig enab: 0x03ff008b
[    4.837469] mmc1: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000
[    4.843891] mmc1: sdhci: Caps:      0x3fe8c801 | Caps_1:   0x18002407
[    4.850313] mmc1: sdhci: Cmd:       0x00000c1a | Max curr: 0x00000000
[    4.856736] mmc1: sdhci: Resp[0]:   0x00000b00 | Resp[1]:  0x47606cc0
[    4.863158] mmc1: sdhci: Resp[2]:   0x53443332 | Resp[3]:  0x00000900
[    4.869580] mmc1: sdhci: Host ctl2: 0x0000000c
[    4.874009] mmc1: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x0000000894e9320c
[    4.881124] mmc1: sdhci: ============================================
[    4.890237] mmc1: Got data interrupt 0x00000002 even though no data operation was in progress.
[    4.898845] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[    4.905272] mmc1: sdhci: Sys addr:  0x00000008 | Version:  0x00001004
[    4.911698] mmc1: sdhci: Blk size:  0x00007200 | Blk cnt:  0x00000007
[    4.918122] mmc1: sdhci: Argument:  0x00000000 | Trn mode: 0x00000033
[    4.924550] mmc1: sdhci: Present:   0x01f70000 | Host ctl: 0x0000001e
[    4.930974] mmc1: sdhci: Power:     0x0000000f | Blk gap:  0x00000080
[    4.937402] mmc1: sdhci: Wake-up:   0x00000000 | Clock:    0x00000207
[    4.943829] mmc1: sdhci: Timeout:   0x00000000 | Int stat: 0x00000001
[    4.950255] mmc1: sdhci: Int enab:  0x03ff008b | Sig enab: 0x03ff008b
[    4.956682] mmc1: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000001
[    4.963109] mmc1: sdhci: Caps:      0x3fe8c801 | Caps_1:   0x18002407
[    4.969536] mmc1: sdhci: Cmd:       0x00000c1a | Max curr: 0x00000000
[    4.975961] mmc1: sdhci: Resp[0]:   0x00000b00 | Resp[1]:  0x47606cc0
[    4.982387] mmc1: sdhci: Resp[2]:   0x53443332 | Resp[3]:  0x00000900
[    4.988811] mmc1: sdhci: Host ctl2: 0x0000000c
[    4.993244] mmc1: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x0000000894e9320c
[    5.000365] mmc1: sdhci: ============================================
[    5.011777] blk_update_request: I/O error, dev mmcblk1, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[    5.024958] blk_update_request: I/O error, dev mmcblk1, sector 1 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[    5.053999] Buffer I/O error on dev mmcblk1, logical block 0, async page read
[    5.062077] mmc1: Got data interrupt 0x00000002 even though no data operation was in progress.
[    5.070682] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[    5.077109] mmc1: sdhci: Sys addr:  0x00000008 | Version:  0x00001004
[    5.083536] mmc1: sdhci: Blk size:  0x00007200 | Blk cnt:  0x00000007
[    5.089961] mmc1: sdhci: Argument:  0x00000000 | Trn mode: 0x00000033
[    5.096387] mmc1: sdhci: Present:   0x01f70000 | Host ctl: 0x0000001f
[    5.102812] mmc1: sdhci: Power:     0x0000000f | Blk gap:  0x00000080
[    5.109238] mmc1: sdhci: Wake-up:   0x00000000 | Clock:    0x00000207
[    5.115663] mmc1: sdhci: Timeout:   0x00000000 | Int stat: 0x00000001
[    5.122089] mmc1: sdhci: Int enab:  0x03ff008b | Sig enab: 0x03ff008b
[    5.128515] mmc1: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000001
[    5.134939] mmc1: sdhci: Caps:      0x3fe8c801 | Caps_1:   0x18002407
[    5.141364] mmc1: sdhci: Cmd:       0x00000c1a | Max curr: 0x00000000
[    5.147789] mmc1: sdhci: Resp[0]:   0x00000b00 | Resp[1]:  0x47606cc0
[    5.154215] mmc1: sdhci: Resp[2]:   0x53443332 | Resp[3]:  0x00000900
[    5.160641] mmc1: sdhci: Host ctl2: 0x0000000c
[    5.165073] mmc1: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x0000000894e9320c
[    5.172190] mmc1: sdhci: ============================================
[    5.181359] mmc1: Got data interrupt 0x00000002 even though no data operation was in progress.
[    5.189967] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[    5.196394] mmc1: sdhci: Sys addr:  0x00000008 | Version:  0x00001004
[    5.202819] mmc1: sdhci: Blk size:  0x00007200 | Blk cnt:  0x00000007
[    5.209245] mmc1: sdhci: Argument:  0x00000000 | Trn mode: 0x00000033
[    5.215669] mmc1: sdhci: Present:   0x01f70000 | Host ctl: 0x0000001e
[    5.222095] mmc1: sdhci: Power:     0x0000000f | Blk gap:  0x00000080
[    5.228521] mmc1: sdhci: Wake-up:   0x00000000 | Clock:    0x00000207
[    5.234947] mmc1: sdhci: Timeout:   0x00000000 | Int stat: 0x00000000
[    5.241373] mmc1: sdhci: Int enab:  0x03ff008b | Sig enab: 0x03ff008b
[    5.247800] mmc1: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000
[    5.254224] mmc1: sdhci: Caps:      0x3fe8c801 | Caps_1:   0x18002407
[    5.260652] mmc1: sdhci: Cmd:       0x00000c1a | Max curr: 0x00000000
[    5.267077] mmc1: sdhci: Resp[0]:   0x00000b00 | Resp[1]:  0x47606cc0
[    5.273503] mmc1: sdhci: Resp[2]:   0x53443332 | Resp[3]:  0x00000900
[    5.279928] mmc1: sdhci: Host ctl2: 0x0000000c
[    5.284361] mmc1: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x0000000894e9320c
[    5.291479] mmc1: sdhci: ============================================
[    5.317270] Buffer I/O error on dev mmcblk1, logical block 0, async page read
[    5.368214] mmc1: Got data interrupt 0x00000002 even though no data operation was in progress.
[    5.376822] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[    5.383249] mmc1: sdhci: Sys addr:  0x00000008 | Version:  0x00001004
[    5.389675] mmc1: sdhci: Blk size:  0x00007200 | Blk cnt:  0x00000007
[    5.396102] mmc1: sdhci: Argument:  0x00000000 | Trn mode: 0x00000033
[    5.402525] mmc1: sdhci: Present:   0x01f70000 | Host ctl: 0x0000001f
[    5.408948] mmc1: sdhci: Power:     0x0000000f | Blk gap:  0x00000080
[    5.415370] mmc1: sdhci: Wake-up:   0x00000000 | Clock:    0x00000207
[    5.421793] mmc1: sdhci: Timeout:   0x00000000 | Int stat: 0x00000000
[    5.428215] mmc1: sdhci: Int enab:  0x03ff008b | Sig enab: 0x03ff008b
[    5.434637] mmc1: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000
[    5.441060] mmc1: sdhci: Caps:      0x3fe8c801 | Caps_1:   0x18002407
[    5.447482] mmc1: sdhci: Cmd:       0x00000c1a | Max curr: 0x00000000
[    5.453905] mmc1: sdhci: Resp[0]:   0x00000b00 | Resp[1]:  0x47606cc0
[    5.460327] mmc1: sdhci: Resp[2]:   0x53443332 | Resp[3]:  0x00000900
[    5.466749] mmc1: sdhci: Host ctl2: 0x0000000c
[    5.471178] mmc1: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x0000000894e9320c
[    5.478293] mmc1: sdhci: ============================================
[    5.488335] mmc1: Got data interrupt 0x00000002 even though no data operation was in progress.
[    5.496944] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[    5.503370] mmc1: sdhci: Sys addr:  0x00000008 | Version:  0x00001004
[    5.509792] mmc1: sdhci: Blk size:  0x00007200 | Blk cnt:  0x00000007
[    5.516215] mmc1: sdhci: Argument:  0x00000000 | Trn mode: 0x00000033
[    5.522638] mmc1: sdhci: Present:   0x01f70000 | Host ctl: 0x0000001e
[    5.529060] mmc1: sdhci: Power:     0x0000000f | Blk gap:  0x00000080
[    5.535483] mmc1: sdhci: Wake-up:   0x00000000 | Clock:    0x00000207
[    5.541905] mmc1: sdhci: Timeout:   0x00000000 | Int stat: 0x00000000
[    5.548328] mmc1: sdhci: Int enab:  0x03ff008b | Sig enab: 0x03ff008b
[    5.554750] mmc1: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000
[    5.561173] mmc1: sdhci: Caps:      0x3fe8c801 | Caps_1:   0x18002407
[    5.567595] mmc1: sdhci: Cmd:       0x00000c1a | Max curr: 0x00000000
[    5.574018] mmc1: sdhci: Resp[0]:   0x00000b00 | Resp[1]:  0x47606cc0
[    5.580440] mmc1: sdhci: Resp[2]:   0x53443332 | Resp[3]:  0x00000900
[    5.586862] mmc1: sdhci: Host ctl2: 0x0000000c
[    5.591291] mmc1: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x0000000894e9320c
[    5.598406] mmc1: sdhci: ============================================
[    5.605171] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[    5.612332] usb usb1-port1: unable to enumerate USB device
[    5.623632] mmc1: Got data interrupt 0x00000002 even though no data operation was in progress.
[    5.632237] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[    5.638660] mmc1: sdhci: Sys addr:  0x00000008 | Version:  0x00001004
[    5.645084] mmc1: sdhci: Blk size:  0x00007200 | Blk cnt:  0x00000007
[    5.651506] mmc1: sdhci: Argument:  0x00000000 | Trn mode: 0x00000033
[    5.657930] mmc1: sdhci: Present:   0x01f70000 | Host ctl: 0x0000001f
[    5.664352] mmc1: sdhci: Power:     0x0000000f | Blk gap:  0x00000080
[    5.670774] mmc1: sdhci: Wake-up:   0x00000000 | Clock:    0x00000207
[    5.677197] mmc1: sdhci: Timeout:   0x00000000 | Int stat: 0x00000000
[    5.683620] mmc1: sdhci: Int enab:  0x03ff008b | Sig enab: 0x03ff008b
[    5.690042] mmc1: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000
[    5.696464] mmc1: sdhci: Caps:      0x3fe8c801 | Caps_1:   0x18002407
[    5.702887] mmc1: sdhci: Cmd:       0x00000c1a | Max curr: 0x00000000
[    5.709310] mmc1: sdhci: Resp[0]:   0x00000b00 | Resp[1]:  0x47606cc0
[    5.715732] mmc1: sdhci: Resp[2]:   0x53443332 | Resp[3]:  0x00000900
[    5.722154] mmc1: sdhci: Host ctl2: 0x0000000c
[    5.726583] mmc1: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x0000000894e9320c
[    5.733697] mmc1: sdhci: ============================================
[    5.742736] mmc1: Got data interrupt 0x00000002 even though no data operation was in progress.
[    5.751348] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[    5.757775] mmc1: sdhci: Sys addr:  0x00000008 | Version:  0x00001004
[    5.764198] mmc1: sdhci: Blk size:  0x00007200 | Blk cnt:  0x00000007
[    5.764201] mmc1: sdhci: Argument:  0x00000000 | Trn mode: 0x00000033
[    5.764203] mmc1: sdhci: Present:   0x01f70000 | Host ctl: 0x0000001e
[    5.764205] mmc1: sdhci: Power:     0x0000000f | Blk gap:  0x00000080
[    5.764208] mmc1: sdhci: Wake-up:   0x00000000 | Clock:    0x00000207
[    5.764210] mmc1: sdhci: Timeout:   0x00000000 | Int stat: 0x00000000
[    5.764212] mmc1: sdhci: Int enab:  0x03ff008b | Sig enab: 0x03ff008b
[    5.764214] mmc1: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000
[    5.764216] mmc1: sdhci: Caps:      0x3fe8c801 | Caps_1:   0x18002407
[    5.764218] mmc1: sdhci: Cmd:       0x00000c1a | Max curr: 0x00000000
[    5.764220] mmc1: sdhci: Resp[0]:   0x00000b00 | Resp[1]:  0x47606cc0
[    5.764222] mmc1: sdhci: Resp[2]:   0x53443332 | Resp[3]:  0x00000900
[    5.764224] mmc1: sdhci: Host ctl2: 0x0000000c
[    5.764228] mmc1: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x0000000894e9320c
[    5.777075] mmc1: sdhci: ============================================
[    5.796037] Buffer I/O error on dev mmcblk1, logical block 7572464, async page read
[    5.968209] mmc1: Got data interrupt 0x00000002 even though no data operation was in progress.
[    5.976815] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[    5.983239] mmc1: sdhci: Sys addr:  0x00000008 | Version:  0x00001004
[    5.989661] mmc1: sdhci: Blk size:  0x00007200 | Blk cnt:  0x00000007
[    5.996084] mmc1: sdhci: Argument:  0x00000000 | Trn mode: 0x00000033
[    6.002508] mmc1: sdhci: Present:   0x01f70000 | Host ctl: 0x0000001f
[    6.008930] mmc1: sdhci: Power:     0x0000000f | Blk gap:  0x00000080
[    6.015353] mmc1: sdhci: Wake-up:   0x00000000 | Clock:    0x00000207
[    6.021775] mmc1: sdhci: Timeout:   0x00000000 | Int stat: 0x00000000
[    6.028198] mmc1: sdhci: Int enab:  0x03ff008b | Sig enab: 0x03ff008b
[    6.034621] mmc1: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000
[    6.041043] mmc1: sdhci: Caps:      0x3fe8c801 | Caps_1:   0x18002407
[    6.047465] mmc1: sdhci: Cmd:       0x00000c1a | Max curr: 0x00000000
[    6.053888] mmc1: sdhci: Resp[0]:   0x00000b00 | Resp[1]:  0x47606cc0
[    6.060311] mmc1: sdhci: Resp[2]:   0x53443332 | Resp[3]:  0x00000900
[    6.066733] mmc1: sdhci: Host ctl2: 0x0000000c
[    6.071162] mmc1: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x0000000894e9320c
[    6.078276] mmc1: sdhci: ============================================
[    6.087365] mmc1: Got data interrupt 0x00000002 even though no data operation was in progress.
[    6.095958] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[    6.102380] mmc1: sdhci: Sys addr:  0x00000008 | Version:  0x00001004
[    6.108803] mmc1: sdhci: Blk size:  0x00007200 | Blk cnt:  0x00000007
[    6.115226] mmc1: sdhci: Argument:  0x00000000 | Trn mode: 0x00000033
[    6.121648] mmc1: sdhci: Present:   0x01f70000 | Host ctl: 0x0000001e
[    6.128070] mmc1: sdhci: Power:     0x0000000f | Blk gap:  0x00000080
[    6.134492] mmc1: sdhci: Wake-up:   0x00000000 | Clock:    0x00000207
[    6.140915] mmc1: sdhci: Timeout:   0x00000000 | Int stat: 0x00000000
[    6.147337] mmc1: sdhci: Int enab:  0x03ff008b | Sig enab: 0x03ff008b
[    6.153759] mmc1: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000
[    6.160182] mmc1: sdhci: Caps:      0x3fe8c801 | Caps_1:   0x18002407
[    6.166604] mmc1: sdhci: Cmd:       0x00000c1a | Max curr: 0x00000000
[    6.173026] mmc1: sdhci: Resp[0]:   0x00000b00 | Resp[1]:  0x47606cc0
[    6.179448] mmc1: sdhci: Resp[2]:   0x53443332 | Resp[3]:  0x00000900
[    6.185871] mmc1: sdhci: Host ctl2: 0x0000000c
[    6.190300] mmc1: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x0000000894e9320c
[    6.197414] mmc1: sdhci: ============================================
[    6.221542] mmc1: Got data interrupt 0x00000002 even though no data operation was in progress.
[    6.230134] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[    6.236557] mmc1: sdhci: Sys addr:  0x00000008 | Version:  0x00001004
[    6.242980] mmc1: sdhci: Blk size:  0x00007200 | Blk cnt:  0x00000007
[    6.249402] mmc1: sdhci: Argument:  0x00000000 | Trn mode: 0x00000033
[    6.255824] mmc1: sdhci: Present:   0x01f70000 | Host ctl: 0x0000001f
[    6.262247] mmc1: sdhci: Power:     0x0000000f | Blk gap:  0x00000080
[    6.268669] mmc1: sdhci: Wake-up:   0x00000000 | Clock:    0x00000207
[    6.275091] mmc1: sdhci: Timeout:   0x00000000 | Int stat: 0x00000000
[    6.281514] mmc1: sdhci: Int enab:  0x03ff008b | Sig enab: 0x03ff008b
[    6.287936] mmc1: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000
[    6.294358] mmc1: sdhci: Caps:      0x3fe8c801 | Caps_1:   0x18002407
[    6.300780] mmc1: sdhci: Cmd:       0x00000c1a | Max curr: 0x00000000
[    6.307203] mmc1: sdhci: Resp[0]:   0x00000b00 | Resp[1]:  0x47606cc0
[    6.313625] mmc1: sdhci: Resp[2]:   0x53443332 | Resp[3]:  0x00000900
[    6.320047] mmc1: sdhci: Host ctl2: 0x0000000c
[    6.324476] mmc1: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x0000000894e9320c
[    6.331590] mmc1: sdhci: ============================================
[    6.340521] mmc1: Got data interrupt 0x00000002 even though no data operation was in progress.
[    6.349111] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[    6.355533] mmc1: sdhci: Sys addr:  0x00000008 | Version:  0x00001004
[    6.361956] mmc1: sdhci: Blk size:  0x00007200 | Blk cnt:  0x00000007
[    6.368378] mmc1: sdhci: Argument:  0x00000000 | Trn mode: 0x00000033
[    6.374800] mmc1: sdhci: Present:   0x01f70000 | Host ctl: 0x0000001e
[    6.381222] mmc1: sdhci: Power:     0x0000000f | Blk gap:  0x00000080
[    6.387645] mmc1: sdhci: Wake-up:   0x00000000 | Clock:    0x00000207
[    6.394067] mmc1: sdhci: Timeout:   0x00000000 | Int stat: 0x00000000
[    6.400489] mmc1: sdhci: Int enab:  0x03ff008b | Sig enab: 0x03ff008b
[    6.406911] mmc1: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000
[    6.413333] mmc1: sdhci: Caps:      0x3fe8c801 | Caps_1:   0x18002407
[    6.419756] mmc1: sdhci: Cmd:       0x00000c1a | Max curr: 0x00000000
[    6.426178] mmc1: sdhci: Resp[0]:   0x00000b00 | Resp[1]:  0x47606cc0
[    6.432600] mmc1: sdhci: Resp[2]:   0x53443332 | Resp[3]:  0x00000900
[    6.439023] mmc1: sdhci: Host ctl2: 0x0000000c
[    6.443451] mmc1: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x0000000894e9320c
[    6.450566] mmc1: sdhci: ============================================
[    6.474411] Buffer I/O error on dev mmcblk1, logical block 7572464, async page read

Seth

P.S. Also, @RobertCNelson , I am booting into an image I got from this forum and another I tried from the beagleboard.org website. Neither of them are bootable for now and I am afraid it is b/c of me using:

  1. blkdiscard mmcblk0
  2. Now, I do not have this command, i.e. something took place
  3. Either way, it only boots into initramfs for now

I need to get back to an older machine (dev. desktop) where I built the image. I will search the image and apply the bitbake-layers show-layers command after sourcing the oe-xxxx.xxxx file.

Seth

NOTE: Starting bitbake server...
layer                 path                                                                    priority
========================================================================================================
core                  /home/gar/poky/meta                                                     5
yocto                 /home/gar/poky/meta-poky                                                5
yoctobsp              /home/gar/poky/meta-yocto-bsp                                           5
meta-ti-bsp           /home/gar/poky/meta-ti/meta-ti-bsp                                      6
meta-arm              /home/gar/poky/meta-arm/meta-arm                                        5
meta-python           /home/gar/poky/meta-openembedded/meta-python                            5
networking-layer      /home/gar/poky/meta-openembedded/meta-networking                        5
xfce-layer            /home/gar/poky/meta-openembedded/meta-xfce                              5
openembedded-layer    /home/gar/poky/meta-openembedded/meta-oe                                5
meta-initramfs        /home/gar/poky/meta-openembedded/meta-initramfs                         5
arm-toolchain         /home/gar/poky/meta-arm/meta-arm-toolchain                              5
multimedia-layer      /home/gar/poky/meta-openembedded/meta-multimedia                        5
gnome-layer           /home/gar/poky/meta-openembedded/meta-gnome                             5
meta-ti-extras        /home/gar/poky/meta-ti/meta-ti-extras                                   6
perl-layer            /home/gar/poky/meta-openembedded/meta-perl                              5
webserver             /home/gar/poky/meta-openembedded/meta-webserver                         5
filesystems-layer     /home/gar/poky/meta-openembedded/meta-filesystems                       5

If you need any other info. and you are willing to help further, just ask away…

Seth

What model of microSD card… i’d personally grab a different one…

please try this image… https://rcn-ee.net/rootfs/debian-arm64-12-bookworm-minimal-v6.1-ti/2023-12-24/ it’s using the newer 6.1-ti kernel, it would be interesting to see if the mmc1 works then…

Regards,

1 Like

Yes sir,

I will try that image. It is a PNY 32 GB card. I will try Sandisk next.

Seth

P.S. I tried Lexar and Polaroid too. The PNY does not work for that newer kernel and image either. I will try the Sandisk now.

Hey sir,

Yeppers. The sandisk works but the PNY card is no good for this current board.

Seth