ひでみのアイデア帳

くだらないことなんだけど、忘れないために・・・

ZYBOでLinux Kernel 4.8.0-rc8

すっかり、ログの貼付けを忘れてた。

こんな感じです。

yoctoはkrogoth、Linux Kernelは4.8.0-rc8にしたけど、u-bootが2016.05のままだ。 u-bootもバージョンアップしよぉ〜。

U-Boot 2016.05-dirty (Sep 27 2016 - 23:21:11 +0900)

Model: Zynq ZYBO Development Board
Board: Xilinx Zynq
I2C:   ready
DRAM:  ECC disabled 512 MiB
MMC:   sdhci@e0100000: 0
SF: Detected S25FL128S_64K with page size 256 Bytes, erase size 64 KiB, total 1B
*** Warning - bad CRC, using default environment

In:    serial@e0001000
Out:   serial@e0001000
Err:   serial@e0001000
Model: Zynq ZYBO Development Board
Board: Xilinx Zynq
Net:   ZYNQ GEM: e000b000, phyaddr 0, interface rgmii-id
I2C EEPROM MAC address read failed

Warning: ethernet@e000b000 (eth0) using random MAC address - 0e:3c:67:4e:4f:6f
eth0: ethernet@e000b000
Hit any key to stop autoboot:  0
reading ZYBO_wrapper.bit
2083848 bytes read in 196 ms (10.1 MiB/s)
  design filename = "ZYBO_wrapper;UserID=0XFFFFFFFF;Version=2016.2"
  part number = "7z010clg400"
  date = "2016/10/05"
  time = "14:58:05"
  bytes in bitstream = 2083740
