All of lore.kernel.org
 help / color / mirror / Atom feed
From: Major A <andras.g.major@gmail.com>
To: u-boot@lists.denx.de
Subject: ZynqMP boot: no messages from SPL other than "Debug uart enabled"
Date: Tue, 28 Apr 2020 15:34:36 +0200	[thread overview]
Message-ID: <1309ea4e-697d-d9f9-a921-ab8a6a9f4965@gmail.com> (raw)
In-Reply-To: <06f7e484-71b5-c374-3636-c62ef730738f@xilinx.com>

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	other threads:[~2020-04-28 13:34 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-11 11:28 ZynqMP boot: no messages from SPL other than "Debug uart enabled" Major A
2020-03-12  8:15 ` Michal Simek
2020-03-12  9:12   ` Major A
2020-03-12 10:32     ` Michal Simek
2020-03-12 11:38       ` Major A
2020-03-12 11:44         ` Michal Simek
2020-03-12 12:01           ` Major A
2020-03-12 12:06             ` Michal Simek
2020-03-12 13:24               ` Major A
2020-03-12 13:31                 ` Michal Simek
2020-03-12 14:19                   ` Major A
2020-03-12 15:22                     ` Michal Simek
2020-04-23  9:02                       ` Major A
2020-04-24 12:14                         ` Michal Simek
2020-04-27 22:00                           ` Major A
2020-04-28  6:42                             ` Michal Simek
2020-04-28  9:29                               ` Major A
2020-04-28  9:33                                 ` Michal Simek
2020-04-28 10:53                                   ` Major A
2020-04-28 11:16                                     ` Michal Simek
2020-04-28 11:25                                       ` Major A
2020-04-28 11:29                                         ` Michal Simek
2020-04-28 13:34                                           ` Major A [this message]
2020-04-28 13:55                                             ` Michal Simek
2020-04-28 14:21                                               ` Major A
     [not found]                                                 ` <3ab17480-431a-e0e3-c2af-e1639a2d07a6@xilinx.com>
     [not found]                                                   ` <6b4c296f-fb91-fd84-f5c8-7b4f542034e4@gmail.com>
2020-04-30 10:20                                                     ` Fwd: " Major A
     [not found]                                                     ` <4f8b4b6a-c97d-38b8-5a74-98bbc916cb3a@xilinx.com>
2020-04-30 11:01                                                       ` Major A
2020-04-30 11:03                                                         ` Michal Simek
2020-04-30 11:10                                                           ` Major A

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1309ea4e-697d-d9f9-a921-ab8a6a9f4965@gmail.com \
    --to=andras.g.major@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.