From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 4OrUDxzgWGVU7QAAG6o9tA:P1 (envelope-from ) for ; Sat, 18 Nov 2023 17:02:36 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 4OrUDxzgWGVU7QAAG6o9tA (envelope-from ) for ; Sat, 18 Nov 2023 17:02:36 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.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 B64DB22832 for ; Sat, 18 Nov 2023 17:02:35 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b="Lb3wj/r6"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1700323356; a=rsa-sha256; cv=none; b=tJGhqcIiEXZIE4VeMAGR3riTRFSmyP+gCqYwWFcnd+Ok4XPyaE7DSPgdHauIs079wtievC BhI8NSXIMmGJXBM+IKlFPO8TtnJhfsZE/Xh113KeVJvMDNqOADMXN3+PEC7cQoUY4SjVr8 4pm2hIIbKnTAl3Ty/5Ukt0daCTWHWrG5zLcpFpF8az8bMMIw7zIQOrk2nowLqJ/uM6OfL5 yTEtcPi6Vef3xLFO9Xu/gxoihcA9od1WfMSfPzAkPW6E513c6zfcWHm58V1DM05j7Psrfd 7Rs8Dg4UUPN0TlMAFhtiPVBQGS+0wz54lnSfDNNZo/xYyUlxIrS9erciqPM3mg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b="Lb3wj/r6"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1700323356; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Vm5QUvd4XSS7FB62wYsJjoC3U+LxgnXWzHe8E9kX/cU=; b=aeKb3eKD14m37HsBCueYwfgTVh+aoWsThgzbJWovJ49jeTXat7eWXh7+ywAuW51SR3kDUh 3XTmh31RyMbsPhVBdpEgfNEzXulZJW8NUn9fM+gkr5RlUWuLrqcv3ktE2EedPra4GjvTOf JZTGgfMPua2bpDhIod077O61n8KHvvbPHr/I0VKKE+I9OcPqxuSBik3vxuvOJ9/k4SitRG K05xjRl/4s+9LcEkAgFbUANEWmHjOKNhU4XlMztqtXBDNoiKLHDTmRWUbUU8aef4eH8Mll SOT8jIaSn3mUnQxkREVdGpJ26/QtlH2MwbEbTinWclKUGNZVg1PjVPiuzjI4XQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r4Nlo-0005uJ-IH; Sat, 18 Nov 2023 11:02:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r4Nll-0005t2-0D for guix-patches@gnu.org; Sat, 18 Nov 2023 11:02:05 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r4Nlj-0007cy-73 for guix-patches@gnu.org; Sat, 18 Nov 2023 11:02:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r4Nlj-0004Gh-25 for guix-patches@gnu.org; Sat, 18 Nov 2023 11:02:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67261] [PATCH 3/3] images: Add orangepi-r1-plus-lts image. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 18 Nov 2023 16:02:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67261 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67261@debbugs.gnu.org Cc: Herman Rimm Received: via spool by 67261-submit@debbugs.gnu.org id=B67261.170032331816384 (code B ref 67261); Sat, 18 Nov 2023 16:02:03 +0000 Received: (at 67261) by debbugs.gnu.org; 18 Nov 2023 16:01:58 +0000 Received: from localhost ([127.0.0.1]:49347 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r4Nld-0004G6-Oi for submit@debbugs.gnu.org; Sat, 18 Nov 2023 11:01:58 -0500 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:54337 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r4Nla-0004FY-F4 for 67261@debbugs.gnu.org; Sat, 18 Nov 2023 11:01:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1700323292; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Vm5QUvd4XSS7FB62wYsJjoC3U+LxgnXWzHe8E9kX/cU=; b=Lb3wj/r6tQhCPLZBQucpKJF/c31ZfVnz3SJM/MfYaGxT6EPpsowXVodA75nvCVUTLeiOAM TOooM90t3U+svSQAokvlX5PK791CObQhP33hzWrCUzJQq0yPJp3eoxnJcU6MvEcFukccp6 WP0J5ptPswuyo+0+x7mJJoESXY3V/Pc0F4JVR4EsCUKymPmNuAkF6Td5bbfahGrHoPsn6Q F9lwiH+1j+NBhbahY+srlZ6c0Cxc+xld3MdVwmCrFfHxfGNFHEuJPUbD5SeEvkkIa75RhV f6e5CzvOv+UMLGcEAnfOgul/nZLnDbi08D4WpYQpT+YRt8CYyPUl1Hr0bIENkg== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id ca0cf89f (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Sat, 18 Nov 2023 16:01:32 +0000 (UTC) Date: Sat, 18 Nov 2023 17:01:28 +0100 Message-ID: <04c59bffe5d465cb17c0b7e8159642f910ce3f35.1700321434.git.herman@rimm.ee> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches From: Herman Rimm via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: B64DB22832 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -6.60 X-Spam-Score: -6.60 X-TUID: BEJy8X4WCWhH * gnu/local.mk: Register image. * gnu/system/images/orangepi-r1-plus-lts-rk3328.scm: New file. * gnu/system/install.scm (orangepi-r1-plus-lts-rk3328-installation-os): New variable. --- gnu/local.mk | 1 + .../images/orangepi-r1-plus-lts-rk3328.scm | 76 +++++++++++++++++++ gnu/system/install.scm | 7 ++ 3 files changed, 84 insertions(+) create mode 100644 gnu/system/images/orangepi-r1-plus-lts-rk3328.scm diff --git a/gnu/local.mk b/gnu/local.mk index 84fcb9c54e..428dc20969 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -749,6 +749,7 @@ GNU_SYSTEM_MODULES = \ \ %D%/system/images/hurd.scm \ %D%/system/images/novena.scm \ + %D%/system/images/orangepi-r1-plus-lts-rk3328.scm \ %D%/system/images/pine64.scm \ %D%/system/images/pinebook-pro.scm \ %D%/system/images/rock64.scm \ diff --git a/gnu/system/images/orangepi-r1-plus-lts-rk3328.scm b/gnu/system/images/orangepi-r1-plus-lts-rk3328.scm new file mode 100644 index 0000000000..eaaa12ba78 --- /dev/null +++ b/gnu/system/images/orangepi-r1-plus-lts-rk3328.scm @@ -0,0 +1,76 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2023 Herman Rimm +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu system images orangepi-r1-plus-lts-rk3328) + #:use-module (gnu bootloader) + #:use-module (gnu bootloader u-boot) + #:use-module (gnu image) + #:use-module (gnu packages linux) + #:use-module (gnu packages certs) + #:use-module (guix platforms arm) + #:use-module (gnu services) + #:use-module (gnu services base) + #:use-module (gnu services networking) + #:use-module (gnu system) + #:use-module (gnu system file-systems) + #:use-module (gnu system image) + #:use-module (srfi srfi-26) + #:export (orangepi-r1-plus-lts-rk3328-barebones-os + orangepi-r1-plus-lts-rk3328-image-type + orangepi-r1-plus-lts-rk3328-barebones-raw-image)) + +(define orangepi-r1-plus-lts-rk3328-barebones-os + (operating-system + (host-name "windmolen") + (timezone "Europe/Amsterdam") + (locale "en_US.utf8") + (bootloader (bootloader-configuration + (bootloader u-boot-orangepi-r1-plus-lts-rk3328-bootloader) + (targets '("/dev/mmcblk0")))) + (initrd-modules '()) + (kernel linux-libre-arm64-generic) + (file-systems (cons (file-system + (device (file-system-label "my-root")) + (mount-point "/") + (type "ext4")) %base-file-systems)) + (services + (cons* (service agetty-service-type + (agetty-configuration (extra-options '("-L")) ;no carrier detect + (baud-rate "1500000") + (term "vt100") + (tty "ttyS2"))) + (service dhcp-client-service-type) + (service ntp-service-type) %base-services)) + (packages (cons nss-certs %base-packages)))) + +(define orangepi-r1-plus-lts-rk3328-image-type + (image-type (name 'orangepi-r1-plus-lts-rk3328-raw) + (constructor (lambda (os) + (image (inherit (raw-with-offset-disk-image (expt + 2 24))) + (operating-system + os) + (platform aarch64-linux)))))) + +(define orangepi-r1-plus-lts-rk3328-barebones-raw-image + (image (inherit (os+platform->image orangepi-r1-plus-lts-rk3328-barebones-os + aarch64-linux + #:type orangepi-r1-plus-lts-rk3328-image-type)) + (name 'orangepi-r1-plus-lts-rk3328-barebones-raw-image))) + +orangepi-r1-plus-lts-rk3328-barebones-raw-image diff --git a/gnu/system/install.scm b/gnu/system/install.scm index 28161de153..03d2b0b2f4 100644 --- a/gnu/system/install.scm +++ b/gnu/system/install.scm @@ -7,6 +7,7 @@ ;;; Copyright © 2020 Florian Pelz ;;; Copyright © 2020 Efraim Flashner ;;; Copyright © 2022 Josselin Poiret +;;; Copyright © 2023 Herman Rimm ;;; ;;; This file is part of GNU Guix. ;;; @@ -69,6 +70,7 @@ (define-module (gnu system install) mx6cuboxi-installation-os nintendo-nes-classic-edition-installation-os novena-installation-os + orangepi-r1-plus-lts-rk3328-installation-os firefly-rk3399-installation-os pine64-plus-installation-os pinebook-installation-os @@ -633,6 +635,11 @@ (define nintendo-nes-classic-edition-installation-os "/dev/mmcblk0" ; SD card (solder it yourself) "ttyS0")) +(define orangepi-r1-plus-lts-rk3328-installation-os + (embedded-installation-os u-boot-orangepi-r1-plus-lts-rk3328-bootloader + "/dev/mmcblk0" ; SD card storage + "ttyS0")) + (define pine64-plus-installation-os (embedded-installation-os u-boot-pine64-plus-bootloader "/dev/mmcblk0" ; SD card storage -- 2.41.0