Processor module description

UART connection to the debug board

To work with UART you need to connect the CMOS 3.3V signals in accordance with the table and configure the computer mode 57600 8n1.

Pin on the debug boardDestination
X11:1 TX (3.3V)
X11:18 RX(3.3V)
X11:33(34,35,36) GND


Images assembly process from the sources for module V2

1. Firmware sources and fsbl и fsbl

2. Download the source code u-boot (testedon 879358544f7aee5d94c37d2a78622a4b783b8198):

	git clone
	  cd u-boot-xlnx

3. Apply patch ax_PHY_fix.patch.gz

	gunzip ax_PHY_fix.patch.gz
 patch -p1 < ax_PHY_fix.patch
 make CROSS_COMPILE=arm-xilinx-eabi- clean
 make CROSS_COMPILE=arm-xilinx-eabi- zynq_zc70x_config
 make CROSS_COMPILE=arm-xilinx-eabi-
 cp u-boot u-boot.elf<
 arm-xilinx-eabi-strip u-boot.elf

4. Download the linux source code (tested on a2d296bb6b89f7bc7644f6b552b9766ac1c17d5):

	        git clone
	  cd linux-xlnx
	  make CROSS_COMPILE=arm-xilinx-linux-gnueabi- ARCH=arm xilinx_zynq_defconfig
	  make CROSS_COMPILE=arm-xilinx-linux-gnueabi- ARCH=arm menuconfig
	  make CROSS_COMPILE=arm-xilinx-linux-gnueabi- ARCH=arm UIMAGE_LOADADDR=0x8000 uImage

5. Initramfs(uramdisk.image.gz) taken here

Binary images for V2 module, load from SD card

1. Create SD card using the FAT32 partition, for example with a script    Example: sudo / dev / sdd

2. Extract the contents of the archives and qspi.tar.gz и sd.tar.gzon the created partition (BOOT) on SD card.

3. Safe file on the SD uramdisk.image.gz

4. Insert the SD card into debug board, set the jumper in position: J2: 1-2, J3: 1-2 - boot from the SD card. We serve power and seeing Linux boot. VD2 LED should light up, indicating the firmware FPGA.

Firmware images in the QSPI to V2 module when booting from SD card

1. Insert the SD card into a debug card, set the jumper in position: J2: 1-2, J3: 1-2 - boot from the SD card. Apply power and press Enter, to stop loading in the u-Boot. VD2 LED should light up, indicating the firmware FPGA.

2. Execute the command for flashing images from the SD in QSPI:

	sf probe
 sf erase 0x0 0x1000000
 fatload mmc 0 0x1000000 BOOTQSPI.BIN
 sf write 0x1000000 0x0 0x1000000
 fatload mmc 0 0x1000000 uImage
 sf update 0x1000000 0x100000 0x400000
 fatload mmc 0 0x1000000 devicetree.dtb
 sf update 0x1000000 0x600000 0x20000
 fatload mmc 0 0x1000000 uramdisk.image.gz
 sf update 0x1000000 0x620000 0x5E0000

3. Set jumpers in positions: J2: 2-3, J3: 1-2 - boot from QSPI flash, click reset (SB1).

4. Loading Linux. VD2 LED should light up, indicating the firmware FPGA.

5. Sections on QSPI (updated location information):

0x000000000000-0x000000100000 : «qspi-fsbl-uboot»
0x000000100000-0x000000600000 : «qspi-linux»
0x000000600000-0x000000620000 : «qspi-device-tree»
0x000000620000-0x000000c00000 : «qspi-rootfs»
0x000000c00000-0x000001000000 : «qspi-bitstream»

Convert bit to bin

promgen -b -w -p bin -data_width 32 -u 0 module_1_stub.bit -o module_1_stub.bit.bin

Configuring of DDR3 1GB (2x 4gb DDR3) for Module V2

The process of QSPI programming for module V2

With JTAG (eg, Segger J-Link PRO) download BOOT.BIN in DDR3, using scenario  .gdbinit:

	        restore BOOT.bin binary 0x100000

Next, download and run the U-boot

	        load u-boot.elf

Go to the console and in the U-boot:

	        sf probe
	sf erase 0 0xc60000
	sf write 0x100000 0 0xc60000


Copyright © 2011–2018 AXONIM Devices
Order products

Fill in the form to order

Your name: