Hi Michal,

It turns out that the JTAG chain was interrupted by an FMC card. After removing it, this is what your JTAG commands give me (starting at the point where it gets interesting):

xsdb% dow -data spl/u-boot-spl-dtb.bin 0xfffc0000
100%    0MB   0.2MB/s  00:00
Successfully downloaded <u-boot path>/spl/u-boot-spl-dtb.bin
xsdb% memmap -file spl/u-boot-spl
xsdb% rwr pc 0xfffc0000
xsdb% bpadd -addr &udelay
0
xsdb% Info: Breakpoint 0 status:
   target 9: {Address: 0xfffcc484 Type: Hardware}
xsdb% con -block -timeout 3000
Info: Cortex-A53 #0 (target 9) Running
xsdb% Info: Cortex-A53 #0 (target 9) Stopped at 0xfffcc484 (Breakpoint)
udelay() at lib/time.c: 178
178: couldn't open "<u-boot path>/lib/time.c": no such file or directory
xsdb% bpremove 0
xsdb% dow -data u-boot.itb 0x10000000
100%    1MB   0.2MB/s  00:08
Successfully downloaded <u-boot path>/u-boot.itb
xsdb% con

At this point, there is no more console output.

Question: does this look like what you expect? Why is there a reference to lib/time.c in a binary file, and with an absolute path on top of that? The file isn't there because I only copied the files loaded into the debugger from the u-boot repository (they are on two different computers because xsdb only works on a Windows machine). So, lib/time.c is there on the build machine but not on the xsdb one.

What next?

  András


On 28/04/2020 13:29, Michal Simek wrote:
On 28. 04. 20 13:25, Major A wrote:
Hi Michal,

"ta" returns the same thing whatever I do:

   1  whole scan chain (DR shift through all zeroes)

Any ideas?  SW6 is set to on/on/on/on.  Anything else that needs setting?

not really. I don't have 1.1 version here but you can also try
off/off/off/off. But it should be written in user guide.

Board has jtag via two connectors - via usb (next to uart) or via
standard xilinx jtag 2x7 connector. Try both. I am quite sure that you
need to change something to get one working.

Also use different USB without usb hubs.
But jtag is so simply that it should just work.

Thanks,
Michal

Reply via email to