Pogoplug v4 - No Boot after Update

Ask questions about Arch Linux ARM. Please search before making a new topic.

Pogoplug v4 - No Boot after Update

Postby hornpipe2 » Wed Mar 29, 2017 8:12 pm

My Pogoplug v4 running Arch from SD card has been out of commission for some time (say, 2 years). As far as I remember it was running some version of Arch with the supported uboot package.

Anyway, today I ran pacman -Syu and rebooted. Now, the device won't come back for ssh access.

$this->bbcode_second_pass_code('', '(145/148) upgrading uboot-tools [######################] 100%
(146/148) upgrading uboot-pogoplugv4 [######################] 100%
A new U-Boot version needs to be flashed to NAND.
Do you want to do this now? [y|N]
y
Erasing 128 Kibyte @ 1350000000064 -- 1 % complete
Erasing 128 Kibyte @ 1350000000064 -- 1 % complete
Writing data to block 0 at offset 0x0
Writing data to block 1 at offset 0x20000
Writing data to block 2 at offset 0x40000
Writing data to block 3 at offset 0x60000
Writing data to block 6 at offset 0xc0000')

Thing is I have no clue if it boots and is just not taking DHCP now, or doesn't boot, or what the issue is. How can I troubleshoot here?
hornpipe2
 
Posts: 4
Joined: Wed Mar 29, 2017 7:36 pm

Re: Pogoplug v4 - No Boot after Update

Postby hornpipe2 » Wed Mar 29, 2017 10:20 pm

Some more info for this question. I got Netconsole working and can see it's booting, but it gets stuck.
uBoot output:
$this->bbcode_second_pass_code('', 'U-Boot 2016.09.01-1 (Oct 10 2016 - 23:13:37 -0600) Arch Linux ARM
Pogoplug V4
gcc (GCC) 6.2.1 20160830
GNU ld (GNU Binutils) 2.27
Hit any key to stop autoboot: 0
starting USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found

Reset IDE: ide_preinit failed
switch to partitions #0, OK
mmc0 is current device
mmc found on device 0
Checking for: /boot/uEnv.txt ...
** File not found /boot/zImage **
4604912 bytes read in 198 ms (22.2 MiB/s)
loading /boot/dtbs/kirkwood-pogoplug-series-4.dtb ...
** File not found /boot/dtbs/kirkwood-pogoplug-series-4.dtb **
4460378 bytes read in 195 ms (21.8 MiB/s)
Booting uImage with initrd
## Booting kernel from Legacy Image at 00810000 ...
Image Name: Linux-4.4.57-1-ARCH
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4604848 Bytes = 4.4 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK')

Kernel output:
$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 4.4.57-1-ARCH (builduser@leming) (gcc version 6.3.1 20170306 (GCC) ) #1 PREEMPT Sun Mar 26 23:43:15 MDT 2017
[ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine: Pogoplug V4
[ 0.000000] debug: ignoring loglevel setting.
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] On node 0 totalpages: 32768
[ 0.000000] free_area_init_node: node 0, pgdat c091ac9c, node_mem_map c7eda000
[ 0.000000] Normal zone: 288 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: 32480
[ 0.000000] Kernel command line: console=ttyS0,115200 mtdparts=orion_nand:1M(u-boot),-(rootfs) root=PARTUUID=00000000-01 rw rootwait ignore_loglevel netconsole=6665@10.10.10.3/eth0,6666@10.10.10.4/
[ 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: 115328K/131072K available (6606K kernel code, 547K rwdata, 1876K rodata, 300K init, 725K bss, 15744K reserved, 0K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xc8800000 - 0xff800000 ( 880 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0850a04 (8483 kB)
[ 0.000000] .init : 0xc0851000 - 0xc089c000 ( 300 kB)
[ 0.000000] .data : 0xc089c000 - 0xc0924eec ( 548 kB)
[ 0.000000] .bss : 0xc0924eec - 0xc09da4b8 ( 726 kB)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] NR_IRQS:114
[ 0.000019] sched_clock: 32 bits at 166MHz, resolution 6ns, wraps every 12884901885ns
[ 15.002489] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 11467562657 ns
[ 15.002775] Console: colour dummy device 80x30
[ 15.002821] Calibrating delay loop... 795.44 BogoMIPS (lpj=3977216)
[ 15.092599] pid_max: default: 32768 minimum: 301
[ 15.092747] Security Framework initialized
[ 15.092858] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 15.092886] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 15.094006] Initializing cgroup subsys io
[ 15.094056] Initializing cgroup subsys memory
[ 15.094138] Initializing cgroup subsys devices
[ 15.094181] Initializing cgroup subsys freezer
[ 15.094217] Initializing cgroup subsys net_cls
[ 15.094248] Initializing cgroup subsys perf_event
[ 15.094283] Initializing cgroup subsys net_prio
[ 15.094405] CPU: Testing write buffer coherency: ok
[ 15.095090] Setting up static identity map for 0x81e0 - 0x8238
[ 15.097992] devtmpfs: initialized
[ 15.101762] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 15.101820] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 15.102639] pinctrl core: initialized pinctrl subsystem
[ 15.103805] NET: Registered protocol family 16
[ 15.104647] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 15.132627] cpuidle: using governor ladder
[ 15.162626] cpuidle: using governor menu
[ 15.162956] Kirkwood: MV88F6281-A1, TCLK=166666667.
[ 15.162995] Feroceon L2: Enabling L2
[ 15.163046] Feroceon L2: Cache support initialised.
[ 15.164134] initial MPP regs: 01111111 11113322 00551111 00100000 00000000 00000000 00000000
[ 15.164176] final MPP regs: 01111111 11113322 00551111 00000000 00000000 00000000 00000000
[ 15.166494] Kirkwood PCIe port 0: link up
[ 15.166510] PCI: bus0 uses PCIe port 0
[ 15.166853] PCI host bridge to bus 0000:00
[ 15.166880] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[ 15.166897] pci_bus 0000:00: root bus resource [io 0x1000-0xffff]
[ 15.166914] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 15.166962] pci 0000:00:00.0: [11ab:6281] type 00 class 0x058000
[ 15.167014] pci 0000:00:00.0: reg 0x10: [mem 0xd0000000-0xd00fffff 64bit pref]
[ 15.167039] pci 0000:00:00.0: reg 0x18: [mem 0x00000000-0x07ffffff]
[ 15.167119] pci 0000:00:00.0: supports D1 D2
[ 15.167447] pci 0000:00:01.0: [1b73:1009] type 00 class 0x0c0330
[ 15.167515] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x0000ffff 64bit]
[ 15.167547] pci 0000:00:01.0: reg 0x18: [mem 0x00000000-0x00000fff 64bit]
[ 15.167578] pci 0000:00:01.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit]
[ 15.167658] pci 0000:00:01.0: supports D1
[ 15.167674] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[ 15.168064] PCI: bus0: Fast back to back transfers disabled
[ 15.168087] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 15.168134] pci 0000:00:01.0: BAR 0: assigned [mem 0xe0000000-0xe000ffff 64bit]
[ 15.168168] pci 0000:00:01.0: BAR 2: assigned [mem 0xe0010000-0xe0010fff 64bit]
[ 15.168197] pci 0000:00:01.0: BAR 4: assigned [mem 0xe0011000-0xe0011fff 64bit]
[ 15.204793] vgaarb: loaded
[ 15.205260] SCSI subsystem initialized
[ 15.205534] libata version 3.00 loaded.
[ 15.206008] usbcore: registered new interface driver usbfs
[ 15.206129] usbcore: registered new interface driver hub
[ 15.206217] usbcore: registered new device driver usb
[ 15.206464] pps_core: LinuxPPS API ver. 1 registered
[ 15.206478] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 15.206529] PTP clock support registered
[ 15.208204] clocksource: Switched to clocksource orion_clocksource
[ 15.265402] FS-Cache: Loaded
[ 15.284376] NET: Registered protocol family 2
[ 15.285541] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 15.285580] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 15.285610] TCP: Hash tables configured (established 1024 bind 1024)
[ 15.285722] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 15.285756] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 15.286033] NET: Registered protocol family 1
[ 15.286506] RPC: Registered named UNIX socket transport module.
[ 15.286523] RPC: Registered udp transport module.
[ 15.286533] RPC: Registered tcp transport module.
[ 15.286543] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 15.286618] pci 0000:00:01.0: enabling device (0140 -> 0142)
[ 15.286726] PCI: CLS 32 bytes, default 32
[ 15.287107] Trying to unpack rootfs image as initramfs...
[ 15.839874] Freeing initrd memory: 4356K (c1100000 - c1541000)
[ 15.861480] VFS: Disk quotas dquot_6.6.0
[ 15.861884] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 15.864925] FS-Cache: Netfs 'nfs' registered for caching
[ 15.866596] NFS: Registering the id_resolver key type
[ 15.866670] Key type id_resolver registered
[ 15.866682] Key type id_legacy registered
[ 15.866806] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 15.868950] fuse init (API version 7.23)
[ 15.872105] aufs 4.4-20170220
[ 15.879764] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 15.879794] io scheduler noop registered
[ 15.879812] io scheduler deadline registered
[ 15.880207] io scheduler cfq registered
[ 15.880601] io scheduler bfq registered (default)
[ 15.880613] BFQ I/O-scheduler: v7r11
[ 15.880919] mv_xor mv_xor.0: Marvell shared XOR driver
[ 15.920338] mv_xor mv_xor.0: Marvell XOR (Registers Mode): ( xor cpy )
[ 15.920682] mv_xor mv_xor.1: Marvell shared XOR driver
[ 15.960207] mv_xor mv_xor.1: Marvell XOR (Registers Mode): ( xor cpy )
[ 15.968520] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 15.970022] console [ttyS0] disabled
[ 15.990113] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33, base_baud = 10416666) is a 16550A
[ 16.749943] console [ttyS0] enabled
[ 16.776913] brd: module loaded
[ 16.791433] loop: module loaded
[ 16.794999] sata_mv sata_mv.0: version 1.28
[ 16.799341] sata_mv sata_mv.0: cannot get optional clkdev
[ 16.804812] sata_mv sata_mv.0: slots 32 ports 1
[ 16.811842] scsi host0: sata_mv
[ 16.815520] ata1: SATA max UDMA/133 irq 21
[ 16.820694] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[ 16.827023] nand: Hynix H27U1G8F2BTR-BC
[ 16.831040] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 16.838628] Scanning device for bad blocks
[ 16.865835] Bad eraseblock 281 at 0x000002320000
[ 16.931198] 2 cmdlinepart partitions found on MTD device orion_nand
[ 16.937442] Creating 2 MTD partitions on "orion_nand":
[ 16.942588] 0x000000000000-0x000000100000 : "u-boot"
[ 16.948302] 0x000000100000-0x000008000000 : "rootfs"
[ 16.972269] libphy: orion_mdio_bus: probed
[ 16.976537] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[ 17.178245] ata1: SATA link down (SStatus 0 SControl F300)
[ 18.062617] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:25:31:05:3f:7a
[ 18.071549] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 18.078060] ehci-pci: EHCI PCI platform driver
[ 18.082624] ehci-orion: EHCI orion driver
[ 18.086731] orion-ehci orion-ehci.0: EHCI Host Controller
[ 18.092186] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[ 18.099962] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[ 18.118251] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[ 18.125594] hub 1-0:1.0: USB hub found
[ 18.129458] hub 1-0:1.0: 1 port detected
[ 18.134395] xhci_hcd 0000:00:01.0: xHCI Host Controller
[ 18.139718] xhci_hcd 0000:00:01.0: new USB bus registered, assigned bus number 2
[ 18.148543] xhci_hcd 0000:00:01.0: hcc params 0x200073a1 hci version 0x100 quirks 0x00080010
[ 18.158437] hub 2-0:1.0: USB hub found
[ 18.162230] hub 2-0:1.0: 2 ports detected
[ 18.167079] xhci_hcd 0000:00:01.0: xHCI Host Controller
[ 18.172377] xhci_hcd 0000:00:01.0: new USB bus registered, assigned bus number 3
[ 18.179906] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[ 18.189241] hub 3-0:1.0: USB hub found
[ 18.193027] hub 3-0:1.0: 2 ports detected
[ 18.198112] usbcore: registered new interface driver uas
[ 18.203740] usbcore: registered new interface driver usb-storage
[ 18.209875] usbcore: registered new interface driver ums-alauda
[ 18.215852] usbcore: registered new interface driver ums-cypress
[ 18.221970] usbcore: registered new interface driver ums-datafab
[ 18.228033] usbcore: registered new interface driver ums_eneub6250
[ 18.234945] usbcore: registered new interface driver ums-freecom
[ 18.241049] usbcore: registered new interface driver ums-isd200
[ 18.247024] usbcore: registered new interface driver ums-jumpshot
[ 18.253200] usbcore: registered new interface driver ums-karma
[ 18.259283] usbcore: registered new interface driver ums-onetouch
[ 18.265472] usbcore: registered new interface driver ums-realtek
[ 18.271575] usbcore: registered new interface driver ums-sddr09
[ 18.277553] usbcore: registered new interface driver ums-sddr55
[ 18.283560] usbcore: registered new interface driver ums-usbat
[ 18.290250] mousedev: PS/2 mouse device common for all mice
[ 19.298245] rtc-mv rtc-mv: internal RTC not ticking
[ 19.303308] i2c /dev entries driver
[ 19.307647] sdhci: Secure Digital Host Controller Interface driver
[ 19.313840] sdhci: Copyright(c) Pierre Ossman
[ 19.358553] sdhci-pltfm: SDHCI platform and OF driver helper
[ 19.368068] ledtrig-cpu: registered to indicate activity on CPUs
[ 19.374321] usbcore: registered new interface driver r8712u
[ 19.380329] gre: GRE over IPv4 demultiplexor driver
[ 19.385280] NET: Registered protocol family 17
[ 19.389972] Key type dns_resolver registered
[ 19.398961] registered taskstats version 1
[ 19.426480] mmc0: host does not support reading read-only switch, assuming write-enable
[ 19.444270] Key type encrypted registered
[ 19.449592] mmc0: new high speed SDHC card at address b368
[ 19.456488] netpoll: netconsole: local port 6665
[ 19.461351] netpoll: netconsole: local IPv4 address 10.10.10.3
[ 19.467163] netpoll: netconsole: interface 'eth0'
[ 19.472194] mmcblk0: mmc0:b368 LEXAR 3.73 GiB
[ 19.477508] netpoll: netconsole: remote port 6666
[ 19.482390] mmcblk0: p1
[ 19.485963] netpoll: netconsole: remote IPv4 address 10.10.10.4
[ 19.492011] netpoll: netconsole: remote ethernet address ff:ff:ff:ff:ff:ff
[ 19.498914] netpoll: netconsole: device eth0 not up yet, forcing it
[ 23.082882] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[ 23.097072] console [netcon0] enabled
[ 23.100857] netconsole: network logging started
[ 23.106092] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[ 23.113342] hctosys: unable to open rtc device (rtc0)
[ 23.121305] Freeing unused kernel memory: 300K (c0851000 - c089c000)
[ 23.222897] random: systemd-tmpfile: uninitialized urandom read (16 bytes read, 15 bits of entropy available)
[ 23.261552] random: systemd-udevd: uninitialized urandom read (16 bytes read, 15 bits of entropy available)
[ 23.278788] random: udevadm: uninitialized urandom read (16 bytes read, 15 bits of entropy available)
[ 23.289015] random: systemd-udevd: uninitialized urandom read (16 bytes read, 15 bits of entropy available)
[ 23.449096] random: udevadm: uninitialized urandom read (16 bytes read, 15 bits of entropy available)
[ 23.479491] random: udevadm: uninitialized urandom read (16 bytes read, 16 bits of entropy available)
[ 23.511237] random: udevadm: uninitialized urandom read (16 bytes read, 16 bits of entropy available)
[ 23.540982] random: udevadm: uninitialized urandom read (16 bytes read, 16 bits of entropy available)
[ 23.571966] random: udevadm: uninitialized urandom read (16 bytes read, 16 bits of entropy available)
[ 23.604003] random: udevadm: uninitialized urandom read (16 bytes read, 16 bits of entropy available)
[ 197.048251] random: nonblocking pool is initialized')
hornpipe2
 
Posts: 4
Joined: Wed Mar 29, 2017 7:36 pm

Re: Pogoplug v4 - No Boot after Update

Postby kiko » Fri Mar 31, 2017 7:54 pm

I just experienced a very similar issue, only on an O-droid C2. Package upgrade as usual, including a less-usual U-boot upgrade resulting in an unresponsive (headless) device upon reboot. I see the kernel heartbeat led flashing but the device doesn't show up on my network as usual.

I'm hoping to understand what happened and if there's some rescue process that doesn't mean I need to re-install from base image.

Edit: What I saw on my end:
$this->bbcode_second_pass_code('', '
(61/87) upgrading linux-firmware [########################################] 100%
(62/87) upgrading mkinitcpio [########################################] 100%
(63/87) upgrading linux-odroid-c2 [########################################] 100%
>>> Updating module dependencies. Please wait ...
>>> Generating initial ramdisk, using mkinitcpio. Please wait...
==> Building image from preset: /etc/mkinitcpio.d/linux-odroid-c2.preset: 'default'
-> -k 3.14.79-20-ARCH -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 3.14.79-20-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> WARNING: No modules were added to the image. This is probably not what you want.
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
==> Image generation successful
(64/87) upgrading man-pages [########################################] 100%
(65/87) upgrading mariadb-clients [########################################] 100%
(66/87) upgrading mariadb [########################################] 100%
(67/87) upgrading mdadm [########################################] 100%
(68/87) upgrading mediainfo [########################################] 100%
(69/87) upgrading nano [########################################] 100%
(70/87) upgrading nfs-utils [########################################] 100%
warning: directory permissions differ on /usr/share/doc/nfs-utils/
filesystem: 644 package: 755
(71/87) upgrading nodejs [########################################] 100%
warning: warning given when extracting /usr/share/doc/node/gdbinit (Can't create '/usr/share/doc/node/gdbinit')
(72/87) upgrading openresolv [########################################] 100%
(73/87) upgrading pacman-mirrorlist [########################################] 100%
(74/87) upgrading pciutils [########################################] 100%
(75/87) installing js [########################################] 100%
(76/87) upgrading polkit [########################################] 100%
(77/87) upgrading puppet [########################################] 100%
(78/87) upgrading s-nail [########################################] 100%
(79/87) upgrading sed [########################################] 100%
(80/87) upgrading systemd-sysvcompat [########################################] 100%
(81/87) upgrading uboot-odroid-c2 [########################################] 100%
A new U-Boot version needs to be flashed onto /dev/mmcblk0.
Do you want to do this now? [y|N]
Y
BL1 fusing
442+0 records in
442+0 records out
442 bytes copied, 0.00157604 s, 280 kB/s
96+0 records in
96+0 records out
49152 bytes (49 kB, 48 KiB) copied, 0.00150004 s, 32.8 MB/s
u-boot fusing
1248+0 records in
1248+0 records out
638976 bytes (639 kB, 624 KiB) copied, 0.0251096 s, 25.4 MB/s
(82/87) upgrading vim-runtime [########################################] 100%
(83/87) upgrading vim [########################################] 100%
(84/87) upgrading wget [########################################] 100%
(85/87) upgrading wiringc1 [########################################] 100%
(86/87) upgrading xfsprogs [########################################] 100%
(87/87) upgrading zsh [########################################] 100%
:: Running post-transaction hooks...
(1/6) Updating udev hardware database...
(2/6) Updating system user accounts...
(3/6) Creating temporary files...
(4/6) Arming ConditionNeedsUpdate...
(5/6) Updating the info directory file...
(6/6) Rebuilding certificate stores...
➜ [nolook] ~ sudo reboot
Connection to nolook closed by remote host.
Connection to nolook closed.

')
kiko
 
Posts: 1
Joined: Fri Mar 31, 2017 7:45 pm

Re: Pogoplug v4 - No Boot after Update

Postby wobble » Sun Apr 02, 2017 8:06 am

Maybe you ran into this issue?

This bit me on 3 of my devices after their platform switched to booting from initramfs.

Use fdisk to check if your boot partition has its disk identifier set to 0x00000000 and change it to some non-zero number. For more detailed instructions see my post in the thread.
wobble
 
Posts: 31
Joined: Fri Dec 04, 2015 2:15 pm

Re: Pogoplug v4 - No Boot after Update

Postby wobble » Sun Apr 02, 2017 8:11 am

$this->bbcode_second_pass_quote('', '[')code][ 0.000000] Kernel command line: console=ttyS0,115200 mtdparts=orion_nand:1M(u-boot),-(rootfs) root=PARTUUID=00000000-01 rw rootwait ignore_loglevel [/code]


See the `PARTUUID=00000000-01`? That's the problem.
wobble
 
Posts: 31
Joined: Fri Dec 04, 2015 2:15 pm

Re: Pogoplug v4 - No Boot after Update

Postby hornpipe2 » Sun Apr 02, 2017 10:34 pm

So let me make sure I understand what's going on here...

U-Boot is working (it chains into the Kernel) ->
Arch ARM now has an initramfs, which is what is getting booted (it's doing all the stuff like bring up NET, PCI, nand + jffs, random, etc) ->
The initramfs is SUPPOSED to transfer boot process to the disk, now. But that's failing because my disk has a disk ID of 0x00000000 which has special "don't boot that" meaning to initramfs. If I set a number using fdisk on a different machine, it should now work?

I hate boot issues : )
hornpipe2
 
Posts: 4
Joined: Wed Mar 29, 2017 7:36 pm

Re: Pogoplug v4 - No Boot after Update

Postby moonman » Mon Apr 03, 2017 12:27 am

@wobble good catch
@hornpipe2 You have the right idea.
As an alternative you can put root=UUID=<UUID> in uEnv.txt to boot.
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: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: Pogoplug v4 - No Boot after Update

Postby hornpipe2 » Mon Apr 03, 2017 1:29 am

Yeah, that solved my problem! I ended up using my OSX machine to update the ID:

Copy the MBR off the SDcard to local file:
$this->bbcode_second_pass_code('', 'sudo dd if=/dev/disk5 of=./mbr bs=512 count=1')

Edit mbr in hex editor (I used 0xED) and change bytes 1B8-1BB to random hex digits, and save

Then copy local MBR back over the first block on SDcard:
$this->bbcode_second_pass_code('', 'sudo dd of=/dev/disk5 if=./mbr bs=512 count=1')

Pop it in and plug in the Pogo... it boots and shows up on the router soon after!
hornpipe2
 
Posts: 4
Joined: Wed Mar 29, 2017 7:36 pm


Return to User Questions

Who is online

Users browsing this forum: No registered users and 5 guests