Ok, this is getting better.
Finally figured it out. My emmc doesn't like 270 tx_phase, reverted it to 0 and voila - emmc runs fine.
I was able to add working hdmi (no audio yet) support by snatching a patchset from ML and and kernel patchwork.
- Code: Select all
[ 3.208902] meson-drm d0100000.vpu: Queued 2 outputs on vpu
[ 3.214290] meson-drm d0100000.vpu: Failed to create debugfs directory
[ 3.215483] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 3.224041] [drm] No driver support for vblank timestamp query.
[ 3.228486] meson-drm d0100000.vpu: CVBS Output connector not available
[ 3.266041] meson-dw-hdmi c883a000.hdmi-tx: Detected HDMI TX controller v2.01a with HDCP (meson_dw_hdmi_phy)
[ 3.271414] meson-dw-hdmi c883a000.hdmi-tx: registered DesignWare HDMI I2C bus driver
[ 3.272343] meson-drm d0100000.vpu: bound c883a000.hdmi-tx (ops meson_dw_hdmi_ops [meson_dw_hdmi])
[ 3.566707] Console: switching to colour frame buffer device 240x67
[ 3.612002] meson-drm d0100000.vpu: fb0: frame buffer device
[ 3.634643] [drm] Initialized meson 1.0.0 20161109 for d0100000.vpu on minor 0
https://github.com/asavah/odroid-c2-mainline-patchesPatches are to be applied on top of vanilla linux-4.14.y tree.
Some patches are optional, see readme.
If your emmc works fine - don't apply odroidc2-tx-clock-0.patch
arm64-* patches are from armbian
I've only tested this with mainline uboot.
When prompted for MESON_GX_PM_DOMAINS and MESON_GX_SOCINFO say Y(es) , MESON_MX_SOCINFO is not needed for c2.