ひでみのアイデア帳

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

kernel 3.10

まぁ、root_fsが無いエラーなんてわかりきったことだよね(^-^;

/dev/ramをroot_fsにしてたからエラーなんですな。

DTSの/dev/mmcblk0p2にしてなかっただけです。

これでlinaro 2013.8+Kernel 3.10が完成。

X-Windowはまた今度にしよう。

ーーーーここから起動したログ(途中からだけど)ーーーー

root@zedboard-aquaxis:~# dmesg

Preemptible hierarchical RCU implementation.

    Dump stacks of tasks blocking RCU-preempt GP.

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

NR_IRQS:16 nr_irqs:16 16

ps7-slcr mapped to e0802000

Zynq clock init

sched_clock: 16 bits at 54kHz, resolution 18432ns, wraps every 1207ms

ps7-ttc #0 at e0804000, irq=42

Console: colour dummy device 80x30

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

pid_max: default: 32768 minimum: 301

Mount-cache hash table entries: 512

CPU: Testing write buffer coherency: ok

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

Setting up static identity map for 0xc041fa88 - 0xc041fae0

L310 cache controller enabled

l2x0: 8 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x72060000, Cache size: 524288 B

CPU1: Booted secondary processor

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

Brought up 2 CPUs

SMP: Total of 2 processors activated (2664.03 BogoMIPS).

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

devtmpfs: initialized

NET: Registered protocol family 16

DMA: preallocated 256 KiB pool for atomic coherent allocations

xgpiops e000a000.ps7-gpio: gpio at 0xe000a000 mapped to 0xe080c000

------------[ cut here ]------------

WARNING: at fs/sysfs/dir.c:530 sysfs_add_one+0x78/0x98()

sysfs: cannot create duplicate filename ''/devices/fpga-axi.1/41600000.i2c''

Modules linked in:

CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.10.0-xilinx #1

[<c0014200>] (unwind_backtrace+0x0/0x11c) from [<c0011358>] (show_stack+0x10/0x14)

[<c0011358>] (show_stack+0x10/0x14) from [<c0020090>] (warn_slowpath_common+0x4c/0x6c)

[<c0020090>] (warn_slowpath_common+0x4c/0x6c) from [<c00200dc>] (warn_slowpath_fmt+0x2c/0x3c)

[<c00200dc>] (warn_slowpath_fmt+0x2c/0x3c) from [<c00f3234>] (sysfs_add_one+0x78/0x98)

[<c00f3234>] (sysfs_add_one+0x78/0x98) from [<c00f33ec>] (create_dir+0x58/0xb8)

[<c00f33ec>] (create_dir+0x58/0xb8) from [<c00f3754>] (sysfs_create_dir+0xb0/0xd0)

[<c00f3754>] (sysfs_create_dir+0xb0/0xd0) from [<c01b1788>] (kobject_add_internal+0x108/0x214)

[<c01b1788>] (kobject_add_internal+0x108/0x214) from [<c01b1ae4>] (kobject_add+0x6c/0x8c)

[<c01b1ae4>] (kobject_add+0x6c/0x8c) from [<c0234810>] (device_add+0x108/0x5b8)

[<c0234810>] (device_add+0x108/0x5b8) from [<c034eef0>] (of_platform_device_create_pdata+0x58/0x78)

[<c034eef0>] (of_platform_device_create_pdata+0x58/0x78) from [<c034f158>] (of_platform_bus_create+0x23c/0x2fc)

[<c034f158>] (of_platform_bus_create+0x23c/0x2fc) from [<c034f1c4>] (of_platform_bus_create+0x2a8/0x2fc)

[<c034f1c4>] (of_platform_bus_create+0x2a8/0x2fc) from [<c034f380>] (of_platform_populate+0x60/0x8c)

[<c034f380>] (of_platform_populate+0x60/0x8c) from [<c05c3308>] (customize_machine+0x1c/0x40)

[<c05c3308>] (customize_machine+0x1c/0x40) from [<c0008648>] (do_one_initcall+0xb8/0x160)

[<c0008648>] (do_one_initcall+0xb8/0x160) from [<c05c0908>] (kernel_init_freeable+0x108/0x1c8)

[<c05c0908>] (kernel_init_freeable+0x108/0x1c8) from [<c0414780>] (kernel_init+0x8/0xe4)

[<c0414780>] (kernel_init+0x8/0xe4) from [<c000e3d8>] (ret_from_fork+0x14/0x3c)

---[ end trace 616435eb7abb5700 ]---

------------[ cut here ]------------

WARNING: at lib/kobject.c:196 kobject_add_internal+0x1a0/0x214()

kobject_add_internal failed for 41600000.i2c with -EEXIST, don''t try to register things with the same name in the same directory.

Modules linked in:

CPU: 0 PID: 1 Comm: swapper/0 Tainted: G        W    3.10.0-xilinx #1

[<c0014200>] (unwind_backtrace+0x0/0x11c) from [<c0011358>] (show_stack+0x10/0x14)

[<c0011358>] (show_stack+0x10/0x14) from [<c0020090>] (warn_slowpath_common+0x4c/0x6c)

[<c0020090>] (warn_slowpath_common+0x4c/0x6c) from [<c00200dc>] (warn_slowpath_fmt+0x2c/0x3c)

[<c00200dc>] (warn_slowpath_fmt+0x2c/0x3c) from [<c01b1820>] (kobject_add_internal+0x1a0/0x214)

[<c01b1820>] (kobject_add_internal+0x1a0/0x214) from [<c01b1ae4>] (kobject_add+0x6c/0x8c)

[<c01b1ae4>] (kobject_add+0x6c/0x8c) from [<c0234810>] (device_add+0x108/0x5b8)

[<c0234810>] (device_add+0x108/0x5b8) from [<c034eef0>] (of_platform_device_create_pdata+0x58/0x78)

[<c034eef0>] (of_platform_device_create_pdata+0x58/0x78) from [<c034f158>] (of_platform_bus_create+0x23c/0x2fc)

[<c034f158>] (of_platform_bus_create+0x23c/0x2fc) from [<c034f1c4>] (of_platform_bus_create+0x2a8/0x2fc)

[<c034f1c4>] (of_platform_bus_create+0x2a8/0x2fc) from [<c034f380>] (of_platform_populate+0x60/0x8c)

[<c034f380>] (of_platform_populate+0x60/0x8c) from [<c05c3308>] (customize_machine+0x1c/0x40)

[<c05c3308>] (customize_machine+0x1c/0x40) from [<c0008648>] (do_one_initcall+0xb8/0x160)

[<c0008648>] (do_one_initcall+0xb8/0x160) from [<c05c0908>] (kernel_init_freeable+0x108/0x1c8)

[<c05c0908>] (kernel_init_freeable+0x108/0x1c8) from [<c0414780>] (kernel_init+0x8/0xe4)

[<c0414780>] (kernel_init+0x8/0xe4) from [<c000e3d8>] (ret_from_fork+0x14/0x3c)

---[ end trace 616435eb7abb5701 ]---

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

hw-breakpoint: maximum watchpoint size is 4 bytes.

bio: create slab <bio-0> at 0

vgaarb: loaded

SCSI subsystem initialized

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

pps_core: LinuxPPS API ver. 1 registered

pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>

PTP clock support registered

EDAC MC: Ver: 3.0.0

Advanced Linux Sound Architecture Driver Initialized.

Switching to clocksource ttc_clocksource

NET: Registered protocol family 2

TCP established hash table entries: 4096 (order: 3, 32768 bytes)

TCP bind hash table entries: 4096 (order: 3, 32768 bytes)

TCP: Hash tables configured (established 4096 bind 4096)

TCP: reno registered

UDP hash table entries: 256 (order: 1, 8192 bytes)

UDP-Lite hash table entries: 256 (order: 1, 8192 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.

PCI: CLS 0 bytes, default 64

hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available

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

msgmni has been set to 1002

io scheduler noop registered

io scheduler deadline registered

io scheduler cfq registered (default)

dma-pl330: probe of f8003000.ps7-dma failed with error -2

xilinx-dma 40400000.axidma: Probing xilinx axi dma engine

xilinx-dma 40400000.axidma: unable to request IRQ

xilinx-vdma 43000000.axivdma: Probing xilinx axi vdma engine

xilinx-vdma 43000000.axivdma: unable to request IRQ

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

console [ttyPS0] enabled, bootconsole disabled

xdevcfg f8007000.ps7-dev-cfg: ioremap f8007000 to e0874000 with size 100

[drm] Initialized drm 1.1.0 20060810

platform 70e00000.axi_hdmi: Driver axi-hdmi requests probe deferral

brd: module loaded

loop: module loaded

xqspips e000d000.ps7-qspi: master is unqueued, this is deprecated

m25p80 spi0.0: found s25fl256s1, expected n25q128

m25p80 spi0.0: s25fl256s1 (32768 Kbytes)

5 ofpart partitions found on MTD device spi0.0

Creating 5 MTD partitions on "spi0.0":

0x000000000000-0x000000100000 : "qspi-fsbl-uboot"

0x000000100000-0x000000600000 : "qspi-linux"

0x000000600000-0x000000620000 : "qspi-device-tree"

0x000000620000-0x000000c00000 : "qspi-rootfs"

0x000000c00000-0x000001000000 : "qspi-bitstream"

xqspips e000d000.ps7-qspi: at 0xE000D000 mapped to 0xE0876000, irq=51

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

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

libphy: XEMACPS mii bus: probed

mdio_bus e000b000: cannot get PHY at address 7

xemacps e000b000.ps7-ethernet: pdev->id -1, baseaddr 0xe000b000, irq 54

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

ehci-pci: EHCI PCI platform driver

ULPI transceiver vendor/product ID 0x0451/0x1507

Found TI TUSB1210 ULPI transceiver.

ULPI integrity check: passed.

xusbps-ehci xusbps-ehci.0: Xilinx PS USB EHCI Host Controller

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

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

xusbps-ehci xusbps-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

xadcps f8007100.ps7-xadc: enabled:    yes    reference:    external

zynq-edac f8006000.ps7-ddrc: ecc not enabled

sdhci: Secure Digital Host Controller Interface driver

sdhci: Copyright(c) Pierre Ossman

sdhci-pltfm: SDHCI platform and OF driver helper

mmc0: Invalid maximum block size, assuming 512 bytes

mmc0: SDHCI controller on e0100000.ps7-sdio [e0100000.ps7-sdio] using ADMA

usbcore: registered new interface driver usbhid

usbhid: USB HID core driver

ERROR: could not get clock /fpga-axi@0/axi-spdif-tx@0x75c00000:axi(0)

axi-spdif: probe of 75c00000.axi-spdif-tx failed with error -2

ERROR: could not get clock /fpga-axi@0/axi-i2s@0x77600000:axi(0)

axi-i2s: probe of 77600000.axi-i2s failed with error -2

adv7511-hdmi-snd adv7511_hdmi_snd.3: ASoC: CPU DAI (null) not registered

platform adv7511_hdmi_snd.3: Driver adv7511-hdmi-snd requests probe deferral

zed-adau1761-snd zed_sound.4: ASoC: CPU DAI (null) not registered

platform zed_sound.4: Driver zed-adau1761-snd requests probe deferral

mmc0: new high speed SDHC card at address 0007

mmcblk0: mmc0:0007 SD04G 3.70 GiB

 mmcblk0: p1 p2

TCP: cubic registered

NET: Registered protocol family 17

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

Registering SWP/SWPB emulation handler

platform 70e00000.axi_hdmi: Driver axi-hdmi requests probe deferral

adv7511-hdmi-snd adv7511_hdmi_snd.3: ASoC: CPU DAI (null) not registered

platform adv7511_hdmi_snd.3: Driver adv7511-hdmi-snd requests probe deferral

zed-adau1761-snd zed_sound.4: ASoC: CPU DAI (null) not registered

platform zed_sound.4: Driver zed-adau1761-snd requests probe deferral

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

ALSA device list:

  No soundcards found.

EXT3-fs (mmcblk0p2): error: couldn''t mount because of unsupported optional features (240)

EXT2-fs (mmcblk0p2): error: couldn''t mount because of unsupported optional features (240)

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

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

devtmpfs: mounted

Freeing unused kernel memory: 176K (c05c0000 - c05ec000)

udevd[569]: starting version 182

EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered

xemacps e000b000.ps7-ethernet: eth0: no PHY found

xemacps e000b000.ps7-ethernet: XEMACPS mii bus mii_probe fail.

xemacps e000b000.ps7-ethernet: eth0: no PHY found

xemacps e000b000.ps7-ethernet: XEMACPS mii bus mii_probe fail.

root@zedboard-aquaxis:~#