From owner-freebsd-arm@freebsd.org Sat Jun 27 10:03:00 2020 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5BA5334B055 for ; Sat, 27 Jun 2020 10:03:00 +0000 (UTC) (envelope-from gdotten@gmail.com) Received: from mail-qk1-x736.google.com (mail-qk1-x736.google.com [IPv6:2607:f8b0:4864:20::736]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49v8Sy3g0Vz4dww for ; Sat, 27 Jun 2020 10:02:57 +0000 (UTC) (envelope-from gdotten@gmail.com) Received: by mail-qk1-x736.google.com with SMTP id e11so11127078qkm.3 for ; Sat, 27 Jun 2020 03:02:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=brORS1p5R1BINJX+LvIkDe2RkWHKBxi1WxovSA55Nas=; b=f9bAZQNXzgJoH0RbqTRaLswL0P2A10xkpSGs4dlpixSpBEGlGOSoKGivXLXOdH4fot nV+3Wt6B8uumeKMXQ4QmmpJWpAMvowaYU7oMaCKiMaeN3lGm4xXoGkm3imhwwLZ2D4Au SYX6s+tzYl4MuPfiC7qdvgTpG32yMx2dJhpbuAJvKH7sQdtxUZMtavBBzft3R1GwW1Hq 0o6+QRnwdG1SykZkU1XtrO4Vc6dCKq2x6iIPZ4JDjTavX/jGQFTBc6DA+LFT711v0CMq BH1vKNboD+pWDFUqyw8NFcFqfJM7i5Vl92AR8uOJAaVnSbdrKkBun3adw3H9ZGfdwwny PDYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=brORS1p5R1BINJX+LvIkDe2RkWHKBxi1WxovSA55Nas=; b=dKFR7Sm0oIZj/62d0hnsfdIovP+xTn+CErqYM7pwa9pQZ4C29QT7QO743MnLMoGG+e r1Xk4fjpzE+BpKjwO2QfFqokHJj7BSsKdc4M4glUWI8XuvrUqLKkTa8R3s0oo5TIBd8q r0s/zimKCbOQh/O8GaE5ExhAdGtHvd+TgIOLYTk4r+bE4MI9JP0kua3DS8YcgsIFbu6t zG6HH5OmZV2Tq1Ttbk9Z+Oy+Waqdn4Z3WdecU7KPHLr3h0vyCpC6icuIC2Scr5SSJHeM 7WpoAd05MzGoxvFlfkomD9OJVE1F3fkk3drinXZ1w4mO7mM1AitxO8v2KYNtkfbJHFBF /AQg== X-Gm-Message-State: AOAM53067RMeOWwtxlG6/9vaNuLMuEQLGFBTBsU+jfh6xJ9N6BxUgqVt kCAjfgTGenzCiaotddDs4LsV0B0DJEdqdpthyyfFdppt X-Google-Smtp-Source: ABdhPJwqqiFR9qxE+ZWqn2SVMHAsbSSlpDzhlJz7E0zACBo9NMcN52mlirjU9uswEFHNSFBbIVxuBOWHK7FzETPyPmk= X-Received: by 2002:a37:448:: with SMTP id 69mr6710373qke.130.1593252175600; Sat, 27 Jun 2020 03:02:55 -0700 (PDT) MIME-Version: 1.0 From: Gary Otten Date: Sat, 27 Jun 2020 06:02:38 -0400 Message-ID: Subject: HDMI support on Allwinner A64 To: freebsd-arm@freebsd.org X-Rspamd-Queue-Id: 49v8Sy3g0Vz4dww X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=f9bAZQNX; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of gdotten@gmail.com designates 2607:f8b0:4864:20::736 as permitted sender) smtp.mailfrom=gdotten@gmail.com X-Spamd-Result: default: False [-3.24 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.996]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.93)[-0.926]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::736:from]; NEURAL_HAM_SHORT(-0.32)[-0.320]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Jun 2020 10:03:00 -0000 My questions are these? How far can efifb driver/support take me? It displayed the console with the addition of hw.regulator.disable_unused=0 to loader.conf Will it be possible to run Xwindows with efifb driver/support ? The link for the DRM driver is broken, has this driver been completed, if not how useful will it be compared to the efifb driver/support? Where can I find the DRM driver? The below is the research I have done. ******************************************************* I saw a posting from June 2019 in this list. Milan Obouch came up with the idea to keep power going to output buffer. ............... Milan Writes which makes me think, together with presence of getty processes attached to /dev/ttyvN devices, that all what's missing is just physical video output signal, and this is most probably caused by output buffer being shut down. So I googled a bit and found a hint, tried it - I put line hw.regulator.disable_unused=0 into /boot/loader.conf file and it works. I think it just uses HDMI output engine configured by u-boot instead of configuring it itself, as we have no driver for hdmi and hdmi-phy devices on A64 SoCs. *Adding the above to the loader.conf did keep the HDMI output alive, thus keeping the console displayed. Emmanuel Vadot writes ............. No, A64 uses the version 2 of the Allwinner display engine, I have a DRM driver working for it (but still have some work to do on it). https://github.com/evadot/freebsd/tree/drm_aw_de2 (Link now broken) I also reviewed The paper by Emmanuel Vadot https://papers.freebsd.org/2019/asiabsdcon/vadot-adventure_in_drmland/ ****************************************************