From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-x231.google.com (mail-it0-x231.google.com [IPv6:2607:f8b0:4001:c0b::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 8B45521AE30CE for ; Thu, 1 Jun 2017 07:01:10 -0700 (PDT) Received: by mail-it0-x231.google.com with SMTP id r63so36058039itc.1 for ; Thu, 01 Jun 2017 07:02:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=rzhFvyMscQ66nANb1YShs7Wwrl0PauwLSoDv5edilLk=; b=VpfqfUSgrZevqUVTvnbiJ7A5vMrvOTIsTQjXYd8wl6Iric2Rx59Mym0mZD4kbrUqxU VHI4qEjNO1BgHleHa18YM6eA9SKx9yZZCIChSgE2O3gqFQs25je1fgPuuQ+8pyDrwiwn R4t/2Nb5xavnUlHcaTjfhceg0sHXX2949eM9A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=rzhFvyMscQ66nANb1YShs7Wwrl0PauwLSoDv5edilLk=; b=TbvGbWMiw9k3vI/9Ugv6twvMssV1duxI7TM8JBEE28hppjjb2WX/VB9pCsnXc5SqfW VDj6CpERl0u08QCXH2o/ceZMRTPI/8jNogBgxVezIXASUC0z0evh8siOTXsaiVSeYqrv ezMRHPO434O1JmR7N3U36S1v7Y5kEisTKYbkwcN4/KdSreeJQtMJZzBU0O9GA0aX7zZG /JUTS99CjMK6c5J3tTFNHdc6ndcLnXHgqlrJG2bKZ5yuli/obtYWwMI3DkkIdE2jXfvn uEL/nO99x7GF0EE95ZFZ5hZ9D/R89upJId9SJKRZKE8bk/pE7+cT0xn9jmzyBf2P10H3 OY3g== X-Gm-Message-State: AODbwcARX0rDjW6tOhCU+PhbgC8IM9N922a7CTyzXWHz4hITvQ60UhM1 zwlyb/vIaoqOBIJ4xDD/Qh0Nj2bHQJq1 X-Received: by 10.36.237.72 with SMTP id r69mr3249567ith.98.1496325730759; Thu, 01 Jun 2017 07:02:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.164.24 with HTTP; Thu, 1 Jun 2017 07:02:10 -0700 (PDT) In-Reply-To: <20170601075533.000035be@bluestop.org> References: <13080acc-202a-ee70-14ca-5152e94e9698@bluestop.org> <20170601075533.000035be@bluestop.org> From: Ard Biesheuvel Date: Thu, 1 Jun 2017 14:02:10 +0000 Message-ID: To: Rebecca Cran Cc: "edk2-devel@lists.01.org" Subject: Re: Reconfiguring the PEI blob for the Overdrive1000 (AMD A1100) X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jun 2017 14:01:10 -0000 Content-Type: text/plain; charset="UTF-8" On 1 June 2017 at 13:55, Rebecca Cran wrote: > On Thu, 1 Jun 2017 07:29:05 +0000 > Ard Biesheuvel wrote: > >> Which PEI binary are you referring to? There is the PEI core, and a >> collection of PEI modules (PEIMs) that do various platform related >> things, including PCIe link training (and believe me, looking at that >> code will make your eyes bleed), which is the only closed source PEIM >> IIRC. >> >> Whether you can get access to the FDK is a question I cannot answer, >> but I don't think there are any people left at AMD working on the >> Seattle project. >> >> Which tree are you building from? > > I'm using the OpenPlatformPkg tree from > https://git.linaro.org/uefi/OpenPlatformPkg.git . > > The binary I was interested in is PreUefiFirmware.bin in > https://git.linaro.org/uefi/OpenPlatformPkg.git/tree/Platforms/AMD/Styx/Overdrive1000Board/Binary . > > I should probably explain what problem I'm trying to solve. I'm working > on NVDIMM support, and have been starting to plan work around > making changes to the EDK2 to support the modules, starting with > reading the DDR4 SPD data. > > However, the i2c access protocols etc. that I'd need appear to be > implemented in the PreUefiFirmware.bin binary and are currently not > exposed to UEFI drivers via the protocols from the PI spec. > The SoC has a separate System Control Processor (SCP), which is a Cortex-A5 ARM core that has its own firmware. The source for this firmware is not included in the FDK, nor is it (or any of the secure firmware that /is/ included) based on PI/UEFI or EDK2. So if you need I2C support in UEFI, you will need to add drivers for the Synopsys Designware I2C controllers on this board. The FDK does not contain anything useful, I'm afraid.