Zynq 7020 loaded, Epiphany doesnt work and often hang out

Hardware related problems and workarounds

Zynq 7020 loaded, Epiphany doesnt work and often hang out

Postby xuewang » Fri Feb 24, 2017 8:38 am

Hello dear community. In December I ordered Parallella board (embedded with Zynq 7020) that I wanted for a long time to buy, but they were not available. When I decided to start working with him, But I was very disappointed, because I can't run any one apps example on Epiphany.
I collected all logs, dmesg. I tried to boot from different sd cards, different os(MAC AND WINDOWS). And I use Image with supporting HDMi and without. And I aslo change the power with 1-2 position and 2-3 position.I also tried the 2016.3.1 img, but they did not work.
I will be very glad if you advise me what can be done. I'd really like to get my parallella worked.
Thank you.


First,
I tested the epiphany by run the test.sh in /tests/epiphany-sdk/
yes it can not run at all, so I terminate it by ctrl+c. But there was a time but very little time that the first example can be tested ok and Test pass.


Then I run the most simple example-hello-world in epiphany-examples it run the same report as above, in most time, It can run nothing and it would hang out, and I can not do anything, it reported segment fault.

So I guess that maybe there is something wrong with the cache or sdram, what can I do For the next test?
Dmesg report:
parallella@parallella:~$ dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.4.0+ (esim@adapteva-dev) (gcc version 5.2.1 20151005 (Linaro GCC 5.2-2015.11-2) ) #1 SMP Thu May 12 15:35:42 CEST 2016
[ 0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: Adapteva Parallella Board with headless bitstream
[ 0.000000] cma: Reserved 64 MiB at 0x3a000000
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] On node 0 totalpages: 253952
[ 0.000000] free_area_init_node: node 0, pgdat c0fe9680, node_mem_map ef838000
[ 0.000000] DMA zone: 1536 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 196608 pages, LIFO batch:31
[ 0.000000] HighMem zone: 57344 pages, LIFO batch:15
[ 0.000000] PERCPU: Embedded 12 pages/cpu @ef811000 s19136 r8192 d21824 u49152
[ 0.000000] pcpu-alloc: s19136 r8192 d21824 u49152 alloc=12*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 252416
[ 0.000000] Kernel command line: console=ttyPS0,115200 earlyprintk root=/dev/mmcblk0p2 rootfstype=ext4 rw rootwait
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 924692K/1015808K available (8370K kernel code, 981K rwdata, 3812K rodata, 1052K init, 338K bss, 25580K reserved, 65536K cma-reserved, 163840K highmem)
[ 0.000000] 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 : 0xc0208000 - 0xc0dee850 (12187 kB)
.init : 0xc0def000 - 0xc0ef6000 (1052 kB)
.data : 0xc0ef6000 - 0xc0feb640 ( 982 kB)
.bss : 0xc0fee000 - 0xc1042ad0 ( 339 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=2.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] L2C: platform modifies aux control register: 0x72360000 -> 0x72760000
[ 0.000000] L2C: DT/platform modifies aux control register: 0x72360000 -> 0x72760000
[ 0.000000] L2C-310 erratum 769419 enabled
[ 0.000000] L2C-310 enabling early BRESP for Cortex-A9
[ 0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[ 0.000000] L2C-310 ID prefetch enabled, offset 1 lines
[ 0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[ 0.000000] L2C-310 cache controller enabled, 8 ways, 512 kB
[ 0.000000] L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76760001
[ 0.000000] slcr mapped to f0804000
[ 0.000000] zynq_clock_init: clkc starts at f0804100
[ 0.000000] Zynq clock init
[ 0.000000] global-timer: tied to cpu frequency, not supported with scaling
[ 0.000000] clocksource: ttc_clocksource: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 537538477 ns
[ 0.000018] sched_clock: 16 bits at 54kHz, resolution 18432ns, wraps every 603975816ns
[ 0.000036] timer #0 at f0808000, irq=17
[ 0.000497] Console: colour dummy device 80x30
[ 0.000516] Calibrating delay loop... 1327.10 BogoMIPS (lpj=3317760)
[ 0.025178] pid_max: default: 32768 minimum: 301
[ 0.025288] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.025307] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.025897] CPU: Testing write buffer coherency: ok
[ 0.026118] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.026192] Setting up static identity map for 0x209000 - 0x209098
[ 0.055167] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.055259] Brought up 2 CPUs
[ 0.055278] SMP: Total of 2 processors activated (2659.94 BogoMIPS).
[ 0.055278] CPU: All CPU(s) started in SVC mode.
[ 0.056218] devtmpfs: initialized
[ 0.059683] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[ 0.060236] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302231375000 ns
[ 0.064365] pinctrl core: initialized pinctrl subsystem
[ 0.066023] NET: Registered protocol family 16
[ 0.068549] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.080198] cpuidle: using governor ladder
[ 0.095183] cpuidle: using governor menu
[ 0.096824] zynq-gpio e000a000.gpio: could not find pctldev for node /amba/slcr@f8000000/pinctrl@700/gpio0-default, deferring probe
[ 0.102667] No ATAGs?
[ 0.102722] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[ 0.102722] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.103902] zynq-pinctrl 700.pinctrl: zynq pinctrl initialized
[ 0.105726] Serial: AMBA PL011 UART driver
[ 0.135752] vgaarb: loaded
[ 0.136656] SCSI subsystem initialized
[ 0.136840] libata version 3.00 loaded.
[ 0.137172] usbcore: registered new interface driver usbfs
[ 0.137245] usbcore: registered new interface driver hub
[ 0.137301] usbcore: registered new device driver usb
[ 0.137522] phy0 supply vcc not found, using dummy regulator
[ 0.137632] phy1 supply vcc not found, using dummy regulator
[ 0.138628] pps_core: LinuxPPS API ver. 1 registered
[ 0.138646] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.138665] PTP clock support registered
[ 0.138849] EDAC MC: Ver: 3.0.0
[ 0.141116] clocksource: Switched to clocksource ttc_clocksource
[ 0.151825] NET: Registered protocol family 2
[ 0.152378] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.152470] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.152618] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.152692] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.152747] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.152968] NET: Registered protocol family 1
[ 0.153355] RPC: Registered named UNIX socket transport module.
[ 0.153355] RPC: Registered udp transport module.
[ 0.153374] RPC: Registered tcp transport module.
[ 0.153374] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.153410] PCI: CLS 0 bytes, default 64
[ 0.154166] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[ 0.155530] futex hash table entries: 512 (order: 3, 32768 bytes)
[ 0.167290] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.168175] NFS: Registering the id_resolver key type
[ 0.168230] Key type id_resolver registered
[ 0.168230] Key type id_legacy registered
[ 0.168304] ntfs: driver 2.1.32 [Flags: R/O].
[ 0.169686] bounce: pool size: 64 pages
[ 0.169907] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 0.169944] io scheduler noop registered
[ 0.169944] io scheduler deadline registered
[ 0.169999] io scheduler cfq registered (default)
[ 0.180026] dma-pl330 f8003000.dmac: Loaded driver for PL330 DMAC-241330
[ 0.180045] dma-pl330 f8003000.dmac: DBUFF-128x8bytes Num_Chans-8 Num_Peri-4 Num_Events-16
[ 0.243120] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 0.245276] SuperH (H)SCI(F) driver initialized
[ 0.245921] msm_serial: driver initialized
[ 0.246364] STMicroelectronics ASC driver initialized
[ 0.246935] e0001000.serial: ttyPS0 at MMIO 0xe0001000 (irq = 25, base_baud = 3125000) is a xuartps
[ 0.918363] console [ttyPS0] enabled
[ 0.923027] xdevcfg f8007000.devcfg: ioremap 0xf8007000 to f085c000
[ 0.930013] [drm] Initialized drm 1.1.0 20060810
[ 0.942823] loop: module loaded
[ 0.946638] zram: Added device: zram0
[ 0.954361] m25p80 spi32766.0: unrecognized JEDEC id bytes: 10, 33, 0
[ 0.963891] libphy: Fixed MDIO Bus: probed
[ 0.968628] CAN device driver interface
[ 0.973992] libphy: MACB_mii_bus: probed
[ 0.978471] macb e000b000.ethernet eth0: Cadence GEM rev 0x00020118 at 0xe000b000 irq 26 (04:4f:8b:00:19:69)
[ 0.988240] macb e000b000.ethernet eth0: attached PHY driver [Marvell 88E1318S] (mii_bus:phy_addr=e000b000.etherne:00, irq=-1)
[ 1.000239] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.3.0-k
[ 1.007133] igb: Copyright (c) 2007-2014 Intel Corporation.
[ 1.014911] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
[ 1.022302] usbcore: registered new interface driver pegasus
[ 1.027961] usbcore: registered new interface driver asix
[ 1.033325] usbcore: registered new interface driver ax88179_178a
[ 1.039407] usbcore: registered new interface driver cdc_ether
[ 1.045232] usbcore: registered new interface driver smsc75xx
[ 1.050964] usbcore: registered new interface driver smsc95xx
[ 1.056697] usbcore: registered new interface driver net1080
[ 1.062355] usbcore: registered new interface driver cdc_subset
[ 1.068235] usbcore: registered new interface driver zaurus
[ 1.073839] usbcore: registered new interface driver cdc_ncm
[ 1.080714] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.087184] ehci-pci: EHCI PCI platform driver
[ 1.091644] ehci-platform: EHCI generic platform driver
[ 1.096953] ehci-omap: OMAP-EHCI Host Controller driver
[ 1.102206] ehci-orion: EHCI orion driver
[ 1.106261] SPEAr-ehci: EHCI SPEAr driver
[ 1.110279] ehci-st: EHCI STMicroelectronics driver
[ 1.115201] ehci-exynos: EHCI EXYNOS driver
[ 1.119440] ehci-atmel: EHCI Atmel driver
[ 1.123477] tegra-ehci: Tegra EHCI driver
[ 1.127532] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.133670] ohci-pci: OHCI PCI platform driver
[ 1.138130] ohci-platform: OHCI generic platform driver
[ 1.143402] ohci-omap3: OHCI OMAP3 driver
[ 1.147438] SPEAr-ohci: OHCI SPEAr driver
[ 1.151493] ohci-st: OHCI STMicroelectronics driver
[ 1.156396] ohci-atmel: OHCI Atmel driver
[ 1.160710] usbcore: registered new interface driver usb-storage
[ 1.167142] e0002000.usb supply vbus not found, using dummy regulator
[ 1.174036] ci_hdrc ci_hdrc.0: EHCI Host Controller
[ 1.178884] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[ 1.196136] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[ 1.202311] hub 1-0:1.0: USB hub found
[ 1.205997] hub 1-0:1.0: 1 port detected
[ 1.211324] ci_hdrc ci_hdrc.1: doesn't support gadget
[ 1.216338] ci_hdrc ci_hdrc.1: no supported roles
[ 1.222328] mousedev: PS/2 mouse device common for all mice
[ 1.231157] i2c /dev entries driver
[ 1.238659] cdns-i2c e0004000.i2c: 100 kHz mmio e0004000 irq 23
[ 1.251046] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 666666 KHz
[ 1.258326] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 666667 KHz
[ 1.268169] Xilinx Zynq CpuIdle Driver started
[ 1.273570] sdhci: Secure Digital Host Controller Interface driver
[ 1.279726] sdhci: Copyright(c) Pierre Ossman
[ 1.285237] Synopsys Designware Multimedia Card Interface Driver
[ 1.292039] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.298730] sdhci-arasan e0101000.sdhci: No vmmc regulator found
[ 1.304683] sdhci-arasan e0101000.sdhci: No vqmmc regulator found
[ 1.310729] mmc0: Invalid maximum block size, assuming 512 bytes
[ 1.346211] mmc0: SDHCI controller on e0101000.sdhci [e0101000.sdhci] using ADMA
[ 1.355740] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.362173] usbcore: registered new interface driver usbhid
[ 1.367703] usbhid: USB HID core driver
[ 1.383757] NET: Registered protocol family 10
[ 1.393176] sit: IPv6 over IPv4 tunneling driver
[ 1.400420] NET: Registered protocol family 17
[ 1.404825] can: controller area network core (rev 20120528 abi 9)
[ 1.413064] NET: Registered protocol family 29
[ 1.417451] can: raw protocol (rev 20120528)
[ 1.421690] can: broadcast manager protocol (rev 20120528 t)
[ 1.427349] can: netlink gateway (rev 20130117) max_hops=1
[ 1.433284] Key type dns_resolver registered
[ 1.437763] ThumbEE CPU extension supported.
[ 1.441984] Registering SWP/SWPB emulation handler
[ 1.452730] hctosys: unable to open rtc device (rtc0)
[ 1.461965] VDD_DSP: disabling
[ 1.466278] Waiting for root device /dev/mmcblk0p2...
[ 1.482388] mmc0: new high speed SDHC card at address aaaa
[ 1.488728] mmcblk0: mmc0:aaaa ACLCD 29.7 GiB
[ 1.497834] mmcblk0: p1 p2
[ 1.605791] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 1.614012] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 1.631375] devtmpfs: mounted
[ 1.636573] Freeing unused kernel memory: 1052K (c0def000 - c0ef6000)
[ 1.911359] random: systemd urandom read with 75 bits of entropy available
[ 2.182588] random: nonblocking pool is initialized
[ 3.150498] systemd-journald[95]: Received request to flush runtime journal from PID 1
[ 3.962619] epiphany elink0: elink: version field empty. Using default platform.
[ 3.962638] epiphany elink0: Epiphany FPGA elink at address 0x81000000
[ 3.962638] epiphany elink0: platform 01 revision 00
[ 4.940408] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 8.976683] macb e000b000.ethernet eth0: link up (1000/Full)
[ 8.976738] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 51.570843] Unhandled fault: imprecise external abort (0x1406) at 0xb6fc3000
[ 51.577811] pgd = eef84000
[ 51.580502] [b6fc3000] *pgd=39847831
[ 51.584078] Internal error: : 1406 [#1] SMP ARM
[ 51.588575] Modules linked in: epiphany
[ 51.592409] CPU: 1 PID: 379 Comm: parallella-ther Not tainted 4.4.0+ #1
[ 51.598989] Hardware name: Xilinx Zynq Platform
[ 51.603505] task: ed8a6ac0 ti: eef00000 task.ti: eef00000
[ 51.608906] PC is at configure_chip_tx_divider+0xb0/0x1b8 [epiphany]
[ 51.615247] LR is at regulator_get_voltage+0x48/0x5c
[ 51.620186] pc : [<bf000680>] lr : [<c0570664>] psr: 60070013
sp : eef01d98 ip : 00000000 fp : ee30a000
[ 51.631633] r10: 00000000 r9 : edae3780 r8 : 00000000
[ 51.636849] r7 : 00000808 r6 : 00000001 r5 : ed837810 r4 : bf003438
[ 51.643356] r3 : deadbeef r2 : f0a70000 r1 : 0000088b r0 : f0980000
[ 51.649862] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
[ 51.656977] Control: 18c5387d Table: 2ef8404a DAC: 00000051
[ 51.662709] Process parallella-ther (pid: 379, stack limit = 0xeef00220)
[ 51.669400] Stack: (0xeef01d98 to 0xeef02000)
[ 51.673732] 1d80: d63dfc9d 00000000
[ 51.681897] 1da0: 00000001 ed837810 bf0044c0 bf004500 00000000 eeec68f8 edae3780 bf0017b0
[ 51.690063] 1dc0: 00000000 c0319348 bf004500 00000004 eef01eac eef01ed8 00000001 00000000
[ 51.698228] 1de0: fefefeff c0210d44 eef01ed8 bf0044c0 00000000 eeea3b90 00000000 eeec68f8
[ 51.706375] 1e00: edae3780 00000000 ee30a000 bf001b78 bf00351c bf001ba0 bf00351c c0313f50
[ 51.714541] 1e20: eef01ed8 ee30abb0 eef01f74 edae3780 eeec68f8 edae3788 c0313e84 00000000
[ 51.722706] 1e40: 00000000 c030e394 00000002 00000000 eef01f74 eef01ed8 00000000 00000000
[ 51.730853] 1e60: 00000000 c031c4ec 80040008 ef838000 00000041 00000026 00000000 edae3780
[ 51.739018] 1e80: eef00000 00000000 efe13860 00000000 b6fc4000 00000000 00000001 00000000
[ 51.747184] 1ea0: 00000004 eeec68f8 eed03610 ee30abb0 00000000 00000003 eef01f74 00000001
[ 51.755331] 1ec0: fffff000 c0210d44 eef00000 00000000 00000000 c031e030 eed03610 ee30abb0
[ 51.763496] 1ee0: ac0e9105 00000005 ee8d701e eef01f20 00000000 ee092770 eeec68f8 00000101
[ 51.771662] 1f00: 00000004 00000066 00000000 00000000 00000000 eef01f18 00000400 eedc3000
[ 51.779790] 1f20: c0ff0718 ee8d7000 00000003 ed886700 00000100 eee33c00 00000000 00000400
[ 51.787956] 1f40: 00000002 c032aef0 ee8d7000 00000000 00000002 ffffff9c 00000003 ffffff9c
[ 51.796121] 1f60: ee8d7000 c030f6dc ed8a6e10 eed9a1f8 eed9a1c0 00000002 00000000 00000026
[ 51.804268] 1f80: 00000100 00000001 00000000 bef85d10 00000000 00000000 00000005 c0210d44
[ 51.812434] 1fa0: eef00000 c0210b80 bef85d10 00000000 bef85f7b 00000002 00000026 bef85f7b
[ 51.820599] 1fc0: bef85d10 00000000 00000000 00000005 00000000 00000000 b6fc7000 00000000
[ 51.828746] 1fe0: 00000000 bef85ccc 000108bd b6f3a7a6 600c0030 bef85f7b 00000000 00000000
[ 51.836930] [<bf000680>] (configure_chip_tx_divider [epiphany]) from [<bf0017b0>] (epiphany_reset+0x50/0x3ec [epiphany])
[ 51.847768] [<bf0017b0>] (epiphany_reset [epiphany]) from [<bf001b78>] (_epiphany_get+0x2c/0x3c [epiphany])
[ 51.857500] [<bf001b78>] (_epiphany_get [epiphany]) from [<bf001ba0>] (epiphany_get_interruptible+0x18/0x3c [epiphany])
[ 51.868265] [<bf001ba0>] (epiphany_get_interruptible [epiphany]) from [<c0313f50>] (chrdev_open+0xcc/0x18c)
[ 51.877979] [<c0313f50>] (chrdev_open) from [<c030e394>] (do_dentry_open+0x1d8/0x2f8)
[ 51.885794] [<c030e394>] (do_dentry_open) from [<c031c4ec>] (path_openat+0x4b0/0xf50)
[ 51.893591] [<c031c4ec>] (path_openat) from [<c031e030>] (do_filp_open+0x60/0xc4)
[ 51.901056] [<c031e030>] (do_filp_open) from [<c030f6dc>] (do_sys_open+0x110/0x1d4)
[ 51.908705] [<c030f6dc>] (do_sys_open) from [<c0210b80>] (ret_fast_syscall+0x0/0x3c)
[ 51.916428] Code: e0871001 e6ff1071 e5923210 f57ff04f (e1a0200d)
[ 51.922492] ---[ end trace 9f4d754ee45466ea ]---
xuewang
 
Posts: 5
Joined: Mon Feb 13, 2017 6:51 am

Re: Zynq 7020 loaded, Epiphany doesnt work and often hang ou

Postby olajep » Fri Feb 24, 2017 2:01 pm

Hi xuewang,

Sorry to hear that you're having trouble with your board.
From your description and the dmesg output it looks a margin issue with the Epiphany chip.

What is the ampere rating of your power supply?

Please test with a 2016.11.1 image.
Direct download link for Parallella P1602 "embedded"
https://github.com/parallella/parabuntu ... 020.img.gz

If things still doesn't work out of the box try this on a fresh boot:
Code: Select all
$ rmmod epiphany
$ modprobe epiphany nopm
$ cd ~/epiphany-examples/apps/matmul-16
$ ./build.sh
$ ./run.sh


// Ola
_start = 266470723;
olajep
 
Posts: 135
Joined: Mon Dec 17, 2012 3:24 am
Location: Sweden

Re: Zynq 7020 loaded, Epiphany doesnt work and often hang ou

Postby xuewang » Mon Feb 27, 2017 5:22 am

hi Ola,
My power supply is 2A(5V DC),and the image version of parabuntu is always 2016.11.1 (Parallella P1602 "embedded").And I have also used the 2016.3.1,but It did not work.
So in a fresh boot I tried the commands you gave me ,
Code: Select all
$ rmmod epiphany
$ modprobe epiphany nopm
need root permission with no error and no warning.
Code: Select all
./build.sh
there are some warnings as following
http://pan.baidu.com/s/1jIBgwtwhttp://pan.baidu.com/s/1i4742H3http://pan.baidu.com/s/1c2cgNDm

When I executed the ./run.sh,I can not get the results,the only thing I can get is
Calculating: C[512][512] = A[512][512] * B[512][512]
and about ninety minutes ago,I have to press ctrl+z to stop it ,Do you have some other ideas to solve the problems?
xuewang
xuewang
 
Posts: 5
Joined: Mon Feb 13, 2017 6:51 am

Re: Zynq 7020 loaded, Epiphany doesnt work and often hang ou

Postby olajep » Mon Feb 27, 2017 2:40 pm

xuewang,

Thank you for testing those things out.
Sorry to hear that your board is still not working.
It does look like you may have a defective board. Please return (RMA) it to the place of purchase so that we can have it looked at. We can then ship you a new board or offer a refund.

// Ola
_start = 266470723;
olajep
 
Posts: 135
Joined: Mon Dec 17, 2012 3:24 am
Location: Sweden

Re: Zynq 7020 loaded, Epiphany doesnt work and often hang ou

Postby xuewang » Tue Mar 07, 2017 8:22 am

dear community,
I have tested the tests which in /home/parallella/tests/epiphany-example/test,sh, but they are always hang out.And now I want to check from you that what something else should I do before the test such like apt-get install something to support the epiphany.
And I also have a porcupine Breakout Board which has gpios with the parallella board.So maybe the problem is in here?Do you have some advice?
xuewang
 
Posts: 5
Joined: Mon Feb 13, 2017 6:51 am

Re: Zynq 7020 loaded, Epiphany doesnt work and often hang ou

Postby xuewang » Tue Mar 07, 2017 9:30 am

I also used the dmesg order and I found some problem message in the report as following:
[ 0.000000] L2C: platform modifies aux control register: 0x72360000 -> 0x7276 0000
[ 0.000000] L2C: DT/platform modifies aux control register: 0x72360000 -> 0x7 2760000
[ 0.410115] Error: Driver 'mwipcore' is already registered, aborting...
[ 0.954564] zynq-qspi e000d000.spi: couldn't determine configuration info about dual memories. defaulting to single memory
[ 1.001087] gpiod_set_value: invalid GPIO
[ 1.170460] e0002000.usb supply vbus not found, using dummy regulator
[ 1.221407] e0003000.usb supply vbus not found, using dummy regulator
[ 1.306010] mmc0: Invalid maximum block size, assuming 512 bytes
[ 1.545094] This architecture does not have kernel memory protection.
[ 3.630195] epiphany elink0: elink: version field empty. Using default platfo rm.

Are those normal? If not please give me some advice, please.
xuewang
 
Posts: 5
Joined: Mon Feb 13, 2017 6:51 am

Re: Zynq 7020 loaded, Epiphany doesnt work and often hang ou

Postby sebraa » Tue Mar 07, 2017 3:21 pm

Yes, these messages are harmless.
sebraa
 
Posts: 495
Joined: Mon Jul 21, 2014 7:54 pm


Return to Troubleshooting

Who is online

Users browsing this forum: No registered users and 3 guests