On 2/12/20 10:47 PM, Niek Linnenbank wrote:
Hi all,
Short status update regarding this series.
Currently I am debugging booting NetBSD 9.0-RC2, which is recently
released [1]
The problem is that, apparently, RC2 can't mount the rootfs properly:
[ 3.1871510] vfs_mountroot: can't open root device
[ 3.2141370] cannot mount root, error = 6
This only happens using the RC2 filesystem image. However, the RC2
kernel can
properly load & boot the RC1 filesystem image, and the RC1 kernel gives
the same error
on the RC2 filesystem. But I dont think its a NetBSD-RC2 issue, because
on a real
Orange Pi PC hardware board, this problem does not show.
Linux shows:
console: mmc0: Problem switching card into high-speed mode!
QEMU MMC support is not in good shape, and high-speed SD card support is
limited. I keep procrastinating at reviewing your SDHCI patch hmmmmm.
So you added:
* DMA transfers
* Direct FIFO I/O
* Short/Long format command responses
I'd start diffing the trace output of the following events:
allwinner_sdhost*
sdcard*
with both kernels.
I'm comparing traces and adding more low-level debug output to NetBSD
and QEMU to find the issue.
Also I processed the review remarks which were send so far.
Kind regards,
Niek
[1] https://www.netbsd.org/releases/formal-9/NetBSD-9.0.html