Installing Dreamplug with kirkwood-latest

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Installing Dreamplug with kirkwood-latest

Postby ineiti » Mon Jun 16, 2014 1:41 pm

Hi,

I'm trying to get the latest kirkwood-archlinux-image from http://archlinuxarm.org/platforms/armv5/sheevaplug to run, but so far I have no luck. The kernel boots, but the root-filesystem is not found, neither as mmcblk, nor sd*, nor an external harddisk. I tried the image from mid-may, which reports as Linux-3.14.2-1 kernel.

Before I report a bug and get flamed, I'd like to know whether Dreamplug is a supported platform or not? I thought it's a kirkwood, but perhaps I'm wrong...

Thanks
ineiti
 
Posts: 39
Joined: Fri Aug 23, 2013 9:03 pm

Re: Installing Dreamplug with kirkwood-latest

Postby ineiti » Mon Jun 16, 2014 9:45 pm

I just re-installed with an old ArchLinux-kirkwood-latest image from December 2013, which worked fine (besides the startup-problems I already reported in another post). So I'm trying to look whether the kernel is missing some configuration-options for the Dreamplug. Somebody got any idea or pointer?
ineiti
 
Posts: 39
Joined: Fri Aug 23, 2013 9:03 pm

Re: Installing Dreamplug with kirkwood-latest

Postby kmihelich » Tue Jun 17, 2014 1:31 am

It's not officially supported at the moment, but it should run fine off of our latest kirkwood kernels since it is a mainlined device. We'll make it official once we get everything built up, tested, and instructions written.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: Installing Dreamplug with kirkwood-latest

Postby ineiti » Tue Jun 17, 2014 5:23 am

Thanks - I'm working on it, as the standard kernel seems to fail (see previous message). I'm trying to build from a config found at "xilka" - there are some things built-in there that are omitted in the archlinuxarm-kernel. I hope that's what stops the kernel from mounting my root-filesystem.

When re-building the 3.15-4 kernel, I get some errors when applying the patches (files already exist) - shall I open a bug report?
ineiti
 
Posts: 39
Joined: Fri Aug 23, 2013 9:03 pm

Re: Installing Dreamplug with kirkwood-latest

Postby kmihelich » Tue Jun 17, 2014 5:28 am

You probably just need to delete the src directory before doing a full build again. Patches will fail when you try to apply them to already patched source.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: Installing Dreamplug with kirkwood-latest

Postby ineiti » Tue Jun 17, 2014 6:23 pm

Now I tried both linux-kirkwood and linux-kirkwood-dt and two self-compiled kernels where I started with a 3.12.4-config from Archlinux, but nothing worked. Besides good ol' 3.12.4 kerne that boots from internal SD-card and external harddisk without any probleml. All stop more or less with

$this->bbcode_second_pass_code('', '[ 18.556135] sdhci: Secure Digital Host Controller Interface driver
[ 18.562337] sdhci: Copyright(c) Pierre Ossman
[ 18.566791] mvsdio mvsdio: no pins associated
[ 18.603603] mvsdio mvsdio: lacking card detect (fall back to polling)
[ 18.610135] sdhci-pltfm: SDHCI platform and OF driver helper
[ 18.619503] ledtrig-cpu: registered to indicate activity on CPUs
[ 18.625755] usbcore: registered new interface driver r8712u
[ 18.631517] gre: GRE over IPv4 demultiplexor driver
[ 18.636473] TCP: cubic registered
[ 18.639819] NET: Registered protocol family 17
[ 18.644423] Key type dns_resolver registered
[ 18.649437] registered taskstats version 1
[ 18.654760] console [netcon0] enabled
[ 18.658471] netconsole: network logging started
[ 18.663130] rtc-mv rtc-mv: setting system clock to 2013-01-02 02:42:37 UTC (1357094557)
[ 18.672520] VFS: Cannot open root device "sdc5" or unknown-block(0,0): error -6
[ 18.679971] Please append a correct "root=" boot option; here are the available partitions:
[ 18.688427] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 18.696735] CPU: 0 PID: 1 Comm: swapper Not tainted 3.15.1-1-ARCH #1
[ 18.703139] [<c000ee80>] (unwind_backtrace) from [<c000c418>] (show_stack+0x10/0x14)
[ 18.710926] [<c000c418>] (show_stack) from [<c0538f24>] (panic+0x8c/0x1ec)
[ 18.717837] [<c0538f24>] (panic) from [<c071afe8>] (mount_block_root+0x218/0x2c0)
[ 18.725358] [<c071afe8>] (mount_block_root) from [<c071b354>] (prepare_namespace+0x160/0x1c0)
[ 18.733919] [<c071b354>] (prepare_namespace) from [<c071ac7c>] (kernel_init_freeable+0x1f8/0x240)
[ 18.742832] [<c071ac7c>] (kernel_init_freeable) from [<c05376c0>] (kernel_init+0x8/0xec)
[ 18.750958] [<c05376c0>] (kernel_init) from [<c00094f0>] (ret_from_fork+0x14/0x24)
[ 18.758562] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
')

