From patchwork Sat Jun 25 13:08:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: phodina X-Patchwork-Id: 40323 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 8B79F27BBE9; Sat, 25 Jun 2022 14:10:16 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1209B27BBEA for ; Sat, 25 Jun 2022 14:10:15 +0100 (BST) Received: from localhost ([::1]:50972 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o55YE-0002fb-6k for patchwork@mira.cbaines.net; Sat, 25 Jun 2022 09:10:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55080) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o55Y3-0002fR-19 for guix-patches@gnu.org; Sat, 25 Jun 2022 09:10:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50511) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o55Y2-0007So-Kv for guix-patches@gnu.org; Sat, 25 Jun 2022 09:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o55Y2-0001yW-Fu for guix-patches@gnu.org; Sat, 25 Jun 2022 09:10:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51737] [PATCH v2 1/7] gnu: Add linux-libre-waydroid. References: In-Reply-To: Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 25 Jun 2022 13:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51737 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: "51737@debbugs.gnu.org" <51737@debbugs.gnu.org> Cc: Ludovic =?utf-8?q?Court=C3=A8s?= Received: via spool by 51737-submit@debbugs.gnu.org id=B51737.16561625557530 (code B ref 51737); Sat, 25 Jun 2022 13:10:02 +0000 Received: (at 51737) by debbugs.gnu.org; 25 Jun 2022 13:09:15 +0000 Received: from localhost ([127.0.0.1]:44408 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o55X8-0001xE-Et for submit@debbugs.gnu.org; Sat, 25 Jun 2022 09:09:15 -0400 Received: from mail-4316.protonmail.ch ([185.70.43.16]:10959) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o55X4-0001w5-Lp for 51737@debbugs.gnu.org; Sat, 25 Jun 2022 09:09:04 -0400 Date: Sat, 25 Jun 2022 13:08:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1656162536; x=1656421736; bh=f/3ku4bG6p3NyvIiy3JMr+rzs4L6ntNCYH3cN/1zKJc=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:Feedback-ID:From:To: Cc:Date:Subject:Reply-To:Feedback-ID:Message-ID; b=tVnFIjf4jB+kITJymaX8MWhBBEnrc8Y9J7JaRzaJhD4vfMo6j1fSBypkOh0bQzazh 7W+ItXW7q9M2GrEqb4meG1CsPecHiOrfPSbarcAZGRahK/lcF5MLaGOR1m9ktPtIQ/ IDOwEsY5SFIrFQUJdLfM3Gci2aSDZFoWeZKSE943SbQJPm+Q19q6TxSfBQ0aBs4iCZ cJvGlGk2QHO7OLPALWBjnPWs/dBReHISVPt2KP0FiJlDTPeo7Du/4HuOuorcukPJ1G QSA3+hPhCWvv7Nv4lO+qCFsZsXiEJD4Mcu/pJ+Ns7KYDuGXjV5m2AtCrhy4nndC/pU 8n9qEkY261KlQ== Message-ID: <6DHjUMqjMoW-JFxyBmViVrNgl6CjM63WJ5vn4bejvkbXWdkQa_NSI1l2lfluy4q_PMSinz3DdOq5mM5oVsuoHsrDzMKEqjcUTQ_R7NpAYp0=@protonmail.com> Feedback-ID: 14143818:user:proton MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches X-Patchwork-Original-From: phodina via Guix-patches via From: phodina X-getmail-retrieved-from-mailbox: Patches Hi Ludo', here's updated patch set. Indeede it's adding another linux-libre kernel since this opens the attack surface for anybody not using the binder and ashmem interface. However, it bring the support for Android apps on Linux which might be necessary on mobile platforms such as PinePhone. Any thoughts about upstreaming this? FIY There are also open source implementation of Andorid apps that can be downloaded from F-Droid [1] [1] https://f-droid.org/ Kind regards, Petr From cc27e2dbe2d68a337db8706d701c3cc43a4e0b1f Mon Sep 17 00:00:00 2001 From: Petr Hodina Date: Wed, 22 Dec 2021 02:35:46 +0100 Subject: [PATCH v2 2/7] gnu: Add linux-libre-arm64-waydroid. * gnu/packages/linux.scm (linux-libre-arm64-waydroid): New variable. diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index d094c529cb..30738bbad9 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -1080,6 +1080,33 @@ (define-public linux-libre-arm-omap2plus-4.14 #:defconfig "omap2plus_defconfig" #:extra-version "arm-omap2plus")) +(define-public linux-libre-arm64-waydroid + (make-linux-libre* linux-libre-version + linux-libre-gnu-revision + linux-libre-source + '("aarch64-linux") + #:defconfig "defconfig" + #:extra-version "arm64-generic" + #:extra-options + (append + `(;; needed to fix the RTC on rockchip platforms + ("CONFIG_RTC_DRV_RK808" . #t) + ;; Pinebook display, battery, charger and usb + ("CONFIG_DRM_ANALOGIX_ANX6345" . m) + ("CONFIG_CHARGER_AXP20X" . m) + ("CONFIG_INPUT_AXP20X_PEK" . m) + ("CONFIG_CHARGER_AXP20X" . m) + ("CONFIG_BATTERY_AXP20X" . m) + ("CONFIG_PINCTRL_AXP209" . m) + ("CONFIG_AXP20X_POWER" . m) + ("CONFIG_AXP20X_ADC" . m) + ;; Pinebook PRO battery and sound support + ("CONFIG_BATTERY_CW2015" . m) + ("CONFIG_CHARGER_GPIO" . m) + ("CONFIG_SND_SOC_ES8316" . m)) + %waydroid-extra-linux-options + %default-extra-linux-options))) + (define-public linux-libre-arm64-generic (make-linux-libre* linux-libre-version linux-libre-gnu-revision -- 2.36.1