Quantcast
Channel: EngineerZone: Message List
Viewing all articles
Browse latest Browse all 22625

Re: inquiry about xilinx2014.4-linux-AD-hdmi-zedboard

$
0
0

hello.Now I'm using:

1. hdl-hdl_2014_r2.zip, and build the HW with a few modification such as vivado&IP verison and comment #set_property -dict [list CONFIG.USE_BOARD_FLOW {true} CONFIG.IIC_BOARD_INTERFACE {IIC_MAIN}] $axi_iic_main.

2. And using 2014_R2 at https://github.com/analogdevicesinc/linux/tree/2014_R2,and build kernel with modification using files of xcomm-3-10:

make ARCH=arm zynq_xcomm_adv7511_defconfig

//drivers/media/usb/Kconfig:27: can't open file "drivers/media/usb/tlg2300/Kconfig"

make ARCH=arm UIMAGE_LOADADDR=0x8000 uImage

//In file included from drivers/usb/core/hub.c:21:0: include/linux/usbdevice_fs.h:31:37: fatal error: uapi/linux/usbdevice_fs.h: No such file or directory

//repalce drivers/usb/core/devio.c.

3. using devicetree generated of XSDK it can boot but don't show any info about hdmi.

4. using devicetree generated using 2014_r2 kernel's dts,dtsi fils.

It can boot, show HDMI info, but when I run Qt-hello program, it shows nothing, just hang there.

 

3223640 bytes read in 288 ms (10.7 MiB/s)

reading devicetree.dtb

10687 bytes read in 17 ms (613.3 KiB/s)

reading uramdisk.image.gz

5310244 bytes read in 462 ms (11 MiB/s)

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

   Image Name:   Linux-3.17.0

   Image Type:   ARM Linux Kernel Image (uncompressed)

   Data Size:    3223576 Bytes = 3.1 MiB

   Load Address: 00008000

   Entry Point:  00008000

   Verifying Checksum ... OK

## Loading init Ramdisk from Legacy Image at 04000000 ...

   Image Name:  

   Image Type:   ARM Linux RAMDisk Image (gzip compressed)

   Data Size:    5310180 Bytes = 5.1 MiB

   Load Address: 00000000

   Entry Point:  00000000

   Verifying Checksum ... OK

## Flattened Device Tree blob at 02000000

   Booting using the fdt blob at 0x2000000

   Loading Kernel Image ... OK

   Loading Ramdisk to 1e814000, end 1ed246e4 ... OK

   Loading Device Tree to 1e80e000, end 1e8139be ... OK

 

 

Starting kernel ...

 

 

Uncompressing Linux... done, booting the kernel.

Booting Linux on physical CPU 0x0

Linux version 3.17.0 (zq@zq) (gcc version 4.7.2 (Sourcery CodeBench Lite 2012.09-104) ) #1 SMP PREEMPT Thu Mar 12 09:11:21 CST 2015

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: Reserved 128 MiB at 16800000

Memory policy: Data cache writealloc

PERCPU: Embedded 7 pages/cpu @dfb9c000 s8128 r8192 d12352 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

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: 376576K/524288K available (4300K kernel code, 242K rwdata, 1640K rodata, 203K init, 134K bss, 147712K reserved, 0K highmem)

Virtual kernel memory layout:

    vector  : 0xffff0000 - 0xffff1000   (   4 kB)

    fixmap  : 0xffc00000 - 0xffe00000   (2048 kB)

    vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)

    lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)

    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)

    modules : 0xbf000000 - 0xbfe00000   (  14 MB)

      .text : 0xc0008000 - 0xc05d5654   (5942 kB)

      .init : 0xc05d6000 - 0xc0608fc0   ( 204 kB)

      .data : 0xc060a000 - 0xc0646a20   ( 243 kB)

       .bss : 0xc0646a20 - 0xc0668520   ( 135 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.

RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2

NR_IRQS:16 nr_irqs:16 16

L2C: platform provided aux values match the hardware, so have no effect.  Please remove them.

L2C-310 erratum 769419 enabled

L2C-310 enabling early BRESP for Cortex-A9

L2C-310 full line of zeros enabled for Cortex-A9

L2C-310 ID prefetch enabled, offset 1 lines

L2C-310 dynamic clock gating enabled, standby mode enabled

L2C-310 cache controller enabled, 8 ways, 512 kB

L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76360001

slcr mapped to e0804000

zynq_clock_init: clkc starts at e0804100

Zynq clock init

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

timer #0 at e0806000, 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: 1024 (order: 0, 4096 bytes)

Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)

