[How-To] update DStar/PP/GFlex to new uBoot for kernel>3.2

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

Re: [How-To] update DStar/PP/GFlex to new uBoot for kernel>3

Postby moonman » Sat Nov 17, 2012 7:47 pm

You should be able to install linux-kirkwood package. Though, I would suggest activating netconsole just in case.
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: 3304
Joined: Sat Jan 15, 2011 3:36 am

Re: [How-To] update DStar/PP/GFlex to new uBoot for kernel>3

Postby shinji257 » Sat Nov 17, 2012 8:42 pm

For netconsole can you breakdown the settings a bit so I understand what I'm configuring? Thanks.

Update:
Code: Select all
fw_setenv serverip 192.168.1.2
fw_setenv ipaddr 192.168.1.100
fw_setenv if_netconsole 'ping $serverip'
fw_setenv start_netconsole 'setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;'
fw_setenv preboot 'run if_netconsole start_netconsole'


Ok. I simplified it based on what I found but I don't get any kernel information. Just the uboot. Using cygwin netcat I was able to successfully get a read/write prompt (which is more than I got from windows native netcat). However output stops when it gets to starting kernel. Something tells me that it is reverting back to local console at that point. Can you tell me what I need to change to get it to output the kernel to the netconsole as well?

Code: Select all

shinji@shinji-PC ~
$ nc -lu 6666

U-Boot 2011.12 (Feb 20 2012 - 21:21:59)
Pogoplug E02
arm-none-linux-gnueabi-gcc (Sourcery G++ Lite 2009q3-67) 4.4.1
GNU ld (Sourcery G++ Lite 2009q3-67) 2.19.51.20090709
Hit any key to stop autoboot:  0
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 3 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
Loading file "/rescueme" from usb device 0:1 (usbda1)
** File not found /rescueme
reading /rescueme.txt

** Unable to read "/rescueme.txt" from usb 0:1 **
Creating 1 MTD partitions on "nand0":
0x000002500000-0x000008000000 : "mtd=3"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=3"
UBI: MTD device size:            91 MiB
UBI: number of good PEBs:        727
UBI: number of bad PEBs:         1
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     0
UBI: available PEBs:             716
UBI: total number of reserved PEBs: 11
UBI: number of PEBs reserved for bad PEB handling: 7
UBI: max/mean erase counter: 1/1
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:rootfs", error -19
Error reading superblock on volume 'ubi:rootfs'!
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
1 bytes read
Found bootable drive on usb 0:1
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
2856016 bytes read
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
** File not found /boot/uInitrd
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-3.1.10-13-ARCH
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2855952 Bytes = 2.7 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...
shinji257
 
Posts: 8
Joined: Thu Feb 16, 2012 3:43 am

Re: [How-To] update DStar/PP/GFlex to new uBoot for kernel>3

Postby moonman » Sat Nov 17, 2012 11:53 pm

Kernel netconsole will send stuff to 10.10.10.4:6666 ONLY so you need a VM or a fullblown linux installation(linux live cd?) to monitor kernel output. or assign your machine that IP for the time being. If you will go a VM router make sure the adapter is in the bridged mode.
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: 3304
Joined: Sat Jan 15, 2011 3:36 am

Re: [How-To] update DStar/PP/GFlex to new uBoot for kernel>3

Postby shinji257 » Sat Nov 17, 2012 11:58 pm

Well it looks like you beat me to it. I was in the middle of editing my other post when I got the notification. These are my final settings.

ipaddr=192.168.2.110
serverip=192.168.2.115
if_netconsole=ping $serverip
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
preboot=run if_netconsole start_netconsole
usb_custom_params=ignore_loglevel netconsole=6665@192.168.2.110/eth0,6666@192.168.2.115/

ipaddr = local device ip (the one on the pogoplug) that you want to use and it will report as the source ip.
serverip = the listening ip address
if_netconsole and start_netconsole set stuff up for it. I think...
preboot inits netconsole to work
usb_custom_params gets kernel feeding over netconsole.

Found the kernel options here --> https://wiki.archlinux.org/index.php/Netconsole

So... I set the source to the device and the listen to the same as earlier. Now i get a nice clean full log. Using an app someone wrote up that works well for me. It is read only though. Cygwin will cover the read/write bit fine though. http://forum.doozan.com/read.php?3,14,2511#msg-2511

Example: (for reference)
Code: Select all

U-Boot 2011.12 (Feb 20 2012 - 21:21:59)
Pogoplug E02
arm-none-linux-gnueabi-gcc (Sourcery G++ Lite 2009q3-67) 4.4.1
GNU ld (Sourcery G++ Lite 2009q3-67) 2.19.51.20090709
Hit any key to stop autoboot:  0
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 3 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
Loading file "/rescueme" from usb device 0:1 (usbda1)
** File not found /rescueme
reading /rescueme.txt

