TX8 MAX盒子使用KVM虚拟机安装OpenWrt
Fengke6 opened this issue · comments
虚拟机安装时出现标题报错,无法进行。
什么虚拟机?
英文的意思是按任意键继续
安装f大VM版openwrt时
截图,是点开始安装的时候?这个错误多点几次就好了,有时候开始安装点击的时候是失败,多点几次
按照f大教程里的步骤,用的远程安装
你这表述不知道你在操作哪步
描述你操作到哪一步了,截取图片包含你的上下步骤,
网络问题吧,就是按照f大步骤一步一步来的,点击开始安装时出现标题
多点几次。什么盒子?
多点。什么盒子?
TX8 MAX 芯片S912,安装对应210,蓝牙不能用,WiFi可以用
这是千兆盒子?你的蓝牙是什么芯片?
210的蓝牙是qca9377
https://www.gearbest.com/tv-box-mini-pc/pp_636787.html
是这个盒子?我查了下是千兆有线。你查查他的蓝牙芯片是什么。
210蓝牙是什么? 这款https://www.tanix-box.com/download-view/tx8-max-firmware-3gb-16gb32gb-9377-android-7-1-2-full-image-beta/ WiFi/BT:9377 ram 3G ROM 32G 安装选择的Nexbox A95X A2
9377应该是可以使用的啊,a2上使用这个dtb蓝牙无线都可以使用,你稍等我给你整个dtb你试试
你现在系统里的内核版本是哪个?
我重启了还是不行
9377应该是可以使用的啊,a2上使用dtb蓝牙等我都可以使用,你给你整个dtb你
你现在系统里的内核版本是哪个?
内核是5.15.61
你上图的错误就是他说明文档里的 5.3 EFI 启动失败,我也有遇到,多点几次开始安装,我点了四五次报错,多点几次才安装开始
添加了9377蓝牙,你试试:meson-gxm-tx8-max.dtb.zip
下载并解压缩这个文件,得到meson-gxm-tx8-max.dtb
把他上传到/boot/dtb/amlogic
目录里
然后修改/boot/uEnv.txt
文件,把里面的dtb名字改为这个meson-gxm-tx8-max.dtb
保存并重启:sync && reboot
重启后看看蓝牙是否启动:dmesg | grep Blue*
截图反馈下
dmesg | grep Blue*
root@armbian:~# dmesg | grep Blue*
[ 10.903072] Bluetooth: Core ver 2.22
[ 10.909079] Bluetooth: Starting self testing
[ 10.932175] Bluetooth: ECDH test passed in 16774 usecs
[ 10.949518] Bluetooth: SMP test passed in 5524 usecs
[ 10.949582] Bluetooth: Finished self testing
[ 10.953362] Bluetooth: HCI device and connection manager initialized
[ 10.953381] Bluetooth: HCI socket layer initialized
[ 10.953390] Bluetooth: L2CAP socket layer initialized
[ 10.953427] Bluetooth: SCO socket layer initialized
[ 11.085018] Bluetooth: HCI UART driver ver 2.3
[ 11.085039] Bluetooth: HCI UART protocol H4 registered
[ 11.085044] Bluetooth: HCI UART protocol BCSP registered
[ 11.090744] Bluetooth: HCI UART protocol LL registered
[ 11.105552] Bluetooth: HCI UART protocol ATH3K registered
[ 11.105683] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 11.117065] Bluetooth: HCI UART protocol Intel registered
[ 11.136230] Bluetooth: HCI UART protocol Broadcom registered
[ 11.147543] Bluetooth: HCI UART protocol QCA registered
[ 11.152432] Bluetooth: HCI UART protocol AG6XX registered
[ 11.157860] Bluetooth: HCI UART protocol Marvell registered
[ 11.176437] Bluetooth: hci0: setting up ROME/QCA6390
[ 11.390782] Bluetooth: hci0: Frame reassembly failed (-84)
[ 11.390830] Bluetooth: hci0: Frame reassembly failed (-84)
[ 11.591200] systemd[1]: Reached target Bluetooth Support.
[ 13.709300] Bluetooth: hci0: command 0xfc00 tx timeout
[ 21.816131] Bluetooth: hci0: Reading QCA version information failed (-110)
[ 21.828823] Bluetooth: hci0: Retry BT power ON:0
[ 22.047613] Bluetooth: hci0: Frame reassembly failed (-84)
[ 24.375986] Bluetooth: hci0: command 0xfc00 tx timeout
[ 32.485954] Bluetooth: hci0: Reading QCA version information failed (-110)
[ 32.487220] Bluetooth: hci0: Retry BT power ON:1
[ 32.704024] Bluetooth: hci0: Frame reassembly failed (-84)
[ 32.704088] Bluetooth: hci0: Frame reassembly failed (-84)
[ 35.045964] Bluetooth: hci0: command 0xfc00 tx timeout
[ 43.149331] Bluetooth: hci0: Reading QCA version information failed (-110)
[ 43.150618] Bluetooth: hci0: Retry BT power ON:2
[ 43.364349] Bluetooth: hci0: Frame reassembly failed (-84)
[ 45.712646] Bluetooth: hci0: command 0xfc00 tx timeout
[ 53.815936] Bluetooth: hci0: Reading QCA version information failed (-110)
我修改了一下,你下载这个,解压缩,覆盖原文件/boot/dtb/amlogic/meson-gxm-tx8-max.dtb
保存并重启:sync && reboot
重启后看看蓝牙是否启动:dmesg | grep Blue*
截图反馈下
不会是qcow2.xz没有解压吧?
确实没有解压.7Z格式
阿门,这都让你猜到了。
上面的第二个编译的dtb能不能激活蓝牙?
我修改了,你下载了这个,解压缩,覆盖原文件
/boot/dtb/amlogic/meson-gxm-tx8-max.dtb
保存并重启:
sync && reboot
重启后查看蓝牙是否启动:
dmesg | grep Blue*
截图反馈
root@armbian:# dmesg | grep Blue*# dmesg | grep Blue*
root@armbian:
root@armbian:~#
没输出是不是OK了
阿门,这都让你猜到了 。
以前刷F大的都不解压,这次教程里也没说,我就直接传了。
解压后重建虚拟系统,还是这样。不过我发现重置虚拟系统刚启动时,按esc,会调到KVM设置界面
不可能没输出啊,哪怕错误信息也得输出吧
armbian-config
--- Network
--- BT Install
你进入这个,选择蓝牙,安装,试试看看
你先试试蓝牙
虚拟机这个要一步步截图,看看你哪步不对。
你先试试蓝牙
虚拟机这个要步骤截图,看看你哪一步不对。
安装BT后 输入dmesg | grep Blue* 还重启了,跟刚才一样没输出
再换这个,解压,覆盖原文件,我又改了下
第二步,这个文件名重命名下,如openwrt.qcow2
,然后上传到/var/lib/libvirt/images
目录下,在第二步时点上面的刷新按钮,再选择这个新名字的固件
你发的系列图上面的dtb你试试,加了状态输出的。你替换了再看看蓝牙
又改了改,再试试
现在我的HDMI没有信号,更改deb前已经这样了,不知道哪里出错了
虚拟机的这个错误,报错后接着再点开始安装,多点几次就可以了,我的gtk-pro安装也是点四五次才开始的,报错和你一样
因为你使用的是别的a2盒子的dtb,他的一些接口设置可能和你不同,在a2下他的有线、无线、蓝牙都正常,而且他的蓝牙也是qca9377
root@armbian:~# dmesg | grep Blue*
[ 11.361638] Bluetooth: Core ver 2.22
[ 11.367629] Bluetooth: Starting self testing
[ 11.390628] Bluetooth: ECDH test passed in 16606 usecs
[ 11.402291] Bluetooth: SMP test passed in 5437 usecs
[ 11.408198] Bluetooth: Finished self testing
[ 11.419732] Bluetooth: HCI device and connection manager initialized
[ 11.425685] Bluetooth: HCI socket layer initialized
[ 11.425706] Bluetooth: L2CAP socket layer initialized
[ 11.425746] Bluetooth: SCO socket layer initialized
[ 11.591359] Bluetooth: HCI UART driver ver 2.3
[ 11.597161] Bluetooth: HCI UART protocol H4 registered
[ 11.597181] Bluetooth: HCI UART protocol BCSP registered
[ 11.597314] Bluetooth: HCI UART protocol LL registered
[ 11.613016] Bluetooth: HCI UART protocol ATH3K registered
[ 11.613198] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 11.624810] Bluetooth: HCI UART protocol Intel registered
[ 11.625375] Bluetooth: HCI UART protocol Broadcom registered
[ 11.625470] Bluetooth: HCI UART protocol QCA registered
[ 11.625478] Bluetooth: HCI UART protocol AG6XX registered
[ 11.625642] Bluetooth: HCI UART protocol Marvell registered
[ 11.627624] Bluetooth: hci0: setting up ROME/QCA6390
[ 11.837365] Bluetooth: hci0: Frame reassembly failed (-84)
[ 12.110680] Bluetooth: hci0: QCA Product ID :0x00000008
[ 12.119573] Bluetooth: hci0: QCA SOC Version :0x00000023
[ 12.119590] Bluetooth: hci0: QCA ROM Version :0x00000302
[ 12.119595] Bluetooth: hci0: QCA Patch Version:0x00000111
[ 12.119607] Bluetooth: hci0: QCA controller version 0x00230302
[ 12.119615] Bluetooth: hci0: QCA Downloading qca/rampatch_00230302.bin
[ 12.119776] Bluetooth: hci0: QCA Failed to request file: qca/rampatch_0023030 2.bin (-2)
[ 12.119783] Bluetooth: hci0: QCA Failed to download patch (-2)
[ 14.349560] Bluetooth: hci0: Frame reassembly failed (-84)
[ 24.507227] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 24.510958] Bluetooth: BNEP filters: protocol multicast
[ 24.511000] Bluetooth: BNEP socket layer initialized
[ 24.547628] Bluetooth: hci0: setting up ROME/QCA6390
[ 24.757501] Bluetooth: hci0: Frame reassembly failed (-84)
[ 25.043019] Bluetooth: hci0: QCA Product ID :0x00000008
[ 25.045752] Bluetooth: hci0: QCA SOC Version :0x00000023
[ 25.051049] Bluetooth: hci0: QCA ROM Version :0x00000302
[ 25.056389] Bluetooth: hci0: QCA Patch Version:0x00000111
[ 25.056422] Bluetooth: hci0: QCA controller version 0x00230302
[ 25.056431] Bluetooth: hci0: QCA Downloading qca/rampatch_00230302.bin
[ 25.083001] Bluetooth: hci0: QCA Failed to request file: qca/rampatch_0023030 2.bin (-2)
[ 25.083021] Bluetooth: hci0: QCA Failed to download patch (-2)
[ 11.627624] Bluetooth: hci0: setting up ROME/QCA6390
怎么你的老是找这个呢?你的芯片确定是qca9377吗?主板上的型号是这个?很多盒子都同名不同芯
确定是,因为以前刷官方固件时有两个版本,那个版本没有WiFi
要不你有空的时候用usb试试OpenWrt,看看这个固件的蓝牙能不能用,a2的用户反馈是可以用的。
https://github.com/ophub/amlogic-s9xxx-openwrt/releases/tag/OpenWrt_Aml_lede_08.17.1311
要不你有空的时候用usb试试OpenWrt,看看这个固件的蓝牙能不能用,a2的用户反馈是可以用的。
https://github.com/ophub/amlogic-s9xxx-openwrt/releases/tag/OpenWrt_Aml_lede_08.17.1311
蓝牙基本用不到,麻烦你了O弟!
KVM虚拟机的步骤截图我看不出错误了,KVM我也刚学不久懂的比较肤浅,得找f大求救了,你到群里再请教一下他吧。
HDMI没信号怎么排除故障,下午时候能用
KVM我准备换个固件试下
我们的原则是可以不用,不能没有,哈哈,蓝牙可以使用蓝牙听歌,可以使用蓝牙键盘鼠标,而且qca9377是驱动支持的,让f大给你调教一下很容易搞定。
HDMI之前能用,是换固件了?你换回之前的a2的dtb
这个芯片比较小众吧
很多,我经常碰到,添加过不少都支持了
KVM的固件昨晚他刚发了新版,百度网盘里有
你换回之前的a2的dtb
跟DTB没关系,换之前,我搞虚拟机装东西,又在armbian-congif设置有关
你换回之前的a2的dtb
跟DTB没关系,换之前,我搞虚拟机装东西,又在armbian-congif设置有关,我不知道怎么排除故障
先折腾,等整顺了重装一下。
KVM在没教程之前我也是费死劲没装上,后来问了f大一遍才装上,后来他出了教程,现在的步骤说明还是比较完善的,我后来装的几个机器都很容易装好了。
你是照着他的教程安装的那些依赖和环境设置?还是使用的armbian-software软件中心安装的KVM环境?
我按他教程安装的依赖包,一直报错我又在armbian-software软件中心升级了一下
我重新安装系统,安装F大8.18固件1次成功了
恭喜恭喜,KVM环境是通过armbian-software安装的?还是依次按照教程复制粘贴的?
用的教程力度,然后用的X11,没装桌面环境
要不你有空的时候用usb试试OpenWrt,看看这个固件的蓝牙能不能用,a2的用户反馈是可以用的。
https://github.com/ophub/amlogic-s9xxx-openwrt/releases/tag/OpenWrt_Aml_lede_08.17.1311
老大,这个镜像里没有蓝牙必备的bluez,尝试安装的话提示内核模块版本不匹配。。。难道只能自己再重新编译一个?
翻了翻文档,感觉一时半会儿的搞不明白。
你也是一个tx8 max盒子?还是a2呢?
你也是一个tx8 max盒子?还是a2呢?
只有tx8 max和a2用的镜像里有bluez?我以为所有的镜像根系统都基本一样呢。
我的是m401a/cm311-1a,之前尝试openwrt来着,发现除了自己编译外都没办法安装bluez,就放弃转armbian了。
阿门,这都让你猜到了 。
以前刷F大的都不解压,这次教程里也没说,我就直接传了。 解压后重建虚拟系统,还是这样。不过我发现重置虚拟系统刚启动时,按esc,会调到KVM设置界面
不解压也能行?
我参考f大教程装了hassos,第一次没解压,问题和你开始一样,然后解压重建虚拟机直接就起来了。
顺便说一下,感觉o大已经把系统里的脚本整理好了,armbian-software安装kvm后几乎所有设置都是正好的,直接建虚拟机就行。
有些芯片要在dtb里面添加,比如qca9377蓝牙是这样添加,tbee就是在meson-gxl-s905x-p212.dtb的原型上添加了这个蓝牙即可使用
阿门,这都让你猜到了 。
以前刷F大的都不解压,这次教程里也没说,我就直接传了。 解压后重建虚拟系统,还是这样。不过我发现重置虚拟系统刚启动时,按esc,会调到KVM设置界面
不解压也能行? 我参考f大教程装了hassos,第一次没解压,问题和你开始一样,然后解压重建虚拟机直接就起来了。 顺便说一下,感觉o大已经把系统里的脚本整理好了,armbian-software安装kvm后几乎所有设置都是正好的,直接建虚拟机就行。
你说的是对的用o大armbian-software安装的kvm,不用安装X11字库,会自动建立bv0虚拟网卡(要reboot才能使用)。
看你的name最后一个词 openwrt
有些芯片要在dtb里面添加,比如qca9377蓝牙是这样添加,tbee就是在meson-gxl-s905x-p212.dtb的原型上添加了这个蓝牙即可使用
这个我理解只是把蓝牙硬件驱动起来,bluez还是必须得有的吧?除了编译固件时把它选进去,后期安装好像还是会因为内核模块版本问题受阻?
明白了,正确的命令是virsh start openwrt
要去掉vm_
驱动有了,在armbian-config 里安装蓝牙即可使用
驱动有了,在armbian-config 里安装蓝牙即可使用
老大,刚才说的是openwrt。。。armbian里面我已经学会了,openwrt里面搞不定。如果openwrt里面能搞定蓝牙的话,就值得试试了。
驱动有了,在armbian-config 里安装蓝牙即可使用
我试下给你答复
ophub/amlogic-s9xxx-openwrt@4c107bf
https://github.com/ophub/amlogic-s9xxx-openwrt/blob/ff9955112c9e1e75897ba628d2eaa089ba82e864/make#L531-L534
dmesg | grep Blue*
[ 9.855537] Bluetooth: Core ver 2.22
[ 9.868921] Bluetooth: Starting self testing
[ 9.900982] Bluetooth: ECDH test passed in 12122 usecs
[ 9.908189] Bluetooth: SMP test passed in 3884 usecs
[ 9.911384] Bluetooth: Finished self testing
[ 9.935194] Bluetooth: HCI device and connection manager initialized
[ 9.941508] Bluetooth: HCI socket layer initialized
[ 9.946302] Bluetooth: L2CAP socket layer initialized
[ 9.951389] Bluetooth: SCO socket layer initialized
[ 9.988292] Bluetooth: HCI UART driver ver 2.3
[ 9.993508] Bluetooth: HCI UART protocol H4 registered
[ 10.002511] Bluetooth: HCI UART protocol BCSP registered
[ 10.002705] Bluetooth: HCI UART protocol LL registered
[ 10.012953] Bluetooth: HCI UART protocol ATH3K registered
[ 10.013121] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 10.035251] Bluetooth: HCI UART protocol Intel registered
[ 10.043794] Bluetooth: HCI UART protocol Broadcom registered
[ 10.043898] Bluetooth: HCI UART protocol QCA registered
[ 10.043903] Bluetooth: HCI UART protocol AG6XX registered
[ 10.043960] Bluetooth: HCI UART protocol Marvell registered
[ 10.044835] Bluetooth: hci0: setting up ROME/QCA6390
[ 10.253940] Bluetooth: hci0: Frame reassembly failed (-84)
[ 10.540287] Bluetooth: hci0: QCA Product ID :0x00000008
[ 10.540307] Bluetooth: hci0: QCA SOC Version :0x00000023
[ 10.540311] Bluetooth: hci0: QCA ROM Version :0x00000302
[ 10.540316] Bluetooth: hci0: QCA Patch Version:0x00000111
[ 10.540325] Bluetooth: hci0: QCA controller version 0x00230302
[ 10.540332] Bluetooth: hci0: QCA Downloading qca/rampatch_00230302.bin
[ 10.540540] Bluetooth: hci0: QCA Failed to request file: qca/rampatch_0023030 2.bin (-2)
[ 10.540546] Bluetooth: hci0: QCA Failed to download patch (-2)
[ 19.997314] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 20.000434] Bluetooth: BNEP filters: protocol multicast
[ 20.005150] Bluetooth: BNEP socket layer initialized
[ 20.027730] Bluetooth: hci0: setting up ROME/QCA6390
[ 20.240656] Bluetooth: hci0: Frame reassembly failed (-84)
[ 20.509788] Bluetooth: hci0: QCA Product ID :0x00000008
[ 20.511649] Bluetooth: hci0: QCA SOC Version :0x00000023
[ 20.516862] Bluetooth: hci0: QCA ROM Version :0x00000302
[ 20.522137] Bluetooth: hci0: QCA Patch Version:0x00000111
[ 20.527542] Bluetooth: hci0: QCA controller version 0x00230302
[ 20.533280] Bluetooth: hci0: QCA Downloading qca/rampatch_00230302.bin
[ 20.548774] Bluetooth: hci0: QCA Failed to request file: qca/rampatch_0023030 2.bin (-2)
[ 20.556601] Bluetooth: hci0: QCA Failed to download patch (-2)
[ 125.687237] Bluetooth: hci0: Frame reassembly failed (-84)
[ 156.315866] Bluetooth: hci0: setting up ROME/QCA6390
[ 156.531487] Bluetooth: hci0: Frame reassembly failed (-84)
[ 156.803633] Bluetooth: hci0: QCA Product ID :0x00000008
[ 156.806918] Bluetooth: hci0: QCA SOC Version :0x00000023
[ 156.811955] Bluetooth: hci0: QCA ROM Version :0x00000302
[ 156.817291] Bluetooth: hci0: QCA Patch Version:0x00000111
[ 156.822646] Bluetooth: hci0: QCA controller version 0x00230302
[ 156.828428] Bluetooth: hci0: QCA Downloading qca/rampatch_00230302.bin
[ 156.844457] Bluetooth: hci0: QCA Failed to request file: qca/rampatch_0023030 2.bin (-2)
[ 156.852400] Bluetooth: hci0: QCA Failed to download patch (-2)
你怎么更新的驱动,armbian-config里面添加蓝牙后就可以了?
那我向F大的内核库里提交一个你的专用dtb吧?
你拆机看看蓝牙芯片是什么,qca9377在其他dtb添加的时候都正常识别了
你拆机看看蓝牙芯片是什么,qca9377在其他dtb添加的时候都正常识别了
拆机这会不现实,身边没工具。反正蓝牙能用了,让f大添加到库里吧。。。。我删那条评论是输错命令了,刚又测试了下没问题。
我忘了最后一个是怎么改的了,你试试是不是这个代码生成的。
解压缩后,覆盖同名文件
内核我提交给f大的仓库了。
安装列表里211是新添加的TX8 MAX盒子,以后再生成的固件将含有这个选项。
你的新设备发现及测试反馈我记入贡献者名单了。
你的KVM安装和蓝牙都完美解决了,这个帖子关闭了。
你的KVM安装和蓝牙都完美解决了,这个帖子关闭了。
O第威武