Need some input from kirkwood DTB users

This forum is for topics dealing with problems with software specifically in the ARMv5 repo.

Need some input from kirkwood DTB users

Postby moonman » Fri Jun 13, 2014 7:45 am

Hello everyone,

I've been working on DTB support for GF-Home (and will later do PogoE02). The device boots, but these 2 lines confuse me:
$this->bbcode_second_pass_code('', '[ 0.106929] USB Power: Failed to request enable GPIO29: -517
[ 0.107019] reg-fixed-voltage 1.regulator: Failed to register regulator: -517
')
Has anybody seen this on already supported devices? (Anyone with GoFlex Net?)

Full dmesg:
$this->bbcode_second_pass_code('', '[ 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.8-3-ARCH (nobody@root-armv5-copy) (gcc version 4.8.2 20131219 (prerelease) (GCC) ) #1 PREEMPT Tue Jan 21 12:38:07 MST 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 Kirkwood (Flattened Device Tree), model: Seagate GoFlex Home
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] On node 0 totalpages: 32768
[ 0.000000] free_area_init_node: node 0, pgdat c077ae08, node_mem_map c0851000
[ 0.000000] Normal zone: 256 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 32768 pages, LIFO batch:7
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda1 rw rootwait mtdparts=orion_nand:1M(u-boot),-(rootfs)
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Memory: 121360K/131072K available (5418K kernel code, 311K rwdata, 1664K rodata, 256K init, 824K bss, 9712K reserved)
[ 0.000000] Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0xc8800000 - 0xff000000 ( 872 MB)
lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.text : 0xc0008000 - 0xc06f2be8 (7083 kB)
.init : 0xc06f3000 - 0xc073319c ( 257 kB)
.data : 0xc0734000 - 0xc0781de4 ( 312 kB)
.bss : 0xc0781de4 - 0xc085008c ( 825 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
[ 0.000259] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[ 0.090073] pid_max: default: 32768 minimum: 301
[ 0.090184] Security Framework initialized
[ 0.090210] AppArmor: AppArmor disabled by boot time parameter
[ 0.090271] Mount-cache hash table entries: 512
[ 0.092541] Initializing cgroup subsys devices
[ 0.092565] Initializing cgroup subsys freezer
[ 0.092577] Initializing cgroup subsys net_cls
[ 0.092586] Initializing cgroup subsys blkio
[ 0.092593] Initializing cgroup subsys bfqio
[ 0.092601] Initializing cgroup subsys perf_event
[ 0.092699] CPU: Testing write buffer coherency: ok
[ 0.093071] Setting up static identity map for 0xc0527fd0 - 0xc0528028
[ 0.094602] devtmpfs: initialized
[ 0.096109] pinctrl core: initialized pinctrl subsystem
[ 0.096470] regulator-dummy: no parameters
[ 0.096789] NET: Registered protocol family 16
[ 0.097217] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.097672] cpuidle: using governor ladder
[ 0.097689] cpuidle: using governor menu
[ 0.097810] Kirkwood: MV88F6281-A0, TCLK=0.
[ 0.097925] Feroceon L2: Enabling L2
[ 0.097966] Feroceon L2: Cache support initialised.
[ 0.101247] No ATAGs?
[ 0.106444] bio: create slab <bio-0> at 0
[ 0.106929] USB Power: Failed to request enable GPIO29: -517
[ 0.107019] reg-fixed-voltage 1.regulator: Failed to register regulator: -517
[ 0.107038] platform 1.regulator: Driver reg-fixed-voltage requests probe deferral
[ 0.107238] vgaarb: loaded
[ 0.107512] SCSI subsystem initialized
[ 0.107686] libata version 3.00 loaded.
[ 0.107909] usbcore: registered new interface driver usbfs
[ 0.107971] usbcore: registered new interface driver hub
[ 0.108070] usbcore: registered new device driver usb
[ 0.108188] pps_core: LinuxPPS API ver. 1 registered
[ 0.108197] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.108222] PTP clock support registered
[ 0.108920] Switched to clocksource orion_clocksource
[ 0.123240] FS-Cache: Loaded
[ 0.132681] NET: Registered protocol family 2
[ 0.133295] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.133330] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.133350] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.133415] TCP: reno registered
[ 0.133428] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.133448] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.133674] NET: Registered protocol family 1
[ 0.133709] PCI: CLS 0 bytes, default 32
[ 0.135029] audit: initializing netlink socket (disabled)
[ 0.135072] type=2000 audit(0.120:1): initialized
[ 0.239355] VFS: Disk quotas dquot_6.5.2
[ 0.239544] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.241317] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.242499] aufs 3.12-20140120
[ 0.242523] msgmni has been set to 237
[ 0.244066] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 0.244079] io scheduler noop registered
[ 0.244086] io scheduler deadline registered
[ 0.244392] io scheduler cfq registered
[ 0.244423] io scheduler bfq registered (default)
[ 0.245061] kirkwood-pinctrl f1010000.pinctrl: registered pinctrl driver
[ 0.245201] mv_xor f1060800.xor: Marvell shared XOR driver
[ 0.279052] mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
[ 0.318985] mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
[ 0.319141] mv_xor f1060900.xor: Marvell shared XOR driver
[ 0.358990] mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
[ 0.398988] mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
[ 0.402891] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.403885] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 33, base_baud = 12500000) is a 16550A
[ 0.934091] console [ttyS0] enabled
[ 0.943892] brd: module loaded
[ 0.950101] loop: module loaded
[ 0.953529] sata_mv f1080000.sata: version 1.28
[ 0.953660] sata_mv f1080000.sata: slots 32 ports 1
[ 0.959952] scsi0 : sata_mv
[ 0.963011] ata1: SATA max UDMA/133 irq 25
[ 0.968168] ONFI param page 0 valid
[ 0.971710] ONFI flash detected
[ 0.974874] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08AAD), 256MiB, page size: 2048, OOB size: 64
[ 0.986005] Scanning device for bad blocks
[ 1.204974] 2 cmdlinepart partitions found on MTD device orion_nand
[ 1.211296] Creating 2 MTD partitions on "orion_nand":
[ 1.216460] 0x000000000000-0x000000100000 : "u-boot"
[ 1.221789] 0x000000100000-0x000010000000 : "rootfs"
[ 1.227898] libphy: orion_mdio_bus: probed
[ 1.232763] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[ 1.468950] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[ 1.489174] ata1.00: ATA-9: WDC WD30EZRX-00D8PB0, 80.00A80, max UDMA/133
[ 1.495908] ata1.00: 5860533168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[ 1.539148] ata1.00: configured for UDMA/133
[ 1.559235] scsi 0:0:0:0: Direct-Access ATA WDC WD30EZRX-00D 80.0 PQ: 0 ANSI: 5
[ 1.567947] sd 0:0:0:0: [sda] 5860533168 512-byte logical blocks: (3.00 TB/2.72 TiB)
[ 1.588935] sd 0:0:0:0: [sda] 4096-byte physical blocks
[ 1.594501] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 1.600084] sd 0:0:0:0: [sda] Write Protect is off
[ 1.604901] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 1.609013] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 1.699338] sda: sda1 sda2 sda3
[ 1.710218] sd 0:0:0:0: [sda] Attached SCSI disk
[ 2.319201] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:10:75:28:1b:ad
[ 2.328038] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.334622] ehci-pci: EHCI PCI platform driver
[ 2.339146] ehci-orion: EHCI orion driver
[ 2.343284] orion-ehci f1050000.ehci: EHCI Host Controller
[ 2.348811] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[ 2.356653] orion-ehci f1050000.ehci: irq 23, io mem 0xf1050000
[ 2.378952] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[ 2.385655] hub 1-0:1.0: USB hub found
[ 2.389479] hub 1-0:1.0: 1 port detected
[ 2.393934] usbcore: registered new interface driver usb-storage
[ 2.400310] mousedev: PS/2 mouse device common for all mice
[ 2.406239] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
[ 2.413631] orion_wdt: Initial timeout 21 sec
[ 2.418454] sdhci: Secure Digital Host Controller Interface driver
[ 2.424707] sdhci: Copyright(c) Pierre Ossman
[ 2.429191] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.435504] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.441662] usbcore: registered new interface driver r8712u
[ 2.447452] gre: GRE over IPv4 demultiplexor driver
[ 2.452483] TCP: cubic registered
[ 2.455813] NET: Registered protocol family 17
[ 2.460414] Key type dns_resolver registered
[ 2.465266] registered taskstats version 1
[ 5.923099] UKSM: relative memcmp_cost = 2508 hash=1966126962 cmp_ret=0.
[ 5.936925] USB Power: 5000 mV
[ 5.940460] console [netcon0] enabled
[ 5.944133] netconsole: network logging started
[ 5.948785] rtc-mv f1010300.rtc: setting system clock to 2014-06-13 07:38:23 UTC (1402645103)
[ 5.976235] EXT3-fs (sda1): error: couldn't mount because of unsupported optional features (240)
[ 5.985468] EXT2-fs (sda1): error: couldn't mount because of unsupported optional features (240)
[ 6.015122] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[ 6.022882] VFS: Mounted root (ext4 filesystem) on device 8:1.
[ 6.049587] devtmpfs: mounted
[ 6.053382] Freeing unused kernel memory: 256K (c06f3000 - c0733000)
[ 6.524525] systemd[1]: systemd 213 running in system mode. (+PAM -AUDIT -SELINUX -IMA -SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ +SECCOMP -APPARMOR)
[ 6.538232] systemd[1]: Detected architecture 'arm'.
[ 6.710461] systemd[1]: Inserted module 'autofs4'
[ 6.762045] NET: Registered protocol family 10
[ 6.767577] systemd[1]: Inserted module 'ipv6'
[ 6.773229] systemd[1]: Set hostname to <GoFlex>.
[ 7.659039] systemd[1]: [/etc/systemd/system/transmission.service:3] Failed to add dependency on network.target,remote-fs.target, ignoring: Invalid argument
[ 7.745120] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.
[ 7.763327] systemd[1]: Expecting device dev-ttyS0.device...
[ 7.789100] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[ 7.797191] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 7.804947] systemd[1]: Starting Remote File Systems.
[ 7.830922] systemd[1]: Reached target Remote File Systems.
[ 7.836739] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.
[ 7.869071] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 7.878661] systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.
[ 7.886979] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 7.895063] systemd[1]: Starting Paths.
[ 7.919049] systemd[1]: Reached target Paths.
[ 7.923516] systemd[1]: Starting Encrypted Volumes.
[ 7.949051] systemd[1]: Reached target Encrypted Volumes.
[ 7.954566] systemd[1]: Expecting device dev-sda2.device...
[ 7.979075] systemd[1]: Expecting device dev-sda3.device...
[ 7.999068] systemd[1]: Starting Root Slice.
[ 8.039125] systemd[1]: Created slice Root Slice.
[ 8.043960] systemd[1]: Starting User and Session Slice.
[ 8.069069] systemd[1]: Created slice User and Session Slice.
[ 8.074943] systemd[1]: Starting Device-mapper event daemon FIFOs.
[ 8.099064] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[ 8.105716] systemd[1]: Starting Delayed Shutdown Socket.
[ 8.129060] systemd[1]: Listening on Delayed Shutdown Socket.
[ 8.134921] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[ 8.159057] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 8.166138] systemd[1]: Starting Syslog Socket.
[ 8.189057] systemd[1]: Listening on Syslog Socket.
[ 8.194052] systemd[1]: Starting LVM2 metadata daemon socket.
[ 8.219056] systemd[1]: Listening on LVM2 metadata daemon socket.
[ 8.225295] systemd[1]: Starting udev Control Socket.
[ 8.249056] systemd[1]: Listening on udev Control Socket.
[ 8.254595] systemd[1]: Starting udev Kernel Socket.
[ 8.279058] systemd[1]: Listening on udev Kernel Socket.
[ 8.284514] systemd[1]: Starting Journal Socket.
[ 8.309070] systemd[1]: Listening on Journal Socket.
[ 8.314235] systemd[1]: Starting System Slice.
[ 8.339584] systemd[1]: Created slice System Slice.
[ 8.344651] systemd[1]: Started File System Check on Root Device.
[ 8.350903] systemd[1]: Starting system-systemd\x2dfsck.slice.
[ 8.379088] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[ 8.385490] systemd[1]: Starting system-devmon.slice.
[ 8.409066] systemd[1]: Created slice system-devmon.slice.
[ 8.414681] systemd[1]: Starting system-getty.slice.
[ 8.439428] systemd[1]: Created slice system-getty.slice.
[ 8.444953] systemd[1]: Starting system-serial\x2dgetty.slice.
[ 8.469068] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ 8.494587] systemd[1]: Starting Apply Kernel Variables...
[ 8.521929] systemd[1]: Mounting POSIX Message Queue File System...
[ 8.551779] systemd[1]: Starting udev Coldplug all Devices...
[ 8.582489] systemd[1]: Mounting Debug File System...
[ 8.659836] systemd[1]: Started Set Up Additional Binary Formats.
[ 8.666175] systemd[1]: Mounted Huge Pages File System.
[ 8.684308] systemd[1]: Starting Load Kernel Modules...
[ 8.712042] systemd[1]: Starting Setup Virtual Console...
[ 8.730039] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[ 8.774620] systemd[1]: Starting Journal Service...
[ 8.829153] systemd[1]: Started Journal Service.
[ 8.842167] cryptodev: driver 1.6 loaded.
[ 8.964654] RPC: Registered named UNIX socket transport module.
[ 8.981311] RPC: Registered udp transport module.
[ 8.998807] RPC: Registered tcp transport module.
[ 9.009008] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 9.105090] FS-Cache: Netfs 'nfs' registered for caching
[ 9.419979] EXT4-fs (sda1): re-mounted. Opts: (null)
[ 9.818710] systemd-udevd[84]: starting version 213
[ 10.950635] Adding 2047996k swap on /dev/sda2. Priority:-1 extents:1 across:2047996k
[ 11.685315] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: data=ordered
[ 11.819729] systemd-journald[63]: Received request to flush runtime journal from PID 1
[ 14.795110] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 17.863937] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[ 17.873861] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 22.464574] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 23.181687] NFSD: starting 90-second grace period (net c0775810)
')
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: Need some input from kirkwood DTB users

Postby bodhi » Fri Jun 13, 2014 3:33 pm

@moonman,

I do have a Goflex Net running DT kernel, and did not recall seeing this. I don't have access to it atm, but will post back with info if nobody has responded by the time I got back home.
bodhi
 
Posts: 225
Joined: Sat Aug 13, 2011 10:06 am

Re: Need some input from kirkwood DTB users

Postby kmihelich » Sat Jun 14, 2014 2:03 am

You'll want to jump up to a more recent kernel, there have been many fixes. I'll probably be updating the kirkwood-dt kernel if no one else gets to it before me, since kirkwood isn't working well yet under multi_v5 in the linux-armv5 kernel. All the changes coming in 3.15 and beyond (legacy boot deprecation, primarily) is also why I pushed out our own mainline U-Boot for boards that can run it. DT is going to be the only way forward from here.
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: Need some input from kirkwood DTB users

Postby moonman » Sat Jun 14, 2014 4:27 am

Yeah i didn't feel like waiting for the new kernel to.compile so.i used the one from repos. I'll update it. By the way by default u-boot for gfhome is looking for goflexnet dtb file. Wasn't sure if this was intentional or not.
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: Need some input from kirkwood DTB users

Postby kmihelich » Sat Jun 14, 2014 4:29 am

Yeah, it boots fine on the goflexnet dtb, and one specific to the GFH doesn't exist. Only real difference is in LEDs and RTC. We can add in a new dts if needed, and it's easy enough to update U-Boot now.
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: Need some input from kirkwood DTB users

Postby moonman » Sat Jun 14, 2014 4:54 am

rtc is the same as the gfnet it seems, but the number of sata ports is different (which shouldn't affect anything) and as you mentioned - the leds.
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: Need some input from kirkwood DTB users

Postby moonman » Mon Jun 16, 2014 6:13 am

Looks like it gets initialised later in the boot process so those messages are normal. Patches are done. I'll try to submit them to upstream later.
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


Return to ARMv5

Who is online

Users browsing this forum: No registered users and 2 guests