Skip to content

bootstage: TPL and SPL improvements

Simon Glass u-boot 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest10 patches 0 repliesNew
  2. v19 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Add a new patch to support %p without DEBUG
- Adjust SPL logic to avoid failing if TPL does not provide bootstage data
- Add a new patch to support %p without DEBUG in tiny-printf

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10tiny-printf: Reduce size by removing ctypelib/tiny-printf.c+7 -01 reply
2/10tiny-printf: Add print_grouped_ull()lib/tiny-printf.c+6 -02 replies
3/10tiny-printf: Reorder code to support %plib/tiny-printf.c+17 -132 replies
3/10tiny-printf: Reorder code to support %p+0 -01 reply
3/10tiny-printf: Reorder code to support %p+0 -01 reply
3/10tiny-printf: Reorder code to support %p+0 -00 replies
4/10bloblist: Reserve an aligned basecommon/board_f.c+1 -01 reply
5/10bootstage: Store the next ID in the stashcommon/bootstage.c+7 -41 reply
6/10bootstage: Fix counting of entries in stashcommon/bootstage.c+2 -101 reply
7/10bootstage: Avoid conflicts between stash/unstashcommon/bootstage.c+4 -11 reply
8/10bootstage: Correct relocation algorithmcommon/board_f.c common/board_r.c common/bootstage.c+23 -42 replies
8/10bootstage: Correct relocation algorithm+0 -00 replies
9/10bootstage: Mark the start/end of TPL and SPL separatelycommon/spl/spl.c include/bootstage.h+8 -31 reply
10/10bootstage: Allow SPL to obtain bootstage info from TPLcommon/spl/spl.c+13 -11 reply

Reviews trailers per patch

1 of 14 patches has a Reviewed-by or Acked-by.

PatchStefan Roese
1/10
2/10R-b
3/10
3/10
3/10
3/10
4/10
5/10
6/10
7/10
8/10
8/10
9/10
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [U-Boot] [PATCH v2 00/10] bootstage: TPL and SPL improvements

At present bootstage cannot be fully used on x86 since it violates a few U-Boot rules, mostly accessing pre-relocation memory after relocation. This series corrects this and adds better support for using bootstage in TPL.

It also includes a few improvements to tiny-printf.

Changes in v2:
- Add a new patch to support %p without DEBUG
- Adjust SPL logic to avoid failing if TPL does not provide bootstage data
- Add a new patch to support %p without DEBUG in tiny-printf

Simon Glass (10):
tiny-printf: Reduce size by removing ctype
tiny-printf: Add print_grouped_ull()
tiny-printf: Reorder code to support %p
bloblist: Reserve an aligned base
bootstage: Store the next ID in the stash
bootstage: Fix counting of entries in stash
bootstage: Avoid conflicts between stash/unstash
bootstage: Correct relocation algorithm
bootstage: Mark the start/end of TPL and SPL separately
bootstage: Allow SPL to obtain bootstage info from TPL

 common/board_f.c    |  2 ++
 common/board_r.c    |  1 -
 common/bootstage.c  | 53 ++++++++++++++++++++++++++++++---------------
 common/spl/spl.c    | 23 ++++++++++++++++----
 include/bootstage.h |  2 ++
 lib/tiny-printf.c   | 29 ++++++++++++++++++++-----
 6 files changed, 81 insertions(+), 29 deletions(-)
Signature · 1 line
2.23.0.866.gb869b98d4c-goog