From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id AF244D811CA for ; Tue, 26 Mar 2024 15:52:16 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=jWBuY1IiLi4ivs5lt+p9jBj3L/2dh/p+HT+cNkhj83w=; c=relaxed/simple; d=groups.io; h=MIME-Version:From:Date:Message-ID:Subject:To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type; s=20240206; t=1711468335; v=1; b=CrLello/2a1EhMBDKdY0DK2NRT2TvfGT6V6FfPk4ouSZUZpUMY1nB1KsCuRArpWgWumwLMAu 2SOEWQFvDJQnQbQ8pfcllgjJbiWL8yXD06xkHwYdVu9mVH/5jQW/ieVyWkkMN9Ea9RzVPgV60vk OJSmiS6HUqPEsgrEfgVqS10zv1H2CDLnrURkw367NbHHb2+OC5/oAxbkitcW9keNvRiDlS3/deC sPkuic3xQC07fFIlIV1RMotmyEfNOz33YYiTyp9rlioiNeS/3CoWYOWwm7r/VKOapssUCWvIgok eplrJGa6eBQUFtpQz+o5Egc3UWrIb6wVf1Uvc/jSvmxXQ== X-Received: by 127.0.0.2 with SMTP id 1ERNYY7687511x5VBWSc5Dae; Tue, 26 Mar 2024 08:52:15 -0700 X-Received: from mail-ej1-f54.google.com (mail-ej1-f54.google.com [209.85.218.54]) by mx.groups.io with SMTP id smtpd.web11.3214.1711013362836397280 for ; Thu, 21 Mar 2024 02:29:23 -0700 X-Received: by mail-ej1-f54.google.com with SMTP id a640c23a62f3a-a46ce2bd562so92257966b.2 for ; Thu, 21 Mar 2024 02:29:22 -0700 (PDT) X-Gm-Message-State: SVxJog4rDhHZdnlDKHDfU69vx7686176AA= X-Google-Smtp-Source: AGHT+IG8bW584+Dh9iNFWWtmqs++dgfHnZoLxIdY2LefVEv798GgIao4Ig+K5iVphNaOtnVYdJKNkvtbisMGOHaAofw= X-Received: by 2002:a17:906:1702:b0:a46:b764:fc81 with SMTP id c2-20020a170906170200b00a46b764fc81mr6121615eje.44.1711013360509; Thu, 21 Mar 2024 02:29:20 -0700 (PDT) MIME-Version: 1.0 From: Ba Gia Bao Phan Date: Thu, 21 Mar 2024 10:29:09 +0100 Message-ID: Subject: [edk2-devel] UART Driver for STM32MP25 with EDK2 To: devel@edk2.groups.io 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, 26 Mar 2024 08:52:14 -0700 Reply-To: devel@edk2.groups.io,phanbagiabao2001@gmail.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Type: multipart/alternative; boundary="0000000000008f2dd7061428579d" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b="CrLello/"; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) --0000000000008f2dd7061428579d Content-Type: text/plain; charset="UTF-8" I want to write a driver UART for my platform in EDK2-platform. I made a change at https://github.com/tianocore/edk2/blob/master/ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.c with the address of my platform and used https://github.com/tianocore/edk2/blob/master/ArmPlatformPkg/PrePeiCore/PrePeiCore.c to display the content of boot process at my computer host (using minicom) and I succeeded but when I compile my driver and use it with PrePeiCore.c, it did not work. I think that my driver does not link to library of EDK2. So how can I make my driver UART link to library of EDK2? -- PHAN Ba Gia Bao Etudiant en 5A STI - INSA Centre Val de Loire -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#117130): https://edk2.groups.io/g/devel/message/117130 Mute This Topic: https://groups.io/mt/105160638/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=- --0000000000008f2dd7061428579d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

I want to write a driver UART for my platf= orm in EDK2-platform. I made a change at=C2=A0https://= github.com/tianocore/edk2/blob/master/ArmPlatformPkg/Library/PL011UartLib/P= L011UartLib.c=C2=A0with the address of my platform and used=C2=A0https://github.com/tianocore/edk2/blob/master/ArmPlatformPkg/PrePeiCore/= PrePeiCore.c=C2=A0to display the content of boot process at my computer= host (using minicom) and I succeeded but when I compile my driver and use = it with PrePeiCore.c, it did not work.

I think that my driver does= not link to library of EDK2. So how can I make my driver UART link to libr= ary of EDK2?


--
PHAN Ba Gia Bao
Etudiant en 5A S= TI - INSA Centre Val de Loire
_._,_._,_

Groups.io Links:

=20 You receive all messages sent to this group. =20 =20

View/Reply Online (#117130) | =20 | Mute= This Topic | New Topic
Your Subscriptio= n | Contact Group Owner | Unsubscribe [rebecca@openfw.io]

_._,_._,_
--0000000000008f2dd7061428579d--