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

AX3000T为什么在20240123的release中移除了multi-layout #52

Open
Pil0tXia opened this issue Feb 2, 2024 · 7 comments
Open

AX3000T为什么在20240123的release中移除了multi-layout #52

Pil0tXia opened this issue Feb 2, 2024 · 7 comments

Comments

@Pil0tXia
Copy link

Pil0tXia commented Feb 2, 2024

  1. 在 20231124 版本中,AX3000T 的 uboot 文件名为mt7981_ax3000t-fip-fixed-parts-multi-layout.bin;在 20240123 版本中,AX3000T 的 uboot 文件名为mt7981_ax3000t-fip-fixed-parts.bin
  2. 在实际刷机测试中,20240123 版本的 uboot webui 没有Choose mtd layout选项。我也没有在 release note 中见到相关更改。请问这是一个 release 错误吗?还是做了更好的兼容处理呢?
  3. 使用 20240123 版本的 uboot webui 刷入237immortalwrt-mediatek-mt7981-xiaomi_mi-router-ax3000t-squashfs-sysupgrade.bin固件时,页面定格在UPDATE IN PROGRESS,无法自动跳转到UPGRADE COMPLETE。(但固件可以刷入)
  4. 刷入固件后,在 ssh 中运行ubinfo -a命令,得到以下结果:
root@ImmortalWrt:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 08000000 00020000 "spi0.0"
mtd1: 00100000 00020000 "BL2"
mtd2: 00040000 00020000 "Nvram"
mtd3: 00040000 00020000 "Bdata"
mtd4: 00200000 00020000 "Factory"
mtd5: 00200000 00020000 "FIP"
mtd6: 00040000 00020000 "crash"
mtd7: 00040000 00020000 "crash_log"
mtd8: 07000000 00020000 "ubi"
mtd9: 00040000 00020000 "KF"
root@ImmortalWrt:~# cat /proc/partitions
major minor  #blocks  name

  31        0     131072 mtdblock0
  31        1       1024 mtdblock1
  31        2        256 mtdblock2
  31        3        256 mtdblock3
  31        4       2048 mtdblock4
  31        5       2048 mtdblock5
  31        6        256 mtdblock6
  31        7        256 mtdblock7
  31        8     114688 mtdblock8
  31        9        256 mtdblock9
 253        0      35588 ubiblock0_1
 252        0     114688 zram0
root@ImmortalWrt:~# ubinfo -a
UBI version:                    1
Count of UBI devices:           1
UBI control device major/minor: 10:62
Present UBI devices:            ubi0

ubi0
Volumes count:                           3
Logical eraseblock size:                 126976 bytes, 124.0 KiB
Total amount of logical eraseblocks:     896 (113770496 bytes, 108.5 MiB)
Amount of available logical eraseblocks: 0 (0 bytes)
Maximum count of volumes                 128
Count of bad physical eraseblocks:       0
Count of reserved physical eraseblocks:  19
Current maximum erase counter value:     2
Minimum input/output unit size:          2048 bytes
Character device major/minor:            249:0
Present volumes:                         0, 1, 2

感谢!

@DRAWCORE
Copy link

DRAWCORE commented Feb 7, 2024

同问

1 similar comment
@a49783534
Copy link

同问

@tsl0922
Copy link
Contributor

tsl0922 commented Mar 17, 2024

估计是漏编译了吧,实测自己编译的版本使用没问题

@xt683501
Copy link

我也想问。。

@donsionhudev
Copy link

我现在刷了这个版本的uboot,任何系统都刷不进去了,连备份的mtd8都刷不进去。这个uboot是什么布局?

@lu0se
Copy link

lu0se commented Apr 18, 2024

同问这个uboot默认刷入的布局

@Grinch27
Copy link

Grinch27 commented Apr 19, 2024

建议自己拉取仓库进行编译,个人测试了release的最新版本,非multi-layout版本只能刷入作者的immortalwrt固件。

而在本地机器和actions,拉取仓库并添加multi-layout选项编译得到的uboot,经个人测试:

default布局:成功刷入openwrt(非ubootmod)和immortalwrt(stock);
112m大分区:成功刷入immortalwrt和hanwckf这两位作者的immortalwrt(ubootmod)
据网上资料称,openwrt和immoralwrt的ubootmod分区上有差异,谨慎起见没有测试能否刷入openwrt(ubootmod)版本。

至于release的uboot。在尝试重现问题时,发现:uboot的webui界面能够刷入openwrt的initramfs-factory过渡固件,但启动后在系统界面无法成功刷入squashfs-sysupgrade,重启后仍旧提示是临时过渡不会保存任何设置。

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

No branches or pull requests

8 participants