1
Trenz Electronic FPGA Modules / TE0820 Flash eMMC over JTAG
« Last post by pema on Today at 04:37:46 PM »Hi there,
I would like to flash the eMMC flash on the TE0820 over JTAG. I already modified my kit so that the boot_mode pins can be changed to JTAG and eMMC bootmodes. Currently is booting over JTAG.
Correct me if I am wrong but isn't it the eMMC @0xFF17 0000 ? and SD card @ 0xFF16 0000 ?
Because when it enters u-boot it selects memory at ff160000 for emmc flashing
The process gets stuck at 0%
Output from program_flash (hw_server running on a parallel terminal)
Here the output from the serial console
I would like to flash the eMMC flash on the TE0820 over JTAG. I already modified my kit so that the boot_mode pins can be changed to JTAG and eMMC bootmodes. Currently is booting over JTAG.
Correct me if I am wrong but isn't it the eMMC @0xFF17 0000 ? and SD card @ 0xFF16 0000 ?
Because when it enters u-boot it selects memory at ff160000 for emmc flashing
Code: [Select]
sdhci@ff160000: 0
ZynqMP> mmc dev 0 0
switch to partitions #0, OK
The process gets stuck at 0%
Code: [Select]
ZynqMP> 0%...
Any ideas what might be ? I would appreciate any help.Output from program_flash (hw_server running on a parallel terminal)
Code: [Select]
$ program_flash -f BOOT.BIN -fsbl zynqmp_fsbl.elf -flash_type emmc -emmc_partition_size large -blank_check -verify -target_id 3 -frequency 15000000 -url tcp:localhost:3121
****** Xilinx Program Flash
****** Program Flash v (64-bit)
**** SW Build (by xbuild) on 2022-10-05-18:51:07
** Copyright 1986-2022 Xilinx, Inc. All Rights Reserved.
Connected to hw_server @ tcp:localhost:3121
Supported Frequency list
125000 250000 500000 1000000 2000000 3000000 3750000 5000000 6000000 7500000 10000000 15000000 30000000
Retrieving Flash info...
Initialization done
Using default mini u-boot image file - ./55457_zynqmp_emmc.bin.50Mhz
===== mrd->addr=0xFF5E0204, data=0x00000000 =====
BOOT_MODE REG = 0x0000
Downloading FSBL...
Running FSBL...
===== mrd->addr=0xFFD80044, data=0x00000000 =====
===== mrd->addr=0xFFD80044, data=0x00000000 =====
===== mrd->addr=0xFFD80044, data=0x00000000 =====
===== mrd->addr=0xFFD80044, data=0x00000002 =====
===== mrd->addr=0xFFD80044, data=0x00000003 =====
Finished running FSBL.
===== mwr->addr=0xFF18031C, data=0x64406440 =====
===== mwr->addr=0xFF180314, data=0x01150000 =====
===== mwr->addr=0xFF180318, data=0x00450043 =====
NOTICE: ATF running on XCZU3EG/silicon v4/RTL5.1 at 0xfffea000
NOTICE: BL31: Secure code at 0x60000000
NOTICE: BL31: Non secure code at 0x10000
NOTICE: BL31: v1.3(release):
NOTICE: BL31: Built : 10:38:42, Feb 1 2017
U-Boot 2022.01-00146-g0526f91 (Jul 27 2022 - 03:13:13 -0600)
Model: ZynqMP MINI EMMC0
Board: Xilinx ZynqMP
DRAM: 512 MiB
EL Level: EL2
MMC: sdhci@ff160000: 0
Loading Environment from <NULL>... OK
In: dcc
Out: dcc
Err: dcc
ZynqMP> mmc list
sdhci@ff160000: 0
ZynqMP> mmc dev 0 0
switch to partitions #0, OK
mmc0(part 0) is current device
ZynqMP> mmc list
sdhci@ff160000: 0 (eMMC)
ZynqMP> mmc dev 0 0
switch to partitions #0, OK
mmc0(part 0) is current device
ZynqMP> Performing Erase Operation...
mmc dev 0 0
switch to partitions #0, OK
mmc0(part 0) is current device
ZynqMP> 0%...
Here the output from the serial console
Code: [Select]
TE0820 TE_XFsbl_HookPsuInit_Custom
Configure PLL: SI5338
Si5338 Init Registers Write.
Si5338 Init Complete
PLL Status Register 218:0x8
USB Reset Complete
ETH Reset Complete
------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Xilinx Zynq MP First Stage ot Loader (TE modified)
Release 2021.2 May 26 2023 - 150:09
Device Name: XCZU3CG
MultiBootOffset: 0x0
Reset Mode : System Reset
Platform: Silicon (4.0), Cluster ID 0x800000
Running on A53-0 (64-bit) Processor, Device Name: XCZU3C
--------------------------------------------------------------------------------
TE0820 TE_XFsbl_BoardInit_Custom
------------------------------------------------------------------------------
Processor Initialization Done
================= In Ste 2 ============
In JTAG Boot Mode
================= In Ste 4 ============
PMU-FW is not running, certain applications may not be supported.
Protection configuration appliedExit from FSBL