From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) (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 8077E81CE2 for ; Mon, 31 Oct 2016 06:07:42 -0700 (PDT) Received: by mail-wm0-x242.google.com with SMTP id 68so11622543wmz.2 for ; Mon, 31 Oct 2016 06:07:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=to:from:subject:message-id:date:user-agent:mime-version; bh=4k8/R7mSxHS3qV++BYGrHNzRN502vpEgNoeRSH1X5I0=; b=VVxMUbNxPUw0lc3pqsXgTld0u8wFqsg130xcWqcIgCDPY4kJ4/uWvyBEU24E6V1Xpc /ZzEzchVqIGmCrvM+6dtqdURBhWkWwaY+DgFJ0Tv14Q3r3/llp/85AH4XHAHJ2NpyDe1 AzNbDyC3wDKPgnRaqdt2ZAh4wS1Pdvx8A8S4BekSZVLOVo674dukH2Dd8siYlBbgLUlR L+hffdcNZnxi5R1tbLs1Bp5Le8mLV7wOFESOPRsv3T/zY/sK1o4TsZ13q3l2x/3YKePy dodJ50JS240cBpzz9veauYf/QqabkLLotGRHHSlgPC7alW2v3bhmImkkOp6oTZQWN0aS i5Cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version; bh=4k8/R7mSxHS3qV++BYGrHNzRN502vpEgNoeRSH1X5I0=; b=bDJQ0OzR7tqg8jYqfYlDLDxiILx09bFO0FJGZ72GryUNx9aa+wmnR3MK9W0r2ukU1R 7wF85/NNb/YTpUm9P7b1SahYTLuxgpktwH8OqTj7Mi7ubhHX94erEZ9Crj62C/R/1ECL mvSM50rvuxLmXxCEk2N+cRsWH/Y+JZkWK5qTl1PcAC9412sFGkkvIsshQExYXh12FJIC 76Qo53oSRvkbRrmCAQ0OpOYg2kF3ESyltx07Gu0gRW3fsKz+Wnj83NnH6i0zql4KQiSa 32/ES7G+slhRVKCTGwKeKIE5YaEEx2zohMbAMg6Sq+xijqLdj0SliXq188sirFzvFh+R m6cw== X-Gm-Message-State: ABUngvd/KTAPzi3GG7COMN5bZf5BQP7owmlqjbaSsnoa4+ON0BvjtellCSKMj+YziBOo/g== X-Received: by 10.28.4.199 with SMTP id 190mr11520637wme.11.1477919261861; Mon, 31 Oct 2016 06:07:41 -0700 (PDT) Received: from [10.0.0.50] (HSI-KBW-095-208-248-192.hsi5.kabel-badenwuerttemberg.de. [95.208.248.192]) by smtp.gmail.com with ESMTPSA id 71sm24594894wmo.7.2016.10.31.06.07.40 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 31 Oct 2016 06:07:40 -0700 (PDT) To: edk2-devel@lists.01.org From: =?UTF-8?Q?Janne_He=c3=9f?= Message-ID: Date: Mon, 31 Oct 2016 14:07:40 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 Subject: Building and integrating CorebootPayloadPkg X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Oct 2016 13:07:42 -0000 X-Groupsio-MsgNum: 3913 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Jh5f8P668GrIDN5sPL0gaPe7wVxpcbsiR" --Jh5f8P668GrIDN5sPL0gaPe7wVxpcbsiR From: =?UTF-8?Q?Janne_He=c3=9f?= To: edk2-devel@lists.01.org Message-ID: Subject: Building and integrating CorebootPayloadPkg Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello everyone, I'm currently trying to build CorebootPayloadPkg to integrate it into my coreboot. I follewed the instructions in CorebootPayloadPkg/BuildAndIntegrationInstructions.txt to build UEFIPAYLOAD.fd. The instructions tell me to add choose this file as an executable elf payload in the coreboot configuration. Now, when building coreboot, I end up with the following output: > Performing operation on 'COREBOOT' region... > E: The stage file is not in ELF format! > E: skipping 32 bytes of FV padding > E: skipping 28 bytes of section padding > E: Could not add [UEFIPAYLOAD.fd, 852750 bytes (832 KB)@0x0]; too big? > E: Failed to add 'UEFIPAYLOAD.fd' into ROM image. > E: Failed while operating on 'COREBOOT' region! > E: The image will be left unmodified. > make: *** [build/coreboot.pre] Error 1 As the script tells me to check if the payload is too big, I set my BIOS chip size to 12 MB in the config just to make sure this is not a problem.= This didn't help. I also asked on #coreboot, where I was told to use the cbfstool to include my payload which failed with the same message. So to me it looks like whatever UEFIPAYLOAD.fd is, it is not a Coreboot payload. Are there any commands missing from the documentation that I need to build a valid payload? Thanks in advance. Regards Janne --Jh5f8P668GrIDN5sPL0gaPe7wVxpcbsiR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCAAGBQJYF0IcAAoJEGkWUVjwUmXfdxQP/iDrZRcnh/aAu9T9ueNZz8kg 5UzRLJC8IRPGjAPnU7e+bIq9WJYTeyNN6P4j2I9ViS6ZSCTUuWvYmQB8wEPP5fJi jdkaYJZOXLF/rbZFAtH4Bws7qyAdQ2pCdOaBRxdNFzo5qMpBWzWnGkHyu4LYyBs9 G/bZPUh/TVj0PYDTmgWFQLDbIiej/ZycDHuivEvjNSYuWw2pZC+RWJBxbN3L8g3V XSTVAME84KbAc0VM95zoT+lPwcCDU4fTOyH77jmrjxsekelH/VdG9Kghg9NWXusz KqhZA7ZQ08ZvR9GnXXc0m+rVZOH1NEh85UchqK/jVZ4ivM7oOo4qf+71GNstYCt+ tm9pANAxGy+XnSxABfgWn3edLbKFnk9L1WLUlcu8uQqzSijoL8WBxX7yAPpDjWua zUtItCUahxXWCFjlhqQeFa5cIyhK0V0kbKICjHaCurDT0HI/EISFsEMHR3mcZEs4 D0rV+lUHMGM9A/KD9cJ6tHj5oQJSWlsRT7RAlw2Oo/fqHl5oJa0jMMy9CdPYRZkq sgmA6yqAP3nTHY5u0uTPyEKMsF/F8xk0yVBuEs6OafmSzBbInORYouNSFwxk3Yq3 UhHZg2oVhIdX2QtzASIHhdT9YKi4H0Vr0ZsCALMwlusz8LQVc2LX05Yllm9DwAks aGPW9kyso1M/pOnwAiKF =oSl+ -----END PGP SIGNATURE----- --Jh5f8P668GrIDN5sPL0gaPe7wVxpcbsiR--