
On Wednesday 01 June 2022 12:44:01 Stefan Roese wrote:
Hi Pali,
On 01.06.22 12:27, Pali Rohár wrote:
On Friday 06 May 2022 14:44:48 Pali Rohár wrote:
On Friday 06 May 2022 14:35:55 Stefan Roese wrote:
While doing this I noticed though, that kwboot UART booting only worked in roughly 1 out of 2 cases. With no progress after this line:
Sending boot message. Please reboot the target...\
IIRC, this worked more reliable a few weeks ago. Any idea, what might have caused this regression - if I am correct here?
There were changes in handling of bootrom boot message. There is option -s which can change default timeout option. And plus there is option -a which sets this timeout option to AXP value.
Default value is 50 and for AXP default value is 1000.
Maybe it is needed to tune AXP value... Try to call with -s option between 50 and 1000...
Hello Stefan! Have you tried to tune kwboot's -s or -a option for AXP board?
Thanks for getting back on this. I totally forgot about it.
'-a' makes it actually worse. Zero success with 5 tries. '-s 10' worked 5 out of 5 times. So I'll stick with this version I think.
Thanks, Stefan
Ok! So I think that you could change KWBOOT_MSG_RSP_TIMEO_AXP value in tools/kwboot.c to 10 if it works fine for your AXP board. So '-a' option would work better.