Hi Pali,
On 01.10.21 12:09, Pali Rohár wrote:
Hello!
On Friday 01 October 2021 11:58:14 Stefan Roese wrote:
I checked by quickly starting a terminal app and it does not seem that
the CPU did go through a reboot. Nothing on the UART at this stage.
BUT:
The tests I did in this mail were done with your 39 patches applied
on top of "master-kwboot" [1]. Here booting with 115k works as explained
below.
Now I applied the same 39 patches on top of "next" [2]. And here not
even booting with 115k works on my AXP target. It always hangs at this
stage:
So default baudrate 115200 works fine on master+39patches and does not
work on next+39patches? Could you check if it works on next without
applying any patch?
Sure, here you go:
First the test on "next" without the 39 patches:
[stefan@ryzen u-boot (next)]$ ./tools/kwboot -p -b u-boot-spl.kwb -t
/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A1019EGY-if00-port0
Sending boot message. Please reboot the target...|
Sending boot image...
0 %
[......................................................................]
1 %
[......................................................................]
2 %
[......................................................................]
4 %
[......................................................................]
5 %
[......................................................................]
7 %
[......................................................................]
8 %
[......................................................................]
9 %
[......................................................................]
11 %
[......................................................................]
12 %
[......................................................................]
14 % [...
U-Boot SPL 2021.10-rc5-00392-g7fde64c004ea (Oct 01 2021 - 12:27:27 +0200)
High speed PHY - Version: 2.1.5 (COM-PHY-V20)
High speed PHY - Ended Successfully
DDR3 Training Sequence - Ver 5.7.4
DDR3 Training Sequence - Ended Successfully
Trying to boot from BOOTROM
Returning to BootROM (return address 0xffff0aa0)...
+xmodem: Protocol error
Not working!
And now test on "master" without the 39 patches:
[stefan@ryzen u-boot (master)]$ ./tools/kwboot -p -b u-boot-spl.kwb -t
/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A1019EGY-if00-port0
Sending boot message. Please reboot the target...|
Sending boot image...
0 %
[......................................................................]
1 %
[......................................................................]
2 %
[......................................................................]
4 %
[......................................................................]
5 %
[......................................................................]
7 %
[......................................................................]
8 %
[......................................................................]
9 %
[......................................................................]
11 %
[......................................................................]
12 %
[......................................................................]
14 % [...
U-Boot SPL 2021.10-rc5-00012-gbf9fcc20000c (Oct 01 2021 - 12:25:35 +0200)
High speed PHY - Version: 2.1.5 (COM-PHY-V20)
High speed PHY - Ended Successfully
DDR3 Training Sequence - Ver 5.7.4
DDR3 Training Sequence - Ended Successfully
Trying to boot from BOOTROM
Returning to BootROM (return address 0xffff0aa0)...
...................................................................]
15 %
[......................................................................]
16 %
[......................................................................]
18 %
[......................................................................]
19 %
[......................................................................]
21 %
[......................................................................]
22 %
[......................................................................]
23 %
[......................................................................]
25 %
[......................................................................]
26 %
[......................................................................^C
Seems to okay.
Thanks,
Stefan