linux running err on zc706 with adv7511

Hi

I am using zc706 to develop a product

but when i follow 

https://wiki.analog.com/resources/fpga/docs/build

https://wiki.analog.com/resources/tools-software/linux-drivers/platforms/zynq

to run linux on my zc706

when i run the board  it cannot running successfully.

the error infor is

U-Boot 2018.01 (Oct 06 2020 - 18:21:59 -0700) Xilinx Zynq ZC706

Model: Zynq ZC706 Development Board
Board: Xilinx Zynq
Silicon: v3.1
I2C:   ready
DRAM:  ECC disabled 1 GiB
MMC:   sdhci@e0100000: 0 (SD)
SF: Detected s25fl128s_64k with page size 512 Bytes, erase size 128 KiB, total 32 MiB
*** Warning - bad CRC, using default environment

In:    serial@e0001000
Out:   serial@e0001000
Err:   serial@e0001000
Net:   ZYNQ GEM: e000b000, phyaddr 7, interface rgmii-id
eth0: ethernet@e000b000
reading uEnv.txt
379 bytes read in 11 ms (33.2 KiB/s)
Importing environment from SD ...
Hit any key to stop autoboot:  0 
Device: sdhci@e0100000
Manufacturer ID: 3
OEM: 5344
Name: SC64G 
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 59.5 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes
reading uEnv.txt
379 bytes read in 11 ms (33.2 KiB/s)
Loaded environment from uEnv.txt
Importing environment from SD ...
Running uenvcmd ...
Copying Linux from SD to RAM...
reading uImage
5931328 bytes read in 340 ms (16.6 MiB/s)
reading devicetree.dtb
13311 bytes read in 17 ms (764.6 KiB/s)
** Unable to read file uramdisk.image.gz **
## Booting kernel from Legacy Image at 03000000 ...
   Image Name:   Linux-4.19.0-g7c227c1ac72e-dirty
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5931264 Bytes = 5.7 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 02a00000
   Booting using the fdt blob at 0x2a00000
   Loading Kernel Image ... OK
   Loading Device Tree to 1fff9000, end 1ffff3fe ... OK

Starting kernel ...

Booting Linux on physical CPU 0x0
Linux version 4.19.0-g7c227c1ac72e-dirty (root@ubuntu) (gcc version 6.3.1 20170620 (15:6.3.1+svn253039-1build1)) #2 SMP PREEMPT Mon Oct 5 20:25:55 PDT 2020
CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
OF: fdt: Machine model: Xilinx Zynq ZC706
bootconsole [earlycon0] enabled
Memory policy: Data cache writealloc
cma: Reserved 128 MiB at 0x38000000
random: get_random_bytes called from start_kernel+0xa0/0x40c with crng_init=0
percpu: Embedded 16 pages/cpu @(ptrval) s33548 r8192 d23796 u65536
Built 1 zonelists, mobility grouping on.  Total pages: 260608
Kernel command line: console=ttyPS0,115200 root=/dev/mmcblk0p2 rw earlyprintk rootfstype=ext4 rootwait
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 890476K/1048576K available (8192K kernel code, 793K rwdata, 6452K rodata, 1024K init, 161K bss, 27028K reserved, 131072K cma-reserved, 131072K highmem)
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
    lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0x(ptrval) - 0x(ptrval)   (9184 kB)
      .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
      .data : 0x(ptrval) - 0x(ptrval)   ( 794 kB)
       .bss : 0x(ptrval) - 0x(ptrval)   ( 162 kB)
rcu: Preemptible hierarchical RCU implementation.
rcu: 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
	Tasks RCU enabled.
rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
efuse mapped to (ptrval)
slcr mapped to (ptrval)
L2C: platform modifies aux control register: 0x72360000 -> 0x72760000
L2C: DT/platform modifies aux control register: 0x72360000 -> 0x72760000
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 0x76760001
zynq_clock_init: clkc starts at (ptrval)
Zynq clock init
sched_clock: 64 bits at 333MHz, resolution 3ns, wraps every 4398046511103ns
clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x4ce07af025, max_idle_ns: 440795209040 ns
Switching to timer-based delay loop, resolution 3ns
clocksource: ttc_clocksource: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 537538477 ns
timer #0 at (ptrval), irq=17
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 666.66 BogoMIPS (lpj=3333333)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
CPU: Testing write buffer coherency: ok
CPU0: Spectre v2: using BPIALL workaround
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x100000 - 0x100060
rcu: Hierarchical SRCU implementation.
smp: Bringing up secondary CPUs ...
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
CPU1: Spectre v2: using BPIALL workaround
smp: Brought up 1 node, 2 CPUs
SMP: Total of 2 processors activated (1333.33 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 512 (order: 3, 32768 bytes)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
cpuidle: using governor ladder
hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 4 bytes.
zynq-ocm f800c000.ocmc: ZYNQ OCM pool: 256 KiB @ 0x(ptrval)
zynq-pinctrl 700.pinctrl: zynq pinctrl initialized
e0001000.serial: ttyPS0 at MMIO 0xe0001000 (irq = 25, base_baud = 3125000) is a xuartps
console [ttyPS0] enabled
console [ttyPS0] enabled
bootconsole [earlycon0] disabled
bootconsole [earlycon0] disabled
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
videodev: Linux video capture interface: v2.00
jesd204: found 0 devices and 0 topologies
FPGA manager framework
Advanced Linux Sound Architecture Driver Initialized.
clocksource: Switched to clocksource arm_global_timer
NET: Registered protocol family 2
tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
hw perfevents: no interrupt-affinity property for /pmu@f8891000, guessing.
hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
workingset: timestamp_bits=30 max_order=18 bucket_order=0
bounce: pool size: 64 pages
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
io scheduler mq-deadline registered
io scheduler kyber registered
dma-pl330 f8003000.dmac: Loaded driver for PL330 DMAC-241330
dma-pl330 f8003000.dmac: 	DBUFF-128x8bytes Num_Chans-8 Num_Peri-4 Num_Events-16
brd: module loaded
loop: module loaded
Registered mathworks_ip class
m25p80 spi0.0: found s25fl128s, expected n25q128a11
m25p80 spi0.0: s25fl128s (32768 Kbytes)
5 fixed-partitions partitions found on MTD device spi0.0
Creating 5 MTD partitions on "spi0.0":
0x000000000000-0x000000500000 : "boot"
0x000000500000-0x000000520000 : "bootenv"
0x000000520000-0x000000540000 : "config"
0x000000540000-0x000000fc0000 : "image"
0x000000fc0000-0x000002000000 : "spare"
MACsec IEEE 802.1AE
libphy: Fixed MDIO Bus: probed
tun: Universal TUN/TAP device driver, 1.6
libphy: MACB_mii_bus: probed
mdio_bus e000b000.ethernet-ffffffff: MDIO device at address 7 is missing.
macb e000b000.ethernet: Special handling...
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
usbcore: registered new interface driver usb-storage
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
usbcore: registered new interface driver upd78f0730
usbserial: USB Serial support registered for upd78f0730
chipidea-usb2 e0002000.usb: e0002000.usb supply vbus not found, using dummy regulator
chipidea-usb2 e0002000.usb: Linked as a consumer to regulator.0
ULPI transceiver vendor/product ID 0x0424/0x0007
Found SMSC USB3320 ULPI transceiver.
ULPI integrity check: passed.
ci_hdrc ci_hdrc.0: EHCI Host Controller
ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
i2c /dev entries driver
pca954x 0-0074: probe failed
usbcore: registered new interface driver uvcvideo
USB Video Class driver (1.1.1)
gspca_main: v2.14.0 registered
cdns-wdt f8005000.watchdog: Xilinx Watchdog Timer with timeout 10s
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
mmc0: SDHCI controller on e0100000.mmc [e0100000.mmc] 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
Unhandled fault: imprecise external abort (0x406) at 0x00000000
pgd = (ptrval)
[00000000] *pgd=00000000
Internal error: : 406 [#1] PREEMPT SMP ARM
Modules linked in:
CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.19.0-g7c227c1ac72e-dirty #2
mmc0: new high speed SDXC card at address aaaa
Hardware name: Xilinx Zynq Platform
PC is at axi_sysid_probe+0x8c/0x3c0
LR is at __devm_ioremap+0x88/0xac
pc : [<c0717ac4>]    lr : [<c032f078>]    psr: 80000013
mmcblk0: mmc0:aaaa SC64G 59.5 GiB 
sp : ef063d88  ip : 00000000  fp : 00000000
r10: 00000000  r9 : ef12ca00  r8 : c1103c48
 mmcblk0: p1 p2
r7 : ef12ca10  r6 : c11b0f88  r5 : ee9c8b50  r4 : c0cfb984
r3 : c0cfbb0c  r2 : 00000000  r1 : dec0de1c  r0 : f09a0000
Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
Control: 18c5387d  Table: 0000404a  DAC: 00000051
Process swapper/0 (pid: 1, stack limit = 0x(ptrval))
Stack: (0xef063d88 to 0xef064000)
3d80:                   c11b0f88 00000000 00000000 c0366578 c1103c48 c1103c48
3da0: ef7f6998 fffffffe ef063e08 c1103c48 321161db a0000013 c11e6a20 83297039
3dc0: ee9c92c0 c0265570 ee9c92c0 00000000 00000000 c0efdfb0 00000001 c0265714
3de0: ef12d9a0 c02653a0 00000000 ee9c92c0 ee9c9370 ee9c9370 00000000 ef12d9a0
3e00: c0efdfb0 83297039 ee9c92c0 83297039 ef12ca10 00000000 c11b0f88 00000000
3e20: 00000000 c11b0f88 00000000 c03ea3b8 c11e4b80 ef12ca10 c11e4b84 00000000
3e40: 00000000 c03e8708 ef12ca10 c11b0f88 ef12ca44 c1103c48 00000000 c103f938
3e60: 00000007 c03e8904 00000000 c05b86a4 ef12ca10 ef12ca10 c11b0f88 ef12ca44
3e80: c1103c48 00000000 c103f938 00000007 00000000 c03e8aec 00000000 c11b0f88
3ea0: c03e8a10 c03e6a00 00000000 ef0c0f58 ef1236b4 83297039 c111b280 c11b0f88
3ec0: ee8e1700 c111b280 00000000 c03e7ac0 c0ef607c c1103c48 ffffe000 c11b0f88
3ee0: c1103c48 ffffe000 c1023610 c03e9418 c11c65c0 c1103c48 ffffe000 c010272c
3f00: c0f4c36c 000000da 000000da c013aa00 c0f4b264 00000000 c10005c4 00000000
3f20: 00000006 00000006 c0e694a4 c0e60400 c0e60474 c1103c48 c1035818 efffce09
3f40: 00000000 83297039 00000000 83297039 c11c65c0 c11c65c0 000000da c1035834
3f60: c103583c 00000007 00000000 c1000e4c 00000006 00000006 00000000 c10005c4
3f80: c0897ba8 00000000 c0897ba8 00000000 00000000 00000000 00000000 00000000
3fa0: 00000000 c0897bb0 00000000 c01010e8 00000000 00000000 00000000 00000000
3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[<c0717ac4>] (axi_sysid_probe) from [<c03ea3b8>] (platform_drv_probe+0x48/0x9c)
[<c03ea3b8>] (platform_drv_probe) from [<c03e8708>] (really_probe+0x220/0x2b8)
[<c03e8708>] (really_probe) from [<c03e8904>] (driver_probe_device+0x60/0x16c)
[<c03e8904>] (driver_probe_device) from [<c03e8aec>] (__driver_attach+0xdc/0xe0)
[<c03e8aec>] (__driver_attach) from [<c03e6a00>] (bus_for_each_dev+0x68/0xb4)
[<c03e6a00>] (bus_for_each_dev) from [<c03e7ac0>] (bus_add_driver+0x100/0x20c)
[<c03e7ac0>] (bus_add_driver) from [<c03e9418>] (driver_register+0x78/0x10c)
[<c03e9418>] (driver_register) from [<c010272c>] (do_one_initcall+0x54/0x194)
[<c010272c>] (do_one_initcall) from [<c1000e4c>] (kernel_init_freeable+0x144/0x1d8)
[<c1000e4c>] (kernel_init_freeable) from [<c0897bb0>] (kernel_init+0x8/0x114)
[<c0897bb0>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
Exception stack(0xef063fb0 to 0xef063ff8)
3fa0:                                     00000000 00000000 00000000 00000000
3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3fe0: 00000000 00000000 00000000 00000000 00000013 00000000
Code: e59430c0 e5853004 e5901000 f57ff04f (e5953004) 
---[ end trace 646bf552713cbfa2 ]---
Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

CPU1: stopping
CPU: 1 PID: 0 Comm: swapper/1 Tainted: G      D           4.19.0-g7c227c1ac72e-dirty #2
Hardware name: Xilinx Zynq Platform
[<c010f71c>] (unwind_backtrace) from [<c010bd38>] (show_stack+0x10/0x14)
[<c010bd38>] (show_stack) from [<c0883780>] (dump_stack+0x88/0x9c)
[<c0883780>] (dump_stack) from [<c010dcf4>] (ipi_cpu_stop+0x64/0x74)
[<c010dcf4>] (ipi_cpu_stop) from [<c010e460>] (handle_IPI+0x78/0x88)
[<c010e460>] (handle_IPI) from [<c03363fc>] (gic_handle_irq+0x8c/0x90)
[<c03363fc>] (gic_handle_irq) from [<c0101a0c>] (__irq_svc+0x6c/0xa8)
Exception stack(0xef085f38 to 0xef085f80)
5f20:                                                       00000000 00000000
5f40: 2e79c000 ef7e3740 48a7ba01 00000000 ef7e2a98 00000001 48a1477d 00000000
5f60: 00000000 ef085fb0 00600000 ef085f88 c0565360 c0565364 00000113 ffffffff
[<c0101a0c>] (__irq_svc) from [<c0565364>] (cpuidle_enter_state+0x13c/0x2c8)
[<c0565364>] (cpuidle_enter_state) from [<c01461b0>] (do_idle+0x1f4/0x258)
[<c01461b0>] (do_idle) from [<c01464e4>] (cpu_startup_entry+0x18/0x1c)
[<c01464e4>] (cpu_startup_entry) from [<0010240c>] (0x10240c)
---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
 ]---

I dont know where is wrong and how to fix it.

please give me some solution or advice to fix it. thank you so much !

Top Replies