Gitiles
Code Review
Sign In
git01.mediatek.com
/
filogic
/
uboot
/
eb10f6a2b76dfd308163ecc515e6296c07126a73
/
tools
/
kwboot.c
38db976
tools: kwboot: Update references with public links
by Pali Rohár
· Wed Mar 02 11:49:27 2022 +0100
f4e9e87
tools: kwboot: Update doc about Avanta
by Pali Rohár
· Wed Mar 02 11:49:26 2022 +0100
8564cbe
tools: kwboot: Update usage
by Pali Rohár
· Wed Mar 02 11:49:24 2022 +0100
ed3a975
tools: kwboot: Add support for backspace key in mini terminal
by Pali Rohár
· Wed Mar 02 11:49:23 2022 +0100
2af673b
tools: kwboot: Fix sending and processing debug message pattern (-d option)
by Pali Rohár
· Wed Mar 02 11:49:22 2022 +0100
3a2e9bc
tools: kwboot: Use separate thread for sending boot message pattern
by Pali Rohár
· Wed Mar 02 11:49:21 2022 +0100
224110d
tools: kwboot: Cleanup bootmsg and debugmsg variables
by Pali Rohár
· Wed Mar 02 11:49:20 2022 +0100
d51b834
tools: kwboot: Remove msg_req_delay
by Pali Rohár
· Wed Mar 02 11:49:19 2022 +0100
e3a1828
tools: kwboot: Check for return value of kwboot_tty_send() and tcflush()
by Pali Rohár
· Wed Mar 02 11:49:18 2022 +0100
6a5d131
tools: kwboot: Fix quitting terminal
by Pali Rohár
· Fri Feb 18 12:24:13 2022 +0100
cf91fa8
tools: kwboot: Allow to use -b without image path as the last getopt() option
by Pali Rohár
· Mon Feb 07 10:12:24 2022 +0100
111779f
tools: kwboot: Fix detection of quit esc sequence
by Pali Rohár
· Thu Feb 03 17:45:20 2022 +0100
e4b8fca
tools: kwboot: Set debug flag to 1
by Pali Rohár
· Tue Jan 25 18:13:13 2022 +0100
577506c
tools: kwboot: Fix usage of -D without -t
by Pali Rohár
· Tue Jan 25 18:13:12 2022 +0100
613bd8b
tools: kwboot: Handle EINTR in kwboot_tty_recv()
by Pali Rohár
· Tue Jan 25 18:13:11 2022 +0100
5350df1
tools: kwboot: Handle EINTR in kwboot_write()
by Pali Rohár
· Tue Jan 25 18:13:10 2022 +0100
1a0755e
tools: kwboot: Remove 2s delay before sending first xmodem packet
by Pali Rohár
· Tue Jan 25 18:13:09 2022 +0100
e68c27bd
tools: kwboot: Force BootROM to flush input queue after boot pattern
by Pali Rohár
· Tue Jan 25 18:13:08 2022 +0100
4895336
tools: kwboot: Allow to use option -b without image path
by Pali Rohár
· Tue Jan 25 18:13:07 2022 +0100
b3760f9
tools: kwboot: Show 'E' in progress output when error occurs
by Pali Rohár
· Tue Jan 25 18:13:06 2022 +0100
80241ce
tools: kwboot: Fix handling of repeated xmodem packets
by Pali Rohár
· Tue Jan 25 18:13:05 2022 +0100
230d4f8
tools: kwboot: Do not change received character in kwboot_xm_recv_reply()
by Pali Rohár
· Tue Jan 25 18:13:04 2022 +0100
6af1429
tools: kwboot: Remove code for handling CAN byte
by Pali Rohár
· Tue Jan 25 18:13:03 2022 +0100
e4529bd
tools: kwboot: Improve retrying logic for incomplete xmodem packets
by Pali Rohár
· Tue Jan 25 18:13:02 2022 +0100
b43d90f
tools: kwboot: Wait blk_rsp_timeo when flushing
by Pali Rohár
· Tue Jan 25 18:13:01 2022 +0100
def9838
tools: kwboot: Increase blk_rsp_timeo to 2s
by Pali Rohár
· Tue Jan 25 18:13:00 2022 +0100
32eec19
tools: kwbimage/kwboot: Check ext field for non-zero value
by Pali Rohár
· Wed Jan 12 18:20:52 2022 +0100
73ae7aa
tools: kwboot: Always print kwboot version
by Pali Rohár
· Fri Nov 05 23:30:42 2021 +0100
400b5cf
tools: kwboot: Fix sending Kirkwood v0 images
by Pali Rohár
· Fri Nov 05 23:29:58 2021 +0100
2d760ed
tools: kwboot: Do not send magic seq when changing baudrate back to 115200
by Pali Rohár
· Mon Nov 01 14:00:02 2021 +0100
6303a23
tools: kwboot: Do not use stack when setting baudrate back to default value
by Pali Rohár
· Wed Oct 27 20:57:02 2021 +0200
15b16e5
tools: kwboot: Replace ARM mov + movt instruction pair by mov + orr
by Pali Rohár
· Wed Oct 27 20:57:01 2021 +0200
9e624c9
tools: kwboot: Increase delay after changing baudrate in ARM code
by Pali Rohár
· Wed Oct 27 20:57:00 2021 +0200
f2acbba
tools: kwboot: Do not call tcdrain() after each sent packet
by Pali Rohár
· Wed Oct 27 20:56:59 2021 +0200
6daa561
tools: kwboot: Fix sending retry of last header packet
by Pali Rohár
· Wed Oct 27 20:56:58 2021 +0200
959e850
tools: kwboot: Resend first 3 xmodem retry packets immediately
by Pali Rohár
· Mon Oct 25 15:13:04 2021 +0200
e665c6a
tools: kwboot: Change retry loop from decreasing to increasing
by Pali Rohár
· Mon Oct 25 15:13:03 2021 +0200
6fa9709
tools: kwboot: Calculate real used space in kwbimage header when calling kwboot_img_grow_hdr()
by Pali Rohár
· Mon Oct 25 15:13:02 2021 +0200
90eb900
tools: kwboot: Do not modify kwbimage header before increasing its size
by Pali Rohár
· Mon Oct 25 15:13:01 2021 +0200
085d9ce
tools: kwboot: Simplify code for aligning image header
by Pali Rohár
· Mon Oct 25 15:13:00 2021 +0200
ddee5d8
tools: kwboot: Show verbose message when waiting for baudrate change magic
by Pali Rohár
· Mon Oct 25 15:12:59 2021 +0200
71db362
tools: kwboot: Correctly set configuration of UART for BootROM messages
by Pali Rohár
· Mon Oct 25 15:12:58 2021 +0200
f625a22
tools: kwboot: Recalculate 4-byte data checksum after injecting baudrate code
by Pali Rohár
· Mon Oct 25 15:12:57 2021 +0200
aed39f2
tools: kwboot: Inject baudrate change back code after data part
by Pali Rohár
· Mon Oct 25 15:12:56 2021 +0200
0b659e5
tools: kwboot: Validate 4-byte image data checksum
by Pali Rohár
· Mon Oct 25 15:12:55 2021 +0200
d877439
tools: kwboot: Reserve enough space for patching kwbimage in memory
by Pali Rohár
· Mon Oct 25 15:12:54 2021 +0200
40003a0
tools: kwboot: Fix initialization of tty device
by Pali Rohár
· Mon Oct 25 15:12:53 2021 +0200
c1efca4
tools: kwboot: Initialize rfds to zero
by Pali Rohár
· Mon Oct 25 15:12:52 2021 +0200
3024ebd
tools: kwboot: Patch nandpagesize to zero also for v1 image
by Pali Rohár
· Fri Oct 22 12:37:47 2021 +0200
87cc3c9
tools: kwboot: Align UART baudrate change code in BIN header to 128-bit boundary
by Pali Rohár
· Thu Oct 21 16:46:06 2021 +0200
aa98a1e
tools: kwboot: Add Pali and Marek as authors
by Pali Rohár
· Fri Sep 24 23:07:14 2021 +0200
db5b53e
tools: kwboot: Update file header
by Marek Behún
· Fri Sep 24 23:07:13 2021 +0200
3e6117e
tools: kwboot: Avoid code repetition in kwboot_img_patch()
by Marek Behún
· Fri Sep 24 23:07:12 2021 +0200
6c598c3
tools: kwboot: Cosmetic fix
by Marek Behún
· Fri Sep 24 23:07:11 2021 +0200
2bffe24
tools: kwboot: Disable non-blocking mode
by Pali Rohár
· Fri Sep 24 23:07:10 2021 +0200
12095b2
tools: kwboot: Disable tty interbyte timeout
by Pali Rohár
· Fri Sep 24 23:07:09 2021 +0200
909a0b9
tools: kwboot: Fix initializing tty device
by Pali Rohár
· Fri Sep 24 23:07:08 2021 +0200
6783549
tools: kwboot: Check whether baudrate was set to requested value
by Marek Behún
· Fri Sep 24 23:07:07 2021 +0200
fd935e9
tools: kwboot: Allow any baudrate on Linux
by Pali Rohár
· Fri Sep 24 23:07:06 2021 +0200
2a8b769
tools: kwboot: Support higher baudrates when booting via UART
by Pali Rohár
· Fri Sep 24 23:07:05 2021 +0200
811821e
tools: kwboot: Explicitly check against size of struct main_hdr_v1
by Marek Behún
· Fri Sep 24 23:07:04 2021 +0200
d9355bf
tools: kwboot: Round up header size to 128 B when patching
by Pali Rohár
· Fri Sep 24 23:07:03 2021 +0200
d1b0b03
tools: kwbimage: Refactor kwbimage header size determination
by Marek Behún
· Fri Sep 24 23:07:01 2021 +0200
fa9caec
tools: kwbimage: Refactor image_version()
by Marek Behún
· Fri Sep 24 23:07:00 2021 +0200
398d415
tools: kwboot: Patch destination address to DDR area for SPI image
by Pali Rohár
· Fri Sep 24 23:06:59 2021 +0200
88255af
tools: kwboot: Patch source address in image header
by Pali Rohár
· Fri Sep 24 23:06:58 2021 +0200
5725e0c
tools: kwboot: Don't patch image header if signed
by Pali Rohár
· Fri Sep 24 23:06:57 2021 +0200
4d27601
tools: kwboot: Always call kwboot_img_patch_hdr()
by Pali Rohár
· Fri Sep 24 23:06:55 2021 +0200
42c61a4
tools: kwboot: Properly finish xmodem transfer
by Pali Rohár
· Fri Sep 24 23:06:54 2021 +0200
0a3b85a
tools: kwboot: Prevent waiting indefinitely if no xmodem reply is received
by Marek Behún
· Fri Sep 24 23:06:53 2021 +0200
2d9f245
tools: kwboot: Allow greater timeout when executing header code
by Marek Behún
· Fri Sep 24 23:06:52 2021 +0200
bcc5e04
tools: kwboot: Print new line after SPL output
by Marek Behún
· Fri Sep 24 23:06:51 2021 +0200
d06d520
tools: kwboot: Allow non-xmodem text output from BootROM only in a specific case
by Pali Rohár
· Fri Sep 24 23:06:50 2021 +0200
eabacb8
tools: kwboot: Use a function to check whether received byte is a Xmodem reply
by Marek Behún
· Fri Sep 24 23:06:49 2021 +0200
bed18ef
tools: kwboot: Split sending image into header and data stages
by Pali Rohár
· Fri Sep 24 23:06:48 2021 +0200
5ed896f
tools: kwboot: Print newline on error when progress was not completed
by Pali Rohár
· Fri Sep 24 23:06:47 2021 +0200
d01b9ce
tools: kwboot: Fix printing progress
by Pali Rohár
· Fri Sep 24 23:06:46 2021 +0200
edb6324
tools: kwboot: Fix comparison of integers with different size
by Marek Behún
· Fri Sep 24 23:06:45 2021 +0200
58cf04de
tools: kwboot: Fix return type of kwboot_xm_makeblock() function
by Pali Rohár
· Fri Sep 24 23:06:44 2021 +0200
2c02a34
tools: kwboot: Fix kwboot_xm_sendblock() function when kwboot_tty_recv() fails
by Pali Rohár
· Fri Sep 24 23:06:43 2021 +0200
3c703aaf
tools: kwboot: Print version information header
by Pali Rohár
· Fri Sep 24 23:06:42 2021 +0200
d3bc5c3
tools: kwboot: Refactor and fix writing buffer
by Marek Behún
· Fri Sep 24 23:06:41 2021 +0200
ea5b2b3
tools: kwboot: Make the quit sequence buffer const
by Marek Behún
· Fri Sep 24 23:06:40 2021 +0200
4eb55de
tools: kwboot: Fix buffer overflow in kwboot_terminal()
by Marek Behún
· Fri Sep 24 23:06:39 2021 +0200
b572ac4
tools: kwboot: Fix checking image header version
by Pali Rohár
· Fri Jul 23 11:14:22 2021 +0200
1228116
tools: kwboot: Check for v1 header size
by Pali Rohár
· Fri Jul 23 11:14:21 2021 +0200
48615ba
tools: kwboot: Cosmetic fix - add missing curly brackets
by Pali Rohár
· Fri Jul 23 11:14:20 2021 +0200
049cf91
tools: kwboot: Print trailing newline after terminal is terminated
by Pali Rohár
· Fri Jul 23 11:14:19 2021 +0200
eafc969
tools: kwboot: Fix restoring terminal
by Pali Rohár
· Fri Jul 23 11:14:18 2021 +0200
8210ea0
tools: kwboot: Fix wrong parameter passed to read()
by Pali Rohár
· Fri Jul 23 11:14:17 2021 +0200
f01adfd
tools: kwbimage: Mark all BootROM structures __packed
by Pali Rohár
· Fri Jul 23 11:14:14 2021 +0200
0e428ee
tools: kwboot: Make kwboot more robust on a38x
by Jon Nettleton
· Mon Aug 13 18:24:38 2018 +0300
ab7e8a1
tools: kwboot: properly quit when read() returns 0
by Willy Tarreau
· Tue Jul 03 12:10:31 2018 -0400
e8f8a7c
tools: kwboot: unbreak terminal-only mode
by Willy Tarreau
· Tue Jul 03 12:10:30 2018 -0400
dc3a921
tools: kwboot: don't adjust destaddr when patching the image
by Chris Packham
· Wed Feb 15 15:34:55 2017 +1300
aa6b9e7
tools: kwboot: patch destaddr only for SoCs with header version 1
by Simon Baatz
· Wed Aug 10 10:15:42 2016 +0200
4d31a84
tools: kwboot: Add xmodem timeout option
by Kevin Smith
· Tue Feb 16 21:28:19 2016 +0000
6c7c1ba
tools: kwboot: Clean up usage text
by Kevin Smith
· Tue Feb 16 21:28:17 2016 +0000
04ec0d3
arm: mvebu: Add runtime detection of UART (xmodem) boot-mode
by Stefan Roese
· Thu Jan 07 14:12:04 2016 +0100
c74165d
tools: kwboot: Add support for UART boot mode patching for Armada XP/38x
by Stefan Roese
· Tue Sep 29 09:19:59 2015 +0200
Next »