CPU: Testing write buffer coherency: ok

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

Setting up static identity map for 0x40f4b0 - 0x40f508

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

cpuidle: using governor ladder

cpuidle: using governor menu

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

hw-breakpoint: maximum watchpoint size is 4 bytes.

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

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

EDAC MC: Ver: 3.0.0

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

Trying to unpack rootfs image as initramfs...

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

Freeing initrd memory: 5184K (de814000 - ded24000)

hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available

futex hash table entries: 512 (order: 3, 32768 bytes)

msgmni has been set to 1001

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

xuartps e0001000.uart: clock name 'aper_clk' is deprecated.

xuartps e0001000.uart: clock name 'ref_clk' is deprecated.

e0001000.uart: ttyPS0 at MMIO 0xe0001000 (irq = 82, base_baud = 3125000) is a xuartps

郼onsole [ttyPS0] enabled

console [ttyPS0] enabled

bootconsole [earlycon0] disabled

bootconsole [earlycon0] disabled

xdevcfg f8007000.devcfg: ioremap 0xf8007000 to e081a000

[drm] Initialized drm 1.1.0 20060810

drivers/gpu/drm/adi_axi_hdmi/axi_hdmi_drv.c:axi_hdmi_platform_probe[175]

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

brd: module loaded

loop: module loaded

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

zynq-edac f8006000.ps7-ddrc: ecc not enabled

Xilinx Zynq CpuIdle Driver started

sdhci: Secure Digital Host Controller Interface driver

sdhci: Copyright(c) Pierre Ossman

sdhci-pltfm: SDHCI platform and OF driver helper

sdhci-arasan e0100000.sdhci: No vmmc regulator found

sdhci-arasan e0100000.sdhci: No vqmmc 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

usbcore: registered new interface driver usbhid

usbhid: USB HID core driver

adv7511-hdmi-snd fpga-axi@0:adv7511_hdmi_snd: adv7511 <-> 75c00000.axi-spdif-tx mapping ok

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

mmc0: new high speed SDHC card at address 0007

mmcblk0: mmc0:0007 SD04G 3.70 GiB

TCP: cubic registered

NET: Registered protocol family 17

mmcblk0: p1

Registering SWP/SWPB emulation handler

Console: switching to colour frame buffer device 128x48

axi-hdmi 70e00000.axi_hdmi: fb0:  frame buffer device

axi-hdmi 70e00000.axi_hdmi: registered panic notifier

[drm] Initialized axi_hdmi_drm 1.0.0 20120930 on minor 0

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

ALSA device list:

  #0: HDMI monitor

  #1: ZED ADAU1761

RAMDISK: gzip image found at block 0

EXT4-fs (ram0): mounted filesystem without journal. Opts: (null)

VFS: Mounted root (ext4 filesystem) on device 1:0.

Starting rcS...

++ Mounting filesystem

mount: mounting /dev/mmcblk0p1 on /mnt failed: No such file or directory

mount: mounting /dev/mmcblk0 on /mnt failed: No such file or directory

++ Setting up mdev

++ Starting telnet daemon

++ Starting http daemon

++ Starting ftp daemon

++ Starting ssh daemon

random: sshd urandom read with 13 bits of entropy available

FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.

EXT4-fs (loop0): couldn't mount as ext3 due to feature incompatibilities

EXT4-fs (loop0): mounting ext2 file system using the ext4 subsystem

EXT4-fs (loop0): warning: mounting unchecked fs, running e2fsck is recommended

EXT4-fs (loop0): mounted filesystem without journal. Opts: (null)

rcS Complete

zynq> random: nonblocking pool is initialized

 

 

zynq> cd /mnt/

zynq> ls

BOOT.bin           hello-zynq         uImage

devicetree.dtb     qt_lib             uramdisk.image.gz

zynq> ./hello-zynq -qws


Viewing all articles
Browse latest Browse all 22625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>