AnsweredAssumed Answered

Booting from SD card: Zed with FMCOMMS1!

Question asked by Jetmiri on Nov 12, 2014
Latest reply on Nov 18, 2014 by CsomI

Dear all,

 

I am trying to use Zedboard with FMCOMMS1. The hdl design that I am using is the design given at the demo QPSK Digital Up/Down-Converter Demo (http://zedboard.org/support/design/1521/11). In this design the hdl design of FMCOMMS1 version 1 of 23.08.2013 is used. I can create the bit stream in XPS even though that in beginning there is one warnings saying that WARNING:EDK:1954 - No Top-level Input clock for the design.  No errors are shown during the bit stream generation. After that I create the boot.bin file using the u-boot.elf from the SD card I received with FMCOMMS1 from the folder cf_xcomm_zed.

 

I try to boot from SD card using the uImage and the same devicetree.dtb from the folder cf_xcomm_zed. But however the linux runs but I can not see anything on my monitor. So it seems that the HDMI transmitter is not working somehow. I receive also the error:

 

adau1761 0-003b: ASoC: AIFOUT Capture Mux DAPM update failed: -110

adau1761 0-003b: ASoC: DAC Playback Mux DAPM update failed: -110

adau1761 0-003b: ASoC: Right LR Playback Mixer DAPM update failed: -110

 

 

I have to pint it out that nothing in the HDL design is changed, an QPSK digital up converter and a converter are inserted in tx/rx side respectively.

 

This is the what is shown in the terminal after I boot from SD card:

 

U-Boot 2012.10 (Mar 22 2013 - 14:07:04)

 

 

DRAM:  512 MiB

WARNING: Caches not enabled

MMC:   SDHCI: 0

SF: Detected S25FL256S with page size 64 KiB, total 32 MiB

SF: Warning - Only lower 16MB is accessible in 3 byte addressing mode

*** Warning - bad CRC, 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: SD08G

Tran Speed: 50000000

Rd Block Len: 512

SD version 2.0

High Capacity: Yes

Capacity: 7.4 GiB

Bus Width: 4-bit

reading uImage

 

 

2972816 bytes read

reading devicetree.dtb

 

 

14696 bytes read

reading uramdisk.image.gz

 

 

** Unable to read "uramdisk.image.gz" from mmc 0:1 **

## Booting kernel from Legacy Image at 03000000 ...

   Image Name:   Linux-3.13.0-68980-gbcc97b8

   Image Type:   ARM Linux Kernel Image (uncompressed)

   Data Size:    2972752 Bytes = 2.8 MiB

   Load Address: 00008000

   Entry Point:  00008000

   Verifying Checksum ... OK

## Flattened Device Tree blob at 02a00000

   Booting using the fdt blob at 0x02a00000

   Loading Kernel Image ... OK

OK

   Loading Device Tree to 1fb4e000, end 1fb54967 ... OK

 

 

Starting kernel ...

 

 

Uncompressing Linux... done, booting the kernel.

Booting Linux on physical CPU 0x0

Linux version 3.13.0-68980-gbcc97b8 (michael@mhenneri-D04) (gcc version 4.7.2 (Sourcery CodeBench Lite 2012.09-104) ) #1326 SMP PREEMPT Thu Mar 13 13:53:23 CET 2014

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

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

Machine model: Xilinx Zynq ZED

bootconsole [earlycon0] enabled

cma: CMA: reserved 40 MiB at 1d000000

Memory policy: Data cache writealloc

PERCPU: Embedded 7 pages/cpu @c09ec000 s7616 r8192 d12864 u32768

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

Kernel command line: console=ttyPS0,115200 root=/dev/mmcblk0p2 rw earlyprintk rootfstype=ext4 rootwait devtmpfs.mount=0

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: 472572K/524288K available (3950K kernel code, 237K rwdata, 1484K rodata, 183K init, 127K bss, 51716K 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 - 0xc0556d54   (5436 kB)

      .init : 0xc0557000 - 0xc0584dc0   ( 184 kB)

      .data : 0xc0586000 - 0xc05c14c0   ( 238 kB)

       .bss : 0xc05c14cc - 0xc05e14a4   ( 128 kB)

Preemptible hierarchical RCU implementation.

        Dump stacks of tasks blocking RCU-preempt GP.

        RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.

NR_IRQS:16 nr_irqs:16 16

slcr mapped to e0802000

Zynq clock init

sched_clock: 16 bits at 54kHz, resolution 18432ns, wraps every 1207951633ns

timer #0 at e0804000, irq=43

Console: colour dummy device 80x30

Calibrating delay loop... 1325.46 BogoMIPS (lpj=6627328)

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

Setting up static identity map for 0x3bb3a0 - 0x3bb3d4

L310 cache controller enabled

l2x0: 8 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x72360000, Cache size: 512 kB

CPU1: Booted secondary processor

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

Brought up 2 CPUs

SMP: Total of 2 processors activated.

CPU: All CPU(s) started in SVC mode.

devtmpfs: initialized

VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4

regulator-dummy: no parameters

NET: Registered protocol family 16

DMA: preallocated 256 KiB pool for atomic coherent allocations

zynq-gpio e000a000.gpio: gpio at 0xe000a000 mapped to 0xe080e000

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

hw-breakpoint: maximum watchpoint size is 4 bytes.

zynq-ocm fffc0000.ps7-ocm: ZYNQ OCM pool: 256 KiB @ 0xe0880000

zynq-ocm fffc0000.ps7-ocm: can't request region for resource [mem 0xfffc0000-0xffffffff]

zynq-ocm: probe of fffc0000.ps7-ocm failed with error -16

bio: create slab <bio-0> at 0

SCSI subsystem initialized

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

media: Linux media interface: v0.10

Linux video capture interface: v2.00

Advanced Linux Sound Architecture Driver Initialized.

Switched to clocksource ttc_clocksource

NET: Registered protocol family 2

TCP established hash table entries: 4096 (order: 2, 16384 bytes)

TCP bind hash table entries: 4096 (order: 3, 32768 bytes)

TCP: Hash tables configured (established 4096 bind 4096)

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

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

msgmni has been set to 1002

io scheduler noop registered

io scheduler deadline registered

io scheduler cfq registered (default)

dma-pl330 f8003000.ps7-dma: Loaded driver for PL330 DMAC-2364208

dma-pl330 f8003000.ps7-dma:     DBUFF-128x8bytes Num_Chans-8 Num_Peri-4 Num_Events-16

e0001000.uart: ttyPS0 atconsole [ttyPS0] enabled

console [ttyPS0] enabled

bootconsole [earlycon0] disabled

bootconsole [earlycon0] disabled

xdevcfg f8007000.devcfg: ioremap 0xf8007000 to e0814000

[drm] Initialized drm 1.1.0 20060810

platform 70e00000.axi_hdmi: Driver axi-hdmi requests probe deferral

brd: module loaded

loop: module loaded

zynq-qspi e000d000.qspi: master is unqueued, this is deprecated

m25p80 spi32766.0: found s25fl256s1, expected m25p80

m25p80 spi32766.0: s25fl256s1 (32768 Kbytes)

5 ofpart partitions found on MTD device spi32766.0

Creating 5 MTD partitions on "spi32766.0":

0x000000000000-0x000000500000 : "boot"

0x000000500000-0x000000520000 : "bootenv"

0x000000520000-0x000000540000 : "config"

0x000000540000-0x000000fc0000 : "image"

0x000000fc0000-0x000002000000 : "spare"

zynq-qspi e000d000.qspi: at 0xE000D000 mapped to 0xE0816000, irq=51

libphy: XEMACPS mii bus: probed

xemacps e000b000.eth: pdev->id -1, baseaddr 0xe000b000, irq 54

ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver

ULPI transceiver vendor/product ID 0x0451/0x1507

Found TI TUSB1210 ULPI transceiver.

ULPI integrity check: passed.

zynq-ehci zynq-ehci.0: Xilinx Zynq USB EHCI Host Controller

zynq-ehci zynq-ehci.0: new USB bus registered, assigned bus number 1

zynq-ehci zynq-ehci.0: irq 53, io mem 0x00000000

zynq-ehci zynq-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

usbcore: registered new interface driver usb-storage

usbcore: registered new interface driver usbserial

usbcore: registered new interface driver usbserial_generic

usbserial: USB Serial support registered for generic

usbcore: registered new interface driver ftdi_sio

usbserial: USB Serial support registered for FTDI USB Serial Device

mousedev: PS/2 mouse device common for all mice

i2c /dev entries driver

usb 1-1: new low-speed USB device number 2 using zynq-ehci

adv7511 0-0039: Failed to write 98 = 3: -110

adv7511: probe of 0-0039 failed with error -110

at24 1-0050: 256 byte 24c02 EEPROM, writable, 1 bytes/write

at24 1-0054: 256 byte 24c02 EEPROM, writable, 1 bytes/write

zynq-wdt f8005000.swdt: Xilinx Watchdog Timer at e081c000 with timeout 10s

sdhci: Secure Digital Host Controller Interface driver

sdhci: Copyright(c) Pierre Ossman

sdhci-pltfm: SDHCI platform and OF driver helper

sdhci-arasan e0100000.sdhci: dummy supplies not allowed

mmc0: no vqmmc regulator found

sdhci-arasan e0100000.sdhci: dummy supplies not allowed

mmc0: no vmmc regulator found

mmc0: SDHCI controller on e0100000.sdhci [e0100000.sdhci] using ADMA

ledtrig-cpu: registered to indicate activity on CPUs

hidraw: raw HID events driver (C) Jiri Kosina

input: PS2 to USB AdapterA3 as /devices/amba.1/e0002000.usb/zynq-ehci.0/usb1/1-1/1-1:1.0/input/input0

hid-generic 0003:10D5:0004.0001: input,hidraw0: USB HID v1.10 Keyboard [PS2 to USB AdapterA3] on usb-zynq-ehci.0-1/input0

mmc0: new high speed SDHC card at address e624

mmcblk0: mmc0:e624 SD08G 7.40 GiB

input: PS2 to USB AdapterA3 as /devices/amba.1/e0002000.usb/zynq-ehci.0/usb1/1-1/1-1:1.1/input/input1

mmcblk0: p1 p2

hid-generic 0003:10D5:0004.0002: input,hidraw1: USB HID v1.10 Mouse [PS2 to USB AdapterA3] on usb-zynq-ehci.0-1/input1

usbcore: registered new interface driver usbhid

usbhid: USB HID core driver

platform 79020000.cf-ad9643-core-lpc: Driver cf_axi_adc requests probe deferral

spi spi32765.1: Driver ad9467 requests probe deferral

spi32765.6 supply vcc not found, using dummy regulator

spi_master spi32765: failed to transfer one message from queue

iio iio:device1: write failed (-110)

ad8366: probe of spi32765.6 failed with error -110

spi32765.3 supply vcc not found, using dummy regulator

spi_master spi32765: failed to transfer one message from queue

iio iio:device1: write failed (-110)

ad9523: probe of spi32765.3 failed with error -110

spi_master spi32765: failed to transfer one message from queue

ad9548: probe of spi32765.2 failed with error -110

ERROR: could not get clock /fpga-axi@0/i2c@41620000/spi_xcomm0@58/adf4351-rx-lpc@4:clkin(0)

spi spi32765.4: Driver adf4350 requests probe deferral

ERROR: could not get clock /fpga-axi@0/i2c@41620000/spi_xcomm0@58/adf4351-tx-lpc@5:clkin(0)

spi spi32765.5: Driver adf4350 requests probe deferral

platform 74204000.cf-ad9122-core-lpc: Driver cf_axi_dds requests probe deferral

spi_master spi32765: failed to transfer one message from queue

ad9122 spi32765.0: Unrecognized CHIP_ID 0xFFFFFF92

adv7511-hdmi-snd adv7511_hdmi_snd.4: ASoC: CODEC (null) not registered

platform adv7511_hdmi_snd.4: Driver adv7511-hdmi-snd requests probe deferral

zed-adau1761-snd zed_sound.5: adau-hifi <-> 77600000.axi-i2s mapping ok

TCP: cubic registered

NET: Registered protocol family 17

Registering SWP/SWPB emulation handler

platform 70e00000.axi_hdmi: Driver axi-hdmi requests probe deferral

platform 79020000.cf-ad9643-core-lpc: Driver cf_axi_adc requests probe deferral

spi spi32765.1: Driver ad9467 requests probe deferral

ERROR: could not get clock /fpga-axi@0/i2c@41620000/spi_xcomm0@58/adf4351-rx-lpc@4:clkin(0)

spi spi32765.4: Driver adf4350 requests probe deferral

ERROR: could not get clock /fpga-axi@0/i2c@41620000/spi_xcomm0@58/adf4351-tx-lpc@5:clkin(0)

spi spi32765.5: Driver adf4350 requests probe deferral

platform 74204000.cf-ad9122-core-lpc: Driver cf_axi_dds requests probe deferral

adv7511-hdmi-snd adv7511_hdmi_snd.4: ASoC: CODEC (null) not registered

platform adv7511_hdmi_snd.4: Driver adv7511-hdmi-snd requests probe deferral

drivers/rtc/hctosys.c: unable to open rtc device (rtc0)

ALSA device list:

  #0: ZED ADAU1761

EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)

VFS: Mounted root (ext4 filesystem) on device 179:2.

Freeing unused kernel memory: 180K (c0557000 - c0584000)

ureadahead main process (753) terminated with status 5able

Last login: Thu Jan  1 00:00:51 UTC 1970 on tty1

Welcome to Linaro 12.11 (GNU/Linux 3.13.0-68980-gbcc97b8 armv7l)

 

 

* Documentation:  https://wiki.linaro.org/

 

 

root@linaro-ubuntu-desktop:~# adau1761 0-003b: ASoC: AIFOUT Capture Mux DAPM update failed: -110

adau1761 0-003b: ASoC: DAC Playback Mux DAPM update failed: -110

adau1761 0-003b: ASoC: Right LR Playback Mixer DAPM update failed: -110

adau1761 0-003b: ASoC: Left LR Playback Mixer DAPM update failed: -110

Outcomes