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 2A997AC0E6E for ; Mon, 4 Dec 2023 10:37:25 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=CnUXAjjuZ0iWFPpXcD3h3yzsz0ShrvFmg2zBY9wHSXY=; 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:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type; s=20140610; t=1701686243; v=1; b=XZTC9xlT318qzfGOlLJPql65406n473Xxz0VZMqAxn14BSZh3z/kUzCuxR2kqfLaQDUMlubM 0sLIMhSb9FK5/EQc05FDmjmH4NGheX+dY7bgR0QTvxm3OBhOzdfK6O5KS9GXBxYxROCVW/e8Y9q WSJlnJobXlJjQYgW7HpWpIuc= X-Received: by 127.0.0.2 with SMTP id FIs9YY7687511xXLLTzkVe7z; Mon, 04 Dec 2023 02:37:23 -0800 X-Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) by mx.groups.io with SMTP id smtpd.web11.65868.1701686243053695225 for ; Mon, 04 Dec 2023 02:37:23 -0800 X-Received: by mail-lf1-f52.google.com with SMTP id 2adb3069b0e04-50bf26f8988so1334808e87.2 for ; Mon, 04 Dec 2023 02:37:22 -0800 (PST) X-Gm-Message-State: eYtOjGYyhaPijQafMfeGvU2ux7686176AA= X-Google-Smtp-Source: AGHT+IGGUsJi1xrA3h7x0+AG/EjhWWtAa/9hG1epEUfKyCr5/Mcp0TSQkyi4bMrUAVAaMC39qUuDqSiLJn1n1Ew0lEw= X-Received: by 2002:a05:6512:1320:b0:50b:f799:7f6f with SMTP id x32-20020a056512132000b0050bf7997f6fmr760944lfu.3.1701686240542; Mon, 04 Dec 2023 02:37:20 -0800 (PST) MIME-Version: 1.0 From: "Alireza Banejad" Date: Mon, 4 Dec 2023 14:06:31 +0330 Message-ID: Subject: [edk2-devel] Transition from DxeIpl to DxeCoreLoad 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 Reply-To: devel@edk2.groups.io,alibanejad1376@gmail.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Type: text/plain; charset="UTF-8" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=XZTC9xlT; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io Hello everyone, I am building the wilsonCity Rvp From the whitleyLake package inside edk2-platforms. unfortunately i wasn't able to get the debug running even though I tried everything but that isn't my problem right now since I use POST codes on each part of code and check to see if the codes are displayed on the motherboard. my main problem is I put a post code right before dxeipl to see if it reaches this point: IoWrite8(0x80,0x7b); Status = TempPtr.DxeIpl->Entry ( TempPtr.DxeIpl, &PrivateData.Ps, PrivateData.HobList ); and so the motherboard shows me 0x7b but it doen't go inside the DxeloadCore function since I put a Post code at the very beginning of this function and its still stuck on the 0x7b code: EFI_STATUS EFIAPI DxeLoadCore ( IN CONST EFI_DXE_IPL_PPI *This, IN EFI_PEI_SERVICES **PeiServices, IN EFI_PEI_HOB_POINTERS HobList ) { ... // // if in S3 Resume, restore configure // IoWrite8(0x80,0x3a); BootMode = GetBootModeHob (); IoWrite8(0x80,0x22); ... I dont have any better debug approaches to check the stack or registers that is why i can only send POST codes as evidence that execution has reached to that point. I dont know why it doesn't execute the DxeLoadCore properly and I assume the CPU halts since it just stays stuck on the previous post code from before calling DxeIpl (I mean 0x7b). I also checked if any arguments being passed to TempPtr.DxeIpl->Entry are NULL but it seemed none were NULL. Thanks, Alireza -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#112030): https://edk2.groups.io/g/devel/message/112030 Mute This Topic: https://groups.io/mt/102968005/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-