[PATCH u-boot-marvell v3 00/39] kwboot higher baudrate

Stefan Roese sr at denx.de
Fri Oct 1 12:40:29 CEST 2021


On 01.10.21 12:36, Marek Behún wrote:
> On Fri, 1 Oct 2021 12:09:04 +0200
> Pali Rohár <pali at kernel.org> 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?
> 
> This seems as if the ACK was not sent by the BootROM.
> 
> Stefan, could you apply the patch below, recompile and then send the output again?

Sure. This is on top of next with the 39 patches:

[stefan at ryzen u-boot-marvell (next)]$ ./tools/kwboot -p -b 
u-boot-spl.kwb -t 
/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A1019EGY-if00-port0
Patching image boot signature to UART
Sending boot message. Please reboot the target.../
Waiting 2s and flushing tty
Sending boot image header (90112 bytes)...
   0 % 
[......................................................................]
  10 % 
[......................................................................]
  20 % 
[......................................................................]
  29 % 
[......................................................................]
  39 % 
[......................................................................]
  49 % 
[......................................................................]
  59 % 
[......................................................................]
  69 % 
[......................................................................]
  79 % 
[......................................................................]
  89 % 
[......................................................................]
  99 % [.... 
       ]
Done

U-Boot SPL 2021.10-rc5-00431-g6c96332441cf-dirty (Oct 01 2021 - 12:38:55 
+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)...
rc=-1 errno=110 allow_non_xm=1 *non_xm_print=1


xmodem: Connection timed out

Thanks,
Stefan


More information about the U-Boot mailing list