unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Jan Nieuwenhuizen <janneke@gnu.org>
To: 39617@debbugs.gnu.org
Cc: Vagrant Cascadian <vagrant@debian.org>,
	Danny Milosavljevic <dannym@scratchpost.org>
Subject: [bug#39617] [PATCH 0/2] Add initial Pinebook Pro support
Date: Sat, 15 Feb 2020 19:49:48 +0100	[thread overview]
Message-ID: <87tv3rd6sz.fsf@gnu.org> (raw)

Hello ARM Gurus!

These patches add initial Pinebook Pro support.  There are several rough edges,
your help would be much appreciated!

A vanilla kernel does not work yet; apparently development to upstream
pinebook-pro patches lives here:
https://gitlab.manjaro.org/tsys/linux-pinebook-pro

Similarly, Das U-Boot has a pinebook-pro development branch
https://git.eno.space/pbp-uboot.git

Because of "guix pull failing on aarch64"

    https://issues.guix.gnu.org/issue/39352

these patches must be applied on top of

    c7dd15596ffd09ab40629c89e7014e51a4d7e95e

(or use branch wip-pinebook-pro from https://gitlab.com/janneke/guix.git)

To install Guix System on the microSD in a Pinebook Pro, do something
like

--8<---------------cut here---------------start------------->8---
sudo mount /dev/mmcblk0p1 /mnt
sudo -E ./pre-inst-env guix system init gnu/system/examples/pinebook-pro.tmpl /mnt
sudo -E ./pre-inst-env guix system init arm-baar.scm /mnt
sudo sed 's,FDTDIR \([^ ]*\),FDT \1/rockchip/rk3399-pinebook-pro.dtb,' /boot/extlinux/extlinux.conf
--8<---------------cut here---------------end--------------->8---

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?

For more details, see

    https://joyofsource.com/guix-system-on-the-pinebook-pro.html

I think it would be nice to have an updated this blog on guix.gnu.org when
these silly problems are resolved.

Greetings,
janneke


Jan Nieuwenhuizen (2):
  gnu: Add linux-libre-pinebook-pro.
  gnu: Add u-boot-pinebook-pro-rk3399.

 Makefile.am                           |  1 +
 gnu/bootloader/u-boot.scm             | 11 ++++++
 gnu/packages/bootloaders.scm          | 45 ++++++++++++++++++++-
 gnu/packages/linux.scm                | 48 ++++++++++++++++++++++
 gnu/system/examples/pinebook-pro.tmpl | 57 +++++++++++++++++++++++++++
 5 files changed, 160 insertions(+), 2 deletions(-)
 create mode 100644 gnu/system/examples/pinebook-pro.tmpl

-- 
2.24.0

             reply	other threads:[~2020-02-15 18:51 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-15 18:49 Jan Nieuwenhuizen [this message]
2020-02-15 18:52 ` [bug#39617] [PATCH 1/2] gnu: Add linux-libre-pinebook-pro Jan Nieuwenhuizen
2020-02-15 18:52   ` [bug#39617] [PATCH 2/2] gnu: Add u-boot-pinebook-pro-rk3399 Jan Nieuwenhuizen
2020-02-20  4:04   ` [bug#39617] [PATCH 1/2] gnu: Add linux-libre-pinebook-pro Vagrant Cascadian
2020-02-20  6:26     ` Jan Nieuwenhuizen
2020-02-15 21:51 ` [bug#39617] [PATCH 0/2] Add initial Pinebook Pro support Mike Rosset
2020-02-16 18:19 ` Danny Milosavljevic
2020-02-16 18:22   ` Danny Milosavljevic
2020-02-16 19:04   ` Jan Nieuwenhuizen
2020-02-20  4:12   ` Vagrant Cascadian
2020-02-20  6:29     ` Jan Nieuwenhuizen
2020-02-28  1:03   ` Vagrant Cascadian
2020-02-16 18:21 ` [bug#39617] Fw: " Danny Milosavljevic
2020-02-16 18:27 ` [bug#39617] " Danny Milosavljevic
2020-02-18 21:48   ` Danny Milosavljevic
2020-05-20  6:29 ` Brian Woodcox
2020-05-20  7:15   ` Jan Nieuwenhuizen
2020-05-20 16:06     ` Brian Woodcox
2020-05-20  6:29 ` Brian Woodcox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tv3rd6sz.fsf@gnu.org \
    --to=janneke@gnu.org \
    --cc=39617@debbugs.gnu.org \
    --cc=dannym@scratchpost.org \
    --cc=vagrant@debian.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).