Router Cannot Boot Its Firmware Tplink-Td8970n-V1

Hi guys thanks for reading my problem :revolving_hearts:
Story of problem :
Since i installed openwrt on this router it was randomly crashing after 15-20 days and router couldnt boot and all the led lights went off only power led was online

previously i wrote a topic for my first crash in the link here which is solved with reflashing openwrt :

Tplink-TD-W8970n Segfaults and Badgateway

today i got the same problem and i thought its like last time so flashed openwrt again via serial but it couldnt boot!!

i dont know why i also flashed original firmware from tplink but the error is same idont know what causing this and now router not even boot

Serial output error:

ROM VER: 1.1.4
CFG 05

ROM VER: 1.1.4
CFG 05

DDR autotuning Rev 0.3ff
DDR size from 0xa0000000 - 0xa3ffffff
DDR check ok... start booting...

U-Boot 2010.06-LANTIQ-v-2.0.40-svn4806 (Jun 12 2014 - 10:34:17)

CLOCK CPU 500M RAM 250M
DRAM:  64 MiB
Using default environment

ROM VER: 1.1.4
CFG 05

DDR autotuning Rev 0.3ff
DDR size from 0xa0000000 - 0xa3ffffff
DDR check ok... start booting...

U-Boot 2010.06-LANTIQ-v-2.0.40-svn4806 (Jun 12 2014 - 10:34:17)

CLOCK CPU 500M RAM 250M
DRAM:  64 MiB
Using default environment

ROM VER: 1.1.4
CFG 05

DDR autotuning Rev 0.3ff
DDR size from 0xa0000000 - 0xa3ffffff
DDR check ok... start booting...

U-Boot 2010.06-LANTIQ-v-2.0.40-svn4806 (Jun 12 2014 - 10:34:17)

CLOCK CPU 500M RAM 250M
DRAM:  64 MiB

ROM VER: 1.1.4
CFG 05

DDR autotuning Rev 0.3ff
DDR size from 0xa0000000 - 0xa3ffffff
DDR check ok... start booting...

U-Boot 2010.06-LANTIQ-v-2.0.40-svn4806 (Jun 12 2014 - 10:34:17)

CLOCK CPU 500M RAM 250M
DRAM:  64 MiB

ROM VER: 1.1.4
CFG 05

DDR autotuning Rev 0.3ff
DDR size from 0xa0000000 - 0xa3ffffff
DDR check ok... start booting...

U-Boot 2010.06-LANTIQ-v-2.0.40-svn4806 (Jun 12 2014 - 10:34:17)

CLOCK CPU 500M RAM 250M
DRAM:  64 MiB
Using default environment

ROM VER: 1.1.4
CFG 05

DDR autotuning Rev 0.3ff
DDR size from 0xa0000000 - 0xa3ffffff
DDR check ok... start booting...

U-Boot 2010.06-LANTIQ-v-2.0.40-svn4806 (Jun 12 2014 - 10:34:17)

CLOCK CPU 500M RAM 250M
DRAM:  64 MiB

ROM VER: 1.1.4
CFG 05

DDR autotuning Rev 0.3ff
DDR size from 0xa0000000 - 0xa3ffffff
DDR check ok... start booting...

U-Boot 2010.06-LANTIQ-v-2.0.40-svn4806 (Jun 12 2014 - 10:34:17)

CLOCK CPU 500M RAM 250M
DRAM:  64 MiB

ROM VER: 1.1.4
CFG 05

DDR autotuning Rev 0.3ff
DDR size from 0xa0000000 - 0xa3ffffff
DDR check ok... start booting...

U-Boot 2010.06-LANTIQ-v-2.0.40-svn4806 (Jun 12 2014 - 10:34:17)

CLOCK CPU 500M RAM 250M
DRAM:  64 MiB

ROM VER: 1.1.4
CFG 05

DDR autotuning Rev 0.3ff
DDR size from 0xa0000000 - 0xa3ffffff
DDR check ok... start booting...

U-Boot 2010.06-LANTIQ-v-2.0.40-svn4806 (Jun 12 2014 - 10:34:17)

CLOCK CPU 500M RAM 250M
DRAM:  64 MiB

ROM VER: 1.1.4
CFG 05

DDR autotuning Rev 0.3ff
DDR size from 0xa0000000 - 0xa3ffffff
DDR check ok... start booting...

U-Boot 2010.06-LANTIQ-v-2.0.40-svn4806 (Jun 12 2014 - 10:34:17)

CLOCK CPU 500M RAM 250M
DRAM:  64 MiB

ROM VER: 1.1.4
CFG 05

DDR autotuning Rev 0.3ff
DDR size from 0xa0000000 - 0xa3ffffff
DDR check ok... start booting...

U-Boot 2010.06-LANTIQ-v-2.0.40-svn4806 (Jun 12 2014 - 10:34:17)

CLOCK CPU 500M RAM 250M
DRAM:  64 MiB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   Internal phy(GE) firmware version: 0x8434
vr9 Switch8192 KiB EN25Q64 at 0:3 is now current device


Type "run flash_nfs" to mount root filesystem over NFS

Hit any key to stop autoboot:  0
8192 KiB EN25Q64 at 0:3 is now current device
8192 KiB EN25Q64 at 0:3 is now current device
        Uncompressing ... LZMA: uncompress or overwrite error 1 - must RESET board to recover
VR9 #

Printenv results

VR9 # printenv
bootcmd=run flash_flash
bootdelay=1
baudrate=115200
preboot=echo;echo Type \"run flash_nfs\" to mount root filesystem over NFS;echo
bootfile="uImage"
mem=63M
phym=64M
ipaddr=192.168.1.1
serverip=192.168.1.100
ethaddr=00:E0:92:00:01:40
netdev=eth0
console=ttyS0
baudrate=115200
tftppath=
loadaddr=0x80800000
rootpath=/mnt/full_fs
rootfsmtd=/dev/mtdblock2
nfsargs= setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath)
ramargs=setenv bootargs root=/dev/ram rw
addip=setenv bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmas                                                                                                 k):$(hostname):$(netdev):on
addmisc=setenv bootargs $(bootargs) console=$(console),$(baudrate) ethaddr=$(eth                                                                                                 addr) phym=$(phym) mem=$(mem) panic=1 mtdparts=$(mtdparts) init=/etc/preinit vpe                                                                                                 1_load_addr=0x82000000 vpe1_mem=1M ethwan=$(ethwan)
flash_nfs=run nfsargs addip addmisc;bootm $(kernel_addr)
net_nfs=tftp $(loadaddr) $(tftppath)$(bootfile);run nfsargs addip addmisc;bootm
net_flash=tftp $(loadaddr) $(tftppath)$(bootfile); run flashargs addip addmisc;                                                                                                  bootm
net_ram=tftp $(loadaddr) $(tftppath)$(bootfile); run ramargs addip addmisc; boot                                                                                                 m
u-boot=u-boot.lq
rootfs=rootfs.img
firmware=firmware.img
fullimage=fullimage.img
totalimage=totalimage.img
load=tftp $(loadaddr) $(u-boot)
update=protect off 1:0-2;era 1:0-2;cp.b $(loadaddr) B0000000 $(filesize)
flashargs=setenv bootargs root=$(rootfsmtd) rw rootfstype=squashfs
flash_flash=sf probe 3; bootm 0x80800000
update_uboot=tftp $(loadaddr) $(tftppath)$(u-boot); nand write.partial $(loadadd                                                                                                 r) 4000 $(filesize);reset
update_kernel=tftpboot $(loadaddr) $(tftppath)$(bootfile);upgrade $(loadaddr) $(                                                                                                 filesize)
update_rootfs=tftpboot $(loadaddr) $(tftppath)$(rootfs);upgrade $(loadaddr) $(fi                                                                                                 lesize)
update_firmware=tftpboot $(loadaddr) $(tftppath)$(firmware);upgrade $(loadaddr)                                                                                                  $(filesize)
update_fullimage=tftpboot $(loadaddr) $(tftppath)$(fullimage);upgrade $(loadaddr                                                                                                 ) $(filesize)
update_totalimage=tftpboot $(loadaddr) $(tftppath)$(totalimage);upgrade $(loadad                                                                                                 dr) $(filesize)
stdin=serial
stdout=serial
stderr=serial
ethact=vr9 Switch

Environment size: 2040/4092 bytes

Crashing (intermittently) partway through the bootloader sequence really suggests a hardware problem. Try a different power adapter. If it's not that there's likely a defect in the CPU or the RAM and you should just bin the thing.

1 Like

thanks for your replay dude
i was actually thinking about it but there is a thing i had like no issue with this router in original firmware after flashing openwrt it got this problem it seems like a software issue to me still

any other idea

Does TFTP'ing an initramfs image and running it from RAM work?
If yes, you should be able to flash a "normal" OpenWrt image from it.

A failing PSU for the device can definitely explain your experiences.

1 Like

hi dgi thanks :heart:
first i want to say i tested psu with multimeter on 1.5 ampere which is maximum output for this psu it gives me 11.5voltage which is ok on 12volt psu adapter

hmm i would say yes tftping is work and i did send firmware in ram but now i got some problems

1-i dont know i used correct image i used this image from this link is it initramfs ? :
https://archive.openwrt.org/chaos_calmer/15.05/lantiq/xrx200/openwrt-15.05-lantiq-xrx200-TDW8970-uImage

2-i dont know if i used correct commands ??


3-btw i sent above image to ram to its uboot default address and other address this is the results:

First Attempt :


8192 KiB EN25Q64 at 0:3 is now current device
Using vr9 Switch device
TFTP from server 192.168.1.100; our IP address is 192.168.1.1
Filename 'openwrt-15.05-lantiq-xrx200-TDW8970-uImage'.
Load address: **0x80800000 // its default address in uboot senenv results**
Loading: ##################################################################################
#################################################################################
Bytes transferred = 1513470 (1717fe hex)
done
VR9 # bootm
        Uncompressing ... LZMA: uncompress or overwrite error 1 - must RESET board to recover
VR9 # bootm
        Uncompressing ... LZMA: uncompress or overwrite error 1 - must RESET board to recover
VR9 # bootm
        Uncompressing ... LZMA: uncompress or overwrite error 1 - must RESET board to recover
VR9 # bootm
        Uncompressing ... LZMA: uncompress or overwrite error 1 - must RESET board to recover

second attempt :
`changed 0x80800000 address to 0x80C71B00 ( mybe working ?!) result is same as above so not working
Third attempt :
only for one time it worked somehow!!! but it didnt fully loaded :frowning:

VR9 # tftpboot 0x81000000 openwrt-15.05-lantiq-xrx200-TDW8970-uImage
8192 KiB EN25Q64 at 0:3 is now current device
Using vr9 Switch device
TFTP from server 192.168.1.2; our IP address is 192.168.1.1
Filename 'openwrt-15.05-lantiq-xrx200-TDW8970-uImage'.
Load address: 0x81000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         ####################################
done
Bytes transferred = 1513470 (1717fe hex)
VR9 # bootm
        Uncompressing ...
Starting kernel ...

[    0.000000] Linux version 3.18.20 (buildbot@builder1) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r46450) ) #1 Fri Sep 4 17:13:39 CEST 2015
[    0.000000] SoC: VR9 rev 1.2
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019556 (MIPS 34Kc)
[    0.000000] MIPS: machine is TDW8970 - TP-LINK TD-W8970
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x03ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x03ffffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x03ffffff]
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyLTQ0,115200 init=/etc/preinit
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=00018310
[    0.000000] Readback ErrCtl register=00018310
[    0.000000] Memory: 60004K/65536K available (3492K kernel code, 151K rwdata, 816K rodata, 192K init, 206K bss, 5532K reserved)
[    0.000000] NR_IRQS:256
[    0.000000] CPU Clock: 500MHz
[    0.000000] Calibrating delay loop... 332.54 BogoMIPS (lpj=665088)
[    0.032000] pid_max: default: 32768 minimum: 301
[    0.036000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.040000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.044000] pinctrl core: initialized pinctrl subsystem
[    0.048000] NET: Registered protocol family 16
[    0.056000] pinctrl-xway 1e100b10.pinmux: Init done
[    0.060000] dma-xway 1e104100.dma: Init done - hw rev: 7, ports: 7, channels: 28
[    0.164000] dcdc-xrx200 1f106a00.dcdc: Core Voltage : 1016 mV
[    0.276000] ath9k,eeprom ath9k_eep: failed to load eeprom address
[    0.288000] usbcore: registered new interface driver usbfs
[    0.292000] usbcore: registered new interface driver hub
[    0.296000] usbcore: registered new device driver usb
[    0.300000] PCI host bridge to bus 0000:00
[    0.304000] pci_bus 0000:00: root bus resource [mem 0x1c000000-0x1cffffff]
[    0.308000] pci_bus 0000:00: root bus resource [io  0x1d800000-0x1d8fffff]
[    0.312000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.316000] ifx_pcie_rc_class_early_fixup: fixed pcie host bridge to pci-pci bridge
[    0.328000] pci 0000:00:00.0: BAR 8: assigned [mem 0x1c000000-0x1c0fffff]
[    0.332000] pci 0000:00:00.0: BAR 9: assigned [mem 0x1c100000-0x1c1fffff pref]
[    0.336000] pci 0000:01:00.0: BAR 0: assigned [mem 0x1c000000-0x1c01ffff 64bit]
[    0.340000] pci 0000:01:00.0: BAR 6: assigned [mem 0x1c100000-0x1c10ffff pref]
[    0.344000] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.348000] pci 0000:00:00.0:   bridge window [mem 0x1c000000-0x1c0fffff]
[    0.352000] pci 0000:00:00.0:   bridge window [mem 0x1c100000-0x1c1fffff pref]
[    0.356000] ifx_pcie_bios_map_irq port 0 dev 0000:00:00.0 slot 0 pin 1
[    0.360000] ifx_pcie_bios_map_irq dev 0000:00:00.0 irq 144 assigned
[    0.364000] ifx_pcie_bios_map_irq port 0 dev 0000:01:00.0 slot 0 pin 1
[    0.368000] ifx_pcie_bios_map_irq dev 0000:01:00.0 irq 144 assigned
[    0.372000] Switched to clocksource MIPS
[    0.376000] NET: Registered protocol family 2
[    0.380000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.388000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.396000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.400000] TCP: reno registered
[    0.404000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.408000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.416000] NET: Registered protocol family 1
[    0.420000] gptu: totally 6 16-bit timers/counters
[    0.424000] gptu: misc_register on minor 63
[    0.432000] gptu: succeeded to request irq 126
[    0.436000] gptu: succeeded to request irq 127
[    0.440000] gptu: succeeded to request irq 128
[    0.444000] gptu: succeeded to request irq 129
[    0.448000] gptu: succeeded to request irq 130
[    0.452000] gptu: succeeded to request irq 131
[    0.456000] phy-xrx200 gphy-xrx200: requesting lantiq/vr9_phy11g_a2x.bin
[    0.464000] phy-xrx200 gphy-xrx200: booting GPHY0 firmware at 3940000
[    0.472000] phy-xrx200 gphy-xrx200: booting GPHY1 firmware at 3940000
[    0.580000] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.600000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.604000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.624000] msgmni has been set to 117
[    0.628000] io scheduler noop registered
[    0.632000] io scheduler deadline registered (default)
[    0.640000] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc
[    0.648000] console [ttyLTQ0] enabled
[    0.648000] console [ttyLTQ0] enabled
[    0.656000] bootconsole [early0] disabled
[    0.656000] bootconsole [early0] disabled
[    0.668000] m25p80 spi32766.0: en25q64 (8192 Kbytes)
[    0.672000] 5 ofpart partitions found on MTD device spi32766.0
[    0.680000] Creating 5 MTD partitions on "spi32766.0":
[    0.684000] 0x000000000000-0x000000020000 : "u-boot"
[    0.688000] 0x000000020000-0x0000006c0000 : "firmware"
[    0.696000] 0x0000001917fe-0x0000006c0000 : "rootfs"
[    0.704000] mtd: device 2 (rootfs) set to be root filesystem
[    0.708000] mtdsplit: no squashfs found in "rootfs"
[    0.712000] mtdsplit: no squashfs found in "spi32766.0"
[    1.556000] 0x0000006c0000-0x0000007c0000 : "dsl_fw"
[    1.564000] 0x0000007c0000-0x0000007d0000 : "config"
[    1.568000] 0x0000007d0000-0x000000800000 : "boardconfig"
[    1.676000] libphy: lantiq,xrx200-mdio: probed
[    1.752000] eth0: attached PHY [Lantiq XWAY PEF7071] (phy_addr=0:00, irq=-1)
[    1.820000] eth0: attached PHY [Lantiq XWAY PEF7071] (phy_addr=0:05, irq=-1)
[    1.888000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:11, irq=-1)
[    1.956000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:13, irq=-1)
[    1.964000] wdt 1f8803f0.watchdog: Init done
[    1.968000] TCP: cubic registered
[    1.968000] NET: Registered protocol family 17
[    1.972000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    1.988000] Bridge firewalling registered
[    1.988000] 8021q: 802.1Q VLAN Support v1.8
[    2.068000] ath9k,eeprom ath9k_eep: using led pin 0.
[    2.072000] ath9k,eeprom ath9k_eep: loaded ath9k eeprom
[    2.080000] UBIFS error (pid 1): ubifs_mount: cannot open "ubi0:rootfs", error -19
[    2.108000] List of all partitions:
[    2.108000] 1f00             128 mtdblock0  (driver?)
[    2.112000] 1f01            6784 mtdblock1  (driver?)
[    2.120000] 1f02            5306 mtdblock2  (driver?)
[    2.124000] 1f03            1024 mtdblock3  (driver?)
[    2.128000] 1f04              64 mtdblock4  (driver?)
[    2.132000] 1f05             192 mtdblock5  (driver?)
[    2.140000] No filesystem could mount root, tried:  squashfs
[    2.144000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,2)
[    2.144000] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,2)
[   33.072000] random: nonblocking pool is initialized

I believe an initramfs image is not provided. You may need to compile one from source, and it should be named uImage. The u-boot command to load and boot one on your device is:
run net_ram

thanks for that command dude i did a search and i found the exact file but result is same i also changed loadaddr to 0x81000000 with setenv command but its same :cry:

VR9 # run net_ram
8192 KiB EN25Q64 at 0:3 is now current device
Using vr9 Switch device
TFTP from server 192.168.1.100; our IP address is 192.168.1.1
Filename 'uImage'.
Load address: 0x80800000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         ####################################
done
Bytes transferred = 1513470 (1717fe hex)
        Uncompressing ... LZMA: uncompress or overwrite error 1 - must RESET board to recover
VR9 #

Apparently, you will not be able to download an initramfs image for this device anywhere. You must compile one from source. When you do so, you will have the option to turn off LZMA compression in the image build. However, the above indicates that it doesn't appear to be read back from RAM properly, so tread carefully. Either your PSU or your RAM might've failed. If you manage to boot such an image, preferably built with LuCI included, make sure the checksum LuCI gives for the image you flash with it matches.

1 Like

Apparently, you will not be able to download an initramfs image for this device anywhere

i downloaded it from here and iam kinda sure its the right file i also figured this out last file i used was ok but the version of that file was openwrt 15.x.x and it was older file
https://downloads.openwrt.org/snapshots/targets/lantiq/xrx200/openwrt-lantiq-xrx200-tplink_tdw8970-initramfs-kernel.bin

You must compile one from source. When you do so, you will have the option to turn off LZMA compression in the image build

i realy dont know how to do this since i flashed multiple time openwrt via serial with exact same commands and method and it was working just fine so i assume this thing you said as a last effort how this is not working now iam so disappointed :pensive:

However, the above indicates that it doesn't appear to be read back from RAM properly, so tread carefully

you mean my ram is failing ?? if its failing why when i write firmware to flash instead of ram it shows same error?

i have an question
1-is it possible lzma program corrupted in flash ?
if its right i have back up from working original firmware from all mtd directories of flash but i dont know how to restore them

Btw i really appreciated all of suggestions bro :heartpulse:

Whoops, did not see that file. It should boot, but it won't have LuCI. If it doesn't work, keep trying it. Running from RAM bypasses the flash altogether.

alright i did it so many times only a few times it was ok i also used both 15.x.x version and newest version result is this both stuck in loading image in some spot also when i type bootm and it not beable to uncompress image after some trying its says Unknown command!!!!!

15.x.x kernel results while it stuck it end to this line :

[    2.144000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,2)
[    2.144000] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,2)

latest version :

[   47.255933] Stack : 00000000 00000001 806e17e0 8007ea88 806e0000 80680d70 000 00000 00000000
[   47.264285]         80680584 83143bdc 83a8378c 806c0967 8063a0c8 00000001 831 43b80 74ab215d
[   47.272641]         00000000 00000000 80a70000 00003910 80a38928 00000000 000 00007 00000000
[   47.280997]         000000b9 be000000 000000b8 00000000 80000000 00000000 806 e0000 80a60000
[   47.289353]         80646160 806c0000 7f91e7d8 00000001 00000002 00000000 080 7f898 80a30000
[   47.297709]         ...
[   47.300149] Call Trace:
[   47.302603] [<800113b4>] show_stack+0x58/0x100
[   47.307077] [<80519b84>] dump_stack+0x94/0xd0
[   47.311411] [<800f6d58>] bad_page+0x11c/0x154
[   47.315755] [<800f9914>] get_page_from_freelist+0x4e4/0xd14
[   47.321321] [<800fa808>] __alloc_pages_nodemask+0x158/0xe20
[   47.326912] [<801223ac>] wp_page_copy+0x140/0x68c
[   47.331592] [<80125698>] do_wp_page+0x5d0/0x5f8
[   47.336113] [<80126f98>] handle_mm_fault+0xc0c/0xd2c
[   47.341079] [<8001d590>] do_page_fault+0x190/0x540
[   47.345869] [<80023ca8>] tlb_do_page_fault_1+0x118/0x120
[   47.351170] Disabling lock debugging due to kernel taint
[   47.362848] do_page_fault(): sending SIGSEGV to mkdir for invalid read access  from 57f6c7e4
[   47.369877] epc = 57f6c7e4 in libgcc_s.so.1[77ec4000+22000]
[   47.375403] ra  = 57f6c7e4 in libgcc_s.so.1[77ec4000+22000]
[   47.410969] do_page_fault(): sending SIGSEGV to sh for invalid write access t o 77f6be90
[   47.417633] epc = 77ee3534 in libc.so[77ec2000+97000]
[   47.422710] ra  = 77ee3530 in libc.so[77ec2000+97000]
[   47.440838] do_page_fault(): sending SIGSEGV to sh for invalid write access t o 57f968a3
[   47.447567] epc = 00438965 in busybox[400000+49000]
[   47.452358] ra  = 004247cd in busybox[400000+49000]
[   47.465801] Kernel panic - not syncing: stack-protector: Kernel stack is corr upted in: __fsnotify_parent+0x160/0x184
[   47.465801]
[   47.480156] Rebooting in 3 seconds..

unknown command error when image not uncompress :

VR9 # bootm
        Uncompressing ... LZMA: uncompress or overwrite error 1 - must RESET board to recover
VR9 # bootm
        Uncompressing ... LZMA: uncompress or overwrite error 1 - must RESET board to recover
VR9 # bootm
        Uncompressing ... LZMA: uncompress or overwrite error 1 - must RESET board to recover
VR9 # bootm
        Uncompressing ... LZMA: uncompress or overwrite error 1 - must RESET board to recover
VR9 # bootm
Unknown command 'Bootm' - try 'help'
VR9 # bootm
Unknown command 'Bootm' - try 'help'
VR9 # bootm
Unknown command 'Bootm' - try 'help'
VR9 # bootm
Unknown command 'Bootm' - try 'help'
VR9 # bootm
Unknown command 'Bootm' - try 'help'

Yeah, that call trace is talking about RAM. But, it could still be just the PSU.

yeah dude you right but i see in the internet people had same problem and the issue resolved by other things since its all the time stuck in the same spot if its ram it should be random not in the single specific spot during the boot right becasue data saving in ram in random places?

i heard about corrupted u-boot is it possible u-boot corrupted and cannot load from flash ?
as you can see in my first post modem trying to boot u-boot i think and it cannot until multiple attempts :

ROM VER: 1.1.4
CFG 05

ROM VER: 1.1.4
CFG 05

DDR autotuning Rev 0.3ff
DDR size from 0xa0000000 - 0xa3ffffff
DDR check ok... start booting...

U-Boot 2010.06-LANTIQ-v-2.0.40-svn4806 (Jun 12 2014 - 10:34:17)

CLOCK CPU 500M RAM 250M
DRAM:  64 MiB
Using default environment

ROM VER: 1.1.4
CFG 05

DDR autotuning Rev 0.3ff
DDR size from 0xa0000000 - 0xa3ffffff
DDR check ok... start booting...

U-Boot 2010.06-LANTIQ-v-2.0.40-svn4806 (Jun 12 2014 - 10:34:17)

CLOCK CPU 500M RAM 250M
DRAM:  64 MiB
Using default environment

ROM VER: 1.1.4
CFG 05

DDR autotuning Rev 0.3ff
DDR size from 0xa0000000 - 0xa3ffffff
DDR check ok... start booting...

U-Boot 2010.06-LANTIQ-v-2.0.40-svn4806 (Jun 12 2014 - 10:34:17)

CLOCK CPU 500M RAM 250M
DRAM:  64 MiB

ROM VER: 1.1.4
CFG 05

DDR autotuning Rev 0.3ff
DDR size from 0xa0000000 - 0xa3ffffff
DDR check ok... start booting...

U-Boot 2010.06-LANTIQ-v-2.0.40-svn4806 (Jun 12 2014 - 10:34:17)

CLOCK CPU 500M RAM 250M
DRAM:  64 MiB

ROM VER: 1.1.4
CFG 05

DDR autotuning Rev 0.3ff
DDR size from 0xa0000000 - 0xa3ffffff
DDR check ok... start booting...

U-Boot 2010.06-LANTIQ-v-2.0.40-svn4806 (Jun 12 2014 - 10:34:17)

CLOCK CPU 500M RAM 250M
DRAM:  64 MiB
Using default environment

ROM VER: 1.1.4
CFG 05

DDR autotuning Rev 0.3ff
DDR size from 0xa0000000 - 0xa3ffffff
DDR check ok... start booting...

U-Boot 2010.06-LANTIQ-v-2.0.40-svn4806 (Jun 12 2014 - 10:34:17)

CLOCK CPU 500M RAM 250M
DRAM:  64 MiB

ROM VER: 1.1.4
CFG 05

DDR autotuning Rev 0.3ff
DDR size from 0xa0000000 - 0xa3ffffff
DDR check ok... start booting...

U-Boot 2010.06-LANTIQ-v-2.0.40-svn4806 (Jun 12 2014 - 10:34:17)

CLOCK CPU 500M RAM 250M
DRAM:  64 MiB

ROM VER: 1.1.4
CFG 05

DDR autotuning Rev 0.3ff
DDR size from 0xa0000000 - 0xa3ffffff
DDR check ok... start booting...

U-Boot 2010.06-LANTIQ-v-2.0.40-svn4806 (Jun 12 2014 - 10:34:17)

CLOCK CPU 500M RAM 250M
DRAM:  64 MiB

ROM VER: 1.1.4
CFG 05

DDR autotuning Rev 0.3ff
DDR size from 0xa0000000 - 0xa3ffffff
DDR check ok... start booting...

U-Boot 2010.06-LANTIQ-v-2.0.40-svn4806 (Jun 12 2014 - 10:34:17)

CLOCK CPU 500M RAM 250M
DRAM:  64 MiB

ROM VER: 1.1.4
CFG 05

DDR autotuning Rev 0.3ff
DDR size from 0xa0000000 - 0xa3ffffff
DDR check ok... start booting...

U-Boot 2010.06-LANTIQ-v-2.0.40-svn4806 (Jun 12 2014 - 10:34:17)

CLOCK CPU 500M RAM 250M
DRAM:  64 MiB

ROM VER: 1.1.4
CFG 05

DDR autotuning Rev 0.3ff
DDR size from 0xa0000000 - 0xa3ffffff
DDR check ok... start booting...

U-Boot 2010.06-LANTIQ-v-2.0.40-svn4806 (Jun 12 2014 - 10:34:17)

CLOCK CPU 500M RAM 250M
DRAM:  64 MiB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   Internal phy(GE) firmware version: 0x8434
vr9 Switch8192 KiB EN25Q64 at 0:3 is now current device


Type "run flash_nfs" to mount root filesystem over NFS

Hit any key to stop autoboot:  0
8192 KiB EN25Q64 at 0:3 is now current device
8192 KiB EN25Q64 at 0:3 is now current device
        Uncompressing ... LZMA: uncompress or overwrite error 1 - must RESET board to recover
VR9 #

Once it gets to where that call trace was, u-boot is no longer running. Try another PSU.

1 Like

hmm really!! thanks :ok_hand: i was thinking about flashing u-boot from Uart mode so its not the case
checked with another psu yesterday it was same but it may just some capacitors or whatever