I have a 4GB internal SD-card and a 1TB harddisk on the USB-port. One of the kernels I compiled showed at least the mtdblock-devices as "available partitions", but neither mmcblk0, sda or sdc (the latter is the usual device for my external harddisk under 3.12.4)...

Any pointers / hints as what I could try next?
ineiti
 
Posts: 39
Joined: Fri Aug 23, 2013 9:03 pm

Re: Installing Dreamplug with kirkwood-latest

Postby ineiti » Wed Jun 18, 2014 8:32 pm

Anyone? I'm trying to feel young by recompiling the kernel, but it doesn't help. Does anyone have a link to an updated u-boot?
ineiti
 
Posts: 39
Joined: Fri Aug 23, 2013 9:03 pm

Re: Installing Dreamplug with kirkwood-latest

Postby moonman » Thu Jun 19, 2014 6:31 am

Could you show a full dmesg from a working kernel? then the one from linux-kirkwood (not dt).
For -dt to work you need a newer U-Boot with fdt support or you need to manually compile kernel, append dtb to it and make uImage.

Some useful links: http://blog.langfinger.org/?p=266 just for compiling uBoot, do NOT use the uboot environment provided as it will not work with arch.
There is also an older guide here on the forum: viewtopic.php?f=53&t=5062 Beware that the linux-kirkwood-dt comes with a zImage, not a uImage.
http://wiki.gentoo.org/wiki/DreamPlug#M ... evice_tree

And yes, the support for Dreamplug is in the linux-kirkwood kernel: https://github.com/archlinuxarm/PKGBUIL ... atch#L1284
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Installing Dreamplug with kirkwood-latest

Postby ineiti » Thu Jun 19, 2014 7:03 am

Thanks for the reply. The u-boot is the u-boot from Debian, october 2013.

I used the following lines to build the "-dt"-kernel:

