by mchampigny » Mon Dec 19, 2016 12:38 pm
Andreas,
Do you know if there is a way to check the model number from /proc/cpuinfo or dmesg? I'd like to know without having to check the die package whether it's a 7010 or 7020.
The reason I ask is that even though the 15.04 headless image for 7020 booted (and 7010 would not), I seem to not be able to use the Epiphany. In particular, the eLink seems to be down.
Not a single test in the examples directories passes (most segfaulting) and the tests in /test directory return EXIT_FAIL.
If the eLink is not working, would that not suggest the bitstream is wrong for the board? In other words, is it possible the 7020 images work even on 7010 but only to support the ARM host, not the FPGA fabric?
Here is the dmesg output:
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.6.0+ (esim@adapteva-dev) (gcc version 4.9.3 20141031 (prerelease) (Linaro GCC 2014.11) ) #1 SMP PREEMPT Wed Dec 7 13:27:40 CET 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 128 MiB at 0x36000000
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] On node 0 totalpages: 253952
[ 0.000000] free_area_init_node: node 0, pgdat c0829000, node_mem_map ef838000
[ 0.000000] Normal zone: 1536 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 196608 pages, LIFO batch:31
[ 0.000000] HighMem zone: 57344 pages, LIFO batch:15
[ 0.000000] percpu: Embedded 12 pages/cpu @ef810000 s19392 r8192 d21568 u49152
[ 0.000000] pcpu-alloc: s19392 r8192 d21568 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: 867280K/1015808K available (5652K kernel code, 279K rwdata, 2132K rodata, 260K init, 159K bss, 17456K reserved, 131072K cma-reserved, 98304K 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 : 0xc0008000 - 0xc07a25f0 (7786 kB)
.init : 0xc07a3000 - 0xc07e4000 ( 260 kB)
.data : 0xc07e4000 - 0xc0829fa0 ( 280 kB)
.bss : 0xc0829fa0 - 0xc0851c44 ( 160 kB)
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] RCU restricting CPUs from NR_CPUS=4 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] slcr mapped to f0800000
[ 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] zynq_clock_init: clkc starts at f0800100
[ 0.000000] Zynq clock init
[ 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.000055] timer #0 at f0808000, irq=16
[ 0.000387] Console: colour dummy device 80x30
[ 0.000405] Calibrating delay loop... 1332.01 BogoMIPS (lpj=6660096)
[ 0.090188] pid_max: default: 32768 minimum: 301
[ 0.090336] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.090354] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.090999] CPU: Testing write buffer coherency: ok
[ 0.091220] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.091294] Setting up static identity map for 0x8280 - 0x82d8
[ 0.280187] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.280297] Brought up 2 CPUs
[ 0.280297] SMP: Total of 2 processors activated (2664.03 BogoMIPS).
[ 0.280316] CPU: All CPU(s) started in SVC mode.
[ 0.281385] devtmpfs: initialized
[ 0.285329] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[ 0.285716] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.293716] pinctrl core: initialized pinctrl subsystem
[ 0.295135] NET: Registered protocol family 16
[ 0.297163] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.320627] cpuidle: using governor ladder
[ 0.322028] zynq-gpio e000a000.gpio: could not find pctldev for node /amba/slcr@f8000000/pinctrl@700/gpio0-default, deferring probe
[ 0.327336] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[ 0.327336] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.327484] zynq-ocm f800c000.ocmc: ZYNQ OCM pool: 256 KiB @ 0xf0880000
[ 0.327889] zynq-pinctrl 700.pinctrl: zynq pinctrl initialized
[ 0.372219] SCSI subsystem initialized
[ 0.372624] usbcore: registered new interface driver usbfs
[ 0.372716] usbcore: registered new interface driver hub
[ 0.372790] usbcore: registered new device driver usb
[ 0.373214] media: Linux media interface: v0.10
[ 0.373306] Linux video capture interface: v2.00
[ 0.373380] pps_core: LinuxPPS API ver. 1 registered
[ 0.373380] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.373435] PTP clock support registered
[ 0.373509] EDAC MC: Ver: 3.0.0
[ 0.380697] Advanced Linux Sound Architecture Driver Initialized.
[ 0.381490] Bluetooth: Core ver 2.21
[ 0.381545] NET: Registered protocol family 31
[ 0.381564] Bluetooth: HCI device and connection manager initialized
[ 0.381582] Bluetooth: HCI socket layer initialized
[ 0.381582] Bluetooth: L2CAP socket layer initialized
[ 0.381619] Bluetooth: SCO socket layer initialized
[ 0.382319] clocksource: Switched to clocksource ttc_clocksource
[ 0.394669] NET: Registered protocol family 2
[ 0.395443] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.395554] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.395701] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.395793] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.395849] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.396125] NET: Registered protocol family 1
[ 0.396770] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[ 0.398171] futex hash table entries: 512 (order: 3, 32768 bytes)
[ 0.399111] workingset: timestamp_bits=28 max_order=18 bucket_order=0
[ 0.399941] fuse init (API version 7.24)
[ 0.401415] bounce: pool size: 64 pages
[ 0.401434] io scheduler noop registered
[ 0.401452] io scheduler deadline registered
[ 0.401489] io scheduler cfq registered (default)
[ 0.401692] Error: Driver 'mwipcore' is already registered, aborting...
[ 0.403774] dma-pl330 f8003000.dmac: Loaded driver for PL330 DMAC-241330
[ 0.403793] dma-pl330 f8003000.dmac: DBUFF-128x8bytes Num_Chans-8 Num_Peri-4 Num_Events-16
[ 0.404770] e0001000.serial: ttyPS0 at MMIO 0xe0001000 (irq = 25, base_baud = 3125000) is a xuartps
[ 0.897664] console [ttyPS0] enabled
[ 0.900521] xdevcfg f8007000.devcfg: ioremap 0xf8007000 to f085e000
[ 0.906051] [drm] Initialized drm 1.1.0 20060810
[ 0.920926] brd: module loaded
[ 0.929441] loop: module loaded
[ 0.942030] zram: Added device: zram0
[ 0.946657] zynq-qspi e000d000.spi: couldn't determine configuration info about dual memories. defaulting to single memory
[ 0.957606] m25p80 spi32766.0: SPI-NOR-UniqueID 100000233353781300290033031013c8b1
[ 0.965144] m25p80 spi32766.0: n25q128a13 (16384 Kbytes)
[ 0.969089] 3 ofpart partitions found on MTD device spi32766.0
[ 0.973605] Creating 3 MTD partitions on "spi32766.0":
[ 0.977402] 0x000000000000-0x0000004e0000 : "boot"
[ 0.982102] 0x0000004e0000-0x000000500000 : "bootenv"
[ 0.986950] 0x000000ff0000-0x000001000000 : "version"
[ 0.993511] gpiod_set_value: invalid GPIO
[ 0.997179] libphy: MACB_mii_bus: probed
[ 1.072604] macb e000b000.ethernet eth0: Cadence GEM rev 0x00020118 at 0xe000b000 irq 27 (04:4f:8b:00:2c:df)
[ 1.081046] Marvell 88E1318S e000b000.etherne:00: attached PHY driver [Marvell 88E1318S] (mii_bus:phy_addr=e000b000.etherne:00, irq=-1)
[ 1.092381] usbcore: registered new interface driver asix
[ 1.096492] usbcore: registered new interface driver ax88179_178a
[ 1.101247] usbcore: registered new interface driver cdc_ether
[ 1.105800] usbcore: registered new interface driver net1080
[ 1.110132] usbcore: registered new interface driver cdc_subset
[ 1.114758] usbcore: registered new interface driver zaurus
[ 1.119053] usbcore: registered new interface driver cdc_ncm
[ 1.124398] aoe: AoE v85 initialised.
[ 1.126702] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.131992] usbcore: registered new interface driver usb-storage
[ 1.136840] usbcore: registered new interface driver usbserial
[ 1.141337] usbcore: registered new interface driver usbserial_generic
[ 1.146572] usbserial: USB Serial support registered for generic
[ 1.151254] usbcore: registered new interface driver ftdi_sio
[ 1.155696] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 1.162166] e0002000.usb supply vbus not found, using dummy regulator
[ 1.170110] ci_hdrc ci_hdrc.0: unable to init phy: -110
[ 1.174036] ci_hdrc: probe of ci_hdrc.0 failed with error -110
[ 1.178828] e0003000.usb supply vbus not found, using dummy regulator
[ 1.186717] ci_hdrc ci_hdrc.1: unable to init phy: -110
[ 1.190570] ci_hdrc: probe of ci_hdrc.1 failed with error -110
[ 1.196339] mousedev: PS/2 mouse device common for all mice
[ 1.210974] i2c /dev entries driver
[ 2.212338] cdns-i2c e0004000.i2c: timeout waiting on completion
[ 3.212338] cdns-i2c e0004000.i2c: timeout waiting on completion
[ 4.212338] cdns-i2c e0004000.i2c: timeout waiting on completion
[ 5.212338] cdns-i2c e0004000.i2c: timeout waiting on completion
[ 5.216964] 1P35V: failed to enable
[ 5.219250] isl9305 0-0068: Failed to register DCD2: -110
[ 5.223508] isl9305: probe of 0-0068 failed with error -110
[ 5.227766] cdns-i2c e0004000.i2c: 100 kHz mmio e0004000 irq 22
[ 5.234346] Xilinx Zynq CpuIdle Driver started
[ 5.237719] sdhci: Secure Digital Host Controller Interface driver
[ 5.242530] sdhci: Copyright(c) Pierre Ossman
[ 5.245553] sdhci-pltfm: SDHCI platform and OF driver helper
[ 5.282380] mmc0: SDHCI controller on e0101000.sdhci [e0101000.sdhci] using ADMA
[ 5.293919] ledtrig-cpu: registered to indicate activity on CPUs
[ 5.300702] hidraw: raw HID events driver (C) Jiri Kosina
[ 5.320387] usbcore: registered new interface driver usbhid
[ 5.324608] usbhid: USB HID core driver
[ 5.336221] usbcore: registered new interface driver snd-usb-audio
[ 5.343004] NET: Registered protocol family 10
[ 5.347225] sit: IPv6 over IPv4 tunneling driver
[ 5.348238] mmc0: new high speed SDHC card at address 59b4
[ 5.356072] NET: Registered protocol family 17
[ 5.358929] mmcblk0: mmc0:59b4 SDU1 29.5 GiB
[ 5.360348] mmcblk0: p1 p2
[ 5.364182] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 5.375592] Bluetooth: RFCOMM TTY layer initialized
[ 5.379094] Bluetooth: RFCOMM socket layer initialized
[ 5.382946] Bluetooth: RFCOMM ver 1.11
[ 5.385342] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 5.389324] Bluetooth: BNEP filters: protocol multicast
[ 5.393268] Bluetooth: BNEP socket layer initialized
[ 5.396881] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 5.401489] Bluetooth: HIDP socket layer initialized
[ 5.405470] Registering SWP/SWPB emulation handler
[ 5.412290] hctosys: unable to open rtc device (rtc0)
[ 5.420474] ALSA device list:
[ 5.422041] No soundcards found.
[ 6.072751] random: nonblocking pool is initialized
[ 6.114426] EXT4-fs (mmcblk0p2): recovery complete
[ 6.123218] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 6.129983] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 6.144121] devtmpfs: mounted
[ 6.146019] Freeing unused kernel memory: 260K (c07a3000 - c07e4000)
[ 6.150977] This architecture does not have kernel memory protection.
[ 7.927690] systemd-journald[1493]: Received request to flush runtime journal from PID 1
[ 8.154737] elink 81000000.elink0: elink: vdd regulator not ready, retry
[ 8.154756] elink 81000000.elink0: Could not get power supplies
[ 8.159309] elink 81000000.elink0: Deferring probe.
[ 8.988221] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 12.072585] macb e000b000.ethernet eth0: link up (1000/Full)
[ 12.072622] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready