Increasing the ramstage to 2M (1M is not enough) is required to even
build with the uImage embedded, otherwise you get
> coreboot/util/crossgcc/xgcc/bin/aarch64-elf-ld.bfd: Ramstage exceeded its allotted size! (256K)
> make: *** [src/arch/arm64/Makefile.inc:154: build/cbfs/fallback/ramstage.debug] Error 1

After making this change, flashing and cold resetting, you get this:
> CBFS: 'Master Header Locator' located CBFS at [20100:800000)
> CBFS: Locating 'fallback/payload'
> CBFS: Found @ offset 1a000 size 6f6a58
> Payload not loaded.

Increasing the POSTRAM_CBFS_CACHE to 2M has the same results.
3M requires moving the RAMSTAGE, and has the same results.
4M has the same results.
5M has the same results.
6M has the same results.
7M is the minimal required size (assuming 1M increments) to get the payload
booting in the first place, though a further change to the uImage required
me to bump it to 8M.

So, what are your suggestions?

View Change

To view, visit change 32373. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Iee0ed9f7958588ceda54bb32253c84cac68abea2
Gerrit-Change-Number: 32373
Gerrit-PatchSet: 2
Gerrit-Owner: Marty E. Plummer <hanetzer@startmail.com>
Gerrit-Reviewer: Julius Werner <jwerner@chromium.org>
Gerrit-Reviewer: Lin Huang <hl@rock-chips.com>
Gerrit-Reviewer: Marty E. Plummer <hanetzer@startmail.com>
Gerrit-Reviewer: Patrick Rudolph <siro@das-labor.org>
Gerrit-Reviewer: Shunqian Zheng <zhengsq@rock-chips.com>
Gerrit-Reviewer: Ting Shen <phoenixshen@google.com>
Gerrit-Reviewer: Vadim Bendebury <vbendeb@chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-Reviewer: nickey yang <nickey.yang@rock-chips.com>
Gerrit-Comment-Date: Thu, 25 Apr 2019 00:56:08 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment