UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
5,800 Views
Registered: ‎12-30-2008

ZC702: Linux kernel crash in dma driver, when using axi_vdma only without axi_dma in the hw project

Jump to solution

Hi,

     After I successfully got the ZC702 running with the analog devices AD7511 HDMI device, I proceeded to create a new PlanAhead project, and used just the hdmi core, with the axi_vdma ip core. The original reference design had a axi_dma ip core, for the hdmi_spdif output, which I didn't need, and didn't include in the generated bit stream.

 

This results in a kernel crash on boot, as follows:

U-Boot 2012.04.01-00304-g7639205 (Oct 26 2012 - 23:30:45)

DRAM:  1 GiB
WARNING: Caches not enabled
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: 73
OEM: 4247
Name: NCard 
Tran Speed: 25000000
Rd Block Len: 512
SD version 2.0
High Capacity: Yes
Capacity: 14.9 GiB
Bus Width: 4-bit
reading uImage

2555336 bytes read
reading devicetree.dtb

4220 bytes read
reading uramdisk.image.gz

2592125 bytes read
## Booting kernel from Legacy Image at 03000000 ...
   Image Name:   Linux-3.3.0-01528-g0f8dd21d-dirt
   Created:      2012-11-03   4:59:43 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2555272 Bytes = 2.4 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02000000 ...
   Image Name:   
   Created:      2012-11-03   5:52:14 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    2592061 Bytes = 2.5 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 02a00000
   Booting using the fdt blob at 0x02a00000
   Loading Kernel Image ... OK
OK
   Loading Ramdisk to 1fd87000, end 1ffffd3d ... OK
   Loading Device Tree to 1fd82000, end 1fd8607b ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0
Linux version 3.3.0-01528-g0f8dd21d-dirty (elvis@titan) (gcc version 4.7.2 (GCC) ) #2 SMP PREEMPT Sat Nov 3 08:59:40 GST 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 ZC702
bootconsole [earlycon0] enabled
Memory policy: ECC disabled, Data cache writealloc
BUG: mapping for 0xf8f00000 at 0xfe00c000 out of vmalloc space
BUG: mapping for 0xe0001000 at 0xfe001000 out of vmalloc space
BUG: mapping for 0xffff1000 at 0xfe200000 out of vmalloc space
PERCPU: Embedded 7 pages/cpu @c1208000 s6400 r8192 d14080 u32768
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 256000
Kernel command line: console=ttyPS0,115200 root=/dev/ram rw rootfstype=ext4 ip=:::::eth0:dhcp earlyprintk
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 240MB 768MB = 1008MB total
Memory: 1010300k/1010300k available, 38276k reserved, 303104K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0xee000000 - 0xfd000000   ( 240 MB)
    lowmem  : 0xc0000000 - 0xed800000   ( 728 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0xc0008000 - 0xc04882d8   (4609 kB)
      .init : 0xc0489000 - 0xc04b0900   ( 159 kB)
      .data : 0xc04b2000 - 0xc04ea480   ( 226 kB)
       .bss : 0xc04ea4a4 - 0xc09f28cf   (5154 kB)
Preemptible hierarchical RCU implementation.
        RCU lockdep checking is enabled.
        Verbose stalled-CPUs detection is disabled.
NR_IRQS:128
xlnx,ps7-ttc-1.00.a #0 at 0xee000000, irq=43
Console: colour dummy device 80x30
Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
... MAX_LOCKDEP_SUBCLASSES:  8
... MAX_LOCK_DEPTH:          48
... MAX_LOCKDEP_KEYS:        8191
... CLASSHASH_SIZE:  footprint: 1152 bytes
Calibrating delay loop... 1594.16 BogoMIPS (lpj=7970816)
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... 399.23MHz.
hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
Setting up static identity map for 0x33aa00 - 0x33aa34
CPU1: Booted secondary processor
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
Brought up 2 CPUs
SMP: Total of 2 processors activated (3188.32 BogoMIPS).
devtmpfs: initialized
------------[ cut here ]------------
WARNING: at arch/arm/mm/dma-mapping.c:198 consistent_init+0x70/0x104()
Modules linked in:
[<c0012ffc>] (unwind_backtrace+0x0/0xe0) from [<c001f498>] (warn_slowpath_common+0x4c/0x64)
[<c001f498>] (warn_slowpath_common+0x4c/0x64) from [<c001f4c8>] (warn_slowpath_null+0x18/0x1c)
[<c001f4c8>] (warn_slowpath_null+0x18/0x1c) from [<c048d71c>] (consistent_init+0x70/0x104)
[<c048d71c>] (consistent_init+0x70/0x104) from [<c0008594>] (do_one_initcall+0x90/0x164)
[<c0008594>] (do_one_initcall+0x90/0x164) from [<c048987c>] (kernel_init+0x8c/0x12c)
[<c048987c>] (kernel_init+0x8c/0x12c) from [<c000e470>] (kernel_thread_exit+0x0/0x8)
---[ end trace 1b75b31a2719ed1c ]---
------------[ cut here ]------------
WARNING: at arch/arm/mm/dma-mapping.c:198 consistent_init+0x70/0x104()
Modules linked in:
[<c0012ffc>] (unwind_backtrace+0x0/0xe0) from [<c001f498>] (warn_slowpath_common+0x4c/0x64)
[<c001f498>] (warn_slowpath_common+0x4c/0x64) from [<c001f4c8>] (warn_slowpath_null+0x18/0x1c)
[<c001f4c8>] (warn_slowpath_null+0x18/0x1c) from [<c048d71c>] (consistent_init+0x70/0x104)
[<c048d71c>] (consistent_init+0x70/0x104) from [<c0008594>] (do_one_initcall+0x90/0x164)
[<c0008594>] (do_one_initcall+0x90/0x164) from [<c048987c>] (kernel_init+0x8c/0x12c)
[<c048987c>] (kernel_init+0L310 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.
MIO pin 47 not assigned(00001220)
xslcr xslcr.0: at 0xF8000000 mapped to 0xEE008000
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 0xee00a000
Unhandled fault: imprecise external abort (0x406) at 0x00000000
Internal error: : 406 [#1] PREEMPT SMP
Modules linked in:
CPU: 0    Tainted: G        W     (3.3.0-01528-g0f8dd21d-dirty #2)
PC is at xilinx_dma_reset+0x2c/0xa8
LR is at trace_hardirqs_on_caller+0x134/0x1b0
pc : [<c0177334>]    lr : [<c0058c0c>]    psr: 60000013
sp : e8051ed0  ip : c04f63ac  fp : e8352c90
r10: 00000000  r9 : e8352ca0  r8 : 00000000
r7 : e80ce008  r6 : c1204ac4  r5 : c1204bf8  r4 : e8218cc0
r3 : ee00c000  r2 : 00000000  r1 : e804f1c0  r0 : 00000001
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 18c5387d  Table: 0000404a  DAC: 00000015
Process swapper/0 (pid: 1, stack limit = 0xe80502f0)
Stack: (0xe8051ed0 to 0xe8052000)
1ec0:                                     e8352ca0 e8218cc0 c1204bf8 c032d138
1ee0: c0415850 e8218cc0 e803fb18 00000000 00000000 00000004 c04ca000 e80ce008
1f00: e80ce03c c04ca000 c01b279c 00000000 00000000 c0499af4 00000000 c01b3610
1f20: c01b35fc c01b2658 00000000 e80ce008 e80ce03c c04ca000 c01b279c c01b280c
1f40: 00000000 e8051f50 c04ca000 c01b0e60 e803fab0 e80c0594 c04ca000 c04ca000
1f60: e821c0c0 c04cf660 00000013 c01b1dd4 c041593f 00000378 c04ca000 c04aea48
1f80: c000e470 00000013 00000000 00000000 c0499af4 c01b2ae8 00000000 c04ae720
1fa0: c04aea48 c000e470 00000013 00000000 c0499af4 c0008594 c0499af4 e82018c0
1fc0: c04ea4c0 00000000 c04ae720 c04aea48 c000e470 00000013 00000000 00000000
1fe0: 00000000 c048987c e804f1c0 00000000 c04897f0 c000e470 c052464a 4114424e
[<c0177334>] (xilinx_dma_reset+0x2c/0xa8) from [<c032d138>] (xilinx_dma_of_probe+0x484/0x684)
[<c032d138>] (xilinx_dma_of_probe+0x484/0x684) from [<c01b3610>] (platform_drv_probe+0x14/0x18)
[<c01b3610>] (platform_drv_probe+0x14/0x18) from [<c01b2658>] (driver_probe_device+0xb8/0x1fc)
[<c01b2658>] (driver_probe_device+0xb8/0x1fc) from [<c01b280c>] (__driver_attach+0x70/0x94)
[<c01b280c>] (__driver_attach+0x70/0x94) from [<c01b0e60>] (bus_for_each_dev+0x48/0x80)
[<c01b0e60>] (bus_for_each_dev+0x48/0x80) from [<c01b1dd4>] (bus_add_driver+0xc8/0x230)
[<c01b1dd4>] (bus_add_driver+0xc8/0x230) from [<c01b2ae8>] (driver_register+0xa0/0x124)
[<c01b2ae8>] (driver_register+0xa0/0x124) from [<c0008594>] (do_one_initcall+0x90/0x164)
[<c0008594>] (do_one_initcall+0x90/0x164) from [<c048987c>] (kernel_init+0x8c/0x12c)
[<c048987c>] (kernel_init+0x8c/0x12c) from [<c000e470>] (kernel_thread_exit+0x0/0x8)
Code: e12fff33 e5943000 e5932000 f57ff04f (e3822004) 
---[ end trace 1b75b31a2719ed1e ]---
Kernel panic - not syncing: Attempted to kill init!
CPU1: stopping
[<c0012ffc>] (unwind_backtrace+0x0/0xe0) from [<c001224c>] (handle_IPI+0xf4/0x168)
[<c001224c>] (handle_IPI+0xf4/0x168) from [<c00084c4>] (gic_handle_irq+0x90/0xa0)
[<c00084c4>] (gic_handle_irq+0x90/0xa0) from [<c000d684>] (__irq_svc+0x44/0x78)
Exception stack(0xe8073f98 to 0xe8073fe0)
3f80:                                                       c000e4d4 e8071280
3fa0: e8073fe0 00000000 e8072000 c04ea588 c04bfd88 c04ea808 0000406a 413fc090
3fc0: 00000000 00000000 00000000 e8073fe0 c000e4d4 c000e4d8 60000013 ffffffff
[<c000d684>] (__irq_svc+0x44/0x78) from [<c000e4d8>] (default_idle+0x28/0x2c)
[<c000e4d8>] (default_idle+0x28/0x2c) from [<c000e698>] (cpu_idle+0x4c/0xa8)
[<c000e698>] (cpu_idle+0x4c/0xa8) from [<004a3474>] (0x4a3474)

 

Is it possible to disable the linux driver part related to axi_dma alone, and use the axi_vdma part?

 

My .config file looks like this at the moment:

#
# DMA Devices
#
CONFIG_XILINX_DMA=y
# CONFIG_AMBA_PL08X is not set
# CONFIG_DW_DMAC is not set
# CONFIG_TIMB_DMA is not set
# CONFIG_PL330_DMA is not set
CONFIG_DMA_ENGINE=y

 I'm doing these initial tests with the analog devices linux kernel (v3.3) repo, before transitioning to the xilinx linux kernel (v3.5) repository.

 

Elvis Dowson

0 Kudos
1 Solution

Accepted Solutions
7,311 Views
Registered: ‎12-30-2008

Re: ZC702: Linux kernel crash in dma driver, when using axi_vdma only without axi_dma in the hw project

Jump to solution

Ok, figured that one out, I had to comment out the axi_dma references, and the devices that used it, in this case, the hdmi s/pdif output of the ADV7511 transmitter, from the devicetree file as follows:

/*
		axi_dma_0: axidma@40400000 {
			#address-cells = <1>;
			#size-cells = <1>;
			#dma-cells = <1>;
			compatible = "xlnx,axi-dma";
			reg = < 0x40400000 0x1000 >;
			xlnx,sg-include-stscntrl-strm = <0x0>;
			dma-channel@40400000 {
				compatible = "xlnx,axi-dma-mm2s-channel";
				interrupts = < 0 58 0x4 >;
				xlnx,datawidth = <0x20>;
				xlnx,include-dre = <0x0>;
			};
		};
*/

/*
		xilinx_pcm_audio: xilinx_pcm_audio {
			compatible = "xilinx-pcm-audio";
			dma-request = <&axi_dma_0 0>;
		};

		adv7511_hdmi_snd: adv7511_hdmi_snd {
			compatible = "adv7511-hdmi-snd";
			audio-codec = <&i2c_adv7511>;
			cpu-dai = <&axi_spdif_tx_0>;
			pcm = <&xilinx_pcm_audio>;
		};
*/

 This worked, and I get a clean boot with hdmi output using the axi_vdma ip core:

U-Boot 2012.04.01-00304-g7639205 (Oct 26 2012 - 23:30:45)

DRAM:  1 GiB
WARNING: Caches not enabled
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: 73
OEM: 4247
Name: NCard 
Tran Speed: 25000000
Rd Block Len: 512
SD version 2.0
High Capacity: Yes
Capacity: 14.9 GiB
Bus Width: 4-bit
reading uImage

2555336 bytes read
reading devicetree.dtb

3618 bytes read
reading uramdisk.image.gz

2592125 bytes read
## Booting kernel from Legacy Image at 03000000 ...
   Image Name:   Linux-3.3.0-01528-g0f8dd21d-dirt
   Created:      2012-11-03   4:59:43 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2555272 Bytes = 2.4 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02000000 ...
   Image Name:   
   Created:      2012-11-03   5:52:14 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    2592061 Bytes = 2.5 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 02a00000
   Booting using the fdt blob at 0x02a00000
   Loading Kernel Image ... OK
OK
   Loading Ramdisk to 1fd87000, end 1ffffd3d ... OK
   Loading Device Tree to 1fd83000, end 1fd86e21 ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0
Linux version 3.3.0-01528-g0f8dd21d-dirty (elvis@titan) (gcc version 4.7.2 (GCC) ) #2 SMP PREEMPT Sat Nov 3 08:59:40 GST 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 ZC702
bootconsole [earlycon0] enabled
Memory policy: ECC disabled, Data cache writealloc
BUG: mapping for 0xf8f00000 at 0xfe00c000 out of vmalloc space
BUG: mapping for 0xe0001000 at 0xfe001000 out of vmalloc space
BUG: mapping for 0xffff1000 at 0xfe200000 out of vmalloc space
PERCPU: Embedded 7 pages/cpu @c1207000 s6400 r8192 d14080 u32768
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 256000
Kernel command line: console=ttyPS0,115200 root=/dev/ram rw rootfstype=ext4 ip=:::::eth0:dhcp earlyprintk
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 240MB 768MB = 1008MB total
Memory: 1010316k/1010316k available, 38260k reserved, 303104K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0xee000000 - 0xfd000000   ( 240 MB)
    lowmem  : 0xc0000000 - 0xed800000   ( 728 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0xc0008000 - 0xc04882d8   (4609 kB)
      .init : 0xc0489000 - 0xc04b0900   ( 159 kB)
      .data : 0xc04b2000 - 0xc04ea480   ( 226 kB)
       .bss : 0xc04ea4a4 - 0xc09f28cf   (5154 kB)
Preemptible hierarchical RCU implementation.
        RCU lockdep checking is enabled.
        Verbose stalled-CPUs detection is disabled.
NR_IRQS:128
xlnx,ps7-ttc-1.00.a #0 at 0xee000000, irq=43
Console: colour dummy device 80x30
Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
... MAX_LOCKDEP_SUBCLASSES:  8
... MAX_LOCK_DEPTH:          48
... MAX_LOCKDEP_KEYS:        8191
... CLASSHASH_SIZE:          4096
... MAX_LOCKDEP_ENTRIES:     16384
... MAX_LOCKDEP_CHAINS:      32768
... CHAINHASH_SIZE:          16384
 memory used by lock dependency info: 3695 kB
 per task-struct memory footprint: 1152 bytes
Calibrating delay loop... 1594.16 BogoMIPS (lpj=7970816)
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... 399.25MHz.
hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
Setting up static identity map for 0x33aa00 - 0x33aa34
CPU1: Booted secondary processor
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
Brought up 2 CPUs
SMP: Total of 2 processors activated (3188.32 BogoMIPS).
devtmpfs: initialized
------------[ cut here ]------------
WARNING: at arch/arm/mm/dma-mapping.c:198 consistent_init+0x70/0x104()
Modules linked in:
[<c0012ffc>] (unwind_backtrace+0x0/0xe0) from [<c001f498>] (warn_slowpath_common+0x4c/0x64)
[<c001f498>] (warn_slowpath_common+0x4c/0x64) from [<c001f4c8>] (warn_slowpath_null+0x18/0x1c)
[<c001f4c8>] (warn_slowpath_null+0x18/0x1c) from [<c048d71c>] (consistent_init+0x70/0x104)
[<c048d71c>] (consistent_init+0x70/0x104) from [<c0008594>] (do_one_initcall+0x90/0x164)
[<c0008594>] (do_one_initcall+0x90/0x164) from [<c048987c>] (kernel_init+0x8c/0x12c)
[<c048987c>] (kernel_init+0x8c/0x12c) from [<c000e470>] (kernel_thread_exit+0x0/0x8)
---[ end trace 1b75b31a2719ed1c ]---
------------[ cut here ]------------
2ffc>] (unwind_backtrace+0x0/0xe0) from [<c001f498>] (warn_slowpath_common+0x4c/0x64)
[<c001f498>] (warn_slowpath_common+0x4c/0x64) from [<c001f4c8>] (warn_slowpath_null+0x18/0x1c)
[<c001f4c8>] (warn_slowpath_null+0x18/0x1c) from [<c048d71c>] (consistent_init+0x70/0x104)
[<c048d71c>] (consistent_init+0x70/0x104) from [<c0008594>] (do_one_initcall+0x90/0x164)
[<c0008594>] (do_one_initcall+0x90/0x164) from [<c048987c>] (kernel_init+0x8c/0x12c)
[<c048987c>] (kernel_init+0x8c/0x12c) from [<c000e470>] xslcr xslcr.0: at 0xF8000000 mapped to 0xEE008000
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 0xee00a000
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c-gpio i2c.1: using pins 51 (SDA) and 50 (SCL)
Advanced Linux Sound Architecture Driver Version 1.0.24.
Switching to clocksource xttcpss_timer1
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 9, 2621440 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
UDP hash table entries: 512 (order: 3, 49152 bytes)
UDP-Lite hash table entries: 512 (order: 3, 49152 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: 2528K
xscugtimer xscugtimer.0: ioremap fe00c200 to ee00e200 with size 400
pl330 dev 0 probe success
highmem bounce pool size: 64 pages
msgmni has been set to 1386
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
e000�console [ttyPS0] enabled, bootconsole disabled
console [ttyPS0] enabled, bootconsole disabled
xdevcfg f8007000.devcfg: ioremap f8007000 to ee012000 with size 1000
[drm] Initialized drm 1.1.0 20060810
brd: module loaded
loop: module loaded
xqspips e000d000.spi: master is unqueued, this is deprecated
xqspips e000d000.spi: at 0xE000D000 mapped to 0xEE014000, irq=51
GEM: BASEADDRESS hw: e000b000 virt: ee016000
XEMACPS mii bus: probed
eth0, pdev->id -1, baseaddr 0xe000b000, irq 54
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
usb_hcd_xusbps_probe: No OTG assigned!
usb_hcd_xusbps_probe: OTG now assigned!
xusbps-ehci xusbps-ehci.0: Xilinx PS USB EHCI Host Controller
xusbps-ehci xusbps-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
INFO: trying to register non-static key.
the code is fine but needs lockdep annotation.
turning off the locking correctness validator.
[<c0012ffc>] (unwind_backtrace+0x0/0xe0) from [<c00569f8>] (__lock_acquire+0x228/0x1754)
[<c00569f8>] (__lock_acquire+0x228/0x1754) from [<c005837c>] (lock_acquire+0x60/0x74)
[<c005837c>] (lock_acquire+0x60/0x74) from [<c0339fac>] (_raw_spin_lock_irqsave+0x50/0x64)
[<c0339fac>] (_raw_spin_lock_irqsave+0x50/0x64) from [<c01680f4>] (xgpiops_set_value+0x8c/0xa8)
[<c01680f4>] (xgpiops_set_value+0x8c/0xa8) from [<c01681b0>] (xgpiops_dir_out+0xa0/0xac)
[<c01681b0>] (xgpiops_dir_out+0xa0/0xac) from [<c0166b30>] (gpio_direction_output+0xa4/0xfc)
[<c0166b30>] (gpio_direction_output+0xa4/0xfc) from [<c0231094>] (i2c_start+0x14/0x40)
[<c0231094>] (i2c_start+0x14/0x40) from [<c023140c>] (bit_xfer+0x34/0x460)
[<c023140c>] (bit_xfer+0x34/0x460) from [<c022f42c>] (i2c_transfer+0xb8/0x114)
[<c022f42c>] (i2c_transfer+0xb8/0x114) from [<c022f8bc>] (i2c_smbus_xfer+0x3a0/0x4fc)
[<c022f8bc>] (i2c_smbus_xfer+0x3a0/0x4fc) from [<c022fcf8>] (i2c_smbus_write_byte+0x2c/0x34)
[<c022fcf8>] (i2c_smbus_write_byte+0x2c/0x34) from [<c02328c8>] (pca954x_probe+0x70/0x1d0)
[<c02328c8>] (pca954x_probe+0x70/0x1d0) from [<c022e694>] (i2c_device_probe+0x84/0xac)
[<c022e694>] (i2c_device_probe+0x84/0xac) from [<c01b2658>] (driver_probe_device+0xb8/0x1fc)
[<c01b2658>] (driver_probe_device+0xb8/0x1fc) from [<c01b280c>] (__driver_attach+0x70/0x94)
[<c01b280c>] (__driver_attach+0x70/0x94) from [<c01b0e60>] (bus_for_each_dev+0x48/0x80)
[<c01b0e60>] (bus_for_each_dev+0x48/0x80) from [<c01b1dd4>] (bus_add_driver+0xc8/0x230)
[<c01b1dd4>] (bus_add_driver+0xc8/0x230) from [<c01b2ae8>] (driver_register+0xa0/0x124)
[<c01b2ae8>] (driver_register+0xa0/0x124) from [<c02300b8>] (i2c_register_driver+0x8c/0xb0)
[<c02300b8>] (i2c_register_driver+0x8c/0xb0) from [<c0008594>] (do_one_initcall+0x90/0x164)
[<c0008594>] (do_one_initcall+0x90/0x164) from [<c048987c>] (kernel_init+0x8c/0x12c)
[<c048987c>] (kernel_init+0x8c/0x12c) from [<c000e470>] (kernel_thread_exit+0x0/0x8)
i2c i2c-0: Added multiplexed i2c bus 1
i2c i2c-0: Added multiplexed i2c bus 2
i2c i2c-0: Added multiplexed i2c bus 3
i2c i2c-0: Added multiplexed i2c bus 4
i2c i2c-0: Added multiplexed i2c bus 5
rtc-pcf8563 5-0051: chip found, driver version 0.4.3
rtc-pcf8563 5-0051: rtc core: registered rtc-pcf8563 as rtc0
i2c i2c-0: Added multiplexed i2c bus 6
i2c i2c-0: Added multiplexed i2c bus 7
i2c i2c-0: Added multiplexed i2c bus 8
pca954x 0-0074: registered 8 multiplexed busses for I2C switch pca9548
Linux video capture interface: v2.00
gspca_main: v2.14.0 registered
usbcore: registered new interface driver uvcvideo
USB Video Class driver (1.1.1)
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
setting clock to: 106500
raw_edid: e8b973c0 0
Using RGB output
ALSA device list:
  No soundcards found.
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
rtc-pcf8563 5-0051: setting system clock to 2027-12-19 06:57:47 UTC (1829199467)
GEM: lp->tx_bd ffdfa000 lp->tx_bd_dma 297f2000 lp->tx_skb e82da580
GEM: lp->rx_bd ffdfb000 lp->rx_bd_dma 297f3000 lp->rx_skb e82da480
GEM: MAC 0x00350a00, 0x00002201, 00:0a:35:00:01:22
mmc0: new high speed SDHC card at address b368
mmcblk0: mmc0:b368 NCard 14.9 GiB 
 mmcblk0: p1 p2
Console: switching to colour frame buffer device 180x56
fb0:  frame buffer device
drm: registered panic notifier
[drm] Initialized analog_drm 1.0.0 20110530 on minor 0
GEM: phydev e8b93800, phydev->phy_id 0x1410e40, phydev->addr 0x7
eth0, phy_addr 0x7, phy_id 0x01410e40
eth0, attach [Marvell 88E1116R] phy driver
Sending DHCP requests ..
eth0: link up (1000/FULL)
., OK
IP-Config: Got DHCP answer from 192.168.0.2, my address is 192.168.0.11
IP-Config: Complete:
     device=eth0, addr=192.168.0.11, mask=255.255.255.0, gw=192.168.0.1,
     host=192.168.0.11, domain=example.org, nis-domain=(none),
     bootserver=192.168.0.2, rootserver=192.168.0.2, rootpath=
RAMDISK: gzip image found at block 0
EXT4-fs (ram0): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 1:0.
devtmpfs: mounted
Freeing init memory: 156K
INIT: version 2.88 booting
Starting udev
udev[661]: starting version 164
Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directory
bootlogd.
EXT4-fs (ram0): re-mounted. Opts: user_xattr,barrier=1,data=ordered
Configuring network interfaces... udhcpc (v1.20.2) started
Sending discover...
Sending select for 192.168.0.10...
Lease of 192.168.0.10 obtained, lease time 86400
/etc/udhcpc.d/50default: Adding DNS 192.168.0.2
/etc/udhcpc.d/50default: Adding DNS 192.168.0.1
done.
INIT: Entering runlevel: 5
Starting syslogd/klogd: done
Stopping Bootlog daemon: bootlogd.

Poky 8.0 (Yocto Project 1.3 Reference Distro) 1.3+snapshot-20121025 zynq-zc702 ttyPS0

zynq-zc702 login: root
root@zynq-zc702:~# cd ..
root@zynq-zc702:/home# cd /
root@zynq-zc702:/# ls
bin         etc         lost+found  proc        tmp
boot        home        media       sbin        usr
dev         lib         mnt         sys         var
root@zynq-zc702:/# 

Elvis Dowson

0 Kudos
3 Replies
7,312 Views
Registered: ‎12-30-2008

Re: ZC702: Linux kernel crash in dma driver, when using axi_vdma only without axi_dma in the hw project

Jump to solution

Ok, figured that one out, I had to comment out the axi_dma references, and the devices that used it, in this case, the hdmi s/pdif output of the ADV7511 transmitter, from the devicetree file as follows:

/*
		axi_dma_0: axidma@40400000 {
			#address-cells = <1>;
			#size-cells = <1>;
			#dma-cells = <1>;
			compatible = "xlnx,axi-dma";
			reg = < 0x40400000 0x1000 >;
			xlnx,sg-include-stscntrl-strm = <0x0>;
			dma-channel@40400000 {
				compatible = "xlnx,axi-dma-mm2s-channel";
				interrupts = < 0 58 0x4 >;
				xlnx,datawidth = <0x20>;
				xlnx,include-dre = <0x0>;
			};
		};
*/

/*
		xilinx_pcm_audio: xilinx_pcm_audio {
			compatible = "xilinx-pcm-audio";
			dma-request = <&axi_dma_0 0>;
		};

		adv7511_hdmi_snd: adv7511_hdmi_snd {
			compatible = "adv7511-hdmi-snd";
			audio-codec = <&i2c_adv7511>;
			cpu-dai = <&axi_spdif_tx_0>;
			pcm = <&xilinx_pcm_audio>;
		};
*/

 This worked, and I get a clean boot with hdmi output using the axi_vdma ip core:

U-Boot 2012.04.01-00304-g7639205 (Oct 26 2012 - 23:30:45)

DRAM:  1 GiB
WARNING: Caches not enabled
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: 73
OEM: 4247
Name: NCard 
Tran Speed: 25000000
Rd Block Len: 512
SD version 2.0
High Capacity: Yes
Capacity: 14.9 GiB
Bus Width: 4-bit
reading uImage

2555336 bytes read
reading devicetree.dtb

3618 bytes read
reading uramdisk.image.gz

2592125 bytes read
## Booting kernel from Legacy Image at 03000000 ...
   Image Name:   Linux-3.3.0-01528-g0f8dd21d-dirt
   Created:      2012-11-03   4:59:43 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2555272 Bytes = 2.4 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02000000 ...
   Image Name:   
   Created:      2012-11-03   5:52:14 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    2592061 Bytes = 2.5 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 02a00000
   Booting using the fdt blob at 0x02a00000
   Loading Kernel Image ... OK
OK
   Loading Ramdisk to 1fd87000, end 1ffffd3d ... OK
   Loading Device Tree to 1fd83000, end 1fd86e21 ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0
Linux version 3.3.0-01528-g0f8dd21d-dirty (elvis@titan) (gcc version 4.7.2 (GCC) ) #2 SMP PREEMPT Sat Nov 3 08:59:40 GST 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 ZC702
bootconsole [earlycon0] enabled
Memory policy: ECC disabled, Data cache writealloc
BUG: mapping for 0xf8f00000 at 0xfe00c000 out of vmalloc space
BUG: mapping for 0xe0001000 at 0xfe001000 out of vmalloc space
BUG: mapping for 0xffff1000 at 0xfe200000 out of vmalloc space
PERCPU: Embedded 7 pages/cpu @c1207000 s6400 r8192 d14080 u32768
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 256000
Kernel command line: console=ttyPS0,115200 root=/dev/ram rw rootfstype=ext4 ip=:::::eth0:dhcp earlyprintk
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 240MB 768MB = 1008MB total
Memory: 1010316k/1010316k available, 38260k reserved, 303104K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0xee000000 - 0xfd000000   ( 240 MB)
    lowmem  : 0xc0000000 - 0xed800000   ( 728 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0xc0008000 - 0xc04882d8   (4609 kB)
      .init : 0xc0489000 - 0xc04b0900   ( 159 kB)
      .data : 0xc04b2000 - 0xc04ea480   ( 226 kB)
       .bss : 0xc04ea4a4 - 0xc09f28cf   (5154 kB)
Preemptible hierarchical RCU implementation.
        RCU lockdep checking is enabled.
        Verbose stalled-CPUs detection is disabled.
NR_IRQS:128
xlnx,ps7-ttc-1.00.a #0 at 0xee000000, irq=43
Console: colour dummy device 80x30
Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
... MAX_LOCKDEP_SUBCLASSES:  8
... MAX_LOCK_DEPTH:          48
... MAX_LOCKDEP_KEYS:        8191
... CLASSHASH_SIZE:          4096
... MAX_LOCKDEP_ENTRIES:     16384
... MAX_LOCKDEP_CHAINS:      32768
... CHAINHASH_SIZE:          16384
 memory used by lock dependency info: 3695 kB
 per task-struct memory footprint: 1152 bytes
Calibrating delay loop... 1594.16 BogoMIPS (lpj=7970816)
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... 399.25MHz.
hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
Setting up static identity map for 0x33aa00 - 0x33aa34
CPU1: Booted secondary processor
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
Brought up 2 CPUs
SMP: Total of 2 processors activated (3188.32 BogoMIPS).
devtmpfs: initialized
------------[ cut here ]------------
WARNING: at arch/arm/mm/dma-mapping.c:198 consistent_init+0x70/0x104()
Modules linked in:
[<c0012ffc>] (unwind_backtrace+0x0/0xe0) from [<c001f498>] (warn_slowpath_common+0x4c/0x64)
[<c001f498>] (warn_slowpath_common+0x4c/0x64) from [<c001f4c8>] (warn_slowpath_null+0x18/0x1c)
[<c001f4c8>] (warn_slowpath_null+0x18/0x1c) from [<c048d71c>] (consistent_init+0x70/0x104)
[<c048d71c>] (consistent_init+0x70/0x104) from [<c0008594>] (do_one_initcall+0x90/0x164)
[<c0008594>] (do_one_initcall+0x90/0x164) from [<c048987c>] (kernel_init+0x8c/0x12c)
[<c048987c>] (kernel_init+0x8c/0x12c) from [<c000e470>] (kernel_thread_exit+0x0/0x8)
---[ end trace 1b75b31a2719ed1c ]---
------------[ cut here ]------------
2ffc>] (unwind_backtrace+0x0/0xe0) from [<c001f498>] (warn_slowpath_common+0x4c/0x64)
[<c001f498>] (warn_slowpath_common+0x4c/0x64) from [<c001f4c8>] (warn_slowpath_null+0x18/0x1c)
[<c001f4c8>] (warn_slowpath_null+0x18/0x1c) from [<c048d71c>] (consistent_init+0x70/0x104)
[<c048d71c>] (consistent_init+0x70/0x104) from [<c0008594>] (do_one_initcall+0x90/0x164)
[<c0008594>] (do_one_initcall+0x90/0x164) from [<c048987c>] (kernel_init+0x8c/0x12c)
[<c048987c>] (kernel_init+0x8c/0x12c) from [<c000e470>] xslcr xslcr.0: at 0xF8000000 mapped to 0xEE008000
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 0xee00a000
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c-gpio i2c.1: using pins 51 (SDA) and 50 (SCL)
Advanced Linux Sound Architecture Driver Version 1.0.24.
Switching to clocksource xttcpss_timer1
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 9, 2621440 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
UDP hash table entries: 512 (order: 3, 49152 bytes)
UDP-Lite hash table entries: 512 (order: 3, 49152 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: 2528K
xscugtimer xscugtimer.0: ioremap fe00c200 to ee00e200 with size 400
pl330 dev 0 probe success
highmem bounce pool size: 64 pages
msgmni has been set to 1386
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
e000�console [ttyPS0] enabled, bootconsole disabled
console [ttyPS0] enabled, bootconsole disabled
xdevcfg f8007000.devcfg: ioremap f8007000 to ee012000 with size 1000
[drm] Initialized drm 1.1.0 20060810
brd: module loaded
loop: module loaded
xqspips e000d000.spi: master is unqueued, this is deprecated
xqspips e000d000.spi: at 0xE000D000 mapped to 0xEE014000, irq=51
GEM: BASEADDRESS hw: e000b000 virt: ee016000
XEMACPS mii bus: probed
eth0, pdev->id -1, baseaddr 0xe000b000, irq 54
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
usb_hcd_xusbps_probe: No OTG assigned!
usb_hcd_xusbps_probe: OTG now assigned!
xusbps-ehci xusbps-ehci.0: Xilinx PS USB EHCI Host Controller
xusbps-ehci xusbps-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
INFO: trying to register non-static key.
the code is fine but needs lockdep annotation.
turning off the locking correctness validator.
[<c0012ffc>] (unwind_backtrace+0x0/0xe0) from [<c00569f8>] (__lock_acquire+0x228/0x1754)
[<c00569f8>] (__lock_acquire+0x228/0x1754) from [<c005837c>] (lock_acquire+0x60/0x74)
[<c005837c>] (lock_acquire+0x60/0x74) from [<c0339fac>] (_raw_spin_lock_irqsave+0x50/0x64)
[<c0339fac>] (_raw_spin_lock_irqsave+0x50/0x64) from [<c01680f4>] (xgpiops_set_value+0x8c/0xa8)
[<c01680f4>] (xgpiops_set_value+0x8c/0xa8) from [<c01681b0>] (xgpiops_dir_out+0xa0/0xac)
[<c01681b0>] (xgpiops_dir_out+0xa0/0xac) from [<c0166b30>] (gpio_direction_output+0xa4/0xfc)
[<c0166b30>] (gpio_direction_output+0xa4/0xfc) from [<c0231094>] (i2c_start+0x14/0x40)
[<c0231094>] (i2c_start+0x14/0x40) from [<c023140c>] (bit_xfer+0x34/0x460)
[<c023140c>] (bit_xfer+0x34/0x460) from [<c022f42c>] (i2c_transfer+0xb8/0x114)
[<c022f42c>] (i2c_transfer+0xb8/0x114) from [<c022f8bc>] (i2c_smbus_xfer+0x3a0/0x4fc)
[<c022f8bc>] (i2c_smbus_xfer+0x3a0/0x4fc) from [<c022fcf8>] (i2c_smbus_write_byte+0x2c/0x34)
[<c022fcf8>] (i2c_smbus_write_byte+0x2c/0x34) from [<c02328c8>] (pca954x_probe+0x70/0x1d0)
[<c02328c8>] (pca954x_probe+0x70/0x1d0) from [<c022e694>] (i2c_device_probe+0x84/0xac)
[<c022e694>] (i2c_device_probe+0x84/0xac) from [<c01b2658>] (driver_probe_device+0xb8/0x1fc)
[<c01b2658>] (driver_probe_device+0xb8/0x1fc) from [<c01b280c>] (__driver_attach+0x70/0x94)
[<c01b280c>] (__driver_attach+0x70/0x94) from [<c01b0e60>] (bus_for_each_dev+0x48/0x80)
[<c01b0e60>] (bus_for_each_dev+0x48/0x80) from [<c01b1dd4>] (bus_add_driver+0xc8/0x230)
[<c01b1dd4>] (bus_add_driver+0xc8/0x230) from [<c01b2ae8>] (driver_register+0xa0/0x124)
[<c01b2ae8>] (driver_register+0xa0/0x124) from [<c02300b8>] (i2c_register_driver+0x8c/0xb0)
[<c02300b8>] (i2c_register_driver+0x8c/0xb0) from [<c0008594>] (do_one_initcall+0x90/0x164)
[<c0008594>] (do_one_initcall+0x90/0x164) from [<c048987c>] (kernel_init+0x8c/0x12c)
[<c048987c>] (kernel_init+0x8c/0x12c) from [<c000e470>] (kernel_thread_exit+0x0/0x8)
i2c i2c-0: Added multiplexed i2c bus 1
i2c i2c-0: Added multiplexed i2c bus 2
i2c i2c-0: Added multiplexed i2c bus 3
i2c i2c-0: Added multiplexed i2c bus 4
i2c i2c-0: Added multiplexed i2c bus 5
rtc-pcf8563 5-0051: chip found, driver version 0.4.3
rtc-pcf8563 5-0051: rtc core: registered rtc-pcf8563 as rtc0
i2c i2c-0: Added multiplexed i2c bus 6
i2c i2c-0: Added multiplexed i2c bus 7
i2c i2c-0: Added multiplexed i2c bus 8
pca954x 0-0074: registered 8 multiplexed busses for I2C switch pca9548
Linux video capture interface: v2.00
gspca_main: v2.14.0 registered
usbcore: registered new interface driver uvcvideo
USB Video Class driver (1.1.1)
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
setting clock to: 106500
raw_edid: e8b973c0 0
Using RGB output
ALSA device list:
  No soundcards found.
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
rtc-pcf8563 5-0051: setting system clock to 2027-12-19 06:57:47 UTC (1829199467)
GEM: lp->tx_bd ffdfa000 lp->tx_bd_dma 297f2000 lp->tx_skb e82da580
GEM: lp->rx_bd ffdfb000 lp->rx_bd_dma 297f3000 lp->rx_skb e82da480
GEM: MAC 0x00350a00, 0x00002201, 00:0a:35:00:01:22
mmc0: new high speed SDHC card at address b368
mmcblk0: mmc0:b368 NCard 14.9 GiB 
 mmcblk0: p1 p2
Console: switching to colour frame buffer device 180x56
fb0:  frame buffer device
drm: registered panic notifier
[drm] Initialized analog_drm 1.0.0 20110530 on minor 0
GEM: phydev e8b93800, phydev->phy_id 0x1410e40, phydev->addr 0x7
eth0, phy_addr 0x7, phy_id 0x01410e40
eth0, attach [Marvell 88E1116R] phy driver
Sending DHCP requests ..
eth0: link up (1000/FULL)
., OK
IP-Config: Got DHCP answer from 192.168.0.2, my address is 192.168.0.11
IP-Config: Complete:
     device=eth0, addr=192.168.0.11, mask=255.255.255.0, gw=192.168.0.1,
     host=192.168.0.11, domain=example.org, nis-domain=(none),
     bootserver=192.168.0.2, rootserver=192.168.0.2, rootpath=
RAMDISK: gzip image found at block 0
EXT4-fs (ram0): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 1:0.
devtmpfs: mounted
Freeing init memory: 156K
INIT: version 2.88 booting
Starting udev
udev[661]: starting version 164
Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directory
bootlogd.
EXT4-fs (ram0): re-mounted. Opts: user_xattr,barrier=1,data=ordered
Configuring network interfaces... udhcpc (v1.20.2) started
Sending discover...
Sending select for 192.168.0.10...
Lease of 192.168.0.10 obtained, lease time 86400
/etc/udhcpc.d/50default: Adding DNS 192.168.0.2
/etc/udhcpc.d/50default: Adding DNS 192.168.0.1
done.
INIT: Entering runlevel: 5
Starting syslogd/klogd: done
Stopping Bootlog daemon: bootlogd.

Poky 8.0 (Yocto Project 1.3 Reference Distro) 1.3+snapshot-20121025 zynq-zc702 ttyPS0

zynq-zc702 login: root
root@zynq-zc702:~# cd ..
root@zynq-zc702:/home# cd /
root@zynq-zc702:/# ls
bin         etc         lost+found  proc        tmp
boot        home        media       sbin        usr
dev         lib         mnt         sys         var
root@zynq-zc702:/# 

Elvis Dowson

0 Kudos
Highlighted
Explorer
Explorer
5,240 Views
Registered: ‎02-17-2013

Re: ZC702: Linux kernel crash in dma driver, when using axi_vdma only without axi_dma in the hw project

Jump to solution

Hey 

I want know how do you build your open embedded distribution I generate the files image now what files do you use in the oe-core/build/tmp-eglibc/deploy/images. I want flash the zedboard in QSPI. 

Best Regards. 

0 Kudos
5,237 Views
Registered: ‎12-30-2008

Re: ZC702: Linux kernel crash in dma driver, when using axi_vdma only without axi_dma in the hw project

Jump to solution

For QSPI, refer UG873 - Zynq-7000 All Programmable SoC - Concepts, Tools, and Techniques v14.5, section 5.2.5, page 46 on how to boot linux from QSPI flash.

0 Kudos