** Unable to read "/rescueme.txt" from usb 0:1 **
Creating 1 MTD partitions on "nand0":
0x000002500000-0x000008000000 : "mtd=3"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=3"
UBI: MTD device size:            91 MiB
UBI: number of good PEBs:        727
UBI: number of bad PEBs:         1
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     0
UBI: available PEBs:             716
UBI: total number of reserved PEBs: 11
UBI: number of PEBs reserved for bad PEB handling: 7
UBI: max/mean erase counter: 1/1
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:rootfs", error -19
Error reading superblock on volume 'ubi:rootfs'!
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
1 bytes read
Found bootable drive on usb 0:1
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
2856016 bytes read
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
** File not found /boot/uInitrd
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-3.1.10-13-ARCH
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2855952 Bytes = 2.7 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.1.10-13-ARCH (nobody@fermium) (gcc version 4.7.1 20120721 (prerelease) (GCC) ) #1 PREEMPT Mon Aug 20 15:46:18 UTC 2012
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Marvell SheevaPlug Reference Board
[    0.000000] debug: ignoring loglevel setting.
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] On node 0 totalpages: 65536
[    0.000000] free_area_init_node: node 0, pgdat c058c780, node_mem_map c065d000
[    0.000000]   Normal zone: 512 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 65024 pages, LIFO batch:15
[    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: 65024
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda1 rootdelay=10 rootfstype=ext2 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) ignore_loglevel netconsole=6665@192.168.2.110/eth0,6666@192.168.2.115/
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] allocated 1048576 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.000000] Memory: 256MB = 256MB total
[    0.000000] Memory: 252320k/252320k available, 9824k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
[    0.000000]     vmalloc : 0xd0800000 - 0xfe800000   ( 736 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0529b6c   (5255 kB)
[    0.000000]       .init : 0xc052a000 - 0xc0555000   ( 172 kB)
[    0.000000]       .data : 0xc0556000 - 0xc058ef70   ( 228 kB)
[    0.000000]        .bss : 0xc058ef94 - 0xc065cb0c   ( 823 kB)
[    0.000000] SLUB: Genslabs=13, 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.736371] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[   15.826302] pid_max: default: 32768 minimum: 301
[   15.826425] Security Framework initialized
[   15.826450] AppArmor: AppArmor disabled by boot time parameter
[   15.826518] Mount-cache hash table entries: 512
[   15.826907] Initializing cgroup subsys cpuacct
[   15.826934] Initializing cgroup subsys memory
[   15.826971] Initializing cgroup subsys devices
[   15.826983] Initializing cgroup subsys freezer
[   15.826993] Initializing cgroup subsys net_cls
[   15.827002] Initializing cgroup subsys blkio
[   15.827026] Initializing cgroup subsys perf_event
[   15.827123] CPU: Testing write buffer coherency: ok
[   15.828427] devtmpfs: initialized
[   15.830282] NET: Registered protocol family 16
[   15.830937] Kirkwood: MV88F6281-A0, TCLK=200000000.
[   15.830951] Feroceon L2: Enabling L2
[   15.830990] Feroceon L2: Cache support initialised.
[   15.831515] initial MPP regs: 01111111 11113322 00001111 00100000 00000000 00000000 00000000
[   15.831544]   final MPP regs: 01111111 11113322 00001111 00000000 00000000 00000000 00000000
[   15.836568] bio: create slab <bio-0> at 0
[   15.836935] vgaarb: loaded
[   15.837201] SCSI subsystem initialized
[   15.837356] libata version 3.00 loaded.
[   15.837567] usbcore: registered new interface driver usbfs
[   15.837664] usbcore: registered new interface driver hub
[   15.837767] usbcore: registered new device driver usb
[   15.838325] Switching to clocksource orion_clocksource
[   15.846302] Switched to NOHz mode on CPU #0
[   15.847269] FS-Cache: Loaded
[   15.857097] NET: Registered protocol family 2
[   15.857342] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[   15.858058] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[   15.858243] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[   15.858339] TCP: Hash tables configured (established 8192 bind 8192)
[   15.858389] TCP reno registered
[   15.858402] UDP hash table entries: 256 (order: 0, 4096 bytes)
[   15.858424] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[   15.858663] NET: Registered protocol family 1
[   15.858699] PCI: CLS 0 bytes, default 32
[   15.859282] audit: initializing netlink socket (disabled)
[   15.859315] type=2000 audit(0.120:1): initialized
[   15.946238] VFS: Disk quotas dquot_6.5.2
[   15.946506] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   15.948815] JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[   15.950130] aufs 3.1-20111107
[   15.950152] msgmni has been set to 492
[   15.951505] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[   15.951521] io scheduler noop registered
[   15.951529] io scheduler deadline registered
[   15.951618] io scheduler cfq registered (default)
[   15.951684] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
[   15.951718] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
[   15.988408] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[   16.028408] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
[   16.068404] mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
[   16.108403] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
[   16.113477] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   16.134168] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[   16.675823] console [ttyS0] enabled
[   16.685410] brd: module loaded
[   16.691510] loop: module loaded
[   16.695623] ONFI flash detected
[   16.699056] NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix NAND 128MiB 3,3V 8-bit)
[   16.707540] Scanning device for bad blocks
[   16.774981] Bad eraseblock 851 at 0x000006a60000
[   16.792432] 4 cmdlinepart partitions found on MTD device orion_nand
[   16.798740] Creating 4 MTD partitions on "orion_nand":
[   16.803909] 0x000000000000-0x000000100000 : "u-boot"
[   16.809847] 0x000000100000-0x000000500000 : "uImage"
[   16.815691] 0x000000500000-0x000002500000 : "rootfs"
[   16.821603] 0x000002500000-0x000008000000 : "data"
[   16.828041] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   16.834986] mv643xx_eth smi: probed
[   16.840676] mv643xx_eth_port mv643xx_eth_port.0: eth0: port 0 with MAC address 00:25:31:04:51:95
[   16.849633] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   16.856229] orion-ehci orion-ehci.0: Marvell Orion EHCI
[   16.861575] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[   16.898378] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[   16.918372] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[   16.924885] hub 1-0:1.0: USB hub found
[   16.928691] hub 1-0:1.0: 1 port detected
[   16.933120] Initializing USB Mass Storage driver...
[   16.938106] usbcore: registered new interface driver usb-storage
[   16.944163] USB Mass Storage support registered.
[   16.948902] usbcore: registered new interface driver libusual
[   16.954978] mousedev: PS/2 mouse device common for all mice
[   17.248377] usb 1-1: new high speed USB device number 2 using orion-ehci
[   17.400511] hub 1-1:1.0: USB hub found
[   17.404632] hub 1-1:1.0: 4 ports detected
[   17.688642] usb 1-1.1: new high speed USB device number 3 using orion-ehci
[   17.801839] scsi0 : usb-storage 1-1.1:1.0
[   17.968366] rtc-mv rtc-mv: internal RTC not ticking
[   17.973435] sdhci: Secure Digital Host Controller Interface driver
[   17.979669] sdhci: Copyright(c) Pierre Ossman
[   17.984256] mmc0: mvsdio driver initialized, lacking card detect (fall back to polling)
[   18.070698] netconsole: local IP 192.168.2.110
[   18.075157] netconsole: interface 'eth0'
[   18.079129] netconsole: remote port 6666
[   18.083067] netconsole: remote IP 192.168.2.115
[   19.759350] console [netcon0] enabled
[   19.763134] netconsole: network logging started
[   19.767773] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[   19.774402] Waiting 10sec before mounting root device...
[   29.789689] EXT4-fs (sda1): mounting ext2 file system using the ext4 subsystem
[   29.800564] EXT4-fs (sda1): warning: mounting unchecked fs, running e2fsck is recommended
[   29.817644] EXT4-fs (sda1): mounted filesystem without journal. Opts: (null)
[   29.824811] VFS: Mounted root (ext2 filesystem) on device 8:1.
[   29.857839] devtmpfs: mounted
[   29.861522] Freeing init memory: 172K
[   30.518504] systemd[1]: systemd 195 running in system mode. (+PAM -LIBWRAP -AUDIT -SELINUX -IMA -SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ; arch)
[   30.599696] systemd[1]: Inserted module 'autofs4'
[   30.645269] NET: Registered protocol family 10
[   30.653591] systemd[1]: Inserted module 'ipv6'
[   30.659969] systemd[1]: Set hostname to <alarm>.
[   30.854798] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory. See system logs and 'systemctl status display-manager.service' for details.
[   30.880349] systemd[1]: Expecting device dev-ttyS0.device...
[   30.908494] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[   30.916508] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[   30.924305] systemd[1]: Starting Syslog Socket.
[   30.948471] systemd[1]: Listening on Syslog Socket.
[   30.953474] systemd[1]: Starting Remote File Systems.
[   30.978456] systemd[1]: Reached target Remote File Systems.
[   30.984159] systemd[1]: Starting Delayed Shutdown Socket.
[   31.008455] systemd[1]: Listening on Delayed Shutdown Socket.
[   31.014324] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[   31.038527] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[   31.045625] systemd[1]: Starting Encrypted Volumes.
[   31.068448] systemd[1]: Reached target Encrypted Volumes.
[   31.074113] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.
[   31.108467] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[   31.118040] systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.
[   31.126356] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[   31.134760] systemd[1]: Starting udev Kernel Socket.
[   31.158464] systemd[1]: Listening on udev Kernel Socket.
[   31.164187] systemd[1]: Starting udev Control Socket.
[   31.188459] systemd[1]: Listening on udev Control Socket.
[   31.193989] systemd[1]: Starting Swap.
[   31.218448] systemd[1]: Reached target Swap.
[   31.222852] systemd[1]: Starting Journal Socket.
[   31.248456] systemd[1]: Listening on Journal Socket.
[   31.253594] systemd[1]: Started File System Check on Root Device.
[   31.259834] systemd[1]: Starting Remount Root and Kernel File Systems...
[   31.329913] systemd[1]: Starting udev Kernel Device Manager...
[   31.382359] systemd[1]: Started Set Up Additional Binary Formats.
[   31.393632] systemd[1]: Starting Apply Kernel Variables...
[   31.459006] systemd[1]: Starting Setup Virtual Console...
[   31.466004] systemd-udevd[50]: starting version 195
[   31.529071] systemd[1]: Mounting POSIX Message Queue File System...
[   31.579028] systemd[1]: Starting udev Coldplug all Devices...
[   31.653794] systemd[1]: Started Load Kernel Modules.
[   31.667702] systemd[1]: Mounted FUSE Control File System.
[   31.673897] systemd[1]: Mounted Configuration File System.
[   31.680311] systemd[1]: Mounting Debug File System...
[   31.738950] systemd[1]: Mounted Huge Pages File System.
[   31.744392] systemd[1]: Starting Journal Service...
[   31.838596] systemd[1]: Started Journal Service.
[   31.843495] systemd[1]: Starting Syslog.
[   31.855262] systemd[1]: Reached target Syslog.
[   31.888609] systemd[1]: Started udev Kernel Device Manager.
[   31.958552] systemd[1]: Started Remount Root and Kernel File Systems.
[   32.038570] systemd[1]: Started Apply Kernel Variables.
[   32.068564] systemd[1]: Mounted POSIX Message Queue File System.
[   32.138633] systemd[1]: Mounted Debug File System.
[   32.143686] systemd[1]: Starting Local File Systems (Pre).
[   32.178698] systemd[1]: Reached target Local File Systems (Pre).
[   32.184887] systemd[1]: Mounting /tmp...
[   32.268955] systemd[1]: Starting Load Random Seed...
[   32.368576] systemd[1]: Mounted /tmp.
[   32.372539] systemd[1]: Starting Local File Systems.
[   32.388833] systemd[1]: Reached target Local File Systems.
[   32.400059] systemd[1]: Starting Trigger Flushing of Journal to Persistent Storage...
[   32.492449] systemd[1]: Starting Recreate Volatile Files and Directories...
[   32.638629] systemd[1]: Started Setup Virtual Console.
[   32.698592] systemd[1]: Started udev Coldplug all Devices.
[   32.758572] systemd[1]: Started Load Random Seed.
[   32.818565] systemd[1]: Started Recreate Volatile Files and Directories.
[   32.825540] systemd[1]: Starting System Initialization.
[   32.858560] systemd[1]: Reached target System Initialization.
[   32.864490] systemd[1]: Starting D-Bus System Message Bus Socket.
[   32.898590] systemd[1]: Listening on D-Bus System Message Bus Socket.
[   32.905224] systemd[1]: Starting Sockets.
[   32.928473] systemd[1]: Reached target Sockets.
[   32.933148] systemd[1]: Starting Daily Cleanup of Temporary Directories.
[   32.940011] systemd[1]: Started Daily Cleanup of Temporary Directories.
[   32.946752] systemd[1]: Starting Basic System.
[   32.968602] systemd[1]: Reached target Basic System.
[   32.984804] systemd[1]: Started SSH Key Generation.
[   32.989942] systemd[1]: Starting OpenSSH Daemon...
[   33.068573] systemd[1]: Started OpenSSH Daemon.
[   33.073925] systemd[1]: Starting Periodic Command Scheduler...
[   33.158574] systemd[1]: Started Periodic Command Scheduler.
[   33.164417] systemd[1]: Starting Netcfg multi-profile daemon...
[   33.219190] systemd[1]: Starting Login Service...
[   33.269058] systemd[1]: Starting D-Bus System Message Bus...
[   33.368564] systemd[1]: Started D-Bus System Message Bus.
[   33.374975] systemd[1]: Starting System Logger Daemon...
[   33.458568] systemd[1]: Started System Logger Daemon.
[   33.498573] systemd[1]: Found device /dev/ttyS0.
[   33.658239] systemd-journald[66]: Received SIGUSR1
[   33.695677] systemd-journald[66]: File /var/log/journal/5c49cb5bf08724338eb09a6900092bb0/system.journal corrupted or uncleanly shut down, renaming and replacing.
[   33.760709] systemd[1]: Started Trigger Flushing of Journal to Persistent Storage.
[   33.774182] systemd[1]: Starting Permit User Sessions...
[   41.648359] eth0: no IPv6 routers present
shinji257
 
