Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not applicable

JTAG Download Failed

I'm trying to download with USB JTAG to Microzed using the Digilent cable.  When it gets to the linux part it errors.  

Using Petalinux 2015.1


My linux image is 18.6MB so perhaps that is the problem?


petalinux-boot --jtag --prebuilt 3 -v
WARNING: Will not program bitstream on the target. If you want to program bitstream,
WARNING: please run petalinux-package --prebuilt to put the bitstream to the prebuitl directory,
WARNING: or use --fpga --bitstream option to specify a bitstream.
INFO: Append dtb - /home/user1/Bsp/pre-built/linux/images/system.dtb and other options to boot zImage
XSDB Script:
INFO: Launching XSDB for file download and boot.
INFO: This may take a few minutes, depending on the size of your image.

targets -set -nocase -filter {name =~ "arm*#0"}
source /home/user1/Bsp/subsystems/linux/hw-description/ps7_init.tcl; ps7_post_config
catch {stop}
set mctrlval [string trim [lindex [split [mrd 0xF8007080] :] 1]]
puts "mctrlval=$mctrlval"
puts stderr "INFO: Downloading ELF file to the target."
dow "/home/user1/Bsp/pre-built/linux/images/zynq_fsbl.elf"
after 2000
after 3000; stop
targets -set -nocase -filter {name =~ "arm*#0"}
puts stderr "INFO: Downloading ELF file to the target."
dow "/home/user1/Bsp/pre-built/linux/images/u-boot.elf"
after 2000
after 2000; stop
targets -set -nocase -filter {name =~ "arm*#0"}
rst -processor
dow -data "/home/user1/Bsp/pre-built/linux/images/system.dtb" 0x02408000
after 2000
rwr r2 0x02408000
targets -set -nocase -filter {name =~ "arm*#0"}
dow -data "/home/user1/Bsp/pre-built/linux/images/zImage" 0x00008000
after 2000
rwr pc 0x00008000
after 5000
rlwrap: warning: your $TERM is 'xterm' but rlwrap couldn't find it in the terminfo database. Expect some problems.: Inappropriate ioctl for device
Got $XILINX_SDK: /home/user1/Vivado/SDK/2015.2
attempting to launch hw_server                                                                                                 

****** Xilinx hw_server v2015.2
  **** Build date : Jun 26 2015-16:42:45
    ** Copyright 1986-1999, 2001-2015 Xilinx, Inc. All Rights Reserved.

INFO: hw_server application started
INFO: Use Ctrl-C to exit hw_server application

INFO: To connect to this hw_server instance use url: TCP:

INFO: Downloading ELF file to the target.
Downloading Program -- /home/user1/Bsp/pre-built/linux/images/zynq_fsbl.elf
    section, .text: 0x00000000 - 0x0000cc9b
    section, .handoff: 0x0000cc9c - 0x0000cce7
    section, .init: 0x0000cce8 - 0x0000ccff
    section, .fini: 0x0000cd00 - 0x0000cd17
    section, .rodata: 0x0000cd18 - 0x0000d073
    section, .data: 0x0000d078 - 0x0000fe83
    section, .mmu_tbl: 0x00010000 - 0x00013fff
    section, .init_array: 0x00014000 - 0x00014007
    section, .fini_array: 0x00014008 - 0x0001400b
    section, .rsa_ac: 0x0001400c - 0x0001503f
    section, .bss: 0x00015040 - 0x000168a3
    section, .heap: 0x000168a4 - 0x000188af
    section, .stack: 0xffff0000 - 0xffffd3ff
100%    0MB   infMB/s  00:00    
Setting PC to Program Start Address 0x00000000
Successfully downloaded /home/user1/Bsp/pre-built/linux/images/zynq_fsbl.elf
INFO: Downloading ELF file to the target.
Downloading Program -- /home/user1/Bsp/pre-built/linux/images/u-boot.elf
    section, .text: 0x00100000 - 0x00138433
    section, .rodata: 0x00138434 - 0x001464c7
    section, .hash: 0x001464c8 - 0x001464f3
    section, .data: 0x001464f4 - 0x001481ff
    section, .got.plt: 0x00148200 - 0x0014820b
    section, .u_boot_list: 0x0014820c - 0x001489db
    section, .rel.dyn: 0x001489dc - 0x001507fb
    section, .bss_start: 0x001489dc - 0x001489db
    section, .bss: 0x001489dc - 0x0019b1af
    section, .bss_end: 0x0019b1b0 - 0x0019b1af
100%    0MB   0.6MB/s  00:00    
Setting PC to Program Start Address 0x00100000
Successfully downloaded /home/user1/Bsp/pre-built/linux/images/u-boot.elf
100%    0MB   infMB/s  00:00    
Successfully downloaded /home/user1/Bsp/pre-built/linux/images/system.dtb
aborting, 1 pending requests...  
Failed to download /home/user1/Bsp/pre-built/linux/images/zImage
Error in startup script:
OCM is not enabled at 0x00030000. Invalid address
    invoked from within
"::tcf::eval -progress {
        apply {{info} {
        switch -- [lindex $info 0] {
            "info" {
            puts -nonewline "\r[lindex $info 1]"
            "warning" {
            puts "\n[lindex $info 1]"
            "data" {
            puts -nonewline "\r[lindex $info 1] of [lindex $info 2] complete"
            "done" {
            puts "\n[lindex $info 1]"
        flush stdout
        }}} {::tcf::cache_enter tcfchan#0 {tcf_cache_eval {download_cache_client ::tcfclient#0::arg}}}"
    (procedure "::tcf::cache_eval_with_progress" line 2)
    invoked from within
"::tcf::cache_eval_with_progress $params(chan) [list download_cache_client $argvar] {
        apply {{info} {
        switch -- [lindex $info 0] {
            "info" ..."
    (procedure "dow" line 39)
    invoked from within
"dow -data "/home/user1/Bsp/pre-built/linux/images/zImage" 0x00008000"
    (file "/tmp/tmp.lCRGsuw1CP" line 25)

0 Kudos
0 Replies