beautypg.com

Digilent Embedded Linux User Manual

Page 10

background image

Using Zynq with Linux

www.digilentinc.com

page 10 of 23

Copyright Digilent, Inc. All rights reserved. Other product and company names mentioned may be trademarks of their respective owners.


Example 5.

U-Boot Commands


Before the autoboot starts, there is a default three-second count down. Users may press any key
during the count-down to interrupt the autoboot procedure and type in custom commands to boot
the Linux kernel manually.

Here are some of the most popular commands:

Printenv will print the environment variables of u-boot. (See Example 6.)

U-Boot 2011.03-dirty (Jul 11 2012 - 16:07:00)

DRAM: 512 MiB
MMC: SDHCI: 0
Using default environment

In: serial
Out: serial
Err: serial
Net: zynq_gem
Hit any key to stop autoboot: 0
Copying Linux from SD to RAM...
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
reading zImage

2479640 bytes read
reading devicetree.dtb

5817 bytes read
reading ramdisk8M.image.gz

3694108 bytes read
## Starting application at 0x00008000 ...
Uncompressing Linux... done, booting the
kernel.
[ 0.000000] Booting Linux on physical CPU 0