All of lore.kernel.org
 help / color / mirror / Atom feed
* kwboot: Testing latest kwboot with Kirkwood SoC boards
@ 2021-11-05  6:27 Tony Dinh
  2021-11-05  8:38 ` Pali Rohár
  0 siblings, 1 reply; 43+ messages in thread
From: Tony Dinh @ 2021-11-05  6:27 UTC (permalink / raw)
  To: Marek Behún, Pali Rohár
  Cc: Stefan Roese, Tom Rini, U-Boot Mailing List

Hi Marek and Pali,

First off all, thanks for your hughe work on this. I have a few Armada
38x boards that I had quite a hard time running kwboot in the past.
Hopefully, I will have more luck with the new kwboot.

Here is a problem I've found running kwboot on the Zyxel NSA310S NAS
(Kirkwood 6702). The target is a Pogoplug V4 (Kirkwood 6192 SoC). Same
behavior was observed running kwboot on this Pogoplug V4 to boot the
NSA310S target.

- kwboot build version

./kwboot-2021/kwboot
kwboot version 2022.01-rc1-00034-gbc18582a14

- kwboot session log

./kwboot-2021/kwboot -t -p -B 115200 /dev/ttyUSB0 -b
uboot.2021.07-tld-1.pogo_v4.mtd0.kwb
Patching image boot signature to UART
Aligning image header to Xmodem block size
Sending boot message. Please reboot the target...\
Waiting 2s and flushing tty
Sending boot image header (480 bytes)...
 26 % [....                                                                  ]
Done

U-Boot 2021.04-tld-1 (Jun 10 2021 - 20:46:14 -0700)
Pogoplug V4

SoC:   Kirkwood 88F6192_A1
DRAM:  128 MiB
NAND:  128 MiB
MMC:
Loading Environment from NAND... *** Warning - bad CRC, using default
environment
In:    serial
Out:   serial
Err:   serial
Net:   eth0: ethernet-controller@72000
88E1116 Initialized on ethernet-controller@72000
Hit any key to stop autoboot:  9
 8
 7

As you can see above, it looks like the u-boot header transfer was
completed but the u-boot image transfer did not start. Seems like
BootROM did not recognize the header is UART. The Pogoplug V4
continued to boot with the image on NAND (U-Boot 2021.04-tld-1). So
kwboot_xm_finish() was never executed. At this point we lost the
terminal, and could not interrupt the countdown. The system continued
booting and at one point, serial console output stopped with an error
message that indicated kwboot thinks it is still in xmodem mode (but
the BootROM actually started the NAND image).

xmodem: Connection timed out

Please let me know if there is any idea that you want me to try.

Thanks,
Tony

^ permalink raw reply	[flat|nested] 43+ messages in thread

end of thread, other threads:[~2021-12-14 22:41 UTC | newest]

Thread overview: 43+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-05  6:27 kwboot: Testing latest kwboot with Kirkwood SoC boards Tony Dinh
2021-11-05  8:38 ` Pali Rohár
2021-11-05 10:19   ` Pali Rohár
2021-11-05 21:25     ` Tony Dinh
2021-11-05 21:38       ` Pali Rohár
2021-11-05 22:07         ` Tony Dinh
2021-11-05 22:15           ` Pali Rohár
2021-11-05 23:36             ` Tony Dinh
2021-11-06  0:09               ` Pali Rohár
2021-11-06  3:50                 ` Tony Dinh
2021-11-06 10:57                   ` Pali Rohár
2021-11-06 23:26                     ` Tony Dinh
2021-11-07 20:56                       ` Tony Dinh
2021-11-07 23:45                         ` Testing pci_mvebu.c with Kirkwood SoCs Pali Rohár
2021-11-08  0:58                           ` Tony Dinh
2021-11-08  2:08                             ` Tony Dinh
2021-11-08 11:11                               ` Pali Rohár
2021-11-08 20:54                                 ` Tony Dinh
2021-11-08 22:02                                   ` Pali Rohár
2021-11-08 22:48                                     ` Tony Dinh
2021-11-08 23:04                                       ` Marek Behún
2021-11-09  6:34                                         ` Tony Dinh
2021-11-09 15:08                                           ` Pali Rohár
2021-11-09 22:51                                             ` Tony Dinh
2021-11-09 23:05                                               ` Pali Rohár
2021-11-10  3:17                                                 ` Tony Dinh
2021-11-11  0:04                                                   ` Tony Dinh
2021-11-11 21:10                                                     ` Pali Rohár
2021-11-12 14:36                                                       ` Stefan Roese
2021-11-12 15:06                                                         ` Pali Rohár
2021-11-12 21:46                                                           ` Tony Dinh
2021-11-12 22:35                                                             ` Tony Dinh
2021-11-12 22:42                                                             ` Pali Rohár
2021-11-12 23:24                                                               ` Tony Dinh
2021-11-16 22:26                                                                 ` Tony Dinh
2021-11-16 22:37                                                                   ` Pali Rohár
2021-11-16 23:02                                                                     ` Tony Dinh
2021-12-11 15:39                                                                       ` Pali Rohár
2021-12-11 21:24                                                                         ` Tony Dinh
2021-12-14 14:33                                                                           ` Pali Rohár
2021-12-14 22:36                                                                             ` Tony Dinh
2021-12-14 22:40                                                                               ` Pali Rohár
2021-11-09 15:12                                       ` Pali Rohár

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.