Skip to content
Discussion options

You must be logged in to vote

我看了源码猜测是 target/linux/mediatek/filogic/base-files/lib/upgrade/platform.sh360t7的升级脚本指定了fit_do_upgrade,对应package/utils/fitblk/files/fit.sh 中的判断逻辑去查找 /sys/firmware/devicetree/base/chosen/rootdisk 的类型判断升级方式,而 360t7 的 dts 为了兼容 uboot 的分区没有定义 rootdisk,故编译出的固件也没有这个,所以无法完成升级

root@ImmortalWrt:~# ll /sys/firmware/devicetree/base/chosen/
drwxr-xr-x    2 root     root             0 Jul 14 22:11 ./
drwxr-xr-x   19 root     root             0 Jan  1  1970 ../
-r--r--r--    1 root     root             7 Jul 14 22:11 name
-r--r--r--    1 root     root            17 Jul 14 22:11 stdout-path
-r--r--r--    1 root     root             9 Jul 14 22:11 u-boot,bootconf
-r--r--r--    1 root     root             …

Replies: 5 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@NicolasMe9907
Comment options

Comment options

You must be logged in to vote
3 replies
@sagehou
Comment options

@ningsibuqu
Comment options

@sagehou
Comment options

Answer selected by sagehou
Comment options

You must be logged in to vote
1 reply
@ningsibuqu
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
7 participants