I may be having a similar issue with the latest AOSP firmware from installer/hikey960 - device/linaro/hikey - Git at Google (tree: 819f4d51283f272f75b4ba4a03af1c419cbf5b03
) and after that Linux “Hikey build - #33” (20190720).
When an SD card is inserted, the board only gets me as far as:
[ 3.807252] No soundcards found.
[ 3.809909] mmc_host mmc1: Bus speed (slot 0) = 25000000Hz (slot req 25000000Hz, actual 25000000HZ div = 0)
[ 3.820886] uart-pl011 fff32000.serial: no DMA platform data
[ 3.822818] mmc1: new SDIO card at address 0001
[ 3.831519] Freeing unused kernel memory: 1344K
[ 3.836085] Run /init as init process
Loading, please wait...
starting version 232
[ 3.854706] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[ 3.857322] random: udevadm: uninitialized urandom read (16 bytes read)
[ 3.864321] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[ 3.869778] random: udevadm: uninitialized urandom read (16 bytes read)
and then hangs.
Without an SD card, however, the board boots fine. I even can insert the card later:
[ 19.312447] mmc_host mmc0: Bus speed (slot 0) = 200000000Hz (slot req 200000000Hz, actual 200000000HZ div = 0)
[ 19.797236] dwmmc_k3 ff37f000.dwmmc1: tuning ok best_clksmpl 18 tuning_sample_flag cbfffbff
[ 19.805663] mmc0: new ultra high speed SDR104 SDXC card at address aaaa
[ 19.813192] mmcblk0: mmc0:aaaa AFGCF 119 GiB
[ 19.822877] mmcblk0: p1 p2
and manipulate it.