Digilent Embedded Linux User Manual
Page 11

Using Zynq with Linux
www.digilentinc.com
page 11 of 23
Copyright Digilent, Inc. All rights reserved. Other product and company names mentioned may be trademarks of their respective owners.
Example 6.
Echo will display a string on the serial port. (See Example 7.)
Example 7.
Mmcinfo will display the information about your Multi-Media Card. Example 8 is for an SD card.
Example 8.
Fatload will load a file from the FAT partition to a specified memory location. The following
instruction loads zImage from the MMC (SD Card) first FAT partition to 0x8000 in the
processor’s
memory space. (See Example 9.)
zed-boot> printenv
baudrate=115200
bootcmd=run modeboot
bootdelay=3
ethact=zynq_gem
ethaddr=00:0a:35:00:01:22
ipaddr=192.168.1.10
jtagboot=echo TFTPing Linux to RAM...;tftp 0x8000 zImage;tftp
0x1000000 devicetree.dtb;tftp 0x800000 ramdisk8M.image.gz;go
0x8000
kernel_size=0x140000
modeboot=run sdboot
qspiboot=sf probe 0 0 0;sf read 0x8000 0x100000 0x2c0000;sf read
0x1000000 0x3c0000 0x40000;sf read 0x800000 0x400000 0x800000;go
0x8000
ramdisk_size=0x200000
sdboot=echo Copying Linux from SD to RAM...;mmcinfo;fatload mmc 0
0x8000 zImage;fatload mmc 0 0x1000000 devicetree.dtb;fatload mmc
0 0x800000 ramdisk8M.image.gz;go 0x8000
sdboot_linaro=echo Copying Linux from SD to
RAM...;mmcinfo;fatload mmc 0 0x8000 zImage;fatload mmc 0
0x1000000 devicetree_linaro.dtb;go 0x8000
serverip=192.168.1.50
stderr=serial
stdin=serial
stdout=serial
Environment size: 861/65532 bytes
zed-boot> echo Hullo World
Hullo World
zed-boot>
zed-boot> mmcinfo
Device: SDHCI
Manufacturer ID: 3
OEM: 5344
Name: SU04G
Tran Speed: 25000000
Rd Block Len: 512
SD version 1.10
High Capacity: Yes
Capacity: 3965190144
Bus Width: 1-bit