System will not reboot correctly (AML-S905X-CC)

This is a Lexar 64GB A1 card.

I don’t understand why it’s fine from a fresh boot but not from a reboot. Is it because a process during shutdown doesn’t get completed properly? Edit: Also, it manages to load and get passed grub which is on the same sdcard.

murray@potato:~ $ sudo dd if=$(findmnt -nvo SOURCE /) of=/dev/null bs=1M iflag=direct status=progress
4107272192 bytes (4.1 GB, 3.8 GiB) copied, 62 s, 66.2 MB/s^C
3933+0 records in
3932+0 records out
4123000832 bytes (4.1 GB, 3.8 GiB) copied, 62.2506 s, 66.2 MB/s

murray@potato:~ $ openssl enc -aes-128-ctr -pass pass:"$(dd if=/dev/urandom bs=128 count=1 2>/dev/null | base64)" -nosalt < /dev/zero | dd of=test.file iflag=fullblock oflag=direct bs=1M status=progress
*** WARNING : deprecated key derivation used.
Using -iter or -pbkdf2 would be better.
1501560832 bytes (1.5 GB, 1.4 GiB) copied, 61 s, 24.6 MB/s^C
1452+0 records in
1452+0 records out
1522532352 bytes (1.5 GB, 1.4 GiB) copied, 61.8688 s, 24.6 MB/s

murray@potato:~ $ sudo dmesg | grep mmc
[    3.261784] meson-gx-mmc d0074000.mmc: Looking up vmmc-supply from device tree
[    3.261945] meson-gx-mmc d0074000.mmc: Looking up vqmmc-supply from device tree
[    3.262142] meson-gx-mmc d0074000.mmc: allocated mmc-pwrseq
[    3.302239] meson-gx-mmc d0074000.mmc: no support for card's volts
[    3.302798] mmc0: error -22 whilst initialising SDIO card
[    4.035307] meson-gx-mmc d0072000.mmc: Looking up vmmc-supply from device tree
[    4.036445] meson-gx-mmc d0072000.mmc: Looking up vqmmc-supply from device tree
[    4.038338] meson-gx-mmc d0072000.mmc: Got CD GPIO
[    4.208512] mmc1: new ultra high speed SDR104 SDXC card at address 1388
[    4.212064] mmcblk1: mmc1:1388 MSSD0 58.3 GiB 
[    4.217516]  mmcblk1: p1 p2
[    4.356731] mmc0: Card stuck being busy! __mmc_poll_for_busy
[    5.076334] BTRFS: device label rootfs devid 1 transid 607 /dev/mmcblk1p2 scanned by (udev-worker) (199)
[    5.480633] BTRFS info (device mmcblk1p2): first mount of filesystem 1c0d6082-f47f-42b7-ad81-c811b53f2b93
[    5.489655] BTRFS info (device mmcblk1p2): using crc32c (crc32c-generic) checksum algorithm
[    5.498044] BTRFS info (device mmcblk1p2): disk space caching is enabled
[    5.512097] BTRFS info (device mmcblk1p2): enabling ssd optimizations
[    8.371548] BTRFS info (device mmcblk1p2: state M): use zstd compression, level 3
murray@potato:~ 

I’ll retest also with a samsung evo plus.

Lexar was purchased by Longsys. The controllers in those MicroSD cards do not properly reset to back out of UHS mode without physical power off. SanDisk and Samsung work fine.