Hi John,
I think the problem was the longer path, i tried again today directly from the original folder and it worked too
for the QSPI i just figured that i wasn't enabling the jtag for the module but just using the one of the carrier.. it recognize my device i just have this warning :
CRITICAL WARNING: [Labtools 27-3421] xczu3_0 PL Power Status OFF, cannot connect PL TAP. Check POR_B signal.
I wonder if this is not an issue because after with the command: TE::pr_program_flash_binfile -swapp u-boot
i get this log :
Start Flash Programming with BIN File
Used file:/home/petalinux/test_board/prebuilt/boot_images/3eg_1e_2gb/u-boot/Boot.bin
INFO: [TE_PR-41] Start program flash:
Run "exec program_flash -f BOOT.bin -fsbl /home/petalinux/test_board/prebuilt/software/3eg_1e_2gb/zynqmp_fsbl_flash.elf -flash_type qspi-x8-dual_parallel" in /home/petalinux/test_board/prebuilt/boot_images/3eg_1e_2gb/u-boot
Please Wait..
------
INFO: [TE_EXT-5] Command results from program flash "exec program_flash -f BOOT.bin -fsbl /home/petalinux/test_board/prebuilt/software/3eg_1e_2gb/zynqmp_fsbl_flash.elf -flash_type qspi-x8-dual_parallel":
****** Xilinx Program Flash
****** Program Flash v2018.3 (64-bit)
**** SW Build 2405991 on Thu Dec 6 23:36:41 MST 2018
** Copyright 1986-2018 Xilinx, Inc. All Rights Reserved.
Connected to hw_server @ TCP:localhost:3121
Available targets and devices:
Target 0 : jsn-JTAG-ONB4-25163300273AA
Device 0: jsn-JTAG-ONB4-25163300273AA-14710093-0
Retrieving Flash info...
Initialization done, programming the memory
===== mrd->addr=0xFF5E0204, data=0x00000555 =====
BOOT_MODE REG = 0x0555
WARNING: [Xicom 50-100] The current boot mode is SD1.
If flash programming fails, configure device for JTAG boot mode and try again.
Downloading FSBL...
Running FSBL...
Finished running FSBL.
U-Boot 2018.01-00073-g63efa8c-dirty (Oct 04 2018 - 08:27:12 -0600)
Model: ZynqMP MINI QSPI
Board: Xilinx ZynqMP
DRAM: 256 KiB
EL Level: EL3
Using default environment
In: dcc
Out: dcc
Err: dcc
ZynqMP> sf probe 0 0 0
SF: Detected n25q512a with page size 512 Bytes, erase size 128 KiB, total 128 MiB
ZynqMP> Sector size = 131072.
f probe 0 0 0
Performing Erase Operation...
sf erase 0 2C0000
SF: 2883584 bytes @ 0x0 Erased: OK
ZynqMP> Erase Operation successful.
INFO: [Xicom 50-44] Elapsed time = 7 sec.
Performing Program Operation...
0%...sf write FFFC0000 0 20000
device 0 offset 0x0, size 0x20000
SF: 131072 bytes @ 0x0 Written: OK
ZynqMP> sf write FFFC0000 20000 20000
device 0 offset 0x20000, size 0x20000
SF: 131072 bytes @ 0x20000 Written: OK
ZynqMP> sf write FFFC0000 40000 20000
device 0 offset 0x40000, size 0x20000
SF: 131072 bytes @ 0x40000 Written: OK
ZynqMP> sf write FFFC0000 60000 20000
device 0 offset 0x60000, size 0x20000
SF: 131072 bytes @ 0x60000 Written: OK
ZynqMP> sf write FFFC0000 80000 20000
device 0 offset 0x80000, size 0x20000
SF: 131072 bytes @ 0x80000 Written: OK
ZynqMP> sf write FFFC0000 A0000 20000
device 0 offset 0xa0000, size 0x20000
SF: 131072 bytes @ 0xa0000 Written: OK
ZynqMP> sf write FFFC0000 C0000 20000
device 0 offset 0xc0000, size 0x20000
SF: 131072 bytes @ 0xc0000 Written: OK
ZynqMP> sf write FFFC0000 E0000 20000
device 0 offset 0xe0000, size 0x20000
SF: 131072 bytes @ 0xe0000 Written: OK
ZynqMP> sf write FFFC0000 100000 20000
device 0 offset 0x100000, size 0x20000
SF: 131072 bytes @ 0x100000 Written: OK
ZynqMP> sf write FFFC0000 120000 20000
device 0 offset 0x120000, size 0x20000
SF: 131072 bytes @ 0x120000 Written: OK
ZynqMP> sf write FFFC0000 140000 20000
device 0 offset 0x140000, size 0x20000
SF: 131072 bytes @ 0x140000 Written: OK
ZynqMP> sf write FFFC0000 160000 20000
device 0 offset 0x160000, size 0x20000
SF: 131072 bytes @ 0x160000 Written: OK
ZynqMP> sf write FFFC0000 180000 20000
device 0 offset 0x180000, size 0x20000
SF: 131072 bytes @ 0x180000 Written: OK
ZynqMP> sf write FFFC0000 1A0000 20000
device 0 offset 0x1a0000, size 0x20000
SF: 131072 bytes @ 0x1a0000 Written: OK
ZynqMP> sf write FFFC0000 1C0000 20000
device 0 offset 0x1c0000, size 0x20000
SF: 131072 bytes @ 0x1c0000 Written: OK
ZynqMP> sf write FFFC0000 1E0000 20000
device 0 offset 0x1e0000, size 0x20000
SF: 131072 bytes @ 0x1e0000 Written: OK
ZynqMP> sf write FFFC0000 200000 20000
device 0 offset 0x200000, size 0x20000
SF: 131072 bytes @ 0x200000 Written: OK
ZynqMP> 80%...sf write FFFC0000 220000 20000
device 0 offset 0x220000, size 0x20000
SF: 131072 bytes @ 0x220000 Written: OK
ZynqMP> sf write FFFC0000 240000 20000
device 0 offset 0x240000, size 0x20000
SF: 131072 bytes @ 0x240000 Written: OK
ZynqMP> 90%...sf write FFFC0000 260000 20000
device 0 offset 0x260000, size 0x20000
SF: 131072 bytes @ 0x260000 Written: OK
ZynqMP> sf write FFFC0000 280000 20000
device 0 offset 0x280000, size 0x20000
SF: 131072 bytes @ 0x280000 Written: OK
ZynqMP> 100%
sf write FFFC0000 2A0000 18208
device 0 offset 0x2a0000, size 0x18208
SF: 98824 bytes @ 0x2a0000 Written: OK
ZynqMP> Program Operation successful.
INFO: [Xicom 50-44] Elapsed time = 37 sec.
Flash Operation Successful
------
INFO: [Labtoolstcl 44-664] Will wait up to 180 seconds for booting to complete.
INFO: [Labtools 27-2278] Zynq reset successful
INFO: [TE_PR-1] Reboot Device is done (Note successfully software reboot depends also on devices design).
CRITICAL WARNING: [Labtools 27-3421] xczu3_0 PL Power Status OFF, cannot connect PL TAP. Check POR_B signal.
INFO: [Labtools 27-1435] Device xczu3 (JTAG device index = 0) is not programmed (DONE status = 0).
INFO: [TE_PR-2] Refresh Device is done.
INFO: [TE_PR-56] Programming elapsed time: 68 seconds
Flash Programming with BIN File finished
/home/petalinux/test_board/prebuilt/boot_images/3eg_1e_2gb/u-boot/Boot.bin
But if use the sdcard with image.ub nothing happens.
i tried without opening hardware manager and i get a similar log: (same command)
Start Flash Programming with BIN File
Used file:/home/petalinux/test_board/prebuilt/boot_images/3eg_1e_2gb/u-boot/Boot.bin
INFO: [TE_PR-41] Start program flash:
Run "exec program_flash -f BOOT.bin -fsbl /home/petalinux/test_board/prebuilt/software/3eg_1e_2gb/zynqmp_fsbl_flash.elf -flash_type qspi-x8-dual_parallel" in /home/petalinux/test_board/prebuilt/boot_images/3eg_1e_2gb/u-boot
Please Wait..
------
INFO: [TE_EXT-5] Command results from program flash "exec program_flash -f BOOT.bin -fsbl /home/petalinux/test_board/prebuilt/software/3eg_1e_2gb/zynqmp_fsbl_flash.elf -flash_type qspi-x8-dual_parallel":
****** Xilinx Program Flash
****** Program Flash v2018.3 (64-bit)
**** SW Build 2405991 on Thu Dec 6 23:36:41 MST 2018
** Copyright 1986-2018 Xilinx, Inc. All Rights Reserved.
Connected to hw_server @ TCP:localhost:3121
Available targets and devices:
Target 0 : jsn-JTAG-ONB4-25163300273AA
Device 0: jsn-JTAG-ONB4-25163300273AA-14710093-0
Retrieving Flash info...
Initialization done, programming the memory
===== mrd->addr=0xFF5E0204, data=0x00000555 =====
BOOT_MODE REG = 0x0555
WARNING: [Xicom 50-100] The current boot mode is SD1.
If flash programming fails, configure device for JTAG boot mode and try again.
Downloading FSBL...
Running FSBL...
Finished running FSBL.
U-Boot 2018.01-00073-g63efa8c-dirty (Oct 04 2018 - 08:27:12 -0600)
Model: ZynqMP MINI QSPI
Board: Xilinx ZynqMP
DRAM: 256 KiB
EL Level: EL3
Using default environment
In: dcc
Out: dcc
Err: dcc
ZynqMP> sf probe 0 0 0
SF: Detected n25q512a with page size 512 Bytes, erase size 128 KiB, total 128 MiB
ZynqMP> Sector size = 131072.
f probe 0 0 0
Performing Erase Operation...
sf erase 0 2C0000
SF: 2883584 bytes @ 0x0 Erased: OK
ZynqMP> Erase Operation successful.
INFO: [Xicom 50-44] Elapsed time = 7 sec.
Performing Program Operation...
0%...sf write FFFC0000 0 20000
device 0 offset 0x0, size 0x20000
SF: 131072 bytes @ 0x0 Written: OK
ZynqMP> sf write FFFC0000 20000 20000
device 0 offset 0x20000, size 0x20000
SF: 131072 bytes @ 0x20000 Written: OK
ZynqMP> sf write FFFC0000 40000 20000
device 0 offset 0x40000, size 0x20000
SF: 131072 bytes @ 0x40000 Written: OK
ZynqMP> sf write FFFC0000 60000 20000
device 0 offset 0x60000, size 0x20000
SF: 131072 bytes @ 0x60000 Written: OK
ZynqMP> sf write FFFC0000 80000 20000
device 0 offset 0x80000, size 0x20000
SF: 131072 bytes @ 0x80000 Written: OK
ZynqMP> sf write FFFC0000 A0000 20000
device 0 offset 0xa0000, size 0x20000
SF: 131072 bytes @ 0xa0000 Written: OK
ZynqMP> sf write FFFC0000 C0000 20000
device 0 offset 0xc0000, size 0x20000
SF: 131072 bytes @ 0xc0000 Written: OK
ZynqMP> sf write FFFC0000 E0000 20000
device 0 offset 0xe0000, size 0x20000
SF: 131072 bytes @ 0xe0000 Written: OK
ZynqMP> sf write FFFC0000 100000 20000
device 0 offset 0x100000, size 0x20000
SF: 131072 bytes @ 0x100000 Written: OK
ZynqMP> sf write FFFC0000 120000 20000
device 0 offset 0x120000, size 0x20000
SF: 131072 bytes @ 0x120000 Written: OK
ZynqMP> sf write FFFC0000 140000 20000
device 0 offset 0x140000, size 0x20000
SF: 131072 bytes @ 0x140000 Written: OK
ZynqMP> sf write FFFC0000 160000 20000
device 0 offset 0x160000, size 0x20000
SF: 131072 bytes @ 0x160000 Written: OK
ZynqMP> sf write FFFC0000 180000 20000
device 0 offset 0x180000, size 0x20000
SF: 131072 bytes @ 0x180000 Written: OK
ZynqMP> sf write FFFC0000 1A0000 20000
device 0 offset 0x1a0000, size 0x20000
SF: 131072 bytes @ 0x1a0000 Written: OK
ZynqMP> sf write FFFC0000 1C0000 20000
device 0 offset 0x1c0000, size 0x20000
SF: 131072 bytes @ 0x1c0000 Written: OK
ZynqMP> sf write FFFC0000 1E0000 20000
device 0 offset 0x1e0000, size 0x20000
SF: 131072 bytes @ 0x1e0000 Written: OK
ZynqMP> sf write FFFC0000 200000 20000
device 0 offset 0x200000, size 0x20000
SF: 131072 bytes @ 0x200000 Written: OK
ZynqMP> 80%...sf write FFFC0000 220000 20000
device 0 offset 0x220000, size 0x20000
SF: 131072 bytes @ 0x220000 Written: OK
ZynqMP> sf write FFFC0000 240000 20000
device 0 offset 0x240000, size 0x20000
SF: 131072 bytes @ 0x240000 Written: OK
ZynqMP> 90%...sf write FFFC0000 260000 20000
device 0 offset 0x260000, size 0x20000
SF: 131072 bytes @ 0x260000 Written: OK
ZynqMP> sf write FFFC0000 280000 20000
device 0 offset 0x280000, size 0x20000
SF: 131072 bytes @ 0x280000 Written: OK
ZynqMP> 100%
sf write FFFC0000 2A0000 18208
device 0 offset 0x2a0000, size 0x18208
SF: 98824 bytes @ 0x2a0000 Written: OK
ZynqMP> Program Operation successful.
INFO: [Xicom 50-44] Elapsed time = 37 sec.
Flash Operation Successful
------
INFO: [Labtools 27-2285] Connecting to hw_server url TCP:localhost:3121
INFO: [Labtoolstcl 44-466] Opening hw_target localhost:3121/xilinx_tcf/Digilent/25163300273AA
INFO: [Labtoolstcl 44-664] Will wait up to 180 seconds for booting to complete.
WARNING: [Xicom 50-184] Defaulting to hardware boot mode: SD1.
INFO: [Labtools 27-2278] Zynq reset successful
INFO: [TE_PR-1] Reboot Device is done (Note successfully software reboot depends also on devices design).
INFO: [Labtools 27-1435] Device xczu3 (JTAG device index = 0) is not programmed (DONE status = 0).
create_hw_cfgmem -hw_device [get_hw_devices xczu3_0] -mem_dev [lindex [get_cfgmem_parts {mt25ql256-qspi-x8-dual_parallel}] 0]
INFO: [TE_PR-2] Refresh Device is done.
INFO: [TE_PR-56] Programming elapsed time: 71 seconds
Flash Programming with BIN File finished
/home/petalinux/test_board/prebuilt/boot_images/3eg_1e_2gb/u-boot/Boot.bin
And same result(none) if i use the sdcard with image.ub
for now it is not really a big issue because we would like to use the boot with SD card and it works but in case for later.
Thank you for all the help
best regards
Sarah