From: "Loh, Tien Hock" <tien.hock.loh@intel.com>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>
Cc: "leif.lindholm@linaro.org" <leif.lindholm@linaro.org>,
"ard.biesheuvel@linaro.org" <ard.biesheuvel@linaro.org>
Subject: Problem with decompression on EDK2
Date: Thu, 26 Sep 2019 09:27:29 +0000 [thread overview]
Message-ID: <EF88013823EA1B42AC7142BA7DA05E0634CF1278@PGSMSX110.gar.corp.intel.com> (raw)
Hi
I have an issue while porting a new platform to EDK2. After porting the Stratix 10 platform (ARM) to EDK2 it works correctly. However, when I tried to add more INF to the FDF file, it failed to decompress the image during boot time, log as below
INFO: DDR: DRAM calibration success.
INFO: Scrubbing ECC
INFO: Init HPS NOC's DDR Scheduler.
NOTICE: BL2: v2.1(debug):v2.1-15-g5880144-dirty
NOTICE: BL2: Built : 14:02:01, Aug 22 2019
INFO: BL2: Doing platform setup
INFO: BL2: Loading image id 3
INFO: Loading image id=3 at address 0xffe1c000
INFO: Image id=3 loaded: 0xffe1c000 - 0xffe22019
INFO: BL2: Loading image id 5
INFO: Loading image id=5 at address 0x50000
INFO: Image id=5 loaded: 0x50000 - 0x150000
NOTICE: BL2: Booting BL31
INFO: Entry point address = 0xffe1c000
INFO: SPSR = 0x3cd
NOTICE: BL31: v2.1(release):v2.1-604-g3441952
NOTICE: BL31: Built : 15:32:55, Sep 25 2019
UEFI firmware (version 1.0 built at 15:15:26 on Sep 26 2019)
Decompress Failed - Invalid Parameter
ASSERT_EFI_ERROR (Status = Not Found)
ASSERT [ArmPlatformPrePiUniCore] /nfs/png/disks/swuser_work_thloh/push/build/edk2/ArmPlatformPkg/PrePi/PrePi.c(151): !EFI_ERROR (Status)
This happens if I add more items to the image, and if I reduce the size of the image, it works correctly again. This could be a clue to what could've gone wrong. Does anyone have any ideas what might've gone wrong?
I traced the decompression to LzmaDecode, and got lost in the code there.
Thanks!
next reply other threads:[~2019-09-26 9:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-26 9:27 Loh, Tien Hock [this message]
2019-09-26 19:22 ` [edk2-devel] Problem with decompression on EDK2 Laszlo Ersek
2019-09-27 0:13 ` Liming Gao
2019-09-27 7:04 ` Loh, Tien Hock
2019-09-29 7:06 ` Liming Gao
2019-10-01 2:33 ` Loh, Tien Hock
2019-10-08 14:03 ` Liming Gao
2019-10-08 16:11 ` Loh, Tien Hock
-- strict thread matches above, loose matches on Subject: below --
2019-09-26 9:30 Loh, Tien Hock
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=EF88013823EA1B42AC7142BA7DA05E0634CF1278@PGSMSX110.gar.corp.intel.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox