From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 16 13:21:54 2020 Received: (at 39617) by debbugs.gnu.org; 16 Feb 2020 18:21:54 +0000 Received: from localhost ([127.0.0.1]:37654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j3OY8-0003en-2W for submit@debbugs.gnu.org; Sun, 16 Feb 2020 13:21:54 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:37938) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j3OY3-0003ec-KV for 39617@debbugs.gnu.org; Sun, 16 Feb 2020 13:21:47 -0500 Received: from localhost (unknown [185.17.13.127]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 6470A336334A for <39617@debbugs.gnu.org>; Sun, 16 Feb 2020 19:21:42 +0100 (CET) Date: Sun, 16 Feb 2020 19:21:41 +0100 From: Danny Milosavljevic To: 39617@debbugs.gnu.org Subject: Fw: [PATCH 0/2] Add initial Pinebook Pro support Message-ID: <20200216192141.2c4530c8@scratchpost.org> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/QGjtLQiE/iA.pfrJNDrtQ2="; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Janneke, On Sat, 15 Feb 2020 19:49:48 +0100 Jan Nieuwenhuizen wrote: > A vanilla kernel does not work yet; apparently development to upstream > pinebook-pro patches lives here: > https://gitlab.manjaro.org/tsys/linux-pinebook-pro Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: iu.edu] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [85.13.145.193 listed in list.dnswl.org] 0.0 SPF_NONE SPF: sender does not publish an SPF Record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: git.eno.space (space)] X-Debbugs-Envelope-To: 39617 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) --Sig_/QGjtLQiE/iA.pfrJNDrtQ2= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Janneke, On Sat, 15 Feb 2020 19:49:48 +0100 Jan Nieuwenhuizen wrote: > A vanilla kernel does not work yet; apparently development to upstream > pinebook-pro patches lives here: > https://gitlab.manjaro.org/tsys/linux-pinebook-pro =20 Yeah, but LKML has some of the patches there in review, for example: * http://lkml.iu.edu/hypermail/linux/kernel/2001.1/01899.html (already acce= pted) * https://patchwork.kernel.org/patch/11325531/ (pending changes) [...] * https://www.spinics.net/lists/kernel/msg3367972.html (pending changes) So all in all I think the Pinebook Pro will eventually work with the vanill= a kernel. > Similarly, Das U-Boot has a pinebook-pro development branch > https://git.eno.space/pbp-uboot.git =20 (Not so sure whether that one will be upstreamed) > sudo sed 's,FDTDIR \([^ ]*\),FDT \1/rockchip/rk3399-pinebook-pro.dtb,' /b= oot/extlinux/extlinux.conf =20 It might make sense to find out why this is necessary. https://lists.denx.de/pipermail/u-boot/2014-January/171682.html describes t= hat it should be possible to set up u-boot environment variables (in uEnv.txt) to = make it find the correct FDT file anyway. If none is set up, it automatically g= enerates the file name to use using $soc and $board. But that's for PXE booting (booting empty machine via network)--not sure where the normal case is in U= -Boot, if any. U-Boot sometimes has some weird blind spots like that. Also, https://lists.denx.de/pipermail/u-boot/2016-May/254703.html kinda sounds like they dont support subdirs. Wanna try adding "/rockchip" to the end of FDTDIR in extlinux.conf ? Also, what's the value of CONFIG_[DEFAULT_]DEVICE_TREE in your u-boot configuration? > --8<---------------cut here---------------end--------------->8--- >=20 > Because of the aarch64 guix pull problem, the separate repositories for > kernel and u-boot, the weird MMC numbering changes /dev/mmcblk0 <-> > /dev/mmcblk1 and this ugly extlinux.conf fixup I am not sure where to > share this code, maybe wip-pinebook-pro @ savannah. WDYT? =20 I'm all for wip-pinebook-pro @ savannah, especially before losing a now-wor= king version by hacking further on it. Been there done that :) If you want we can collaborate in the next days on finding the cause of the weird FDT problem. > For more details, see >=20 > https://joyofsource.com/guix-system-on-the-pinebook-pro.html >=20 > I think it would be nice to have an updated this blog on guix.gnu.org when > these silly problems are resolved. =20 Sure! As a general remark, make-u-boot-package was not public because I didn't want to commit to its interface yet. I think we don't need to export it even now. (We can if we have to) --Sig_/QGjtLQiE/iA.pfrJNDrtQ2= Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl5JiDUACgkQ5xo1VCww uqXRoQgAnENsTuQA6G0CWZQfcE1JFdsed+k6iPMZ4B8jzO2gCv5knprm2a1JQAFl JdOzMkg57j6BU45DwOWAfb4U0hIJHY7CgbZIOpuykWcvNPN2gPrSvdEW31yfvw/N MQRsuQKBa0XLmklsdC7kt6TftNUKsrk+URgHPaZ7GJtk5FS5oiVXq/Ctn0LDs+rm c17NEVI++LLB42NTEwwqmbxtPI2zSTykKgRo/zcUMWioT36iG10lxTNSvR+RQiP5 NrzqCAl+k91JvqIq6oxLKmyXleoroHXL21c73ql5xlndrj5aL+B1GjyHFS8aRqSS FKGzX47vghMqLPxqtljVilh+1Y9Kew== =ik3r -----END PGP SIGNATURE----- --Sig_/QGjtLQiE/iA.pfrJNDrtQ2=--