Installing on NEC ATERM WG2600HP

Hi I'm installing on my NEC router as using the instruction in the commit message:

But this line is not clear to me.

4. create fw_env.config file with following contents on failsafe mode:
  /dev/mtd9 0x0 0x10000 0x10000

Where in the file system shall I create this file? How? What shell commands are available? Filesystem is mounted read-only...

Could the same be achieved from the boot prompt?

/etc/fw_env.config (uboot-envtools needs to be installed as well).

1 Like

I created the file in /etc/ but boot of the new firmware is still not sucessful.

U-Boot 2012.07 [Standard IPQ806X.LN,local] (Mar 26 2015 - 13:53:09)

smem ram ptable found: ver: 0 len: 5
DRAM:  491 MiB
NAND:  ipq_nand: unknown NAND device manufacturer: 0 device: 0
ipq_nand: failed to identify device
SF: Detected S25FL256S with page size 64 KiB, total #

U-Boot 2012.07 [Standard IPQ806X.LN,local] (Mar 26 2015 - 13:53:09)

smem ram ptable found: ver: 0 len: 5
DRAM:  491 MiB
NAND:  ipq_nand: unknown NAND device manufacturer: 0 device: 0
ipq_nand: failed to identify device
SF: Detected S25FL256S with page size 64 KiB, total 32 MiB
ipq_spi: page_size: 0x100, sector_size: 0x10000, size: 0x2000000
32 MiB
MMC:   
PCI0 Link Intialized
PCI1 Link Intialized
In:    serial
Out:   serial
Err:   serial
PRODUCTDATA CRC Verify OK.
Net:   MAC1 addr:c0:25:a2:9a:aa:d
athrs17_reg_init: complete
athrs17_vlan_config ...done
S17c init  done
MAC2 addr:c0:25:a2:9a:aa:c
eth0, eth1
post start
SF: Detected S25FL256S with page size 64 KiB, total 32 MiB
DRAM Test ..... PASS
Timer test .... PASS
FLASH CHKSUM .. PASS
LAN Test ...... 
LoopBack count 0 .. 
PASS
Package TYPE = 0x01
post success
now booting auto ...
Using eth1 device
TFTP from server 192.168.0.74; our IP address is 192.168.0.4
Filename 'wg2600hp-initramfs.bin'.
Load address: 0x44000000
Loading: #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 ##################################
done
Bytes transferred = 6160682 (5e012a hex)
Automatic boot of image at addr 0x44000000 ...
   Image Name:   ARM OpenWrt Linux-5.4.71
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2887205 Bytes = 2.8 MiB
   Load Address: 42208000
   Entry Point:  42208000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK
