> From: "Stephen Graf" <s_g...@telus.net>
> Date: Thu, 17 Aug 2017 21:41:07 -0700
> 
> Yesterday I was enjoying working with OpenBSD on my orange pi one.
> 
> Today when I turned it on it would not boot properly with an error setting
> up the mmc:
> 
> sximmc0: timeout updating clock
> sdmmc0: can't change bus clock
> sdmmc0: mem init failed

There seems to be a bug in the device tree included in U-Boot for
H3/H5/A64 devices where the configuration of the MMC controller pins
is specified incorrectly.  The easiest way to work around this is to
copy the appropriate device tree from the dtb package onto the msdos
filesystem on the SD card:

# mount /dev/sdXi /mnt
# cp /usr/local/share/dtb/arm/sun8i-h3-orangepi-one.dtb /mnt
# umount /mnt

For those with H5/A64 devices, the device tree needs to be placed in a
subdirectory named "allwinner".  Hopefully this issue will be fixed in
a future U-Boot release.

Cheers,

Mark

Reply via email to