From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id YG6FEErarV6zagAA0tVLHw (envelope-from ) for ; Sat, 02 May 2020 20:38:34 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id cG8lKFParV6ecgAAB5/wlQ (envelope-from ) for ; Sat, 02 May 2020 20:38:43 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C2DE5943C8D for ; Sat, 2 May 2020 20:38:42 +0000 (UTC) Received: from localhost ([::1]:60734 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUyuJ-0005e5-4d for larch@yhetil.org; Sat, 02 May 2020 16:38:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60672) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUyti-0004zh-NK for guix-patches@gnu.org; Sat, 02 May 2020 16:38:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUyth-0005H5-Dl for guix-patches@gnu.org; Sat, 02 May 2020 16:38:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42477) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jUytf-0005FO-7K for guix-patches@gnu.org; Sat, 02 May 2020 16:38:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jUytf-0003oj-5U for guix-patches@gnu.org; Sat, 02 May 2020 16:38:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40835] [PATCH] Update to use panfrost for graphics hardware acceleration Resent-From: Brian Woodcox Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 02 May 2020 20:38:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40835 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Brian Woodcox Cc: 40835@debbugs.gnu.org Received: via spool by 40835-submit@debbugs.gnu.org id=B40835.158845186914638 (code B ref 40835); Sat, 02 May 2020 20:38:03 +0000 Received: (at 40835) by debbugs.gnu.org; 2 May 2020 20:37:49 +0000 Received: from localhost ([127.0.0.1]:54021 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUytQ-0003nx-To for submit@debbugs.gnu.org; Sat, 02 May 2020 16:37:49 -0400 Received: from mail.inskydata.com ([184.68.229.6]:9971 helo=server.inskydata.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUytO-0003nX-Rr for 40835@debbugs.gnu.org; Sat, 02 May 2020 16:37:47 -0400 Received: from [192.168.19.76] (unknown [192.168.19.76]) by server.inskydata.com (Postfix) with ESMTPSA id C74D75DEACD1; Sat, 2 May 2020 14:37:17 -0600 (MDT) From: Brian Woodcox Message-Id: <68B8EE48-5C9A-4D1B-9EE6-88CFD30510CF@inskydata.com> Content-Type: multipart/alternative; boundary="Apple-Mail=_889AE5F8-48A7-4179-AF57-EBA4F64BCC58" Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Date: Sat, 2 May 2020 14:37:16 -0600 In-Reply-To: <87y2qgt80x.fsf@ponder> References: <54EFA16B-27F2-40F4-8FF0-F59BC65BF8AB@inskydata.com> <87lfmgvlqx.fsf@ponder> <65E1BABE-56D0-4F84-92A3-7C4238722FC3@inskydata.com> <87ftcovbkn.fsf@ponder> <87d07sv936.fsf@ponder> <9E35E769-6C29-4FB3-8AA7-E975F819ABE0@inskydata.com> <87y2qgt80x.fsf@ponder> X-Mailer: Apple Mail (2.3445.6.18) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 X-Spam-Score: 0.99 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Scan-Result: default: False [0.99 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.49502744798751]; MX_INVALID(1.00)[cached]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; MV_CASE(0.50)[]; DWL_DNSWL_BLOCKED(0.00)[2001:470:142::17:from]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.15), country: US(-0.00), ip: 2001:470:142::17(-0.50)]; RCPT_COUNT_TWO(0.00)[2]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_IN_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TAGGED_FROM(0.00)[larch=yhetil.org]; ARC_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[bw@inskydata.com,guix-patches-bounces@gnu.org]; FROM_HAS_DN(0.00)[]; URIBL_BLOCKED(0.00)[0.0.0.60:email]; MID_RHS_MATCH_FROM(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_NA(0.00)[inskydata.com]; HAS_LIST_UNSUB(-0.01)[]; DBL_PROHIBIT(0.00)[0.0.0.60:email]; RCVD_COUNT_SEVEN(0.00)[9]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: Lp0OjfF3em+z --Apple-Mail=_889AE5F8-48A7-4179-AF57-EBA4F64BCC58 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Success!! I applied my newly revised patches to = 76ac1d3918f91b9234cfb26c6519da0cf5f86302 on the wip-pinebook-pro branch. u-boot correctly finds the rk3399-pinebook-pro.dtb file. The extlinux.conf file no longer needs to be altered. It is as follows: # This file was generated from your Guix configuration. Any changes # will be lost upon reconfiguration. UI menu.c32 MENU TITLE GNU Guix Boot Options PROMPT 1 TIMEOUT 50 LABEL GNU with Linux-Libre-Pinebook-Pro 5.6.0 MENU LABEL GNU with Linux-Libre-Pinebook-Pro 5.6.0 KERNEL = /gnu/store/qs1292ckhvkprsgdyxq665qj167l5c07-linux-libre-pinebook-pro-5.6.0= /Image FDTDIR = /gnu/store/qs1292ckhvkprsgdyxq665qj167l5c07-linux-libre-pinebook-pro-5.6.0= /lib/dtbs INITRD = /gnu/store/2d01lxl21i74jflji5smi9fhwsgyqanf-raw-initrd/initrd.cpio.gz APPEND --root=3D/dev/mmcblk1p1 = --system=3D/gnu/store/453h9sqcqvnpj72k0gwia3zsfavhar4p-system = --load=3D/gnu/store/453h9sqcqvnpj72k0gwia3zsfavhar4p-system/boot = ethaddr=3D${ethaddr} eth1addr=3D${eth1addr} serial=3D${serial#} = video=3DHDMI-A-1:1920x1080@60 video=3DeDP-1:1920x1080@60 vga=3Dcurrent The FDTDIR = /gnu/store/qs1292ckhvkprsgdyxq665qj167l5c07-linux-libre-pinebook-pro-5.6.0= /lib/dtbs still has a rockchip sub-folder that contains the = rk3399-pinebook-pro.dtb file. I decided to go back to my older SD card and remove the rockchip from = the FDTDIR path, and it also booted. I know previously that janneke and I had problems with this, but = obviously along the way something was fixed. At any rate, it=E2=80=99s nice to see the image boot and no longer = having to edit the extlinux.conf file. I will have to put together a patch set in the near future. Cheers! Brian C. Woodcox > On Apr 28, 2020, at 12:54 AM, Vagrant Cascadian = wrote: >=20 > On 2020-04-27, Brian Woodcox wrote: >>> On Apr 27, 2020, at 4:48 PM, Vagrant Cascadian = wrote: >>>=20 >>> On 2020-04-27, Brian Woodcox wrote: >>>>> On Apr 27, 2020, at 3:54 PM, Vagrant Cascadian = wrote: >>>>>>> On Apr 27, 2020, at 12:15 PM, Vagrant Cascadian = wrote: >>>>>>> On 2020-04-24, Brian Woodcox wrote: >>>>>>>> You need to edit the /boot/extlinux/extlinux.conf file on the = SD card and alter the FDTDIR line. >>>>>>>>=20 >>>>>>>> I changed mine from >>>>>>>>=20 >>>>>>>> FDTDIR = /gnu/store/ls1byzmapi911cylh4s6044x0cmc61c8-linux-libre-pinebook-pro-5.6.0= /lib/dtbs >>>>>>>>=20 >>>>>>>> to >>>>>>>>=20 >>>>>>>> FDTDIR = /gnu/store/ls1byzmapi911cylh4s6044x0cmc61c8-linux-libre-pinebook-pro-5.6.0= /lib/dtbs/rockchip >>>>>>>=20 >>>>>>> The u-boot-pinebook-pro-rk3399 on guix master works correctly as = well as >>>>>>> the one from wip-pinebook-pro (should be the same). >>>>>=20 >>>>> Oops, my bad. I've been merging master and core-updates locally = and >>>>> forgot the status of wip-pinebook-pro... I think I was waiting for = the >>>>> core-updates merge, but it's probably worth merging master just to = get >>>>> the updated u-boot-pinebook-pro-rk3399 based more closely on = upstream >>>>> u-boot! >>>>=20 >>>> I would be happy to test that out when done! >>>=20 >>> Will keep you posted. Once I've merged that, maybe you can rebase = your >>> patch into a patch series? >>>=20 >>=20 >> Sounds good. I will do that. >=20 > Pushed! >=20 > live well, > vagrant --Apple-Mail=_889AE5F8-48A7-4179-AF57-EBA4F64BCC58 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
Success!!

I applied my newly = revised patches to 76ac1d3918f91b9234cfb26c6519da0cf5f86302 on the = wip-pinebook-pro branch.

u-boot correctly = finds the rk3399-pinebook-pro.dtb file.

The = extlinux.conf file no longer needs to be altered.  It is as = follows:

# This file was generated from = your Guix configuration.  Any changes
# will be lost = upon reconfiguration.
UI menu.c32
MENU TITLE = GNU Guix Boot Options
PROMPT 1
TIMEOUT 50
LABEL GNU with Linux-Libre-Pinebook-Pro 5.6.0
  MENU LABEL GNU with Linux-Libre-Pinebook-Pro 5.6.0
  KERNEL = /gnu/store/qs1292ckhvkprsgdyxq665qj167l5c07-linux-libre-pinebook-pro-5.6.0= /Image
  FDTDIR = /gnu/store/qs1292ckhvkprsgdyxq665qj167l5c07-linux-libre-pinebook-pro-5.6.0= /lib/dtbs
  INITRD = /gnu/store/2d01lxl21i74jflji5smi9fhwsgyqanf-raw-initrd/initrd.cpio.gz
  APPEND --root=3D/dev/mmcblk1p1 = --system=3D/gnu/store/453h9sqcqvnpj72k0gwia3zsfavhar4p-system = --load=3D/gnu/store/453h9sqcqvnpj72k0gwia3zsfavhar4p-system/boot = ethaddr=3D${ethaddr} eth1addr=3D${eth1addr} serial=3D${serial#} = video=3DHDMI-A-1:1920x1080@60 video=3DeDP-1:1920x1080@60 vga=3Dcurrent


The FDTDIR = /gnu/store/qs1292ckhvkprsgdyxq665qj167l5c07-linux-libre-pinebook-pro-5.6.0= /lib/dtbs still has a rockchip sub-folder that contains the = rk3399-pinebook-pro.dtb file.

I decided to = go back to my older SD card and remove the rockchip from the FDTDIR = path, and it also booted.

I know previously = that janneke and I had problems with this, but obviously along the way = something was fixed.

At any rate, it=E2=80=99= s nice to see the image boot and no longer having to edit the = extlinux.conf file.

I will have to put = together a patch set in the near future.

Cheers!

Brian C. Woodcox

On Apr 28, 2020, at 12:54 AM, Vagrant = Cascadian <vagrant@debian.org> wrote:

On = 2020-04-27, Brian Woodcox wrote:
On Apr 27, 2020, at 4:48 = PM, Vagrant Cascadian <vagrant@debian.org> wrote:

On 2020-04-27, Brian Woodcox wrote:
On Apr 27, = 2020, at 3:54 PM, Vagrant Cascadian <vagrant@debian.org> = wrote:
On Apr 27, 2020, at 12:15 PM, Vagrant Cascadian = <vagrant@debian.org> wrote:
On = 2020-04-24, Brian Woodcox wrote:
You need to edit the /boot/extlinux/extlinux.conf file on the = SD card and alter the FDTDIR line.

I = changed mine from

FDTDIR = /gnu/store/ls1byzmapi911cylh4s6044x0cmc61c8-linux-libre-pinebook-pro-5.6.0= /lib/dtbs

to

FDTDIR = /gnu/store/ls1byzmapi911cylh4s6044x0cmc61c8-linux-libre-pinebook-pro-5.6.0= /lib/dtbs/rockchip

The = u-boot-pinebook-pro-rk3399 on guix master works correctly as well as
the one from wip-pinebook-pro (should be the same).

Oops, my bad. I've = been merging master and core-updates locally and
forgot = the status of wip-pinebook-pro... I think I was waiting for the
core-updates merge, but it's probably worth merging master = just to get
the updated u-boot-pinebook-pro-rk3399 based = more closely on upstream
u-boot!

I would be happy to test that out = when done!

Will keep you = posted. Once I've merged that, maybe you can rebase your
patch into a patch series?


Sounds good.  I will do = that.

Pushed!

live well,
 vagrant

= --Apple-Mail=_889AE5F8-48A7-4179-AF57-EBA4F64BCC58--