Posts: 8
Joined: Thu Feb 16, 2012 3:43 am

Re: [How-To] update DStar/PP/GFlex to new uBoot for kernel>3

Postby moonman » Sun Nov 18, 2012 12:18 am

The problem with 192.168.xxx.xxx addresses is that you may have a different device assigned that address so if you are OK with editing uboot environment then it's fine. But this wouldn't be a universal setup that applies to everyone.
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: 3304
Joined: Sat Jan 15, 2011 3:36 am

Re: [How-To] update DStar/PP/GFlex to new uBoot for kernel>3

Postby shinji257 » Sun Nov 18, 2012 12:53 am

You are absolutely correct on that one. I only have one place where that subnet is in use and that is on a router at work. The unit will likely stay there for quite a while and later on I'll update it to work with my router at home when I relocate it. I can also statically set my laptop and just hook direct or modify the dhcp pool on the router to match what was already set. I would of had to do a static setup on the 10.10.10.* addresses earlier on. :p

EDIT:
FYI - Successful boot on 3.6 kernel. Watched the entire bit via netconsole after the update.

[root@alarm ~]# uname -a
Linux alarm 3.6.4-1-ARCH #1 PREEMPT Mon Oct 29 16:22:19 UTC 2012 armv5tel GNU/Linux
shinji257
 
