恩山无线论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 252|回复: 6

编译了一个7620a固件,断电通电就恢复出厂设置?

[复制链接]
发表于 2021-5-8 09:34 | 显示全部楼层 |阅读模式
本帖最后由 sd462355991 于 2021-5-8 10:52 编辑

编译了一个7620a固件,基本什么插件都去掉了,容量7.6m  刷进路由器后,使用正常,但是断电后等几秒再通电,里面的配置恢复了刚编译的设置,不能保存我后来设置的。进路由器软件包看了下,空闲空间是0,意思是空间不够?
但我路由是16m+128M的怎么会不够? 要怎么解决呢,才能支持16m?

内核日志
[    0.000000] Linux version 4.14.195 (cheng@cheng) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r3171-2f74b3eff)) #0 Wed Apr 28 09:45:47 2021
[    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 YOUKU YK1
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    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] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] On node 0 totalpages: 32768
[    0.000000] free_area_init_node: node 0, pgdat 8055b180, node_mem_map 81000040
[    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] random: get_random_bytes called from start_kernel+0x98/0x4a4 with crng_init=0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32480
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    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] Writing ErrCtl register=0006a5be
[    0.000000] Readback ErrCtl register=0006a5be
[    0.000000] Memory: 117248K/131072K available (4324K kernel code, 195K rwdata, 968K rodata, 6728K init, 218K bss, 13824K 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.000012] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
[    0.015471] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[    0.087713] pid_max: default: 32768 minimum: 301
[    0.097170] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.110190] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.131105] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.150597] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.162800] pinctrl core: initialized pinctrl subsystem
[    0.173665] NET: Registered protocol family 16
[    0.212885] rt2880_gpio 10000600.gpio: registering 24 gpios
[    0.223921] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[    0.236502] rt2880_gpio 10000638.gpio: registering 16 gpios
[    0.247500] rt2880_gpio 10000638.gpio: registering 16 irq handlers
[    0.260097] rt2880_gpio 10000660.gpio: registering 32 gpios
[    0.271093] rt2880_gpio 10000660.gpio: registering 32 irq handlers
[    0.283694] rt2880_gpio 10000688.gpio: registering 1 gpios
[    0.294515] rt2880_gpio 10000688.gpio: registering 1 irq handlers
[    0.307352] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.331884] clocksource: Switched to clocksource systick
[    0.343640] NET: Registered protocol family 2
[    0.353101] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.366876] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.379465] TCP: Hash tables configured (established 1024 bind 1024)
[    0.392251] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.403767] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.416535] NET: Registered protocol family 1
[    0.425125] PCI: CLS 0 bytes, default 32
[    2.661885] random: fast init done
[   11.467158] rt-timer 10000100.timer: maximum frequency is 1220Hz
[   11.479963] Crashlog allocated RAM at address 0x3f00000
[   11.492343] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[   11.512284] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[   11.523780] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[   11.867683] io scheduler noop registered
[   11.875396] io scheduler deadline registered (default)
[   11.886411] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   11.900082] console [ttyS0] disabled
[   11.907138] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a Palmchip BK-3103
[   11.926804] console [ttyS0] enabled
[   11.940621] bootconsole [early0] disabled
[   11.962690] spi spi0.0: force spi mode3
[   11.971170] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[   11.981343] 4 fixed-partitions partitions found on MTD device spi0.0
[   11.994005] Creating 4 MTD partitions on "spi0.0":
[   12.003558] 0x000000000000-0x000000030000 : "u-boot"
[   12.014421] 0x000000030000-0x000000040000 : "u-boot-env"
[   12.025964] 0x000000040000-0x000000050000 : "factory"
[   12.036984] 0x000000050000-0x000002000000 : "firmware"
[   12.047292] mtd: partition "firmware" extends beyond the end of device "spi0.0" -- size truncated to 0xfb0000
[   12.074918] libphy: Fixed MDIO Bus: probed
[   12.091944] gsw: setting port4 to ephy mode
[   12.100324] ralink_soc_eth 10100000.ethernet eth0 (uninitialized): port 3 link up (100Mbps/Full duplex)
[   12.119301] ralink_soc_eth 10100000.ethernet: loaded mt7620 driver
[   12.132346] ralink_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[   12.149912] rt2880_wdt 10000120.watchdog: Initialized
[   12.161398] NET: Registered protocol family 10
[   12.174718] Segment Routing with IPv6
[   12.182204] NET: Registered protocol family 17
[   12.191125] 8021q: 802.1Q VLAN Support v1.8
[   12.241543] Freeing unused kernel memory: 6728K
[   12.250600] This architecture does not have kernel memory protection.
[   12.279437] init: Console is alive
[   12.286683] init: - watchdog -
[   12.345271] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[   12.430087] usbcore: registered new interface driver usbfs
[   12.441232] usbcore: registered new interface driver hub
[   12.451955] usbcore: registered new device driver usb
[   12.469122] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   12.484171] ehci-platform: EHCI generic platform driver
[   12.505001] phy phy-usbphy.0: remote usb device wakeup disabled
[   12.516811] phy phy-usbphy.0: UTMI 16bit 30MHz
[   12.525683] ehci-platform 101c0000.ehci: EHCI Host Controller
[   12.537183] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[   12.553086] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[   12.574613] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[   12.588173] hub 1-0:1.0: USB hub found
[   12.596192] hub 1-0:1.0: 1 port detected
[   12.607504] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   12.621818] ohci-platform: OHCI generic platform driver
[   12.632625] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[   12.646225] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[   12.662127] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[   12.700060] hub 2-0:1.0: USB hub found
[   12.708080] hub 2-0:1.0: 1 port detected
[   12.754921] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[   12.773563] init: - preinit -
[   12.884488] usb 1-1: new high-speed USB device number 2 using ehci-platform
[   13.080232] random: jshn: uninitialized urandom read (4 bytes read)
[   13.105241] random: procd: uninitialized urandom read (4 bytes read)
[   13.196664] random: jshn: uninitialized urandom read (4 bytes read)
[   13.940395] 8021q: adding VLAN 0 to HW filter on device eth0
[   15.487097] procd: - early -
[   15.493052] procd: - watchdog -
[   15.904272] procd: - watchdog -
[   15.910952] procd: - ubus -
[   15.924337] urandom_read: 5 callbacks suppressed
[   15.924347] random: ubusd: uninitialized urandom read (4 bytes read)
[   15.954120] random: ubusd: uninitialized urandom read (4 bytes read)
[   15.968578] procd: - init -
[   16.697975] kmodloader: loading kernel modules from /etc/modules.d/*
[   16.736925] NET: Registered protocol family 38
[   16.786385] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[   16.850913] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   16.932932] nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
[   17.140221] Netfilter messages via NETLINK v0.30.
[   17.157497] ip_set: protocol 6
[   17.236914] urngd: jent-rng init failed, err: 2
[   17.252846] cryptodev: driver 1.10 loaded.
[   17.272431] Loading modules backported from Linux version v5.8.18-0-gab435ce49bd1
[   17.287418] Backport generated by backports.git v5.8.18-1-0-ga630fd46
[   17.304962] ip_tables: (C) 2000-2006 Netfilter Core Team
[   17.530827] xt_time: kernel timezone is -0000
[   17.627143] PPP generic driver version 2.4.2
[   17.639447] PPP MPPE Compression module registered
[   17.651213] NET: Registered protocol family 24
[   17.699708] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device "factory"
[   17.714183] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 6352, rev 0500 detected
[   17.729630] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 7620 detected
[   17.743469] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   17.794802] kmodloader: done loading kernel modules from /etc/modules.d/*
[   58.500831] random: crng init done
[   83.503453] 8021q: adding VLAN 0 to HW filter on device eth0
[   83.538937] br-lan: port 1(eth0.1) entered blocking state
[   83.549960] br-lan: port 1(eth0.1) entered disabled state
[   83.561126] device eth0.1 entered promiscuous mode
[   83.570673] device eth0 entered promiscuous mode
[   83.660237] br-lan: port 1(eth0.1) entered blocking state
[   83.671067] br-lan: port 1(eth0.1) entered forwarding state
[   83.682386] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   84.531305] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   88.229591] ieee80211 phy0: rt2800_rf_self_txdc_cal: Info - RF Tx self calibration start
[   88.246271] ieee80211 phy0: rt2800_rf_self_txdc_cal: Info - RF Tx self calibration end
[   90.290563] ieee80211 phy0: rt2800_loft_iq_calibration: Info - LOFT Calibration Done!
[   90.310145] ieee80211 phy0: rt2800_iq_search: Info - IQCalibration Start!
[   90.338073] ieee80211 phy0: rt2800_iq_search: Info - IQCalibration Done! CH = 0, (gain= f, phase=3e)
[   90.357191] ieee80211 phy0: rt2800_iq_search: Info - IQCalibration Start!
[   90.385114] ieee80211 phy0: rt2800_iq_search: Info - IQCalibration Done! CH = 1, (gain= 0, phase=3e)
[   90.403346] ieee80211 phy0: rt2800_loft_iq_calibration: Info - TX IQ Calibration Done!
[   90.432808] ieee80211 phy0: rt2800_rxiq_calibration: Info - RXIQ G_imb=-4, Ph_rx=1
[   90.460617] ieee80211 phy0: rt2800_rxiq_calibration: Info - RXIQ G_imb=2, Ph_rx=-3
[   90.485499] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   90.528850] br-lan: port 2(wlan0) entered blocking state
[   90.539521] br-lan: port 2(wlan0) entered disabled state
[   90.550525] device wlan0 entered promiscuous mode
[   90.605799] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   90.618836] br-lan: port 2(wlan0) entered blocking state
[   90.629479] br-lan: port 2(wlan0) entered forwarding state
[  401.759558] ralink_soc_eth 10100000.ethernet eth0: port 3 link down
[  401.774528] br-lan: port 1(eth0.1) entered disabled state
[  403.458854] ralink_soc_eth 10100000.ethernet eth0: port 3 link up (100Mbps/Full duplex)
[  403.475651] br-lan: port 1(eth0.1) entered blocking state
[  403.486467] br-lan: port 1(eth0.1) entered forwarding state
[  486.943904] ralink_soc_eth 10100000.ethernet eth0: port 4 link up (100Mbps/Full duplex)

我的恩山、我的无线 The best wifi forum is right here.
发表于 2021-5-8 09:49 | 显示全部楼层
刷完在系统里面升级s
我的恩山、我的无线 The best wifi forum is right here.
发表于 2021-5-8 10:17 来自手机 | 显示全部楼层
内核日志发一下
我的恩山、我的无线 The best wifi forum is right here.
 楼主| 发表于 2021-5-8 10:48 | 显示全部楼层
snowlxylxy 发表于 2021-5-8 09:49
刷完在系统里面升级s

能说详细点吗?不是很理解
我的恩山、我的无线 The best wifi forum is right here.
 楼主| 发表于 2021-5-8 10:54 | 显示全部楼层
LGA1150 发表于 2021-5-8 10:17
内核日志发一下

日志发了,你刷新看下
我的恩山、我的无线 The best wifi forum is right here.
发表于 2021-5-8 11:22 | 显示全部楼层
刷错固件了,要刷squashfs-sysupgrade.bin而不是initramfs-kernel.bin
来自安卓客户端来自安卓客户端
我的恩山、我的无线 The best wifi forum is right here.
发表于 2021-5-8 12:15 | 显示全部楼层
如楼上说的,应该是刷成 initramfs 了
我的恩山、我的无线 The best wifi forum is right here.
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )|网站地图

GMT+8, 2021-6-20 18:46

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表