unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Vagrant Cascadian <vagrant@debian.org>
To: phodina <phodina@protonmail.com>, help-guix <help-guix@gnu.org>
Cc: Mathieu Othacehe <othacehe@gnu.org>, "janneke@gnu.org" <janneke@gnu.org>
Subject: Re: linux and u-boot for pinenote-rk3568
Date: Thu, 30 Jun 2022 12:58:25 -0700	[thread overview]
Message-ID: <87zght2aam.fsf@contorta> (raw)
In-Reply-To: <874k022ct8.fsf@contorta>

[-- Attachment #1: Type: text/plain, Size: 1890 bytes --]

On 2022-06-30, Vagrant Cascadian wrote:
> On 2022-06-30, phodina via wrote:
>> From 4d53d2bdb8526f72ed6cd3183ff2a2141990c900 Mon Sep 17 00:00:00 2001
>> From: Petr Hodina <phodina@protonmail.com>
>> Date: Thu, 30 Jun 2022 11:19:33 +0200
>> Subject: [PATCH 5/7] gnu: Add u-boot-pinenote-rk3568.
>>
>> * gnu/packages/bootloaders.scm (u-boot-pinenote-rk3568): New variable.
>>
>> diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm
>> index cab97852f1..9c266b7bed 100644
>> --- a/gnu/packages/bootloaders.scm
>> +++ b/gnu/packages/bootloaders.scm
>> @@ -834,6 +834,9 @@ (define-public u-boot-pine64-plus
>>  (define-public u-boot-pine64-lts
>>    (make-u-boot-sunxi64-package "pine64-lts" "aarch64-linux-gnu"))
>>  
>> +(define-public u-boot-pinenote-rk3568
>> +  (make-u-boot-sunxi64-package-priv "pinenote" "aarch64-linux-gnu" u-boot-pinenote))
>> +
>>  (define-public u-boot-pinebook
>>    (let ((base (make-u-boot-sunxi64-package "pinebook" "aarch64-linux-gnu")))
>>      (package
>
> Definitely not u-boot-sunxi64-package. Probably more similar to the
> u-boot-pinebook-pro-rk3399 or u-boot-rock64-rk3328, which i think use
> the standard make-u-boot-package.
>
> For using an entirely different source repository for a specific
> package, see the u-boot-nintendo-nes-classic-edition and how that uses a
> different source, e.g.
>
> (define-public u-boot-nintendo-nes-classic-edition
>   (let ((base (make-u-boot-package "Nintendo_NES_Classic_Edition"
>                                    "arm-linux-gnueabihf")))
>     (package
>       (inherit base)
>       ;; Starting with 2019.01, FEL doesn't work anymore on A33.
>       (version "2018.11")
>       (source (origin
>                 ...

You also almost certainly need an arm-trusted-firmware for rk3568, which
is not yet supported upstream.

live well,
  vagrant

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

  reply	other threads:[~2022-06-30 20:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-30 11:20 Building linux and u-boot for aarch64 phodina via
2022-06-30 11:57 ` phodina
2022-06-30 19:04 ` linux and u-boot for pinenote-rk3568 Vagrant Cascadian
2022-06-30 19:58   ` Vagrant Cascadian [this message]
2022-07-01 20:42   ` phodina

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=87zght2aam.fsf@contorta \
    --to=vagrant@debian.org \
    --cc=help-guix@gnu.org \
    --cc=janneke@gnu.org \
    --cc=othacehe@gnu.org \
    --cc=phodina@protonmail.com \
    /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.
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).