mtdids not defined, no default present
info: "mtdparts" not set
Using machid 0x1260 from environment

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.71 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r14718-4a0688ed71)) #0 SMP Sat Oct 17 14:43:17 2020
[    0.000000] CPU: ARMv7 Processor [512f04d0] revision 0 (ARMv7), cr=10c5787d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: NEC Aterm WG2600HP
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 15 pages/cpu s30156 r8192 d23092 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 121800
[    0.000000] Kernel command line: 
[    0.000000] Bootloader command line not present
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 476876K/491520K available (6166K kernel code, 196K rwdata, 1548K rodata, 1024K init, 240K bss, 14644K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x340/0x4ec with crng_init=0
[    0.000000] clocksource: dg_timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 305801671480 ns
[    0.000009] sched_clock: 32 bits at 6MHz, resolution 160ns, wraps every 343597383600ns
[    0.000022] Switching to timer-based delay loop, resolution 160ns
[    0.000253] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.50 BogoMIPS (lpj=62500)
[    0.000273] pid_max: default: 32768 minimum: 301
[    0.000479] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000496] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001523] CPU: Testing write buffer coherency: ok
[    0.002698] Setting up static identity map for 0x42300000 - 0x42300060
[    0.002877] rcu: Hierarchical SRCU implementation.
[    0.003376] smp: Bringing up secondary CPUs ...
[    0.005310] smp: Brought up 1 node, 2 CPUs
[    0.005328] SMP: Total of 2 processors activated (25.00 BogoMIPS).
[    0.005339] CPU: All CPU(s) started in SVC mode.
[    0.015790] VFP support v0.3: implementor 51 architecture 64 part 4d variant 2 rev 0
[    0.015949] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.015978] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.016141] pinctrl core: initialized pinctrl subsystem
[    0.017310] NET: Registered protocol family 16
[    0.017594] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.018980] cpuidle: using governor ladder
[    0.019049] cpuidle: using governor menu
[    0.049722] usbcore: registered new interface driver usbfs
[    0.049808] usbcore: registered new interface driver hub
[    0.049893] usbcore: registered new device driver usb
[    0.049951] pps_core: LinuxPPS API ver. 1 registered
[    0.049965] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.049999] PTP clock support registered
[    0.050777] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.052038] clocksource: Switched to clocksource dg_timer
[    0.052912] thermal_sys: Registered thermal governor 'step_wise'
[    0.055317] NET: Registered protocol family 2
[    0.056054] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.056098] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.056136] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.056190] TCP: Hash tables configured (established 4096 bind 4096)
[    0.056290] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.056321] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.056562] NET: Registered protocol family 1
[    0.056619] PCI: CLS 0 bytes, default 64
[    0.057930] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.064995] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.065011] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.103191] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.104995] qcom-pcie 1b500000.pci: 1b500000.pci supply vdda not found, using dummy regulator
[    0.105142] qcom-pcie 1b500000.pci: 1b500000.pci supply vdda_phy not found, using dummy regulator
[    0.105248] qcom-pcie 1b500000.pci: 1b500000.pci supply vdda_refclk not found, using dummy regulator
[    0.105533] qcom-pcie 1b500000.pci: host bridge /soc/pci@1b500000 ranges:
[    0.105605] qcom-pcie 1b500000.pci:    IO 0x0fe00000..0x0fefffff -> 0x0fe00000
[    0.105644] qcom-pcie 1b500000.pci:   MEM 0x08000000..0x0fdfffff -> 0x08000000
[    0.327718] qcom-pcie 1b500000.pci: Link up
[    0.327888] qcom-pcie 1b500000.pci: PCI host bridge to bus 0000:00
[    0.327912] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.327932] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff] (bus address [0xfe00000-0xfefffff])
[    0.327948] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0fdfffff]
[    0.328012] pci 0000:00:00.0: [17cb:0101] type 01 class 0xff0000
[    0.328187] pci 0000:00:00.0: supports D1
[    0.328205] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.332330] PCI: bus0: Fast back to back transfers disabled
[    0.332669] pci 0000:01:00.0: [168c:0040] type 00 class 0x028000
[    0.333025] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.334170] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    0.338350] PCI: bus1: Fast back to back transfers disabled
[    0.338433] pci 0000:00:00.0: BAR 8: assigned [mem 0x08000000-0x081fffff]
[    0.338458] pci 0000:01:00.0: BAR 0: assigned [mem 0x08000000-0x081fffff 64bit]
[    0.338586] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    0.338611] pci 0000:00:00.0:   bridge window [mem 0x08000000-0x081fffff]
[    0.339568] pcieport 0000:00:00.0: AER: enabled with IRQ 35
[    0.340160] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda not found, using dummy regulator
[    0.340292] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda_phy not found, using dummy regulator
[    0.340421] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda_refclk not found, using dummy regulator
[    0.340681] qcom-pcie 1b700000.pci: host bridge /soc/pci@1b700000 ranges:
[    0.340743] qcom-pcie 1b700000.pci:    IO 0x31e00000..0x31efffff -> 0x31e00000
[    0.340777] qcom-pcie 1b700000.pci:   MEM 0x2e000000..0x31dfffff -> 0x2e000000
[    0.569544] qcom-pcie 1b700000.pci: Link up
[    0.569702] qcom-pcie 1b700000.pci: PCI host bridge to bus 0001:00
[    0.569726] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.569741] pci_bus 0001:00: root bus resource [mem 0x2e000000-0x31dfffff]
[    0.569797] pci 0001:00:00.0: [17cb:0101] type 01 class 0xff0000
[    0.569949] pci 0001:00:00.0: supports D1
[    0.569964] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
[    0.574032] PCI: bus0: Fast back to back transfers disabled
[    0.574373] pci 0001:01:00.0: [168c:0040] type 00 class 0x028000
[    0.574755] pci 0001:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.575987] pci 0001:01:00.0: PME# supported from D0 D3hot D3cold
[    0.576290] pci 0001:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x1 link at 0001:00:00.0 (capable of 4.000 Gb/s with 5 GT/s x1 link)
[    0.580217] PCI: bus1: Fast back to back transfers disabled
[    0.580292] pci 0001:00:00.0: BAR 8: assigned [mem 0x2e000000-0x2e1fffff]
[    0.580315] pci 0001:01:00.0: BAR 0: assigned [mem 0x2e000000-0x2e1fffff 64bit]
[    0.580448] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[    0.580470] pci 0001:00:00.0:   bridge window [mem 0x2e000000-0x2e1fffff]
[    0.581388] pcieport 0001:00:00.0: AER: enabled with IRQ 37
[    0.583991] L2 @ QSB rate. Forcing new rate.
[    0.584226] L2 @ 384000 KHz
[    0.584411] CPU0 @ 800000 KHz
[    0.584424] CPU1 @ QSB rate. Forcing new rate.
[    0.584554] CPU1 @ 384000 KHz
[    0.588261] gsbi 16300000.gsbi: GSBI port protocol: 6 crci: 0
[    0.589662] gsbi 1a200000.gsbi: GSBI port protocol: 3 crci: 0
[    0.591368] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.593921] msm_serial 16340000.serial: msm_serial: detected port #0
[    0.593976] msm_serial 16340000.serial: uartclk = 7372800
[    0.594055] 16340000.serial: ttyMSM0 at MMIO 0x16340000 (irq = 38, base_baud = 460800) is a MSM
[    0.594096] msm_serial: console setup on port #0
[    1.380408] printk: console [ttyMSM0] enabled
[    1.385467] msm_serial: driver initialized
[    1.394812] loop: module loaded
[    1.396005] spi_qup 1a280000.spi: IN:block:16, fifo:64, OUT:block:16, fifo:64
[    1.398186] spi-nor spi0.0: s25fl256s1 (32768 Kbytes)
[    1.404306] 15 fixed-partitions partitions found on MTD device spi0.0
[    1.409092] Creating 15 MTD partitions on "spi0.0":
[    1.415591] 0x000000000000-0x000000020000 : "SBL1"
[    1.421245] 0x000000020000-0x000000040000 : "MIBIB"
[    1.426110] 0x000000040000-0x000000080000 : "SBL2"
[    1.430783] 0x000000080000-0x000000100000 : "SBL3"
[    1.435756] 0x000000100000-0x000000110000 : "DDRCONFIG"
[    1.440391] 0x000000110000-0x000000120000 : "SSD"
[    1.445656] 0x000000120000-0x0000001a0000 : "TZ"
[    1.450376] 0x0000001a0000-0x000000220000 : "RPM"
[    1.455169] 0x000000220000-0x0000002a0000 : "APPSBL"
[    1.459702] 0x0000002a0000-0x0000002b0000 : "APPSBLENV"
[    1.464814] 0x0000002b0000-0x0000002e0000 : "PRODUCTDATA"
[    1.469678] 0x0000002e0000-0x000000320000 : "ART"
[    1.475322] 0x000000320000-0x000000360000 : "TP"
[    1.479882] 0x000000360000-0x000000860000 : "TINY"
[    1.484697] 0x000000860000-0x000002000000 : "firmware"
[    1.493826] 2 uimage-fw partitions found on MTD device firmware
[    1.493872] Creating 2 MTD partitions on "firmware":
[    1.499220] 0x000000000000-0x000000200000 : "kernel"
[    1.506124] 0x000000200000-0x0000017a0000 : "rootfs"
[    1.510773] mtd: device 16 (rootfs) set to be root filesystem
[    1.515099] 1 squashfs-split partitions found on MTD device rootfs
[    1.519957] 0x000000c50000-0x0000017a0000 : "rootfs_data"
[    1.529487] libphy: ipq8064_mdio_bus: probed
[    1.549356] switch0: Atheros AR8337 rev. 2 switch registered on 37000000.mdio-mii
[    2.305121] ar8327: qca,phy-rgmii-en is not specified
[    2.305978] libphy: Fixed MDIO Bus: probed
[    2.310129] ipq806x-gmac-dwmac 37200000.ethernet: IRQ eth_wake_irq not found
[    2.313272] ipq806x-gmac-dwmac 37200000.ethernet: IRQ eth_lpi not found
[    2.321061] ipq806x-gmac-dwmac 37200000.ethernet: PTP uses main clock
[    2.327728] ipq806x-gmac-dwmac 37200000.ethernet: User ID: 0x10, Synopsys ID: 0x37
[    2.333412] ipq806x-gmac-dwmac 37200000.ethernet: 	DWMAC1000
[    2.340769] ipq806x-gmac-dwmac 37200000.ethernet: DMA HW capability register supported
[    2.346707] ipq806x-gmac-dwmac 37200000.ethernet: RX Checksum Offload Engine supported
[    2.354391] ipq806x-gmac-dwmac 37200000.ethernet: COE Type 2
[    2.362208] ipq806x-gmac-dwmac 37200000.ethernet: TX Checksum insertion supported
[    2.368102] ipq806x-gmac-dwmac 37200000.ethernet: Wake-Up On Lan supported
[    2.375480] ipq806x-gmac-dwmac 37200000.ethernet: Enhanced/Alternate descriptors
[    2.382174] ipq806x-gmac-dwmac 37200000.ethernet: Enabled extended descriptors
[    2.389814] ipq806x-gmac-dwmac 37200000.ethernet: Ring mode enabled
[    2.396845] ipq806x-gmac-dwmac 37200000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    2.404408] ipq806x-gmac-dwmac 37400000.ethernet: IRQ eth_wake_irq not found
[    2.411606] ipq806x-gmac-dwmac 37400000.ethernet: IRQ eth_lpi not found
[    2.419549] ipq806x-gmac-dwmac 37400000.ethernet: PTP uses main clock
[    2.425513] ipq806x-gmac-dwmac 37400000.ethernet: User ID: 0x10, Synopsys ID: 0x37
[    2.431572] ipq806x-gmac-dwmac 37400000.ethernet: 	DWMAC1000
[    2.439123] ipq806x-gmac-dwmac 37400000.ethernet: DMA HW capability register supported
[    2.444920] ipq806x-gmac-dwmac 37400000.ethernet: RX Checksum Offload Engine supported
[    2.452669] ipq806x-gmac-dwmac 37400000.ethernet: COE Type 2
[    2.460469] ipq806x-gmac-dwmac 37400000.ethernet: TX Checksum insertion supported
[    2.466381] ipq806x-gmac-dwmac 37400000.ethernet: Wake-Up On Lan supported
[    2.473756] ipq806x-gmac-dwmac 37400000.ethernet: Enhanced/Alternate descriptors
[    2.480436] ipq806x-gmac-dwmac 37400000.ethernet: Enabled extended descriptors
[    2.488063] ipq806x-gmac-dwmac 37400000.ethernet: Ring mode enabled
[    2.495092] ipq806x-gmac-dwmac 37400000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    2.502859] i2c /dev entries driver
[    2.513411] cpuidle: enable-method property 'qcom,kpss-acc-v1' found operations
[    2.513744] cpuidle: enable-method property 'qcom,kpss-acc-v1' found operations
[    2.521336] sdhci: Secure Digital Host Controller Interface driver
[    2.527734] sdhci: Copyright(c) Pierre Ossman
[    2.533978] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.542007] NET: Registered protocol family 10
[    2.547507] Segment Routing with IPv6
[    2.548468] NET: Registered protocol family 17
[    2.552140] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    2.557589] 8021q: 802.1Q VLAN Support v1.8
[    2.569652] Registering SWP/SWPB emulation handler
[    2.607204] qcom_rpm 108000.rpm: RPM firmware 3.0.16777342
[    2.645999] s1a: supplied by regulator-dummy
[    2.646169] s1a: Bringing 0uV into 1050000-1050000uV
[    2.649786] s1b: supplied by regulator-dummy
[    2.654493] s1b: Bringing 0uV into 1050000-1050000uV
[    2.658954] s2a: supplied by regulator-dummy
[    2.663663] s2a: Bringing 0uV into 800000-800000uV
[    2.668184] s2b: supplied by regulator-dummy
[    2.672544] s2b: Bringing 0uV into 800000-800000uV
[    2�[    2.691527] squashfs image failed sanity check
[    2.691710] VFS: Cannot open root device "(null)" or unknown-block(31,16): error -5
[    2.694970] Please append a correct "root=" boot option; here are the available partitions:
[    2.702498] 1f00             128 mtdblock0 
[    2.702501]  (driver?)
[    2.714985] 1f01             128 mtdblock1 
[    2.714989]  (driver?)
[    2.721421] 1f02             256 mtdblock2 
[    2.721426]  (driver?)
[    2.727931] 1f03             512 mtdblock3 
[    2.727935]  (driver?)
[    2.734513] 1f04              64 mtdblock4 
[    2.734517]  (driver?)
[    2.740952] 1f05              64 mtdblock5 
[    2.740958]  (driver?)
[    2.747461] 1f06             512 mtdblock6 
[    2.747465]  (driver?)
[    2.754030] 1f07             512 mtdblock7 
[    2.754034]  (driver?)
[    2.760482] 1f08             512 mtdblock8 
[    2.760486]  (driver?)
[    2.766995] 1f09              64 mtdblock9 
[    2.766999]  (driver?)
[    2.773586] 1f0a             192 mtdblock10 
[    2.773592]  (driver?)
[    2.780361] 1f0b             256 mtdblock11 
[    2.780365]  (driver?)
[    2.786960] 1f0c             256 mtdblock12 
[    2.786965]  (driver?)
[    2.793611] 1f0d            5120 mtdblock13 
[    2.793615]  (driver?)
[    2.800152] 1f0e           24192 mtdblock14 
[    2.800156]  (driver?)
[    2.806751] 1f0f            2048 mtdblock15 
[    2.806756]  (driver?)
[    2.813417] 1f10           22144 mtdblock16 
[    2.813421]  (driver?)
[    2.819945] 1f11           11584 mtdblock17 
[    2.819950]  (driver?)
[    2.826599] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,16)
[    2.828732] CPU0: stopping
[    2.837319] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.4.71 #0
[    2.839828] Hardware name: Generic DT based system
[    2.845677] [<c030f974>] (unwind_backtrace) from [<c030b984>] (show_stack+0x14/0x20)
[    2.850529] [<c030b984>] (show_stack) from [<c08e82c0>] (dump_stack+0x94/0xa8)
[    2.858423] [<c08e82c0>] (dump_stack) from [<c030eba0>] (handle_IPI+0x184/0x1b8)
[    2.865457] [<c030eba0>] (handle_IPI) from [<c05d4ce4>] (gic_handle_irq+0xb4/0xb8)
[    2.873006] [<c05d4ce4>] (gic_handle_irq) from [<c0301a8c>] (__irq_svc+0x6c/0x90)
[    2.880370] Exception stack(0xc0c01ee0 to 0xc0c01f28)
[    2.887949] 1ee0: 00000000 00000000 1d053000 ddb92a40 dcc76800 00000000 ddb91e30 00000000
[    2.892990] 1f00: 00000000 00000000 a89ad0a0 a8894420 00000015 c0c01f30 c07289b8 c07289bc
[    2.901125] 1f20: 80000013 ffffffff
[    2.909293] [<c0301a8c>] (__irq_svc) from [<c07289bc>] (cpuidle_enter_state+0x94/0x498)
[    2.912591] [<c07289bc>] (cpuidle_enter_state) from [<c0728e04>] (cpuidle_enter+0x30/0x4c)
[    2.920575] [<c0728e04>] (cpuidle_enter) from [<c034ab54>] (do_idle+0x1d8/0x240)
[    2.928905] [<c034ab54>] (do_idle) from [<c034ae64>] (cpu_startup_entry+0x1c/0x20)
[    2.936465] [<c034ae64>] (cpu_startup_entry) from [<c0b00e5c>] (start_kernel+0x4dc/0x4ec)
[    2.943839] [<c0b00e5c>] (start_kernel) from [<00000000>] (0x0)
[    2.952078] Rebooting in 1 seconds..

This is my env from boot prompt:

boot> env print
autostart=yes
baudrate=115200
bootcmd=tftpboot 0x44000000 wg2600hp-initramfs.bin;\
bootipq
bootdelay=5
ethact=eth1
ethrotate=no
ipaddr=192.168.0.4
machid=1260
rootfstype=ramfs
serverip=192.168.0.74
stderr=serial
stdin=serial
stdout=serial

Did you use a initramfs image file as wg2600hp-initramfs.bin?
ex (19.07.4): openwrt-19.07.4-ipq806x-generic-nec_wg2600hp-initramfs-uImage

1 Like

BTW: For now, I recommend setting 'ping ${serverip} && set autostart yes && tftpboot 0x44000000 wg2600hp-initramfs.bin; bootipq' to bootcmd.
If the method described in the commit is used, there is a problem that if a device is connected to the lan port, retries will be repeated until tftpboot succeeds even if you do not intend to do tftpboot. It's my bad...

1 Like

Solved, First fw_env.config was created in /env/ before soldering jumperheaders on main pcb and used a 5 volt usb-uartconverter and GTKTerm to open the console.

Then I used ipq806x-generic-nec_wg2600hp-initramfs-uImage on the tftpserver as boot image, finally I downloaded and upgraded to sysfs image using the builtin webui. Reboot works both with and without network connected.

I did not leave the automatic tftp boot configuration as this would give me unexpected behavior in the future if I forget about the setting.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.