$this->bbcode_second_pass_code('', '
cat zImage kirkwood-dreamplug.dtb > zImage_w_dtb
mkimage -A arm -O linux -T kernel -C none -a 0x8000 -e 0x8000 -n "linux-dreamplug-3.15-4" -d zImage_w_dtb uImage.dtb
')

And then I booted the uImage.dtb-file, of course.

Here is a working 3.12.6-2 kernel:

$this->bbcode_second_pass_code('', '
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-3.12.6-2-ARCH
Created: 2013-12-25 4:09:30 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3820088 Bytes = 3.6 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
Loading Kernel Image ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.12.6-2-ARCH (nobody@root-armv5-copy) (gcc version 4.7.2 (GCC) ) #1 PREEMPT Tue Dec 24 21:09:18 MST 2013
[ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine: Marvell DreamPlug Reference Board
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048
[ 0.000000] Kernel command line: console=ttyS0,115200 elevator=noop root=/dev/sdc5
[ 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: 511380K/524288K available (5302K kernel code, 319K rwdata, 1628K rodata, 255K init, 823K bss, 12908K reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xe0800000 - 0xff000000 ( 488 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc06ccb1c (6931 kB)
[ 0.000000] .init : 0xc06cd000 - 0xc070cf24 ( 256 kB)
[ 0.000000] .data : 0xc070e000 - 0xc075dedc ( 320 kB)
[ 0.000000] .bss : 0xc075dedc - 0xc082be6c ( 824 kB)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] NR_IRQS:114
[ 0.000000] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474ms
[ 0.000000] Console: colour dummy device 80x30
[ 15.080811] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[ 15.170657] pid_max: default: 32768 minimum: 301
[ 15.170767] Security Framework initialized
[ 15.170793] AppArmor: AppArmor disabled by boot time parameter
[ 15.170858] Mount-cache hash table entries: 512
[ 15.171437] Initializing cgroup subsys devices
[ 15.171458] Initializing cgroup subsys freezer
[ 15.171471] Initializing cgroup subsys net_cls
[ 15.171481] Initializing cgroup subsys blkio
[ 15.171490] Initializing cgroup subsys bfqio
[ 15.171499] Initializing cgroup subsys perf_event
[ 15.171595] CPU: Testing write buffer coherency: ok
[ 15.171947] Setting up static identity map for 0xc050a3d8 - 0xc050a430
[ 15.173435] devtmpfs: initialized
[ 15.176044] pinctrl core: initialized pinctrl subsystem
[ 15.176318] NET: Registered protocol family 16
[ 15.176709] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 15.177276] cpuidle: using governor ladder
[ 15.177293] cpuidle: using governor menu
[ 15.177376] Kirkwood: MV88F6281-A1, TCLK=200000000.
[ 15.177395] Feroceon L2: Enabling L2
[ 15.177432] Feroceon L2: Cache support initialised.
[ 15.183623] bio: create slab <bio-0> at 0
[ 15.184087] vgaarb: loaded
[ 15.184363] SCSI subsystem initialized
[ 15.184692] usbcore: registered new interface driver usbfs
[ 15.184745] usbcore: registered new interface driver hub
[ 15.184838] usbcore: registered new device driver usb
[ 15.184964] pps_core: LinuxPPS API ver. 1 registered
[ 15.184973] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 15.184998] PTP clock support registered
[ 15.185617] Switched to clocksource orion_clocksource
[ 15.199486] FS-Cache: Loaded
[ 15.208871] NET: Registered protocol family 2
[ 15.209453] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[ 15.209552] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 15.209604] TCP: Hash tables configured (established 4096 bind 4096)
[ 15.209665] TCP: reno registered
[ 15.209678] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 15.209699] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 15.209914] NET: Registered protocol family 1
[ 15.211091] audit: initializing netlink socket (disabled)
[ 15.211128] type=2000 audit(0.120:1): initialized
[ 15.309514] VFS: Disk quotas dquot_6.5.2
[ 15.309730] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 15.311442] jffs2: version 2.2. (NAND) ?? 2001-2006 Red Hat, Inc.
[ 15.312555] aufs 3.12-20131223
[ 15.312578] msgmni has been set to 998
[ 15.314112] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 15.314125] io scheduler noop registered (default)
[ 15.314132] io scheduler deadline registered
[ 15.314427] io scheduler cfq registered
[ 15.314458] io scheduler bfq registered
[ 15.314578] mv_xor mv_xor.0: Marvell shared XOR driver
[ 15.345748] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[ 15.385682] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[ 15.385846] mv_xor mv_xor.1: Marvell shared XOR driver
[ 15.425688] mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
[ 15.465686] mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
[ 15.469664] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 15.490434] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33, base_baud = 12500000) is a 16550A
[ 15.977603] console [ttyS0] enabled
[ 15.987372] brd: module loaded
[ 15.993598] loop: module loaded
[ 15.997062] sata_mv sata_mv.0: cannot get optional clkdev
[ 16.002542] sata_mv sata_mv.0: slots 32 ports 1
[ 16.008425] scsi0 : sata_mv
[ 16.011461] ata1: SATA max UDMA/133 irq 21
[ 16.016650] m25p80 spi0.0: mx25l1606e (2048 Kbytes)
[ 16.021845] Creating 2 MTD partitions on "spi_flash":
[ 16.026967] 0x000000000000-0x000000080000 : "u-boot"
[ 16.032277] 0x000000100000-0x000000110000 : "u-boot env"
[ 16.044637] libphy: orion_mdio_bus: probed
[ 16.048872] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[ 16.365643] ata1: SATA link down (SStatus 0 SControl F300)
[ 17.062206] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address f0:ad:4e:00:b2:46
[ 18.071996] mv643xx_eth_port mv643xx_eth_port.1 eth1: port 0 with MAC address f0:ad:4e:00:b2:47
[ 18.080847] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 18.087420] ehci-pci: EHCI PCI platform driver
[ 18.091931] ehci-orion: EHCI orion driver
[ 18.096027] orion-ehci orion-ehci.0: EHCI Host Controller
[ 18.101470] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[ 18.109199] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[ 18.125651] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[ 18.132310] hub 1-0:1.0: USB hub found
[ 18.136135] hub 1-0:1.0: 1 port detected
[ 18.140591] usbcore: registered new interface driver usb-storage
[ 18.146986] mousedev: PS/2 mouse device common for all mice
[ 18.152900] rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
[ 18.159157] orion_wdt: Initial timeout 21 sec
[ 18.163764] sdhci: Secure Digital Host Controller Interface driver
[ 18.170013] sdhci: Copyright(c) Pierre Ossman
[ 18.174450] mvsdio mvsdio: no pins associated
[ 18.215647] mvsdio mvsdio: lacking card detect (fall back to polling)
[ 18.222162] sdhci-pltfm: SDHCI platform and OF driver helper
[ 18.231341] ledtrig-cpu: registered to indicate activity on CPUs
[ 18.237553] usbcore: registered new interface driver r8712u
[ 18.243359] gre: GRE over IPv4 demultiplexor driver
[ 18.248415] TCP: cubic registered
[ 18.251771] NET: Registered protocol family 17
[ 18.256351] Key type dns_resolver registered
[ 18.261198] registered taskstats version 1
[ 18.282548] mmc0: new high speed SDIO card at address 0001
[ 18.455660] usb 1-1: new high-speed USB device number 2 using orion-ehci
[ 18.626859] hub 1-1:1.0: USB hub found
[ 18.635642] hub 1-1:1.0: 4 ports detected
[ 18.925843] usb 1-1.1: new high-speed USB device number 3 using orion-ehci
[ 19.059003] usb-storage 1-1.1:1.0: USB Mass Storage device detected
[ 19.075753] scsi1 : usb-storage 1-1.1:1.0
[ 19.155843] usb 1-1.2: new high-speed USB device number 4 using orion-ehci
[ 19.287833] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[ 19.305728] scsi2 : usb-storage 1-1.2:1.0
[ 19.385856] usb 1-1.4: new full-speed USB device number 5 using orion-ehci
[ 20.096810] scsi 1:0:0:0: Direct-Access Generic STORAGE DEVICE 9910 PQ: 0 ANSI: 0
[ 20.106616] sd 1:0:0:0: [sda] 7626752 512-byte logical blocks: (3.90 GB/3.63 GiB)
[ 20.125645] sd 1:0:0:0: [sda] Write Protect is off
[ 20.130880] sd 1:0:0:0: Attached scsi generic sg0 type 0
[ 20.136363] sd 1:0:0:0: [sda] No Caching mode page found
[ 20.141715] sd 1:0:0:0: [sda] Assuming drive cache: write through
[ 20.148537] scsi 1:0:0:1: Direct-Access Generic STORAGE DEVICE 9910 PQ: 0 ANSI: 0
[ 20.166344] sd 1:0:0:1: Attached scsi generic sg1 type 0
[ 20.172995] sd 1:0:0:1: [sdb] Attached SCSI removable disk
[ 20.189859] sd 1:0:0:0: [sda] No Caching mode page found
[ 20.195215] sd 1:0:0:0: [sda] Assuming drive cache: write through
[ 20.217325] sda: sda1 sda2
[ 20.228496] sd 1:0:0:0: [sda] No Caching mode page found
[ 20.233843] sd 1:0:0:0: [sda] Assuming drive cache: write through
[ 20.255667] sd 1:0:0:0: [sda] Attached SCSI removable disk
[ 20.306425] scsi 2:0:0:0: Direct-Access WD My Passport 0748 1022 PQ: 0 ANSI: 6
[ 20.315651] sd 2:0:0:0: [sdc] 3906963456 512-byte logical blocks: (2.00 TB/1.81 TiB)
[ 20.335647] sd 2:0:0:0: [sdc] Write Protect is off
[ 20.340909] sd 2:0:0:0: Attached scsi generic sg2 type 0
[ 20.346490] sd 2:0:0:0: [sdc] No Caching mode page found
[ 20.351841] sd 2:0:0:0: [sdc] Assuming drive cache: write through
[ 20.358522] scsi 2:0:0:1: Enclosure WD SES Device 1022 PQ: 0 ANSI: 6
[ 20.376091] scsi 2:0:0:1: Attached scsi generic sg3 type 13
[ 20.388114] sd 2:0:0:0: [sdc] No Caching mode page found
[ 20.393464] sd 2:0:0:0: [sdc] Assuming drive cache: write through
[ 21.782971] UKSM: relative memcmp_cost = 2570 hash=2419560823 cmp_ret=0.
[ 21.796904] console [netcon0] enabled
[ 21.800586] netconsole: network logging started
[ 21.805211] rtc-mv rtc-mv: setting system clock to 2014-06-18 23:27:24 UTC (1403134044)
[ 24.855985] sdc: sdc1 sdc2 sdc3 sdc4 < sdc5 sdc6 sdc7 sdc8 sdc9 >
[ 24.866108] sd 2:0:0:0: [sdc] No Caching mode page found
[ 24.871463] sd 2:0:0:0: [sdc] Assuming drive cache: write through
[ 24.877633] sd 2:0:0:0: [sdc] Attached SCSI disk
[ 24.894991] EXT3-fs (sdc5): error: couldn't mount because of unsupported optional features (240)
[ 24.904732] EXT2-fs (sdc5): error: couldn't mount because of unsupported optional features (244)
[ 25.098975] EXT4-fs (sdc5): recovery complete
[ 25.103993] EXT4-fs (sdc5): mounted filesystem with ordered data mode. Opts: (null)
[ 25.111744] VFS: Mounted root (ext4 filesystem) on device 8:37.
[ 25.156396] devtmpfs: mounted
[ 25.160157] Freeing unused kernel memory: 252K (c06cd000 - c070c000)
[ 25.775893] systemd[1]: systemd 208 running in system mode. (+PAM -LIBWRAP -AUDIT -SELINUX -IMA -SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ)

