
On Friday 01 October 2021 12:43:19 Stefan Roese wrote:
On 01.10.21 12:39, Pali Rohár wrote:
Hello!
On Friday 01 October 2021 12:28:34 Stefan Roese wrote:
First the test on "next" without the 39 patches:
[stefan@ryzen u-boot (next)]$ ./tools/kwboot -p -b u-boot-spl.kwb -t
...
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
...
Seems to okay.
Thanks, Stefan
So something is broken in next branch. I have looked at kwboot and kwbimage code and there is no change in next branch which is not in master branch.
So it looks like that something not related to kwboot broke it in next branch. And seems that git bisect on AXP hw would be required. But I do not own AXP board, so I cannot do it.
I can try to do this here later, if I find the time.
Did you try booting on some other MVEBU SoC (e.g. A38x) using "next" as base?
Now I tested "next" branch (commit 7fde64c004ea) on A38x and it is working fine.
$ ./tools/kwboot -b ./u-boot-spl.kwb -t /dev/ttyUSB0 Sending boot message. Please reboot the target...- Sending boot image... 0 % [......................................................................] 1 % [......................................................................] 2 % [......................................................................] 3 % [......................................................................] 4 % [......................................................................] 5 % [......................................................................] 6 % [......................................................................] 7 % [......................................................................] 8 % [......................................................................] 9 % [......................................................................] 10 % [......................................................................] 11 % [......................................................................] 12 % [....................................................... U-Boot SPL 2021.10-rc5-00392-g7fde64c004ea (Oct 01 2021 - 12:46:16 +0200) High speed PHY - Version: 2.0 MiniPCIe/mSATA card detection... MiniPCIe Detected Device ID 6820 board SerDes lanes topology details: | Lane # | Speed | Type | -------------------------------- | 0 | 5 | PCIe0 | | 1 | 5 | USB3 HOST0 | | 2 | 5 | PCIe1 | | 3 | 5 | USB3 HOST1 | | 4 | 5 | PCIe2 | | 5 | 0 | SGMII2 | -------------------------------- :** Link is Gen1, check the EP capability PCIe, Idx 0: remains Gen1 :** Link is Gen1, check the EP capability PCIe, Idx 1: remains Gen1 :** Link is Gen1, check the EP capability PCIe, Idx 2: remains Gen1 High speed PHY - Ended Successfully mv_ddr: 14.0.0 DDR3 Training Sequence - Switching XBAR Window to FastPath Window mv_ddr: completed successfully Disabling MCU watchdog... disabled Trying to boot from BOOTROM Returning to BootROM (return address 0xffff05c4)... ...............] 13 % [......................................................................] 14 % [......................................................................] 15 % [......................................................................] ... 95 % [......................................................................] 96 % [......................................................................] 97 % [......................................................................] 98 % [......................................................................] 99 % [................] [Type Ctrl-\ + c to quit]
U-Boot 2021.10-rc5-00392-g7fde64c004ea (Oct 01 2021 - 12:46:16 +0200)
SoC: MV88F6820-A0 at 1600 MHz DRAM: 2 GiB (800 MHz, 32-bit, 2T, ECC not enabled) WDT: Started watchdog@20300 with servicing (60s timeout) MMC: mv_sdh: 0 Loading Environment from SPIFlash... SF: Detected s25fl164k with page size 256 Bytes, erase size 4 KiB, total 8 MiB OK Model: Turris Omnia Turris Omnia: RAM size: 2048 MiB Serial Number: 0000000B00007B3C Regdomain set to ** Net: eth0: ethernet@70000, eth1: ethernet@30000, eth2: ethernet@34000 =>