Skip to content

fwu: Call EFI stack initialization after preboot

Michal Simek u-boot 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 1 replyIn review
  2. v33 patches 5 repliesSuperseded
  3. v23 patches 8 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches2 repliesSuperseded

Changes in v4 from the cover letter

- update dm tests

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3event: Check return value from event_notify_null()common/board_r.c test/dm/fwu_mdata.c+7 -30 replies
2/3event: Introduce EVT_POST_PREBOOT eventcommon/event.c common/main.c include/event.h+16 -00 replies
3/3fwu: Move boottime checks to EVT_POST_PREBOOTlib/fwu_updates/fwu.c test/dm/fwu_mdata.c+3 -31 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchSimon GlassIlias Apalodimas
1/3R-b A-b
2/3R-b A-b
3/3R-b

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

Read the v4 thread

Cover letter [PATCH v4 0/3] fwu: Call EFI stack initialization after preboot

Hi,

the whole series is trying to address issues we have on platforms where usb and ufs init are not done before efi initialization. This is happening on platforms where A/B update is enabled. FWU code is called early and do EFI initialization before usb and ufs started that's why they are not visible.

We are workarounding it by starting usb/ufs from board file but this should be more generic approach.

Thanks,
Michal

Changes in v4:
- update dm tests

Changes in v3:
- add missing type_name extension

Changes in v2:
- new patch in series
- check return value

Michal Simek (3):
event: Check return value from event_notify_null()
event: Introduce EVT_POST_PREBOOT event
fwu: Move boottime checks to EVT_POST_PREBOOT

 common/board_r.c      | 6 +++++-
 common/event.c        | 3 +++
 common/main.c         | 4 ++++
 include/event.h       | 9 +++++++++
 lib/fwu_updates/fwu.c | 2 +-
 test/dm/fwu_mdata.c   | 4 ++--
 6 files changed, 24 insertions(+), 4 deletions(-)
Signature · 4 lines
2.43.0

base-commit: 0cdcef58834c0ad223952987d9bde449badeea31
branch: debian-sent3