From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id CF001940EC3 for ; Wed, 23 Oct 2024 02:08:47 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=lJaRfSFflfGXPuh4JiJ9QvyHM4+6sNgIZjm+xP8hnE8=; c=relaxed/simple; d=groups.io; h=Message-ID:Date:MIME-Version:User-Agent:Subject:To:Cc:References:From:In-Reply-To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type:Content-Transfer-Encoding; s=20240830; t=1729649327; v=1; x=1729908526; b=vJRKPf5oVH1qfaW3RTkEba2asL0cg3duypXhM4q1NnGbKxy0BuNtucCjzljFYKrgzoDAn2Jv fAy4IwA+AQfdzQFV8loxHTKohx7DeM8t3H3HKSdByeT9g6DjJL2qS/NKk5hzZIn+JhnS2xp+rzO yOA2cmCm0U6x1KFmr9UND/7lJ09pSYm4/8nbBuw3XRIQO71lkanAfmKGyKBt4xQRt0GoTw219nD rUOUbQtMTgmsANK5N5pcuUtTzzHouos7LwNGBAM9F4Qi8rcivS6oR8W9Pq9OYYwdsDJRxbYGMs6 3GIFGryxluUUy7pW5EUOHTlHoyhhUbXjqMwhIs6y+ATvw== X-Received: by 127.0.0.2 with SMTP id 5kLKYY7687511xeI3wshPDXq; Tue, 22 Oct 2024 19:08:46 -0700 X-Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by mx.groups.io with SMTP id smtpd.web10.10505.1729649324599456822 for ; Tue, 22 Oct 2024 19:08:45 -0700 X-Received: from loongson.cn (unknown [10.40.24.149]) by gateway (Coremail) with SMTP id _____8DxGeCoWhhnA9QGAA--.16155S3; Wed, 23 Oct 2024 10:08:40 +0800 (CST) X-Received: from [10.40.24.149] (unknown [10.40.24.149]) by front1 (Coremail) with SMTP id qMiowMAxbOCjWhhnMhcKAA--.58527S3; Wed, 23 Oct 2024 10:08:35 +0800 (CST) Message-ID: <6b0d7173-9cab-47c4-baad-ce44d711f12b@loongson.cn> Date: Wed, 23 Oct 2024 10:08:35 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [edk2-devel] [PATCH] Emulator/X86EmulatorDxe: Replace with MultiArchUefiPkg build To: devel@edk2.groups.io, pedro.falcato@gmail.com, rebecca@os.amperecomputing.com Cc: andrei.warkentin@intel.com, Ard Biesheuvel , Rebecca Cran , "quic_llindhol@quicinc.com" , "Kinney, Michael D" References: <20240831223232.59981-1-rebecca@bsdio.com> <1b111e7f-7153-474b-8656-53ce289abb2a@os.amperecomputing.com> <4a3d8c36-7c60-4310-9929-2255edcc15dd@loongson.cn> From: "Chao Li" In-Reply-To: X-CM-TRANSID: qMiowMAxbOCjWhhnMhcKAA--.58527S3 X-CM-SenderInfo: xolfxt3r6o00pqjv00gofq/1tbiAgETCGcYMc4DHQAAsG X-Coremail-Antispam: 1Uk129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7KY7 ZEXasCq-sGcSsGvfJ3UbIjqfuFe4nvWSU5nxnvy29KBjDU0xBIdaVrnUUvcSsGvfC2Kfnx nUUI43ZEXa7xR_UUUUUUUUU== Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Tue, 22 Oct 2024 19:08:45 -0700 Resent-From: lichao@loongson.cn Reply-To: devel@edk2.groups.io,lichao@loongson.cn List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: BDtJDVIQaRdfXQOSY1ayGoF1x7686176AA= Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240830 header.b=vJRKPf5o; dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io

I think it is worth discussing this because the EMU can solve lot's of problems about the OPROM on AARCH64, RISC-V and even LoongArch.

There are two kinds of questions:

A. MultiArchUefiPkg depend on unicorn. The license of MultiArchUefiPkg is LGPL2.1, while the license of unicron is GPL2.0 Is MultiArchCpuPkg has been infected with GPL2.0? I think it is infected, this is why the EmulatorDxe.efi uses GPL2.0 which locted in non-osi repo.

B. Between the FW main body and EmulatorDxe.efi, they are independent, and if  EmulatorDxe.efi is added to the FW main body, GenFw needs to be used. Does this operation violate the iterms of GPL2.0 or LGPL2.1? After adding, if we release the new FW binary file, does it viloate the iterms of GPL2.0 or LGPL2.1?


Thanks,
Chao
On 2024/10/23 07:44, Pedro Falcato wrote:
On Tue, Oct 22, 2024 at 11:29 AM Rebecca Cran via groups.io
<rebecca=os.amperecomputing.com@groups.io> wrote:
On 10/22/2024 2:48 AM, Chao Li wrote:

I see the final licence in non-osi is GPL2.0, so it that allowed for
some people build the EmulatorDxe.efi into their FW and release it?
I believe it is allowed because tools like Fiano allow you to remove
drivers such as EmulatorDxe from the firmware image.
I don't understand what you mean? nor do I understand the question.

Mandatory IANAL.

You can build whatever GPL-violating contraption as long as you don't
distribute it. If you do, you need to comply with the terms of the
license.
FWIW, GNU seems to think merely including this module would be a GPL
violation (https://www.gnu.org/licenses/gpl-faq.html#MereAggregation,
see the mention of running together in a shared address space), and
thus all your firmware would potentially need to be distributed under
the GPL's terms.

Ard's old version seems to only be LGPL and thus you'd only need to
comply with the LGPL's terms for that specific module (there's no
"virality").

_._,_._,_

Groups.io Links:

You receive all messages sent to this group.

View/Reply Online (#120659) | | Mute This Topic | New Topic
Your Subscription | Contact Group Owner | Unsubscribe [rebecca@openfw.io]

_._,_._,_