本帖最后由 lj249911023 于 2023-9-23 23:21 编辑
电视盒子、机顶盒等华为海思芯片设备刷OpenWrt系统旁路由
设备支持适配表 https://www.ecoo.top/histb.html
源码仓库: https://github.com/teasiu/hi-op 源码放在github公开,希望喜欢折腾的捣鼓一下,有好的固件可以分享出来测试。
电视盒子刷OpenWrt系统步骤:
https://bbs.histb.com/d/936-hiopdi-yi-ban-chang-xian-ban
第一步、先把电视盒子刷机成 海纳思系统 https://www.ecoo.top/#menu 保姆级小白刷机教程
第二步、SSH 访问系统,初始默认登陆账号和密码 :root ecoo1234,
第三步、运行一键脚本 bash <(curl https://ecoo.top/hiop.sh) 一键切换到hiop系统。
在hiop的终端下,输入recovernas则一键切换回NAS系统。
注意事项:由于NAS系统版本更新较勤(有时脚本 hiop.sh 忘记及时维护),一键刷OpenWrt系统时如果报错,
需要自己改脚本两个地方如下图所示:把脚本里的版本号,手动改成最新的版本号。
然后用FinalShell等工具上传,然后SSH进入上传目录 bash hiop.sh 运行脚本。
NAS系统里 在终端输入 nasupdate 然后输入 nasupgrade 即可一键全新升级新版本。
或者 bash <(curl https://ecoo.top/mv100_upgrade.sh)
相关下载:↓↓↓↓↓↓↓↓↓↓
https://ecoo.top/hiop.sh
https://dl.ecoo.top/update/system/openwrt-armvirt-32-root.ext4.gz
相关下载:↑↑↑↑↑↑↑↑↑
有大佬能把下面这个网站编译的OpenWrt缝合HI-OP上吗?
https://supes.top
https://op.supes.top
https://openwrt.ai/
https://dl.openwrt.ai/
设备支持适配表 https://www.ecoo.top/histb.html
Hi-OP 系统 自定义源码建议使用ubuntu-20.04 - sudo apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch python3 python2.7 unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler g++-multilib antlr3 gperf wget curl swig rsync qemu-utils android-sdk-ext4-utils
复制代码- ./scripts/feeds update -a
- ./scripts/feeds install -a
- cp demo-32bit.config .config 或者 cp demo-64bit.config .config
- make defconfig
- make
复制代码
刷入指南编译后得到以下文件 - bin/targets/armvirt/64/openwrt-armvirt-64-root.ext4.gz
- 或
- bin/targets/armvirt/32/openwrt-armvirt-32-root.ext4.gz
复制代码 第1种方法:将此文件上传到盒子海纳思系统当前位置
- mount /dev/mmcblk0p8 /media
- cp openwrt-armvirt-64-root.ext4.gz /media/backup-64.gz
- 或者
- cp openwrt-armvirt-32-root.ext4.gz /media/backup-32.gz
- sync
- recoverbackup
复制代码
第2种方法:解压后替换TTL刷机包里的第9分区文档直接ttl线刷
- gunzip openwrt-armvirt-64-root.ext4.gz
- 得到openwrt-armvirt-64-root.ext4
- 重命名为openwrt-armvirt-64-root.img
复制代码
注意:请自行判断你的盒子海纳思系统是32位还是64位并对应使用文档。 或者到社区bbs.histb.com交流。
|