Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#2508 - oxnas pogoplug3 warm booting, no serial, kernel hang? #8023

Closed
openwrt-bot opened this issue Sep 17, 2019 · 2 comments
Closed

FS#2508 - oxnas pogoplug3 warm booting, no serial, kernel hang? #8023

openwrt-bot opened this issue Sep 17, 2019 · 2 comments
Labels

Comments

@openwrt-bot
Copy link

russell:

Supply the following if possible:

  • Device problem occurs on

CloudEngines Pogoplug v3

  • Software versions of OpenWrt/LEDE release, packages, etc.

# cat /etc/openwrt_release
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='SNAPSHOT'
DISTRIB_REVISION='r11027-f39f4b2f6d'
DISTRIB_TARGET='oxnas/ox820'
DISTRIB_ARCH='arm_mpcore'
DISTRIB_DESCRIPTION='OpenWrt SNAPSHOT r11027-f39f4b2f6d'
DISTRIB_TAINTS='no-all busybox'

  • Steps to reproduce

When the device reboots with power on, I get a bootlog like this:

root@pogoplug:/# reboot
root@pogoplug:/# [ 58.722024] reboot: Restarting system

U-Boot SPL 2013.10 (Apr 27 2014 - 19:08:27)
Boot device: NAND
Attempting to set PLLA to 800 MHz ...
plla_ctrl0 : 0000030a
plla_ctrl1 : 00400000
plla_ctrl2 : 007f0068
plla_ctrl3 : 00000193

PLLA Set

U-Boot 2013.10-tld-3 (May 15 2014 - 14:54:14) for OXNAS

DRAM: 128 MiB
NAND: 128 MiB
In: serial
Out: serial
Err: serial
Net:
Led: GREEN
mii0
Main Loop
Hit any key to stop autoboot: 0

Loading from nand0, offset 0x440000
Image Name: ARM OpenWrt Linux-4.14.143
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3057200 Bytes = 2.9 MiB
Load Address: 60008000
Entry Point: 60008000

Booting kernel from Legacy Image at 60500000 ...

Image Name: ARM OpenWrt Linux-4.14.143
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3057200 Bytes = 2.9 MiB
Load Address: 60008000
Entry Point: 60008000
Verifying Checksum ... OK
Loading Kernel Image ... OK

Led: GREEN

Starting kernel ...

and hangs there, can't connect to it over the network, so it doesn't seem like just a serial problem.

From a cold start (power cycle), the bootlog looks like this:

U-Boot SPL 2013.10 (Apr 27 2014 - 19:08:27)
Boot device: NAND
Attempting to set PLLA to 800 MHz ...
plla_ctrl0 : 0000030a
plla_ctrl1 : 00400000
plla_ctrl2 : 007f0068
plla_ctrl3 : 00000193

PLLA Set

U-Boot 2013.10-tld-3 (May 15 2014 - 14:54:14) for OXNAS

DRAM: 128 MiB
NAND: 128 MiB
In: serial
Out: serial
Err: serial
Net:
Led: GREEN
mii0
Main Loop
Hit any key to stop autoboot: 0

Loading from nand0, offset 0x440000
Image Name: ARM OpenWrt Linux-4.14.143
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3057200 Bytes = 2.9 MiB
Load Address: 60008000
Entry Point: 60008000

Booting kernel from Legacy Image at 60500000 ...

Image Name: ARM OpenWrt Linux-4.14.143
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3057200 Bytes = 2.9 MiB
Load Address: 60008000
Entry Point: 60008000
Verifying Checksum ... OK
Loading Kernel Image ... OK

Led: GREEN

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.143 (openwrt@hawg) (gcc version 7.4.0 (OpenWrt GCC 7.4.0 r8984-6ba58b7b02)) #0 SMP Mon Sep 16 06:37:06 2019
[ 0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5787d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Cloud Engines PogoPlug Series 3
[...]

and it continues to boot normally. Up until recently (10561-gff7909f69e) reboots would just hang (see also https://bugs.openwrt.org/index.php?do=details&task_id=1711), so this is an improvement, but still not fully working.

@openwrt-bot
Copy link
Author

plntyk:

I can verify the report with

  • Device problem occurs on: Pogoplug Pro
    a pogoplug with mini-pcie, sata, "pogoplug pro r2 12E8" on sticker

this version has afaik original u-boot and flashed with current trunk (yesterday)
after the wiki guide

U-Boot 1.1.2 (Jul 29 2010 - 19:36:07)

U-Boot code: 60D00000 -> 60D1C030 BSS: -> 60D21800
RAM Configuration:
Bank #0: 60000000 128 MB
SRAM Configuration:
64KB at 0x50000000
NAND:128 MiB
In: serial
Out: serial
Err: serial
Setting Linux mem= boot arg value
Hit any key to stop autoboot: 0

Loading from device 0: 128MiB 3,3V 8-bit (offset 0x440000)
-- Using 1bit ECC style encoding
Image Name: ARM OpenWrt Linux-4.14.145
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2979336 Bytes = 2.8 MB
Load Address: 60008000
Entry Point: 60008000

Booting image at 60500000 ...

Image Name: ARM OpenWrt Linux-4.14.145
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2979336 Bytes = 2.8 MB
Load Address: 60008000
Entry Point: 60008000
Verifying Checksum ... OK
OK

Starting kernel ...

  • After initial flashing after guide the reboot fails and hangs at Starting kernel
  • A cold reboot (disconnect powerplug) makes the unit boot
  • issuing a reboot from a working serial cmdline and the device hangs at Starting kernel (again)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant