AnsweredAssumed Answered

Custom board booting with u-boot failed

Question asked by Quamstar on Jul 27, 2018
Latest reply on Aug 3, 2018 by Quamstar

Hi,

 

we have developed our own hardware, which is similar to the ZC702 with the FMCOMMS5-EZB. We have removed and added some interfaces, but basically the design/architecture is the same. Obviously the PL and the XDC files have been modified, since we are not having the same schematic. Nevertheless, we have some issue bringing up the board.

 

We were able to build and execute the FSBL from SDK and also running some no-os applications (hello world, memery test etc.). Now we are trying to start the linux os system. Unfortunalely, we have some issues with u-boot, which seems not to be executed. We tried to use JTAG boot mode and SD boot mode. Here is the debug response from UART:

 

Xilinx First Stage Boot Loader

Release 2016.2<9>Jul 26 2018-12:11:32

Devcfg driver initialized

Silicon Version 3.1

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: 3

Partition Number: 1

Header Dump

Image Word Len: 0x0009B120

Data Word Len: 0x0009B120

Partition Word Len:0x0009B120

Load Addr: 0x00000000

Exec Addr: 0x00000000

Partition Start: 0x000075D0

Partition Attr: 0x00000020

Partition Checksum Offset: 0x00000000

Section Count: 0x00000001

Checksum: 0xFFE2745E

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: 0x0802000B

PCAP IMR 0xF8007010: 0xFFFFFFFF

PCAP STATUS 0xF8007014: 0x00002A30

PCAP DMA SRC ADDR 0xF8007018: 0x00100001

PCAP DMA DEST ADDR 0xF800701C: 0xFFFFFFFF

PCAP DMA SRC LEN 0xF8007020: 0x0009B120

PCAP DMA DEST LEN 0xF8007024: 0x0009B120

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 !

...................................................................................................

FPGA Done !


n FsblHookAfterBitstreamDload function

Partition Number: 2

Header Dump

Image Word Len: 0x00020E2E

Data Word Len: 0x00020E2E

Partition Word Len:0x00020E2E

Load Addr: 0x04000000

Exec Addr: 0x04000000

Partition Start: 0x000A26F0

Partition Attr: 0x00000010

Partition Checksum Offset: 0x00000000

Section Count: 0x00000001

Checksum: 0xF7EFAC14

Application

Handoff Address: 0x04000000

In FsblHookBeforeHandoff function

SUCCESSFUL_HANDOFF

FSBL Status = 0x1


UNDEFINED_HANDLER

FSBL Status = 0xA301

This Boot Mode Doesn't Support Fallback

In FsblHookFallback function

 

We were using the same u-boot as did with the evaluation boards, the ps7_init has been changed with the custom board settings.

 

Do you have any idea what goes wrong?

 

Thanks and kindly regards

Jan

Outcomes