Posts: 8
Joined: Thu Feb 16, 2012 3:43 am

Re: [How-To] update DStar/PP/GFlex to new uBoot for kernel>3

Postby Socaltom » Thu Nov 29, 2012 12:17 am

I've made the jump to 3.6 and systemd, but my V2 comes up with an orange LED. How do I make it green?
Thanks
Tom
Owned by me
Pink Pogo V2, Black Pogo V3, Zyxel NAS 325 v1,
Adminstrator for
Goflex net, Black V3, Black V2
Socaltom
 
Posts: 569
Joined: Thu Apr 07, 2011 2:21 pm
Location: The left side

Re: [How-To] update DStar/PP/GFlex to new uBoot for kernel>3

Postby moonman » Thu Nov 29, 2012 1:52 am

It has been like this for a while. I can't figure out what the problem is though. Pogoplug gets detected as Sheevaplug:
Code: Select all
dmesg | grep Machine
[    0.000000] Machine: Marvell SheevaPlug Reference Board


while my GoFlex gets detected properly:
Code: Select all
dmesg | grep Machine
[    0.000000] Machine: Seagate GoFlex Home


Looking at the support patch the only differnces are:
Code: Select all
108c108
< + .boot_params = 0x00000100,
---
> + .atag_offset = 0x100,
113a114
> + .restart = kirkwood_restart,


bootparams was removed in newer kernels, so that's fine.

Arc numbers are correct:
Pogoplug
Code: Select all
fw_printenv | grep arcNumber
arcNumber=3542


GoFlex:
Code: Select all
fw_printenv | grep arcNumber
arcNumber=3338
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: 3304
Joined: Sat Jan 15, 2011 3:36 am

Re: [How-To] update DStar/PP/GFlex to new uBoot for kernel>3

Postby shinji257 » Thu Nov 29, 2012 2:38 am

It was always orange for me on systemd. When I did the flash recently that is what the base image was on. It was already on systemd. I don't think the move to 3.6 is what did it.
shinji257
 
Posts: 8
Joined: Thu Feb 16, 2012 3:43 am

Re: [How-To] update DStar/PP/GFlex to new uBoot for kernel>3

Postby moonman » Thu Nov 29, 2012 2:39 am

You may not have a (proper) arcNumber set. It works on 3.1
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: 3304
Joined: Sat Jan 15, 2011 3:36 am

PreviousNext

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 3 guests