Linaro 15.03(Yocto 1.8M4rc2) for Zynq

Linaro 15.03(Yocto 1.8M4rc2)をZ-turnに適用した。最近はLinaroも安定してビルドできるので、Yoctoから移行している。


ついでにLinux Kernelも3.18系を採用。


U-Boot 2013.10-svn3 (Feb 05 2015 - 14:01:16)

Memory: ECC disabled

DRAM:  1 GiB


MMC:   zynq_sdhci: 0

SF: Detected W25Q128BV with page size 256 Bytes, erase size 4 KiB, total 16 MiB

In:    serial

Out:   serial

Err:   serial

Net:   Gem.e000b000

Hit any key to stop autoboot:  0 

Device: zynq_sdhci

Manufacturer ID: 73

OEM: 4247

Name: NCard 

Tran Speed: 50000000

Rd Block Len: 512

SD version 3.0

High Capacity: Yes

Capacity: 7.5 GiB

Bus Width: 4-bit

reading uEnv.txt

346 bytes read in 8 ms (42 KiB/s)

Loaded environment from uEnv.txt

Importing environment from SD ...

Running uenvcmd ...

Copying Linux from SD to RAM...

Device: zynq_sdhci

Manufacturer ID: 73

OEM: 4247

Name: NCard 

Tran Speed: 50000000

Rd Block Len: 512

SD version 3.0

High Capacity: Yes

Capacity: 7.5 GiB

Bus Width: 4-bit

reading uImage

3426432 bytes read in 198 ms (16.5 MiB/s)

reading devicetree.dtb

17273 bytes read in 17 ms (992.2 KiB/s)

Booting kernel from Legacy Image at 02080000 ...

   Image Name:   Linux-3.18.0-xilinx-06524-gd51de

   Image Type:   ARM Linux Kernel Image (uncompressed)

   Data Size:    3426368 Bytes = 3.3 MiB

   Load Address: 00008000

   Entry Point:  00008000

   Verifying Checksum ... OK

Flattened Device Tree blob at 02000000

   Booting using the fdt blob at 0x2000000

   Loading Kernel Image ... OK

   Loading Device Tree to 1fff8000, end 1ffff378 ... OK

Starting kernel ...

Booting Linux on physical CPU 0x0

Linux version 3.18.0-xilinx-06524-gd51de5a (hidemi@saturn) (gcc version 4.9.3 20150311 (prerelease) (Linaro GCC 4.9-2015.03) ) #1 SMP PREEMPT Sun Apr 12 02:24:21 JST 2015

CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d

CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache

Machine model: MYIR Z-turn Development Board

cma: Reserved 16 MiB at 0x3f000000

Memory policy: Data cache writealloc

PERCPU: Embedded 10 pages/cpu @7e7cc000 s8768 r8192 d24000 u40960

Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260096

Kernel command line: console=ttyPS0,115200 root=/dev/mmcblk0p2 rw earlyprintk rootfstype=ext4 rootwait devtmpfs.mount=0

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: 1016028K/1048576K available (4620K kernel code, 258K rwdata, 1616K rodata, 216K init, 219K bss, 32548K reserved, 0K highmem)

Virtual kernel memory layout:

    vector  : 0xffff0000 - 0xffff1000   (   4 kB)

    fixmap  : 0xffc00000 - 0xffe00000   (2048 kB)

    vmalloc : 0x80800000 - 0xff000000   (2024 MB)

    lowmem  : 0x40000000 - 0x80000000   (1024 MB)

    pkmap   : 0x3fe00000 - 0x40000000   (   2 MB)

    modules : 0x3f000000 - 0x3fe00000   (  14 MB)

      .text : 0x40008000 - 0x4061f5cc   (6238 kB)

      .init : 0x40620000 - 0x40656000   ( 216 kB)

      .data : 0x40656000 - 0x40696b60   ( 259 kB)

       .bss : 0x40696b60 - 0x406cda78   ( 220 kB)

Preemptible hierarchical RCU implementation.

Dump stacks of tasks blocking RCU-preempt GP.

RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.

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

NR_IRQS:16 nr_irqs:16 16

L2C-310 erratum 769419 enabled

L2C-310 enabling early BRESP for Cortex-A9

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

L2C-310 ID prefetch enabled, offset 1 lines

L2C-310 dynamic clock gating enabled, standby mode enabled

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

L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76360001

slcr mapped to 80804000

zynq_clock_init: clkc starts at 80804100

Zynq clock init

sched_clock: 64 bits at 333MHz, resolution 3ns, wraps every 3298534883328ns

timer #0 at 80806000, irq=43

Console: colour dummy device 80x30

Calibrating delay loop... 1332.01 BogoMIPS (lpj=6660096)

pid_max: default: 32768 minimum: 301

Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)

Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)

CPU: Testing write buffer coherency: ok

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

Setting up static identity map for 0x465170 - 0x4651c8

CPU1: Booted secondary processor

CPU1: thread -1, cpu 1, socket 0, mpidr 80000001

Brought up 2 CPUs

SMP: Total of 2 processors activated.

CPU: All CPU(s) started in SVC mode.

devtmpfs: initialized

VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4

regulator-dummy: no parameters

NET: Registered protocol family 16

DMA: preallocated 256 KiB pool for atomic coherent allocations

cpuidle: using governor ladder

cpuidle: using governor menu

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

hw-breakpoint: maximum watchpoint size is 4 bytes.

zynq-ocm f800c000.ocmc: ZYNQ OCM pool: 256 KiB @ 0x80880000

VCCPINT: 1000 mV 

vgaarb: loaded

SCSI subsystem initialized

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

media: Linux media interface: v0.10

Linux video capture interface: v2.00

pps_core: LinuxPPS API ver. 1 registered

pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <>

PTP clock support registered

EDAC MC: Ver: 3.0.0

Advanced Linux Sound Architecture Driver Initialized.

Switched to clocksource arm_global_timer

NET: Registered protocol family 2

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)

TCP: reno registered

UDP hash table entries: 512 (order: 2, 16384 bytes)

UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)

NET: Registered protocol family 1

RPC: Registered named UNIX socket transport module.

RPC: Registered udp transport module.

RPC: Registered tcp transport module.

RPC: Registered tcp NFSv4.1 backchannel transport module.

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

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

jffs2: version 2.2. (NAND) (SUMMARY)  �� 2001-2006 Red Hat, Inc.

msgmni has been set to 2016

io scheduler noop registered

io scheduler deadline registered

io scheduler cfq registered (default)

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

xuartps e0000000.serial: ttyPS1 at MMIO 0xe0000000 (irq = 59, base_baud = 6249999) is a xuartps

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

console [ttyPS0] enabled

xdevcfg f8007000.devcfg: ioremap 0xf8007000 to 8086e000

[drm] Initialized drm 1.1.0 20060810

brd: module loaded

loop: module loaded

CAN device driver interface

libphy: MACB_mii_bus: probed

macb e000b000.ethernet eth0: Cadence GEM rev 0x00020118 at 0xe000b000 irq 54 (00:0a:35:00:01:22)

macb e000b000.ethernet eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=e000b000.etherne:00, irq=-1)

e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k

e1000e: Copyright(c) 1999 - 2014 Intel Corporation.

ehci_hcd: USB 2.0 ''Enhanced'' Host Controller (EHCI) Driver

ehci-pci: EHCI PCI platform driver

ULPI transceiver vendor/product ID 0x0424/0x0007

Found SMSC USB3320 ULPI transceiver.

ULPI integrity check: passed.

zynq-ehci zynq-ehci.0: Xilinx Zynq USB EHCI Host Controller

zynq-ehci zynq-ehci.0: new USB bus registered, assigned bus number 1

zynq-ehci zynq-ehci.0: irq 53, io mem 0x00000000

zynq-ehci zynq-ehci.0: USB 2.0 started, EHCI 1.00

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 1 port detected

usbcore: registered new interface driver usb-storage

mousedev: PS/2 mouse device common for all mice

i2c /dev entries driver

cdns-i2c e0004000.i2c: 400 kHz mmio e0004000 irq 57

cdns-i2c e0005000.i2c: 100 kHz mmio e0005000 irq 80

Xilinx Zynq CpuIdle Driver started

sdhci: Secure Digital Host Controller Interface driver

sdhci: Copyright(c) Pierre Ossman

sdhci-pltfm: SDHCI platform and OF driver helper

sdhci-arasan e0100000.sdhci: No vmmc regulator found

sdhci-arasan e0100000.sdhci: No vqmmc regulator found

mmc0: SDHCI controller on e0100000.sdhci [e0100000.sdhci] using ADMA

ledtrig-cpu: registered to indicate activity on CPUs

usbcore: registered new interface driver usbhid

usbhid: USB HID core driver

TCP: cubic registered

NET: Registered protocol family 17

can: controller area network core (rev 20120528 abi 9)

NET: Registered protocol family 29

can: raw protocol (rev 20120528)

can: broadcast manager protocol (rev 20120528 t)

can: netlink gateway (rev 20130117) max_hops=1

zynq_pm_ioremap: no compatible node found for ''xlnx,zynq-ddrc-a05''

zynq_pm_late_init: Unable to map DDRC IO memory.

Registering SWP/SWPB emulation handler

mmc0: new high speed SDHC card at address b368

mmcblk0: mmc0:b368 NCard 7.48 GiB 

 mmcblk0: p1 p2

input: amba:gpio-keys as /devices/soc0/amba/amba:gpio-keys/input/input0

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

ALSA device list:

  No soundcards found.

EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)

VFS: Mounted root (ext4 filesystem) on device 179:2.

Freeing unused kernel memory: 216K (40620000 - 40656000)

rpcbind: cannot create socket for udp61000/Full)available

rpcbind: cannot create socket for tcp6

Poky (Yocto Project Reference Distro) 1.8+snapshot-20150409 z-turn /dev/ttyPS0

z-turn login: 

Linux Kernelを3.18系にして、Atherosのドライバーも有効にしてるけどPINGが途切れる問題は治らないなぁ。

ethtoolを入れてなかったので入れなおして、試してみたが100-Full Duplexでないと繋がらないみたいだなぁ。