[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1034756: dpkg: please add support for riscv32



Package: dpkg
Version: 1.21.21
Severity: wishlist
Tags: patch
User: debian-riscv@lists.debian.org
Usertags: riscv32

Dear Maintainer,

Currently riscv32 has been supported upstream for a while[0] and people
can setup a riscv32 qemu with yocto[1], but it is time consuming.
There is no distro to support riscv32 AFAIK until now however I think
this will benefits users who want to setup riscv32 rootfs quickly if we
support this.

I thought the riscv32 has met the request[2] also.

Please let me know if there is any issue.

[0]: https://github.com/riscv-collab/riscv-gnu-toolchain#installation-linux
[1]: https://github.com/riscv/meta-riscv
[2]: https://wiki.debian.org/Teams/Dpkg/FAQ#Q._Can_we_add_support_for_new_dpkg_architectures.3F

-- 
Regards,
--
  Bo YU

From 2e254fb802635742bb81f2e0a776e87c71360e1f Mon Sep 17 00:00:00 2001
From: Bo YU <tsu.yubo@gmail.com>
Date: Sun, 23 Apr 2023 22:22:47 +0800
Subject: [PATCH] add support for riscv32

Signed-off-by: Bo YU <tsu.yubo@gmail.com>
---
 data/cputable | 1 +
 1 file changed, 1 insertion(+)

diff --git a/data/cputable b/data/cputable
index 7b1ee2c58..7c2c1c1c8 100644
--- a/data/cputable
+++ b/data/cputable
@@ -45,6 +45,7 @@ powerpc		powerpc		(powerpc|ppc)		32	big
 powerpcel	powerpcle	powerpcle		32	little
 ppc64		powerpc64	(powerpc|ppc)64		64	big
 ppc64el		powerpc64le	powerpc64le		64	little
+riscv32		riscv32		riscv32			32	little
 riscv64		riscv64		riscv64			64	little
 s390		s390		s390			32	big
 s390x		s390x		s390x			64	big
-- 
2.36.1

Attachment: signature.asc
Description: PGP signature


Reply to: