[FS#799] halt after reboot command when DRAM upgraded to 256MB

LEDE Bugs lede-bugs at lists.infradead.org
Mon May 22 00:18:28 PDT 2017


A new Flyspray task has been opened.  Details are below. 

User who did this - qingzi (qingzi) 

Attached to Project - LEDE Project
Summary - halt after reboot command when DRAM upgraded to 256MB
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - lede-17.01
Due in Version - Undecided
Due Date - Undecided
Details - - phicomm k2 PSG1218 reboot failed after upgraded DRAM to 256MB
- LEDE - Reboot (17.01.1, r3316-7eb58cf109)
- when reboot router light from blue to RED, and halt(when DRAM 64MB reboot command will restart this router). reset power LEDE will start and works fine.
  schedule reboot or command reboot didn't works.

following message from ttl:

Boot and Recovery Environment for Embedded Devices
Copyright (C) 2017 HackPascal hackpascal at gmail.com Build date 2017-04-16 [git-47a2563]
Version 1.1 (r1010)

DRAM: 256MB
Platform: MediaTek MT7620A ver 2, eco 6
Board: Phicomm PSG1208 (K1)
Clocks: CPU: 580MHz, Bus: 193MHz
Flash: Winbond W25Q256 (32MB) on rt2880-spi
rt2880-eth: Using MAC address cc:81:da:ef:ee:f9
eth0: MediaTek MT7620A built-in 5-port 10/100M switch

Network started on eth0, inet addr 192.168.1.1, netmask 255.255.255.0

Press any key to interrupt autoboot ... 0

Trying to boot firmware from 0×00050000 in flash bank 0 ...
Reading data into memory ...
U-Boot firmware image header detected.

  Image Name:   MIPS LEDE Linux-4.4.52
  Data Size:    1309704 Bytes
  Load Address: 80000000
  Entry Point:  80000000
Uncompressing data (LZMA) ... done.
Flushing cache ... done.

Starting kernel at 0×80000000...

[ 0.000000] Linux version 4.4.52 (buildbot at crazyhorse) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3644-7f0c95a) ) #0 Sat Mar 4 19:19:56 2017
[ 0.000000] Board has DDR2
[ 0.000000] Analog PMU set to hw control
[ 0.000000] Digital PMU set to hw control
[ 0.000000] SoC Type: MediaTek MT7620A ver:2 eco:6
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019650 (MIPS 24KEc)
[ 0.000000] MIPS: machine is Phicomm PSG1218
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 10000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0×0000000000000000-0x000000000fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0×0000000000000000-0x000000000fffffff]
[ 0.000000] Initmem setup node 0 [mem 0×0000000000000000-0x000000000fffffff]
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
[ 0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[ 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] Writing ErrCtl register=0007340f
[ 0.000000] Readback ErrCtl register=0007340f
[ 0.000000] Memory: 255488K/262144K available (3021K kernel code, 143K rwdata, 720K rodata, 204K init, 208K bss, 6656K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:256
[ 0.000000] CPU Clock: 580MHz
[ 0.000000] clocksource: systick: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 583261500 ns
[ 0.000000] systick: enable autosleep mode
[ 0.000000] systick: running - mult: 214748, shift: 32
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
[ 0.000011] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
[ 0.015463] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[ 0.080606] pid_max: default: 32768 minimum: 301
[ 0.089927] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.102943] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.123694] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.143196] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.155479] pinctrl core: initialized pinctrl subsystem
[ 0.167106] NET: Registered protocol family 16
[ 0.434306] PCI host bridge /pcie at 10140000 ranges:
[ 0.443707] MEM 0×0000000020000000..0x000000002fffffff
[ 0.454078] IO 0×0000000010160000..0x000000001016ffff
[ 0.478213] rt2880_gpio 10000600.gpio: registering 24 gpios
[ 0.489244] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[ 0.502378] PCI host bridge to bus 0000:00
[ 0.510381] pci_bus 0000:00: root bus resource [mem 0×20000000-0x2fffffff]
[ 0.524087] pci_bus 0000:00: root bus resource [io 0xffffffff]
[ 0.535826] pci_bus 0000:00: root bus resource [??? 0×00000000 flags 0×0]
[ 0.549323] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.565568] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 0.582174] pci 0000:00:00.0: BAR 0: no space for [mem size 0×80000000]
[ 0.595223] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0×80000000]
[ 0.609042] pci 0000:00:00.0: BAR 8: assigned [mem 0×20000000-0x200fffff]
[ 0.622540] pci 0000:00:00.0: BAR 9: assigned [mem 0×20100000-0x201fffff pref]
[ 0.636904] pci 0000:00:00.0: BAR 1: assigned [mem 0×20200000-0x2020ffff]
[ 0.650415] pci 0000:01:00.0: BAR 0: assigned [mem 0×20000000-0x200fffff 64bit]
[ 0.664960] pci 0000:01:00.0: BAR 6: assigned [mem 0×20100000-0x2010ffff pref]
[ 0.679305] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 0.689161] pci 0000:00:00.0: bridge window [mem 0×20000000-0x200fffff]
[ 0.702674] pci 0000:00:00.0: bridge window [mem 0×20100000-0x201fffff pref]
[ 0.717053] pci 0000:00:00.0: card - bus=0×0, slot = 0×0 irq=0
[ 0.728642] pci 0000:01:00.0: card - bus=0×1, slot = 0×0 irq=4
[ 0.741256] clocksource: Switched to clocksource systick
[ 0.753257] NET: Registered protocol family 2
[ 0.762880] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.776679] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.789272] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.801981] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.813500] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.826240] NET: Registered protocol family 1
[ 0.839668] rt-timer 10000100.timer: maximum frequency is 1220Hz
[ 0.852632] Crashlog allocated RAM at address 0x3f00000
[ 0.879998] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.891528] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.
[ 0.913899] io scheduler noop registered
[ 0.921612] io scheduler deadline registered (default)
[ 0.932029] ralink-usb-phy usbphy: invalid resource
[ 0.942344] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.958519] console [ttyS0] disabled
[ 0.965567] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a Palmchip BK-3103
[ 0.985241] console [ttyS0] enabled
[ 0.985241] console [ttyS0] enabled
[ 0.999061] bootconsole [early0] disabled
[ 0.999061] bootconsole [early0] disabled
[ 1.022336] spi spi0.0: force spi mode3
[ 1.030562] m25p80 spi0.0: w25q256 (32768 Kbytes)
[ 1.040032] 4 ofpart partitions found on MTD device spi0.0
[ 1.050962] Creating 4 MTD partitions on “spi0.0”:
[ 1.060519] 0×000000000000-0×000000030000 : “u-boot” [ 1.072343] 0×000000030000-0×000000040000 : “u-boot-env” [ 1.084918] 0×000000040000-0×000000050000 : “factory” [ 1.096946] 0×000000050000-0×000000800000 : “firmware” [ 1.764379] 2 uimage-fw partitions found on MTD device firmware
[ 1.776216] 0×000000050000-0x00000018fc48 : “kernel” [ 1.787761] 0x00000018fc48-0×000000800000 : “rootfs” [ 1.799585] mtd: device 5 (rootfs) set to be root filesystem
[ 1.811081] 1 squashfs-split partitions found on MTD device rootfs
[ 1.823419] 0x00000036e000-0×000000800000 : “rootfs_data” [ 1.837222] rt2880-pinmux pinctrl: pin io40 already requested by pinctrl; cannot claim for 10100000.ethernet
[ 1.856908] rt2880-pinmux pinctrl: pin-40 (10100000.ethernet) status -22
[ 1.870276] rt2880-pinmux pinctrl: could not request pin 40 (io40) from group ephy on device rt2880-pinmux
[ 1.889697] mtk_soc_eth 10100000.ethernet: Error applying setting, reverse things back
[ 1.908482] gsw: setting port4 to ephy mode
[ 1.916897] mtk_soc_eth 10100000.ethernet eth0 (uninitialized): port 3 link up (100Mbps/Full duplex)
[ 1.935313] mtk_soc_eth 10100000.ethernet: loaded mt7620 driver
[ 1.947949] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[ 1.965028] rt2880_wdt 10000120.watchdog: Initialized
[ 1.976719] NET: Registered protocol family 10
[ 1.989495] NET: Registered protocol family 17
[ 1.998527] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 2.023686] 8021q: 802.1Q VLAN Support v1.8
[ 2.050136] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[ 2.065417] Freeing unused kernel memory: 204K (803cd000 - 80400000)
[ 4.106495] init: Console is alive
[ 4.113647] init: - watchdog -
[ 5.580994] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 5.678152] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 5.696676] init: - preinit -
[ 6.630814] 8021q: adding VLAN 0 to HW filter on device eth0
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3[ 6.794960] random: procd: uninitialized urandom read (4 bytes read, 10 bits of entropy available)
] or [4] key and hit [enter] to select the debug level
[ 8.255145] jffs2: notice: (333) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 8.296710] mount_root: switching to jffs2 overlay
[ 8.342146] urandom-seed: Seeding with /etc/urandom.seed
[ 8.530284] procd: - early -
[ 8.536238] procd: - watchdog -
[ 8.865633] procd: - ubus -
[ 8.888037] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
[ 8.915045] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
[ 8.933554] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
[ 8.952310] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
[ 8.971494] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
[ 8.989534] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
[ 9.007625] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
[ 9.026489] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
[ 9.048064] procd: - init -
Please press Enter to activate this console.
[ 9.587452] kmodloader: loading kernel modules from /etc/modules.d/*
[ 9.876099] tun: Universal TUN/TAP device driver, 1.6
[ 9.886235] tun: (C) 1999-2004 Max Krasnyansky maxk at qualcomm.com [ 9.903808] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 9.926281] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
[ 9.942319] Backport generated by backports.git backports-20160324-13-g24da7d3c
[ 10.009271] mt76x2e 0000:01:00.0: ASIC revision: 76120044
[ 10.026382] mt76x2e 0000:01:00.0: ROM patch already applied
[ 10.416634] mt76x2e 0000:01:00.0: Firmware Version: 0.0.00
[ 10.427610] mt76x2e 0000:01:00.0: Build: 1
[ 10.435778] mt76x2e 0000:01:00.0: Build Time: 201507311614 [ 10.466650] mt76x2e 0000:01:00.0: Firmware running!
[ 10.688043] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 10.708627] nf_conntrack version 0.5.0 (3995 buckets, 15980 max)
[ 10.941274] xt_time: kernel timezone is -0000
[ 10.961143] PPP generic driver version 2.4.2
[ 10.972654] NET: Registered protocol family 24
[ 10.999994] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device “factory” [ 11.014478] ieee80211 phy1: rt2x00_set_rt: Info - RT chipset 5390, rev 0500 detected
[ 11.029949] ieee80211 phy1: rt2x00_set_rf: Info - RF chipset 7620 detected
[ 11.092273] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 53.488834] reboot: Restarting system

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=799



More information about the lede-bugs mailing list