element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet & Tria Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Avnet Boards General Problem with Implementing Linux on the Zynq-7000 SoC (lab 4.1)
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 8 replies
  • Subscribers 367 subscribers
  • Views 1112 views
  • Users 0 members are here
Related

Problem with Implementing Linux on the Zynq-7000 SoC (lab 4.1)

Former Member
Former Member over 12 years ago

Hi,

I've gone through both Speedways, (using version 14.4 of the tools), and had no problems until I reached Lab 4.1.

In this lab, I get no Ethernet connection. I then put the files from the lab-solutions onto the SD card, and saw the same behaviour (I believe this eliminates the tools version as the cause of the problem).

Here's the serial output (using the 'solution' files):
Hi,

I've gone through both Speedways, (using version 14.4 of the tools), and had no problems until I reached Lab 4.1.

In this lab, I get no Ethernet connection. I then put the files from the lab-solutions onto the SD card, and saw the same behaviour (I believe this eliminates the tools version as the cause of the problem).

Here's the serial output (using the 'solution' files):

Linux version 3.3.0-14.2-build1-01491-g42fac65-dirty (training@localhost.localdomain) (gcc version 4.6.1 (Sourcery CodeBench Lite 2011.09-50) ) #1 SMP PREEMPT Fri Oct 5 12:41:56 PDT 2012

CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d

CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache

Machine: Xilinx Zynq Platform, model: Xilinx Zynq ZedBoard

bootconsole [earlycon0] enabled

Memory policy: ECC disabled, Data cache writealloc

On node 0 totalpages: 131072

free_area_init_node: node 0, pgdat c045e400, node_mem_map c047a000

  Normal zone: 1152 pages used for memmap

  Normal zone: 0 pages reserved

  Normal zone: 129920 pages, LIFO batch:31

PERCPU: Embedded 7 pages/cpu @c0901000 s5696 r8192 d14784 u32768

pcpu-alloc: s5696 r8192 d14784 u32768 alloc=8*4096

pcpu-alloc: [0] 0 [0] 1

Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129920

Kernel command line: console=ttyPS0,115200 root=/dev/ram rw initrd=0x2000000,32M earlyprintk maxcpus=2 debug ip=192.168.1.10

PID hash table entries: 2048 (order: 1, 8192 bytes)

Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)

Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)

Memory: 512MB = 512MB total

Memory: 481808k/481808k available, 42480k reserved, 0K highmem

Virtual kernel memory layout:

    vector  : 0xffff0000 - 0xffff1000   (   4 kB)

    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)

    vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)

    lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)

    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)

    modules : 0xbf000000 - 0xbfe00000   (  14 MB)

      .text : 0xc0008000 - 0xc040bdc0   (4112 kB)

      .init : 0xc040c000 - 0xc0430640   ( 146 kB)

      .data : 0xc0432000 - 0xc045fd20   ( 184 kB)

       .bss : 0xc045fd44 - 0xc0479f5c   ( 105 kB)

Preemptible hierarchical RCU implementation.

tVerbose stalled-CPUs detection is disabled.

NR_IRQS:128

xlnx,ps7-ttc-1.00.a #0 at 0xe0800000, irq=43

Console: colour dummy device 80x30

Calibrating delay loop... 1332.01 BogoMIPS (lpj=6660096)

pid_max: default: 32768 minimum: 301

Mount-cache hash table entries: 512

CPU: Testing write buffer coherency: ok

CPU0: thread -1, cpu 0, socket 0, mpidr 80000000

smp_twd: clock not found: -2

Calibrating local timer... 333.56MHz.

hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available

Setting up static identity map for 0x2f30a0 - 0x2f30d4

CPU1: Booted secondary processor

CPU1: thread -1, cpu 1, socket 0, mpidr 80000001

Brought up 2 CPUs

SMP: Total of 2 processors activated (2664.03 BogoMIPS).

devtmpfs: initialized

NET: Registered protocol family 16

L310 cache controller enabled

l2x0: 8 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x72360000, Cache size: 524288 B

registering platform device 'pl330' id 0

registering platform device 'arm-pmu' id 0

hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.

hw-breakpoint: maximum watchpoint size is 4 bytes.

xslcr xslcr.0: at 0xF8000000 mapped to 0xE0808000

bio: create slab <bio-0> at 0

gpiochip_add: registered GPIOs 0 to 245 on device: xgpiops

xgpiops e000a000.gpio: gpio at 0xe000a000 mapped to 0xe080a000

SCSI subsystem initialized

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

Switching to clocksource xttcpss_timer1

NET: Registered protocol family 2

IP route cache hash table entries: 4096 (order: 2, 16384 bytes)

TCP established hash table entries: 16384 (order: 5, 131072 bytes)

TCP bind hash table entries: 16384 (order: 5, 196608 bytes)

TCP: Hash tables configured (established 16384 bind 16384)

TCP reno registered

UDP hash table entries: 256 (order: 1, 8192 bytes)

UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)

NET: Registered protocol family 1

RPC: Registered named UNIX socket transport module.

RPC: Registered udp transport module.

RPC: Registered tcp transport module.

RPC: Registered tcp NFSv4.1 backchannel transport module.

Trying to unpack rootfs image as initramfs...

rootfs image is not initramfs (no cpio magic); looks like an initrd

Freeing initrd memory: 32768K

xscugtimer xscugtimer.0: ioremap fe00c200 to e080c200 with size 400

pl330 dev 0 probe success

JFFS2 version 2.2. (NAND) (SUMMARY)  u00C2u00A9 2001-2006 Red Hat, Inc.

msgmni has been set to 1005

io scheduler noop registered

io scheduler deadline registered

io scheduler cfq registered (default)

e00.....[ttyPS0] enabled, bootconsole disabled
console [ttyPS0] enabled, bootconsole disabled

xdevcfg f8007000.devcfg: ioremap f8007000 to e0860000 with size 100
brd: module loaded
loop: module loaded
GEM: BASEADDRESS hw: e000b000 virt: e0862000
XEMACPS mii bus: probed
mdio_bus e000b000: error probing PHY at address 0
eth0, pdev->id -1, baseaddr 0xe000b000, irq 54
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
xusbps-ehci xusbps-ehci.0: Xilinx PS USB EHCI Host Controller
xusbps-ehci xusbps-ehci.0: new USB bus registered, assigned bus number 1
xusbps-ehci xusbps-ehci.0: irq 53, io mem 0x00000000
xusbps-ehci xusbps-ehci.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
Xilinx PS USB Device Controller driver (Apr 01, 2011)
mousedev: PS/2 mouse device common for all mice
i2c /dev entries driver
Linux video capture interface: v2.00
gspca_main: v2.14.0 registered
uvcvideo: Unable to create debugfs directory
usbcore: registered new interface driver uvcvideo
USB Video Class driver (1.1.1)
WDT OF probe
xwdtps f8005000.swdt: Xilinx Watchdog Timer at 0xe0866000 with timeout 10 seconds
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
mmc0: Invalid maximum block size, assuming 512 bytes
mmc0: SDHCI controller on e0100000.sdhci [e0100000.sdhci] using ADMA
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
TCP cubic registered
NET: Registered protocol family 17
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
Registering SWP/SWPB emulation handler
Error xylonfb resources
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
GEM: lp->tx_bd ffdfb000 lp->tx_bd_dma 1d762000 lp->tx_skb dd6f2800
GEM: lp->rx_bd ffdfc000 lp->rx_bd_dma 1d761000 lp->rx_skb dd6f2400
GEM: MAC 0x00350a00, 0x00002201, 00:0a:35:00:01:22
eth0: no PHY found
XEMACPS mii bus mii_probe fail.
IP-Config: Failed to open eth0
IP-Config: No network devices available.
RAMDISK: gzip image found at block 0
mmc0: new high speed SDHC card at address b368
mmcblk0: mmc0:b368 SMI   3.69 GiB
mmcblk0: p1
VFS: Mounted root (ext2 filesystem) on device 1:0.
devtmpfs: mounted
Freeing init memory: 144K
Starting rcS...
++ Mounting filesystem
++ Setting up mdev
++ Starting telnet daemon
++ Starting http daemon
++ Starting ftp daemon
++ Starting dropbear (ssh) daemon
rcS Complete
/ #

  • Sign in to reply
  • Cancel
Parents
  • Former Member
    0 Former Member over 12 years ago

    Hi Kevin.

    Thanks for the response.

    OK, so running again, with the following files on the SD card:

    - devicetree.dtb from lab3_2_solution
    - boot.bin from lab2_3_solution
    - zImage from lab2_3_solution
    - ramdisk32M.image.gz from lab2_3_solution

    Here's the serial output:

    TCP cubic registered
    NET: Registered protocol family 17
    VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    Registering SWP/SWPB emulation handler
    Error xylonfb resources
    drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
    GEM: lp->tx_bd ffdfb000 lp->tx_bd_dma 1d77f000 lp->tx_skb dd7b4800
    GEM: lp->rx_bd ffdfc000 lp->rx_bd_dma 1d77e000 lp->rx_skb dd7b4400
    GEM: MAC 0x00350a00, 0x00002201, 00:0a:35:00:01:22
    GEM: phydev dd77a200, phydev->phy_id 0x0, phydev->addr 0x0
    eth0, phy_addr 0x0, phy_id 0x00000000
    eth0, attach [Generic PHY] phy driver
    IP-Config: Guessing netmask 255.255.255.0
    IP-Config: Complete:
         device=eth0, addr=192.168.1.10, mask=255.255.255.0, gw=255.255.255.255,
         host=192.168.1.10, domain=, nis-domain=(none),
         bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=
    RAMDISK: gzip image found at block 0
    mmc0: new high speed SDHC card at address b368
    mmcblk0: mmc0:b368 SMI   3.69 GiB
    mmcblk0: p1
    VFS: Mounted root (ext2 filesystem) on device 1:0.
    devtmpfs: mounted
    Freeing init memory: 144K
    Starting rcS...
    ++ Mounting filesystem
    ++ Setting up mdev
    ++ Starting telnet daemon
    ++ Starting http daemon
    ++ Starting ftp daemon
    ++ Starting dropbear (ssh) daemon
    rcS Complete
    / #
    / # No LED activity on Ethernet port!
    -/bin/ash: No: not found
    / #

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • Former Member
    0 Former Member over 12 years ago

    Hi Kevin.

    Thanks for the response.

    OK, so running again, with the following files on the SD card:

    - devicetree.dtb from lab3_2_solution
    - boot.bin from lab2_3_solution
    - zImage from lab2_3_solution
    - ramdisk32M.image.gz from lab2_3_solution

    Here's the serial output:

    TCP cubic registered
    NET: Registered protocol family 17
    VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    Registering SWP/SWPB emulation handler
    Error xylonfb resources
    drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
    GEM: lp->tx_bd ffdfb000 lp->tx_bd_dma 1d77f000 lp->tx_skb dd7b4800
    GEM: lp->rx_bd ffdfc000 lp->rx_bd_dma 1d77e000 lp->rx_skb dd7b4400
    GEM: MAC 0x00350a00, 0x00002201, 00:0a:35:00:01:22
    GEM: phydev dd77a200, phydev->phy_id 0x0, phydev->addr 0x0
    eth0, phy_addr 0x0, phy_id 0x00000000
    eth0, attach [Generic PHY] phy driver
    IP-Config: Guessing netmask 255.255.255.0
    IP-Config: Complete:
         device=eth0, addr=192.168.1.10, mask=255.255.255.0, gw=255.255.255.255,
         host=192.168.1.10, domain=, nis-domain=(none),
         bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=
    RAMDISK: gzip image found at block 0
    mmc0: new high speed SDHC card at address b368
    mmcblk0: mmc0:b368 SMI   3.69 GiB
    mmcblk0: p1
    VFS: Mounted root (ext2 filesystem) on device 1:0.
    devtmpfs: mounted
    Freeing init memory: 144K
    Starting rcS...
    ++ Mounting filesystem
    ++ Setting up mdev
    ++ Starting telnet daemon
    ++ Starting http daemon
    ++ Starting ftp daemon
    ++ Starting dropbear (ssh) daemon
    rcS Complete
    / #
    / # No LED activity on Ethernet port!
    -/bin/ash: No: not found
    / #

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube