Hi Pali,

On 3/2/22 11:49, Pali Rohár wrote:
This patch series fixes sending boot and debug patterns by doing it in
separate thread. Entering BootROM debug mode via '-d' option is now more
stable and working fine on Armada 385. There is also support for backspace
key and updated documentation.

Stefan and Tony, could you test this patch series on more Marvell boards
which you have? Specially if '-d' option is working too.

I've never used '-d' before. Seems to work though on my Armada XP
board:

$ ./tools/kwboot -B 115200 -t /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A1019EGY-if00-port0 -d
kwboot version 2022.04-rc3-01493-g756122ad25a9
Sending debug message. Please reboot the target...-
Clearing input buffer...
[Type Ctrl-\ + c to quit]

>
>help
h/? - print this help screen
r <0xXXXXXXXX> - read memory address 0xXXXXXXXX
w <0xXXXXXXXX> <0xYYYYYYYY> - write 0xYYYYYYYY to address 0xXXXXXXXX
j <0xXXXXXXXX> - jump to address 0xXXXXXXXX
x <X> - select SAR boot source X and restart

Also UART booting still works.

Thanks,
Stefan

*** BLURB HERE ***

Pali Rohár (10):
   tools: kwboot: Check for return value of kwboot_tty_send() and
     tcflush()
   tools: kwboot: Remove msg_req_delay
   tools: kwboot: Cleanup bootmsg and debugmsg variables
   tools: kwboot: Use separate thread for sending boot message pattern
   tools: kwboot: Fix sending and processing debug message pattern (-d
     option)
   tools: kwboot: Add support for backspace key in mini terminal
   tools: kwboot: Update usage
   tools: kwboot: Update manpage
   tools: kwboot: Update doc about Avanta
   tools: kwboot: Update references with public links

  doc/kwboot.1   | 105 ++++++++++-
  tools/Makefile |   3 +
  tools/kwboot.c | 462 ++++++++++++++++++++++++++++++++++++++++---------
  3 files changed, 483 insertions(+), 87 deletions(-)


Viele Grüße,
Stefan Roese

--
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: s...@denx.de

Reply via email to