[U-Boot] [PATCH 0/9] bootstage: TPL and SPL improvements

Simon Glass sjg at chromium.org
Mon Oct 14 22:00:06 UTC 2019

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

Simon Glass (9):
  tiny-printf: Reduce size by removing ctype
  tiny-printf: Add print_grouped_ull()
  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    | 25 +++++++++++++++++----
 include/bootstage.h |  2 ++
 lib/tiny-printf.c   | 13 +++++++++++
 6 files changed, 73 insertions(+), 23 deletions(-)


More information about the U-Boot mailing list