From patchwork Mon Jun 12 09:18:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dimitri John Ledkov X-Patchwork-Id: 1793826 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=eF9HOgcj; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4QfmMc3rZ1z20QH for ; Mon, 12 Jun 2023 19:18:51 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1q8dhA-0007bV-6K; Mon, 12 Jun 2023 09:18:40 +0000 Received: from smtp-relay-internal-0.internal ([10.131.114.225] helo=smtp-relay-internal-0.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1q8dh7-0007bM-SL for kernel-team@lists.ubuntu.com; Mon, 12 Jun 2023 09:18:37 +0000 Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 73AC83F122 for ; Mon, 12 Jun 2023 09:18:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1686561516; bh=jcz0o/TJ7vCDSAplICui/wJUGhD4xdShGzhUPyPoP58=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=eF9HOgcjfvFmaNzmZIu2xaREPrPwK4/L3IncP1Xfmb8rmh/gYIyS72moAXQ5JLHyW koyap5Ne4qte/Lbg1325NdKlV3no1Y3yNcRBtkolpoWw5xddlxetMy/UAfLfUgPedi bwQJTb8kYDBLadOcWz0obhlB9r36tz1llGUkdAigv81ec8cJ+kIYPxNTK2BrUGh77Q sJNt78l6QUZJ6ZEhvp38OxLcFyx7RXUdXQ7vjHSR7IL80n+IRwsE2Ewyug+H9ScRG/ ECp0pqM7enCFYbqJbznfIYoIPS5/TZuEmiDbuB45voovgkHDY/XYdhgMF5JhvH5mj7 Pb6Uo38dZkCwA== Received: by mail-wr1-f72.google.com with SMTP id ffacd0b85a97d-30af779d6e6so1530308f8f.3 for ; Mon, 12 Jun 2023 02:18:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686561514; x=1689153514; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=jcz0o/TJ7vCDSAplICui/wJUGhD4xdShGzhUPyPoP58=; b=R9hnjxz+sQoP4UeBw30r9Gl+M2uGFD2i0CxD/0aXMxRn8vcPYeIMo2jyTXYILyhedl j7KOeaDVoqRXuX4Oo2I9g8K03z0BTLknVBW+yt3yuMkUoR9yKxqXEaFV7CtLKkAw2cSt FvGZ9IuuVa+rC0iKZrNRAWmWjbuM1IjxwS1u7B8aSe6IDy94c9b+DZ3iZC534qHtTRRk svkTSaLPWuDhUk4tNSzuQLqE0c0wa2XFiw2mN6c6Uoy+4wSrjriBMX9BF1/EEqLIUk3S ixL4+U7KBiZmHBI7Il+5edowpWJiZkIgEAzVH27O3Ffg+cv7DWEKrOQ6pZY3fH67AG+q ZEtQ== X-Gm-Message-State: AC+VfDwRaPC5TUuHZqJv+K+M4FoittLbKqAMJ69fxi2ElFJlNOQ/EOqU qIqm7LClVbuPppb/B/sG24oplRQEawxE2fbiuXbkMRrMyeg/x/85+XRF19GJbwUoXwhICFDGZrG mcrqT9g2qBNIgxtcjGFMLoKAIroQq4xg4BqLDuZ5xSHwpjdOBeA== X-Received: by 2002:adf:e0d0:0:b0:306:31fb:1c3e with SMTP id m16-20020adfe0d0000000b0030631fb1c3emr4113807wri.26.1686561514653; Mon, 12 Jun 2023 02:18:34 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7sW6DdW3gC89f+HBrkQFisGD4LxHQ2FB9cRlWiCflb0EaaMGmQwKGdCu4iSbwO1Jxc4IUTuA== X-Received: by 2002:adf:e0d0:0:b0:306:31fb:1c3e with SMTP id m16-20020adfe0d0000000b0030631fb1c3emr4113799wri.26.1686561514358; Mon, 12 Jun 2023 02:18:34 -0700 (PDT) Received: from localhost ([137.220.91.195]) by smtp.gmail.com with ESMTPSA id cr4-20020a05600004e400b003063a92bbf5sm11936695wrb.70.2023.06.12.02.18.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jun 2023 02:18:33 -0700 (PDT) From: Dimitri John Ledkov To: kernel-team@lists.ubuntu.com Subject: [mantic:linux-meta-riscv][PATCH] UBUNTU: [Packaging] Add allwinner transitionals Date: Mon, 12 Jun 2023 10:18:23 +0100 Message-Id: <20230612091823.2214559-1-dimitri.ledkov@canonical.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/1975592 Takeover linux-meta-allwinner, ensure required sd-card driver is force loaded in the initrd. Signed-off-by: Dimitri John Ledkov --- debian/control.d/allwinner | 35 ++++++++++++++++++++++++++++ debian/linux-image-allwinner.install | 1 + debian/modules.d/allwinner | 2 ++ debian/rules | 1 + 4 files changed, 39 insertions(+) create mode 100644 debian/control.d/allwinner create mode 100644 debian/linux-image-allwinner.install create mode 100644 debian/modules.d/allwinner diff --git a/debian/control.d/allwinner b/debian/control.d/allwinner new file mode 100644 index 0000000000..4a6fe9534c --- /dev/null +++ b/debian/control.d/allwinner @@ -0,0 +1,35 @@ +Package: linux-headers-allwinner${variant:suffix} +Architecture: riscv64 +Section: kernel +Depends: ${misc:Depends}, linux-headers-${kernel-abi-version}-generic +Description: Allwinner Linux kernel headers + This package will always depend on the latest Allwinner kernel headers + available. + +Package: linux-image-allwinner${variant:suffix} +Architecture: riscv64 +Section: kernel +Provides: ${dkms:v4l2loopback-modules} ${dkms:zfs-modules} ${dkms:virtualbox-guest-modules} ${dkms:wireguard-linux-compat-modules} +Depends: ${misc:Depends}, linux-image-${kernel-abi-version}-generic, linux-modules-extra-${kernel-abi-version}-generic, linux-firmware +Description: Allwinner Linux kernel image + This package will always depend on the latest Allwinner kernel image + available. + +Package: linux-tools-allwinner${variant:suffix} +Architecture: riscv64 +Section: kernel +Provides: linux-tools +Depends: ${misc:Depends}, linux-tools-${kernel-abi-version}-generic +Description: Allwinner Linux kernel tools + This package will always depend on the latest Allwinner kernel tools + available. + +Package: linux-allwinner${variant:suffix} +Architecture: riscv64 +Section: kernel +Provides: ${test:provides-full-allwinner} ${test:provides-full-preferred} +Depends: ${misc:Depends}, linux-image-allwinner${variant:suffix} (= ${binary:Version}), linux-headers-allwinner${variant:suffix} (= ${binary:Version}) +Description: Complete Allwinner Linux kernel and headers + This package will always depend on the latest complete Allwinner Linux kernel + and headers. + diff --git a/debian/linux-image-allwinner.install b/debian/linux-image-allwinner.install new file mode 100644 index 0000000000..f4b66b1f06 --- /dev/null +++ b/debian/linux-image-allwinner.install @@ -0,0 +1 @@ +debian/modules.d/allwinner usr/share/initramfs-tools/modules.d/ diff --git a/debian/modules.d/allwinner b/debian/modules.d/allwinner new file mode 100644 index 0000000000..d54759f6e5 --- /dev/null +++ b/debian/modules.d/allwinner @@ -0,0 +1,2 @@ +# Required driver to boot of MMC +sunxi-mmc diff --git a/debian/rules b/debian/rules index 7358137dfe..016e47f172 100755 --- a/debian/rules +++ b/debian/rules @@ -156,6 +156,7 @@ binary-%: debian/control install-% dh_installdirs $(t) dh_installdocs $(t) dh_installchangelogs $(t) + dh_install $(t) dh_compress $(t) dh_fixperms $(t) dh_installdeb $(t)