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

Stefan Roese sr at denx.de
Fri Oct 22 10:38:16 CEST 2021


Hi Marek, Hi Pali,

since now all is merged into master, I'm testing on my AXP target
again. Please see below.

On 01.10.21 12:45, Marek Behún wrote:
> On Fri, 1 Oct 2021 12:40:29 +0200
> Stefan Roese <sr at denx.de> wrote:
> 
>> 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
> 
> No ACK from BootROM. It is possible that return_from_bootrom() was not
> called, or failed, somehow in SPL.

I'm not getting this when using master:

[stefan at ryzen u-boot (master)]$ ./tools/kwboot -B 230400 -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
Injecting binary header code for changing baudrate to 230400 Bd
Injecting code for changing baudrate back
Aligning image header to Xmodem block size
Sending boot message. Please reboot the target.../
Waiting 2s and flushing tty
Sending boot image header (90496 bytes)...
   0 % 
[......................................................................]
  10 % 
[......................................................................]
  19 % 
[......................................................................]
  29 % 
[......................................................................]
  39 % 
[......................................................................]
  49 % 
[......................................................................]
  59 % 
[......................................................................]
  69 % 
[......................................................................]
  79 % 
[......................................................................]
  89 % 
[......................................................................]
  99 % [....... 
       ]
Done

U-Boot SPL 2021.10-00815-gf200a4bcecf1-dirty (Oct 22 2021 - 10:33:19 +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)...

Changing baudrate to 230400 Bd
Baudrate was not changed


xmodem: Protocol error

It works with the standard 115k. Any ideas why switching baudrate fails
on AXP?

Thanks,
Stefan


More information about the U-Boot mailing list