News:

Attention: For security reasons,please choose a user name *different* from your login name.
Also make sure to choose a secure password and change it regularly.

Main Menu

TE0715-05-21C33-A + TE0705-04 boot from SD card

Started by IPP, August 18, 2023, 03:28:28 PM

Previous topic - Next topic

IPP

Hello,
I'm trying to boot from an SD card on TE0715-05-21C33-A + TE0705-04. Unfortunately, the prebuild binaries do not work. The SC LED on the module flash 5 times. The LED on the module that should stop shining when the FPGA is configured still shining and the console shows only:

--------------------------------------------------------------------------------
Xilinx First Stage Boot Loader (TE modified)
Release 2020.2  Dec 15 2021-16:01:27

If fsbl compiled with debug flag is used the result is:

Xilinx First Stage Boot Loader
Release 2020.2  Aug 16 2023-13:52:07
Devcfg driver initialized
Silicon Version 3.1
Watchdog driver initialized
Boot mode is SD
SD: rc= 0
SD Init Done
Flash Base Address: 0xE0100000
Reboot status register: 0x60400000
Multiboot Register: 0x0000C000
Image Start Address: 0x00000000
Partition Header Offset:0x00000C80
Partition Count: 4
Partition Number: 1
Header Dump
Image Word Len: 0x000297A8
Data Word Len: 0x000297A8
Partition Word Len:0x000297A8
Load Addr: 0x00000000
Exec Addr: 0x00000000
Partition Start: 0x000065D0
Partition Attr: 0x00000020
Partition Checksum Offset: 0x00000000
Section Count: 0x00000001
Checksum: 0xFFF7D0C6
Bitstream
In FsblHookBeforeBitstreamDload function
PCAP:StatusReg = 0x40000A30
PCAP:device ready
PCAP:Clear done
Level Shifter Value = 0xA
Devcfg Status register = 0x40000A30
PCAP:Fabric is Initialized done
PCAP register dump:
PCAP CTRL 0xF8007000: 0x4C00E07F
PCAP LOCK 0xF8007004: 0x0000001A
PCAP CONFIG 0xF8007008: 0x00000508
PCAP ISR 0xF800700C: 0x0802300B
PCAP IMR 0xF8007010: 0xFFFFFFFF
PCAP STATUS 0xF8007014: 0x50000A20
PCAP DMA SRC ADDR 0xF8007018: 0x00100001
PCAP DMA DEST ADDR 0xF800701C: 0xFFFFFFFF
PCAP DMA SRC LEN 0xF8007020: 0x000297A8
PCAP DMA DEST LEN 0xF8007024: 0x000297A8
PCAP ROM SHADOW CTRL 0xF8007028: 0xFFFFFFFF
PCAP MBOOT 0xF800702C: 0x0000C000
PCAP SW ID 0xF8007030: 0x00000000
PCAP UNLOCK 0xF8007034: 0x757BDF0D
PCAP MCTRL 0xF8007080: 0x30800100

DMA Done !
...................................................................................................

The same behavior is for reference design boot_linux and boot_hello_te0715. The SD card do not show any error. Moreover, the bit file is possible to load into FPGA over JTAG form Vivado without any error.
I use petalinux 2020.2 for my builds based on reference design because is is easier to overcome issues in petalinux that are related to a single core CPU.

Any idea how to solve this?

Waldi3141

Hello IPP,

RED LED D3 blinking 5 times is from the old TE0715 cpld firmware. You may want to update to the latest firmware: https://wiki.trenz-electronic.de/display/PD/TE0715+CPLD+Firmware

Can you try to download the latest reference design 2022.2 with config files and copy the prebuilt binaries to sd card and try to boot?
https://shop.trenz-electronic.de/en/Download/?path=Trenz_Electronic/Modules_and_Module_Carriers/4x5/TE0715/Reference_Design/2022.2/test_board

Also consider the Jumper and DIP-Switch settings on the carrier.
https://wiki.trenz-electronic.de/display/PD/TE0705+TRM#TE0705TRM-4-bitDIP-switchS3

best regards

Waldi