Skip to content

Yet another kwboot improvements

Marek Behún u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 45 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13tools: kwboot: Initialize rfds to zerotools/kwboot.c+1 -01 reply
2/13tools: kwboot: Fix initialization of tty devicetools/kwboot.c+1 -01 reply
3/13tools: kwboot: Reserve enough space for patching kwbimage in memorytools/kwboot.c+3 -11 reply
4/13tools: kwboot: Validate 4-byte image data checksumtools/kwboot.c+34 -01 reply
5/13tools: kwboot: Inject baudrate change back code after data parttools/kwboot.c+31 -411 reply
6/13tools: kwboot: Recalculate 4-byte data checksum after injecting baudrate codetools/kwboot.c+3 -01 reply
7/13tools: kwboot: Correctly set configuration of UART for BootROM messagestools/kwboot.c+11 -01 reply
8/13tools: kwboot: Show verbose message when waiting for baudrate change magictools/kwboot.c+1 -11 reply
9/13tools: kwboot: Simplify code for aligning image headertools/kwboot.c+2 -31 reply
10/13tools: kwboot: Do not modify kwbimage header before increasing its sizetools/kwboot.c+6 -31 reply
11/13tools: kwboot: Calculate real used space in kwbimage header when calling kwboot_img_grow_hdr()tools/kwboot.c+14 -31 reply
12/13tools: kwboot: Change retry loop from decreasing to increasingtools/kwboot.c+4 -41 reply
13/13tools: kwboot: Resend first 3 xmodem retry packets immediatelytools/kwboot.c+10 -31 reply

Reviews trailers per patch

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

PatchMarek BehúnStefan Roese
1/13R-b R-b
2/13R-b R-b
3/13R-b R-b
4/13R-b
5/13R-b
6/13R-b
7/13R-b R-b
8/13R-b R-b
9/13R-b R-b
10/13R-b R-b
11/13R-b R-b
12/13R-b R-b
13/13R-b R-b

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

Read the v1 thread

Cover letter [PATCH u-boot-marvell 00/13] Yet another kwboot improvements

From: Marek Behún <[email protected]>

Hello Stefan,

these are another improvements for kwboot, please apply only after series
arm: mvebu: nandpagesize support for kwbimage v1

The main improvement is in patch 5, which changes where we inject the code for changing baudrate back to 115200 Baud after fast upload. Instead of injecting it before the main data image, we now inject it after.

This is because there are some kwb images that upload at address 0, and injecting the code before that doesn't work, since there is no RAM mapped at 0xfffff000.

Marek & Pali

Pali Rohár (13):
tools: kwboot: Initialize rfds to zero
tools: kwboot: Fix initialization of tty device
tools: kwboot: Reserve enough space for patching kwbimage in memory
tools: kwboot: Validate 4-byte image data checksum
tools: kwboot: Inject baudrate change back code after data part
tools: kwboot: Recalculate 4-byte data checksum after injecting
baudrate code
tools: kwboot: Correctly set configuration of UART for BootROM
messages
tools: kwboot: Show verbose message when waiting for baudrate change
magic
tools: kwboot: Simplify code for aligning image header
tools: kwboot: Do not modify kwbimage header before increasing its
size
tools: kwboot: Calculate real used space in kwbimage header when
calling kwboot_img_grow_hdr()
tools: kwboot: Change retry loop from decreasing to increasing
tools: kwboot: Resend first 3 xmodem retry packets immediately

 tools/kwboot.c | 178 +++++++++++++++++++++++++++++++++----------------
 1 file changed, 120 insertions(+), 58 deletions(-)
Signature · 1 line
2.32.0