Welcome to Arch Linux ARM!

[ 26.015383] systemd[1]: Inserted module 'autofs4'
[ 26.075181] NET: Registered protocol family 10
[ 26.081079] systemd[1]: Inserted module 'ipv6'
[ 26.108488] systemd[1]: Set hostname to <alarm>.
[ 26.721540] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.
[ 26.737808] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[ 26.745922] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 26.753619] systemd[1]: Expecting device dev-ttyS0.device...
Expecting device dev-ttyS0.device...
[ 26.775784] systemd[1]: Expecting device sys-subsystem-net-devices-eth1.device...
Expecting device sys-subsystem-net-devices-eth1.device...
[ 26.805765] systemd[1]: Starting Remote File Systems.
[ OK ] Reached target Remote File Systems.
[ 26.825748] systemd[1]: Reached target Remote File Systems.
[ 26.831429] systemd[1]: Expecting device sys-subsystem-net-devices-eth0.device...
Expecting device sys-subsystem-net-devices-eth0.device...
[ 26.855759] systemd[1]: Expecting device sys-subsystem-net-devices-wlan0.device...
Expecting device sys-subsystem-net-devices-wlan0.device...
[ 26.885764] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ 26.915752] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 26.922822] systemd[1]: Starting Delayed Shutdown Socket.
[ OK ] Listening on Delayed Shutdown Socket.
[ 26.945754] systemd[1]: Listening on Delayed Shutdown Socket.
[ 26.951607] systemd[1]: Starting Device-mapper event daemon FIFOs.
[ OK ] Listening on Device-mapper event daemon FIFOs.
[ 26.975753] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[ 26.982386] systemd[1]: Starting LVM2 metadata daemon socket.
[ OK ] Listening on LVM2 metadata daemon socket.
[ 27.005785] systemd[1]: Listening on LVM2 metadata daemon socket.
[ 27.011993] systemd[1]: Starting Encrypted Volumes.
[ OK ] Reached target Encrypted Volumes.
[ 27.035754] systemd[1]: Reached target Encrypted Volumes.
[ 27.041290] systemd[1]: Starting Journal Socket.
[ OK ] Listening on Journal Socket.
[ 27.066274] systemd[1]: Listening on Journal Socket.
[ 27.071376] systemd[1]: Starting Journal Service...
Starting Journal Service...
[ OK ] Started Journal Service.
[ 27.115833] systemd[1]: Started Journal Service.
[ OK ] Reached target Paths.
Starting Apply Kernel Variables...
[ OK ] Listening on udev Kernel Socket.
[ OK ] Listening on udev Control Socket.
[ 27.275271] systemd-journald[61]: Vacuuming done, freed 0 bytes
Starting udev Coldplug all Devices...
Starting Create list of required static device nodes...rrent kernel...
Mounting POSIX Message Queue File System...
[ OK ] Set up automount Arbitrary Executable File Formats F...utomount Point.
Mounting Debug File System...
Starting Setup Virtual Console...
[ OK ] Reached target Swap.
Starting Remount Root and Kernel File Systems...
Mounting Temporary Directory...
Expecting device dev-sdc1.device...
[ 27.699245] EXT4-fs (sdc5): re-mounted. Opts: (null)
[ OK ] Created slice Root Slice.
[ OK ] Created slice User and Session Slice.
[ OK ] Created slice System Slice.
[ OK ] Created slice system-netctl\x2difplugd.slice.
[ OK ] Created slice system-netctl.slice.
[ OK ] Created slice system-getty.slice.
[ OK ] Created slice system-serial\x2dgetty.slice.
[ OK ] Reached target Slices.
[ OK ] Started Apply Kernel Variables.
[ OK ] Mounted POSIX Message Queue File System.
[ OK ] Mounted Debug File System.
[ OK ] Started Setup Virtual Console.
[ OK ] Started Remount Root and Kernel File Systems.
[ OK ] Mounted Temporary Directory.
[ OK ] Started udev Coldplug all Devices.
[ OK ] Started Create list of required static device nodes ...current kernel.
Starting Create static device nodes in /dev...
Starting Load/Save Random Seed...
[ OK ] Started Load/Save Random Seed.
[ OK ] Started Create static device nodes in /dev.
Starting udev Kernel Device Manager...
[ OK ] Reached target Local File Systems (Pre).
[ 28.330632] systemd-udevd[88]: starting version 208
[ OK ] Started udev Kernel Device Manager.
[ OK ] Found device /dev/ttyS0.
[ OK ] Found device /sys/subsystem/net/devices/eth0.
[ OK ] Found device /sys/subsystem/net/devices/eth1.
[ 28.865007] Bluetooth: Core ver 2.16
[ 28.992515] NET: Registered protocol family 31
[ 29.023160] Bluetooth: HCI device and connection manager initialized
[ 29.041221] usbcore: registered new interface driver usbhid
[ 29.073506] Bluetooth: HCI socket layer initialized
[ 29.082823] ses 2:0:0:1: Attached Enclosure device
[ 29.090600] usbhid: USB HID core driver
[ 29.126038] Bluetooth: L2CAP socket layer initialized
[ 29.146210] cfg80211: Calling CRDA to update world regulatory domain
[ 29.177921] Bluetooth: SCO socket layer initialized
[ 29.267202] libertas_sdio: Libertas SDIO driver
[ 29.271756] libertas_sdio: Copyright Pierre Ossman
[ 29.282628] Bluetooth: vendor=0x2df, device=0x9105, class=255, fn=2
[ 29.361843] usbcore: registered new interface driver snd-usb-audio
[ 29.718093] input: C-Media USB Headphone Set as /devices/platform/orion-ehci.0/usb1/1-1/1-1.4/1-1.4:1.3/input/input0
[ 29.734394] hid-generic 0003:0D8C:000C.0001: input: USB HID v1.00 Device [C-Media USB Headphone Set ] on usb-orion-ehci.0-1.4/input3
[ OK ] Reached target Sound Card.
[ 30.007614] libertas_sdio mmc0:0001:1 (unregistered net_device): 00:24:23:45:0d:76, fw 10.38.1p25, cap 0x00000303
[ 30.032965] libertas_sdio mmc0:0001:1 wlan0: Marvell WLAN 802.11 adapter
[ OK ] Reached target Bluetooth.
[ OK ] Found device /sys/subsystem/net/devices/wlan0.
[ OK ] Found device My_Passport_0748.
Mounting /boot.fat...
[ 31.226741] FAT-fs (sdc1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ OK ] Mounted /boot.fat.
[ OK ] Reached target Local File Systems.
Starting Recreate Volatile Files and Directories...
Starting Trigger Flushing of Journal to Persistent Storage...
[ OK ] Started Recreate Volatile Files and Directories.
Starting Update UTMP about System Reboot/Shutdown...
[ 31.463060] systemd-journald[61]: Received request to flush runtime journal from PID 1
[ OK ] Started Trigger Flushing of Journal to Persistent Storage.
[ OK ] Started Update UTMP about System Reboot/Shutdown.
[ OK ] Reached target System Initialization.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Timers.
[ OK ] Reached target Basic System.
Starting A simple open wireless connection...
Starting Packet Filtering Framework...
Starting Entropy Harvesting Daemon...
Starting Automatic wired network connection using netctl profiles...
[ OK ] Started Automatic wired network connection using netctl profiles.
Starting A basic static ethernet connection...
Starting Login Service...
Starting D-Bus System Message Bus...
[ OK ] Started D-Bus System Message Bus.
Starting Permit User Sessions...
[ 32.448215] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ OK ] Started Permit User Sessions.
Starting Getty on tty1...
[ OK ] Started Getty on tty1.
Starting Serial Getty on ttyS0...
[ OK ] Started Serial Getty on ttyS0.
[ OK ] Reached target Login Prompts.
[ 32.782493] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 32.915725] nf_conntrack version 0.5.0 (7994 buckets, 31976 max)
[ OK ] Started Entropy Harvesting Daemon.
[ OK ] Started Login Service.
[ OK ] Started Packet Filtering Framework.
[ 33.400692] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 33.588319] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 34.801078] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ OK ] Started A simple open wireless connection.
')

And the one from linux-kirkwood-3.15.1-1-arm (non-dt):

$this->bbcode_second_pass_code('', '
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-3.15.1-1-ARCH
Created: 2014-06-17 3:27:50 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3977672 Bytes = 3.8 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
Loading Kernel Image ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.15.1-1-ARCH (nobody@root-armv5-copy) (gcc version 4.8.2 20131219 (prerelease) (GCC) ) #1 PREEMPT Mon Jun 16 21:27:37 MDT 2014
[ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine: Marvell DreamPlug Reference Board
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048
[ 0.000000] Kernel command line: console=ttyS0,115200 elevator=noop root=/dev/sdc5
[ 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: 511044K/524288K available (5543K kernel code, 340K rwdata, 1696K rodata, 260K init, 833K bss, 13244K reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xe0800000 - 0xff000000 ( 488 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0719f14 (7240 kB)
[ 0.000000] .init : 0xc071a000 - 0xc075b3e4 ( 261 kB)
[ 0.000000] .data : 0xc075c000 - 0xc07b13dc ( 341 kB)
[ 0.000000] .bss : 0xc07b13dc - 0xc088192c ( 834 kB)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] NR_IRQS:114
[ 0.000011] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474836475ns
[ 21.013231] Console: colour dummy device 80x30
[ 21.013255] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[ 21.103133] pid_max: default: 32768 minimum: 301
[ 21.103218] Security Framework initialized
[ 21.103243] AppArmor: AppArmor disabled by boot time parameter
[ 21.103301] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 21.103319] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 21.103942] Initializing cgroup subsys devices
[ 21.103966] Initializing cgroup subsys freezer
[ 21.103979] Initializing cgroup subsys net_cls
[ 21.103991] Initializing cgroup subsys blkio
[ 21.104000] Initializing cgroup subsys bfqio
[ 21.104010] Initializing cgroup subsys perf_event
[ 21.104023] Initializing cgroup subsys net_prio
[ 21.104098] CPU: Testing write buffer coherency: ok
[ 21.104458] Setting up static identity map for 0x5463d8 - 0x546430
[ 21.106173] devtmpfs: initialized
[ 21.109325] pinctrl core: initialized pinctrl subsystem
[ 21.109651] NET: Registered protocol family 16
[ 21.110042] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 21.110984] cpuidle: using governor ladder
[ 21.111003] cpuidle: using governor menu
[ 21.111086] Kirkwood: MV88F6281-A1, TCLK=200000000.
[ 21.111107] Feroceon L2: Enabling L2
[ 21.111145] Feroceon L2: Cache support initialised.
[ 21.121656] vgaarb: loaded
[ 21.121961] SCSI subsystem initialized
[ 21.122430] usbcore: registered new interface driver usbfs
[ 21.122506] usbcore: registered new interface driver hub
[ 21.122618] usbcore: registered new device driver usb
[ 21.122769] pps_core: LinuxPPS API ver. 1 registered
[ 21.122779] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 21.122807] PTP clock support registered
[ 21.123668] Switched to clocksource orion_clocksource
[ 21.143045] FS-Cache: Loaded
[ 21.155832] NET: Registered protocol family 2
[ 21.156417] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 21.156476] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 21.156527] TCP: Hash tables configured (established 4096 bind 4096)
[ 21.156590] TCP: reno registered
[ 21.156603] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 21.156624] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 21.156800] NET: Registered protocol family 1
[ 21.158127] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 21.158177] audit: initializing netlink subsys (disabled)
[ 21.158240] audit: type=2000 audit(0.140:1): initialized
[ 21.267503] VFS: Disk quotas dquot_6.5.2
[ 21.267748] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 21.269959] jffs2: version 2.2. (NAND) ?? 2001-2006 Red Hat, Inc.
[ 21.271732] aufs 3.15-20140616
[ 21.271757] msgmni has been set to 998
[ 21.273516] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 21.273529] io scheduler noop registered (default)
[ 21.273537] io scheduler deadline registered
[ 21.274018] io scheduler cfq registered
[ 21.274056] io scheduler bfq registered
[ 21.274063] BFQ I/O-scheduler version: v7r4
[ 21.274240] mv_xor mv_xor.0: Marvell shared XOR driver
[ 21.313747] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[ 21.353741] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[ 21.353940] mv_xor mv_xor.1: Marvell shared XOR driver
[ 21.393747] mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
[ 21.433745] mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
[ 21.439172] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 21.440204] console [ttyS0] disabled
[ 21.460254] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33, base_baud = 12500000) is a 16550A
[ 21.972509] console [ttyS0] enabled
[ 21.985218] brd: module loaded
[ 21.992835] loop: module loaded
[ 21.996363] sata_mv sata_mv.0: cannot get optional clkdev
[ 22.001853] sata_mv sata_mv.0: slots 32 ports 1
[ 22.008079] scsi0 : sata_mv
[ 22.011454] ata1: SATA max UDMA/133 irq 21
[ 22.016944] m25p80 spi0.0: mx25l1606e (2048 Kbytes)
[ 22.022160] Creating 2 MTD partitions on "spi_flash":
[ 22.027283] 0x000000000000-0x000000080000 : "u-boot"
[ 22.032718] 0x000000100000-0x000000110000 : "u-boot env"
[ 22.045550] libphy: orion_mdio_bus: probed
[ 22.049756] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[ 22.363695] ata1: SATA link down (SStatus 0 SControl F300)
[ 23.140295] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address f0:ad:4e:00:b2:46
[ 24.224627] mv643xx_eth_port mv643xx_eth_port.1 eth1: port 0 with MAC address f0:ad:4e:00:b2:47
[ 24.233492] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 24.240069] ehci-pci: EHCI PCI platform driver
[ 24.244609] ehci-orion: EHCI orion driver
[ 24.248717] orion-ehci orion-ehci.0: EHCI Host Controller
[ 24.254184] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[ 24.261897] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[ 24.283700] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[ 24.290599] hub 1-0:1.0: USB hub found
[ 24.294424] hub 1-0:1.0: 1 port detected
[ 24.299044] usbcore: registered new interface driver usb-storage
[ 24.305518] mousedev: PS/2 mouse device common for all mice
[ 24.311474] rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
[ 24.317469] i2c /dev entries driver
[ 24.321462] orion_wdt: Initial timeout 21 sec
[ 24.326227] sdhci: Secure Digital Host Controller Interface driver
[ 24.332433] sdhci: Copyright(c) Pierre Ossman
[ 24.336887] mvsdio mvsdio: no pins associated
[ 24.373701] mvsdio mvsdio: lacking card detect (fall back to polling)
[ 24.380228] sdhci-pltfm: SDHCI platform and OF driver helper
[ 24.389598] ledtrig-cpu: registered to indicate activity on CPUs
[ 24.395852] usbcore: registered new interface driver r8712u
[ 24.401620] gre: GRE over IPv4 demultiplexor driver
[ 24.406575] TCP: cubic registered
[ 24.409927] NET: Registered protocol family 17
[ 24.414540] Key type dns_resolver registered
[ 24.419556] registered taskstats version 1
[ 24.424905] console [netcon0] enabled
[ 24.428612] netconsole: network logging started
[ 24.433269] rtc-mv rtc-mv: setting system clock to 2014-06-18 23:38:50 UTC (1403134730)
[ 24.442663] VFS: Cannot open root device "sdc5" or unknown-block(0,0): error -6
[ 24.450111] Please append a correct "root=" boot option; here are the available partitions:
[ 24.458567] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 24.466874] CPU: 0 PID: 1 Comm: swapper Not tainted 3.15.1-1-ARCH #1
[ 24.473279] [<c000ee80>] (unwind_backtrace) from [<c000c418>] (show_stack+0x10/0x14)
[ 24.481075] [<c000c418>] (show_stack) from [<c0538f24>] (panic+0x8c/0x1ec)
[ 24.487985] [<c0538f24>] (panic) from [<c071afe8>] (mount_block_root+0x218/0x2c0)
[ 24.495505] [<c071afe8>] (mount_block_root) from [<c071b354>] (prepare_namespace+0x160/0x1c0)
[ 24.504068] [<c071b354>] (prepare_namespace) from [<c071ac7c>] (kernel_init_freeable+0x1f8/0x240)
[ 24.512981] [<c071ac7c>] (kernel_init_freeable) from [<c05376c0>] (kernel_init+0x8/0xec)
[ 24.521108] [<c05376c0>] (kernel_init) from [<c00094f0>] (ret_from_fork+0x14/0x24)
[ 24.528711] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
')

Thank you for looking into this. I'll try to build the u-boot and look whether that changes something.
ineiti
 
Posts: 39
Joined: Fri Aug 23, 2013 9:03 pm

Re: Installing Dreamplug with kirkwood-latest

Postby ineiti » Thu Jun 19, 2014 7:20 am

I just tried with the u-boot from http://blog.langfinger.org/?p=266 which doesn't work, neither. I took the pre-compiled one. Should I compile it myself?
ineiti
 
Posts: 39
Joined: Fri Aug 23, 2013 9:03 pm

Next

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 8 guests