bl-mt798x icon indicating copy to clipboard operation
bl-mt798x copied to clipboard

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

Open Pil0tXia opened this issue 1 year ago • 7 comments

  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

感谢!

Pil0tXia avatar Feb 02 '24 11:02 Pil0tXia

同问

DRAWCORE avatar Feb 07 '24 01:02 DRAWCORE

同问

a49783534 avatar Mar 07 '24 11:03 a49783534

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

tsl0922 avatar Mar 17 '24 00:03 tsl0922

我也想问。。

xt683501 avatar Mar 17 '24 12:03 xt683501

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

donsionhudev avatar Apr 09 '24 14:04 donsionhudev

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

lu0se avatar Apr 18 '24 12:04 lu0se

建议自己拉取仓库进行编译,个人测试了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,重启后仍旧提示是临时过渡不会保存任何设置。

Grinch27 avatar Apr 19 '24 10:04 Grinch27