zynq_align_dma_buffer: Align buffer at 100006c to 1000000(swap 1)
reading zImage
3952816 bytes read in 345 ms (10.9 MiB/s)
reading zynq-zybo.dtb
8329 bytes read in 20 ms (406.3 KiB/s)
Kernel image @ 0x008000 [ 0x000000 - 0x3c50b0 ]
## Flattened Device Tree blob at 00000100
   Booting using the fdt blob at 0x000100
   Loading Device Tree to 1eb18000, end 1eb1d088 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.8.0-rc8-xilinx-dirty (hidemi@saturn) (gcc versio6
[    0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructie
[    0.000000] OF: fdt:Machine model: Zynq ZYBO Development Board
[    0.000000] OF: reserved mem: OVERLAP DETECTED!
[    0.000000] multimedia@77000000 (0x77000000--0x7b000000) overlaps with frame)
[    0.000000] Reserved memory: created CMA memory pool at 0x1a800000, size 64 B
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id sharl
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 14 pages/cpu @dfbb3000 s25420 r8192 d23732 u5734
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pa8
[    0.000000] Kernel command line: console=ttyPS0,115200 root=/dev/mmcblk0p2 ro
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 443780K/524288K available (6144K kernel code, 213K rwdat)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0700000   (7136 kB)
[    0.000000]       .init : 0xc0900000 - 0xc0a00000   (1024 kB)
[    0.000000]       .data : 0xc0a00000 - 0xc0a35640   ( 214 kB)
[    0.000000]        .bss : 0xc0a35640 - 0xc0a6e218   ( 227 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] slcr mapped to e0800000
[    0.000000] L2C: platform modifies aux control register: 0x02060000 -> 0x0240
[    0.000000] L2C: DT/platform modifies aux control register: 0x02060000 -> 0x0
[    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 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 0x46460001
[    0.000000] zynq_clock_init: clkc starts at e0800100
[    0.000000] Zynq clock init
[    0.000011] sched_clock: 64 bits at 325MHz, resolution 3ns, wraps every 4398s
[    0.000035] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycls
[    0.000066] Switching to timer-based delay loop, resolution 3ns
[    0.000163] clocksource: ttc_clocksource: mask: 0xffff max_cycles: 0xffff, ms
[    0.000194] timer #0 at e0808000, irq=17
[    0.000539] Console: colour dummy device 80x30
[    0.000564] Calibrating delay loop (skipped), value calculated using timer f)
[    0.000581] pid_max: default: 32768 minimum: 301
[    0.000721] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000735] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001374] CPU: Testing write buffer coherency: ok
[    0.001580] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.001642] Setting up static identity map for 0x100000 - 0x100058
[    0.110646] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.110744] Brought up 2 CPUs
[    0.110763] SMP: Total of 2 processors activated (1300.00 BogoMIPS).
[    0.110772] CPU: All CPU(s) started in SVC mode.
[    0.151125] devtmpfs: initialized
[    0.180540] VFP support v0.3: implementor 41 architecture 3 part 30 variant 4
[    0.180838] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ms
[    0.220344] pinctrl core: initialized pinctrl subsystem
[    0.280942] NET: Registered protocol family 16
[    0.282885] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.320688] cpuidle: using governor ladder
[    0.360656] cpuidle: using governor menu
[    0.367021] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint.
[    0.367037] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.367197] zynq-pinctrl 700.pinctrl: zynq pinctrl initialized
[    0.590963] vgaarb: loaded
[    0.620590] SCSI subsystem initialized
[    0.620901] usbcore: registered new interface driver usbfs
[    0.620985] usbcore: registered new interface driver hub
[    0.621064] usbcore: registered new device driver usb
[    0.621387] media: Linux media interface: v0.10
[    0.621458] Linux video capture interface: v2.00
[    0.621523] pps_core: LinuxPPS API ver. 1 registered
[    0.621534] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giom>
[    0.621571] PTP clock support registered
[    0.621621] EDAC MC: Ver: 3.0.0
[    0.630619] FPGA manager framework
[    0.630707] Advanced Linux Sound Architecture Driver Initialized.
[    0.640941] clocksource: Switched to clocksource arm_global_timer
[    0.830973] NET: Registered protocol family 2
[    0.911068] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.911133] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.911221] TCP: Hash tables configured (established 4096 bind 4096)
[    0.911272] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.911303] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.911457] NET: Registered protocol family 1
[    0.950971] RPC: Registered named UNIX socket transport module.
[    0.950984] RPC: Registered udp transport module.
[    0.950993] RPC: Registered tcp transport module.
[    0.951001] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.951547] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 countee
[    1.011804] futex hash table entries: 512 (order: 3, 32768 bytes)
[    1.012554] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    1.631013] ntfs: driver 2.1.32 [Flags: R/W].
[    1.710961] jffs2: version 2.2. (NAND) (SUMMARY)  �© 2001-2006 Red Hat, Inc.
[    1.831559] io scheduler noop registered
[    1.831573] io scheduler deadline registered
[    1.831597] io scheduler cfq registered (default)
[    1.840302] aqfb: Alloc FrameBuffer(Phys,Logi) = 1a900000:da900000
[    1.840323] aqfb: framebuffer at 0x1a900000, 0x300000 bytes, mapped to 0xda90
[    1.840335] aqfb: format=a8r8g8b8, mode=1024x768x32, linelength=4096
[    1.859489] Console: switching to colour frame buffer device 128x48
[    1.877916] aqfb: Reg Start Address = 40000000
[    1.877926] aqfb: fb0: aqfb registered!
[    1.879416] dma-pl330 f8003000.dmac: Loaded driver for PL330 DMAC-241330
[    1.879436] dma-pl330 f8003000.dmac:         DBUFF-128x8bytes Num_Chans-8 Nu6
[    1.884508] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    1.885625] e0001000.serial: ttyPS0 at MMIO 0xe0001000 (irq = 143, base_bauds
[    2.564512] console [ttyPS0] enabled
[    2.568497] [drm] Initialized drm 1.1.0 20060810
[    2.574668] brd: module loaded
[    2.583995] loop: module loaded
[    2.589224] libphy: Fixed MDIO Bus: probed
[    2.594125] CAN device driver interface
[    2.598589] libphy: MACB_mii_bus: probed
[    2.771773] Generic PHY e000b000.etherne:00: attached PHY driver [Generic PH)
[    2.783037] macb e000b000.ethernet eth0: Cadence GEM rev 0x00020118 at 0xe00)
[    2.793082] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    2.798826] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    2.805905] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.812383] ehci-pci: EHCI PCI platform driver
[    2.816949] usbcore: registered new interface driver usb-storage
[    2.824118] mousedev: PS/2 mouse device common for all mice
[    2.840097] i2c /dev entries driver
[    2.844145] cdns-i2c e0004000.i2c: 100 kHz mmio e0004000 irq 141
[    2.851706] Xilinx Zynq CpuIdle Driver started
[    2.856499] sdhci: Secure Digital Host Controller Interface driver
[    2.862621] sdhci: Copyright(c) Pierre Ossman
[    2.866930] Synopsys Designware Multimedia Card Interface Driver
[    2.873056] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.931003] mmc0: SDHCI controller on e0100000.sdhci [e0100000.sdhci] using A
[    2.938634] ledtrig-cpu: registered to indicate activity on CPUs
[    2.946957] usbcore: registered new interface driver usbhid
[    2.952485] usbhid: USB HID core driver
[    2.966019] fpga_manager fpga0: Xilinx Zynq FPGA Manager registered
[    2.973179] oprofile: using arm/armv7-ca9
[    3.010051] mmc0: new high speed SDHC card at address 59b4
[    3.016037] mmcblk0: mmc0:59b4 USD   3.73 GiB
[    3.021380]  mmcblk0: p1 p2 p3
[    3.150988] NET: Registered protocol family 10
[    3.191054] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.197692] NET: Registered protocol family 17
[    3.202102] can: controller area network core (rev 20120528 abi 9)
[    3.208277] NET: Registered protocol family 29
[    3.212670] can: raw protocol (rev 20120528)
[    3.216892] can: broadcast manager protocol (rev 20160617 t)
[    3.222559] can: netlink gateway (rev 20130117) max_hops=1
[    3.260968] 8021q: 802.1Q VLAN Support v1.8
[    3.265311] ThumbEE CPU extension supported.
[    3.269500] Registering SWP/SWPB emulation handler
[    3.285309] hctosys: unable to open rtc device (rtc0)
[    3.290571] ALSA device list:
[    3.293484]   No soundcards found.
[    3.298195] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incoms
[    3.465737] EXT4-fs (mmcblk0p2): warning: mounting fs with errors, running ed
[    3.475702] random: fast init done
[    3.511754] EXT4-fs (mmcblk0p2): recovery complete
[    3.521954] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. )
[    3.529997] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    3.546753] devtmpfs: mounted
[    3.551055] Freeing unused kernel memory: 1024K (c0900000 - c0a00000)
[    3.751963] systemd[1]: System time before build time, advancing clock.
[    3.762904] systemd[1]: Failed to insert module 'autofs4': No such file or dy
[    3.821750] systemd[1]: systemd 229 running in system mode. (-PAM -AUDIT -SE)
[    3.840201] systemd[1]: Detected architecture arm.

Welcome to Poky (Yocto Project Reference Distro) 2.1.1 (krogoth)!

[    3.881745] systemd[1]: Set hostname to <xiltera>.
[    4.183353] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    4.211146] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[    4.241341] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    4.271292] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[    4.311358] systemd[1]: Started Forward Password Requests to Wall Directory .
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[    4.351351] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    4.381122] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[  OK  ] Listening on Syslog Socket.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Reached target Paths.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Listening on udev Control Socket.
[  OK  ] Created slice System Slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-getty.slice.
[  OK  ] Reached target Slices.
         Starting Setup Virtual Console...
         Mounting Temporary Directory...
         Mounting Configuration File System...
         Starting Apply Kernel Variables...
         Starting Remount Root and Kernel File Systems...
[    4.919640] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
         Starting Journal Service...
[  OK  ] Mounted Configuration File System.
[  OK  ] Mounted Temporary Directory.
[  OK  ] Started Journal Service.
[  OK  ] Started Setup Virtual Console.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Remount Root and Kernel File Systems.
         Starting udev Coldplug all Devices...
         Starting Create Static Device Nodes in /dev...
         Starting Flush Journal to Persistent Storage...
[  OK  ] Started Create Static Device Nodes in /dev.
[    5.519522] systemd-journald[702]: Received request to flush runtime journal1
         Starting udev Kernel Device Manager...
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /var/volatile...
[  OK  ] Mounted /var/volatile.
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Found device /dev/ttyPS0.
         Starting Load/Save Random Seed...
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Create Volatile Files and Directories.
         Starting Update UTMP about System Boot/Shutdown...
         Starting Network Time Synchronization...
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on dropbear.socket.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Listening on RPCbind Server Activation Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting Login Service...
[  OK  ] Started Getty on tty1.
         Starting Avahi mDNS/DNS-SD Stack...
[  OK  ] Started Kernel Logging Service.
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
         Starting Connection service...
[  OK  ] Started Serial Getty on ttyPS0.
[  OK  ] Reached target Login Prompts.
         Starting Telephony service...
[  OK  ] Started System Logging Service.
[  OK  ] Started Connection service.
[  OK  ] Started Telephony service.
[  OK  ] Started Login Service.
[  OK  ] Reached target Network.
[  OK  ] Reached target Multi-User System.
         Starting Update UTMP about System Runlevel Changes...
[    7.720015] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[  OK  ] Started Update UTMP about System Runlevel Changes.
         Starting Hostname Service...
         Starting WPA supplicant...
[  OK  ] Started Hostname Service.
[  OK  ] Started WPA supplicant.

Poky (Yocto Project Reference Distro) 2.1.1 xiltera ttyPS0

xiltera login: root
root@xiltera:~# uname -a
Linux xiltera 4.8.0-rc8-xilinx-dirty #1 SMP PREEMPT Sun Oct 2 08:19:20 JST 2016x
root@xiltera:~#