ophub / amlogic-s9xxx-openwrt

Support for OpenWrt in Amlogic, Rockchip and Allwinner boxes. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.
GNU General Public License v2.0
1.8k stars 1.6k forks source link

大佬,请问已经从U盘刷入EMMC了,能否从EMMC启动的Openwrt系统中更换dtb文件,还是必须重新刷机?谢谢! #74

Closed ghost closed 3 years ago

ghost commented 3 years ago

大佬,请问已经从U盘刷入EMMC了,能否从EMMC启动的Openwrt系统中更换dtb文件,还是必须重新刷机?看到大佬为之前为有个老外S912添加编译了无线驱动

CONFIG_PACKAGE_ath10k-board-qca9377=y CONFIG_PACKAGE_ath10k-firmware-qca9377=y CONFIG_PACKAGE_kmod-ath10k=y 我的盒子和他的是一样的,请问现在的固件里还有这些驱动吗?因为我的无线现在也还没有启动起来,谢谢大佬!

ghost commented 3 years ago

看到大佬为之前为有个老外S912添加编译了无线驱动,我的盒子和他的是一样的,

CONFIG_PACKAGE_ath10k-board-qca9377=y CONFIG_PACKAGE_ath10k-firmware-qca9377=y CONFIG_PACKAGE_kmod-ath10k=y 请问现在的固件里还有这些驱动吗?因为我的无线现在也还没有启动起来,谢谢大佬!

ophub commented 3 years ago

yes, you can Login in to openwrt → system menu → Amlogic Service → Replace OpenWrt Kernel

ophub commented 3 years ago

Today's new version supports manual upload of firmware or kernel for upgrade, as well as direct online download of firmware and kernel package upgrade.

Login in to openwrt → system menu → Amlogic Service

https://github.com/ophub/amlogic-s9xxx-openwrt/actions/runs/894545875

Under compiling, then download and use, or you can directly upgrade from the existing firmware

ophub commented 3 years ago

https://github.com/ophub/amlogic-s9xxx-openwrt/blob/main/router-config/openwrt-master/.config

The driver is included here, you can search it, you can fork and then you can add, delete and modify by yourself

ghost commented 3 years ago

我看你发的链接.config里CONFIG_PACKAGE_ath10k-board-qca9377=y,CONFIG_PACKAGE_ath10k-firmware-qca9377=y,CONFIG_PACKAGE_kmod-ath10k=y 三个选项都是选中了的,是不是今天这个固件里就有这个qca9377的无线网卡驱动,谢谢!

ophub commented 3 years ago

https://github.com/ophub/amlogic-s9xxx-openwrt/actions/runs/895145023

Wait for this compilation to download and test

ghost commented 3 years ago

thank you very much

ophub commented 3 years ago

download from here:

https://github.com/ophub/amlogic-s9xxx-openwrt/releases

ghost commented 3 years ago

上传固件后 通过终端 → 输入升级命令: openwrt-update,显示升级成功,但是重启没能成功,重启后未能接入网络,明天通过U盘重刷再试。谢谢!

ophub commented 3 years ago

Your device uses version 5.4.123, do not use version 5.12

The version span is large, do not keep the configuration. If reboot fails to restart, unplug the power supply and plug in the power supply to start.

ghost commented 3 years ago

我升级前的版本是5.4.118,保留配置升级的,拨掉电源,重启未能成功,准备晚上用U盘重刷,直接用U盘重刷可以的吧,不用重新刷入原来的TV系统再重刷?重刷所用固件还是用你昨天给的链接,能用你今天编译出来的最新固件吗?

ophub commented 3 years ago

ok

ghost commented 3 years ago

谢谢,就是能用最新编译的固件,对吧,也能直接用U盘刷,是吧?

ophub commented 3 years ago

yes

ghost commented 3 years ago

谢谢,但是无线还是不能用,只能用章鱼的dtb文件,昨天另外两个dtb刷了启动不了。

ophub commented 3 years ago

test this:

https://github.com/ophub/op/releases/tag/openwrt_s9xxx_2021.06.03.0706

ghost commented 3 years ago

好的,我再测试下,昨天,也就是2号的固件刷入后恢复备份存在密码错误的问题,前天1号的固件刷入后恢复备份存在网络接口配置页面死循环的问题,也许是我的个例,今天再试下这个最新的,谢谢ophub一直的支持。

ophub commented 3 years ago

前天1号的固件刷入后恢复备份存在网络接口配置页面死循环的问题:

https://github.com/openwrt/luci/commits/master

In the past week, the openwrt official website is changing the file information in /etc/config/network, changing the node name from ifname to device.

At present, the official docker network node has not been modified, so it will cause unlimited pop-ups on the network interface. I have added a correction command to the startup task. You can restart twice to remove the pop-up window.

https://github.com/ophub/amlogic-s9xxx-openwrt/blob/main/router-config/openwrt-master/diy-part2.sh#L25

ghost commented 3 years ago

THX