Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for hugsun-zm and delete tqc-a01 #1247

Merged
merged 2 commits into from Apr 5, 2023
Merged

Conversation

13584452567
Copy link
Contributor

@13584452567 13584452567 commented Apr 5, 2023

aw2028的文档与源码,编译文件均来自于长风大佬。十分感谢!

这个仓库的rootfs貌似有哪里不太一样,NetworkManager在tqc-a01上一直起不来,遂放弃支持。

@ophub ophub merged commit 953f2bf into ophub:main Apr 5, 2023
@ophub
Copy link
Owner

ophub commented Apr 5, 2023

好的,谢谢分享。那h6的内核目前也没用了,其他都使用f大的系列内核?

@13584452567
Copy link
Contributor Author

好的,谢谢分享。那h6的内核目前也没用了,其他都使用f大的系列内核?

是的,h6内核配置的删除应该已经推送到你的仓库了。

@ophub
Copy link
Owner

ophub commented Apr 5, 2023

好的。刚才看见你更新了6.1,我还正在编译呢,这没生产就流产了,哈哈

@13584452567
Copy link
Contributor Author

好的。刚才看见你更新了6.1,我还正在编译呢,这没生产就流产了,哈哈

泰奇猫的ac200没有手册移植起来太痛苦了。我的水平也不够让我纯逆向支持它。这ac200控制有线网,音频,IR。驱动不起来泰奇猫完全不可用。emmc的驱动也不标准还要打补丁......过于困难被迫放弃了(;´д`)ゞ

@13584452567
Copy link
Contributor Author

hugsun-zm的编译选项我忘记pr了,需要麻烦你手动处理一下了。

感谢!

@ophub
Copy link
Owner

ophub commented Apr 5, 2023

好的。

led-control这个目录是放在hugsun-zm的系统根目录下?

/led-control
/root
/etc
/usr
/opt
...

@13584452567
Copy link
Contributor Author

led-control这个目录是放在hugsun-zm的系统根目录下?

/led-control
/root
/etc
/usr
/opt
...

是放在/root目录内的。用户第一次登录armbian使用的root账户,这时候直接ls就可以看到这个led-control文件夹

@ophub
Copy link
Owner

ophub commented Apr 5, 2023

好的 。我看串行了,看到是在root目录下了。

@13584452567
Copy link
Contributor Author

有没有什么方法或者教程,可以使用安卓内核驱动linux的发行版?

@ophub
Copy link
Owner

ophub commented Apr 5, 2023

我问过f大,他说 https://github.com/unifreq/linux-5.10.y-rk35xx 这个是安卓,之前想把ct2000这个的无线移植到其他主线里,看了看工作量比较大。你看看用这个。

@13584452567
Copy link
Contributor Author

我问过f大,他说 unifreq/linux-5.10.y-rk35xx 这个更接近安卓,之前想把这个的无线移植到其他主线里,看了看工作量比较大。你看看用这个。

谢谢,我去研究下。

@ophub
Copy link
Owner

ophub commented Apr 5, 2023

他说rk主要就是给安卓用的,安卓12配5.10内核, 13配5.15内核。你去rk仓库里可以fork5.15

ophub added a commit that referenced this pull request Apr 5, 2023
add support for hugsun-zm and delete tqc-a01
@ophub
Copy link
Owner

ophub commented Apr 5, 2023

rk3399-hugsun-zm.dts
这个源码你有没?提交到内核仓库里一份。

@13584452567
Copy link
Contributor Author

rk3399-hugsun-zm.dts 这个源码你有没?提交到内核仓库里一份。

暂时无。等后面有了交进去。

@13584452567
Copy link
Contributor Author

我手里有一块A311D的板子,目前卡启能够正常识别内存大小为4G,但是刷入emmc之后就只有2G了。armbian-install选择的是vim3的安装配置。需要如何更改来修复内存识别?

@ophub
Copy link
Owner

ophub commented Apr 5, 2023

/boot/u-boot-gtkingpro.bin

在usb使用复制成u-boot.ext
在emmc使用复制成u-boot.emmc

如果添加正常了,就不用主线u-boot了。使用主线是: armbian-install -m yes

407 :Khadas-VIM3 :a311d :meson-g12b-a311d-khadas-vim3.dtb :u-boot-gtkingpro.bin :khadas-vim3-u-boot.sd.bin :NA :stable :amlogic :meson-g12b :uEnv.txt :a311d :yes

@13584452567
Copy link
Contributor Author

13584452567 commented Apr 5, 2023

/boot/u-boot-gtkingpro.bin

在usb使用复制成u-boot.ext 在emmc使用复制成u-boot.emmc

如果添加正常了,就不用主线u-boot了。使用主线是: armbian-install -m yes

407 :Khadas-VIM3 :a311d :meson-g12b-a311d-khadas-vim3.dtb :u-boot-gtkingpro.bin :khadas-vim3-u-boot.sd.bin :NA :stable :amlogic :meson-g12b :uEnv.txt :a311d :yes

重命名gtkingpro.bin为u-boot.emmc后uboot报错
card did not respond to voltage select!:-110

311D的u-boot是走主线代码编译出来的吗?

@ophub
Copy link
Owner

ophub commented Apr 5, 2023

是从官方仓库的releases里面下载的,测试过可以使用。

ophub/amlogic-s9xxx-openwrt#210

测试时还是旧内核,你用这个链接里面的源码编译一个。测试好了更新一下u-boot,目前共用的gtk的,可以换一个专用的。这个u-boot源码在f大的仓库里也有源码。

@GD2021
Copy link

GD2021 commented Apr 6, 2023

@13584452567
Copy link
Contributor Author

这个应该是全游盒子的dtb cm9vdA/build-linux@master/boot/dts/rockchip/bsp/rk3399-zcube1-max.dtb

十分感谢!我还在浏览器记录里面翻......

@ophub
Copy link
Owner

ophub commented Apr 8, 2023

这个我看到你提交到F大仓库了,合并后用这个替换现在的?你测试了可以使用吧?

这个云电脑是什么配置呢?几G内存,emmc? 千兆?

@GD2021
Copy link

GD2021 commented Apr 9, 2023

2+16g 千兆网口
image

@GD2021
Copy link

GD2021 commented Apr 9, 2023

这个应该是全游盒子的dtb cm9vdA/build-linux@master/boot/dts/rockchip/bsp/rk3399-zcube1-max.dtb

十分感谢!我还在浏览器记录里面翻......

不客气,这个现在是不是只能线刷? 我写入U盘,U盘启动不了

@13584452567
Copy link
Contributor Author

这个应该是全游盒子的dtb cm9vdA/build-linux@master/boot/dts/rockchip/bsp/rk3399-zcube1-max.dtb

十分感谢!我还在浏览器记录里面翻......

不客气,这个现在是不是只能线刷? 我写入U盘,U盘启动不了

是的,目前的u-boot并没有USB启动的功能,需要刷入emmc使用。

@13584452567
Copy link
Contributor Author

这个我看到你提交到F大仓库了,合并后用这个替换现在的?你测试了可以使用吧?

这个云电脑是什么配置呢?几G内存,emmc? 千兆?

测试可用。
RK3399 2G+16GEMMC 1000M 无蓝牙WIFI

@GD2021
Copy link

GD2021 commented Apr 13, 2023

1、我刷了[Armbian_23.05.0_rockchip_hugsun-zm_bullseye_6.1.23_server_2023.04.12.img.gz],因为刷5.x版本,hdmi不显示,ssh正常;故刷6.x内核版本
2、然后安装了内置的PVE
3、后在openwrt里用opencxx,为何只能跑100m,我的之前用x86能跑500m多

使用这个op固件:https://github.com/breakings/OpenWrt/releases/download/ARMv8Docker/openwrt-armvirt-64-default-rootfs.tar.gz

@ophub
Copy link
Owner

ophub commented Apr 13, 2023

hugsun-zm.dts给5.15的内核也提交一个源码吧。

@cm9vdA
Copy link

cm9vdA commented Apr 14, 2023

https://github.com/cm9vdA/build-linux/blob/master/boot/dts/rockchip/mainline/rk3399-zcube1-max.dts

这是适配主线内核的dts源码,bsp目录里的是从安卓固件提取的dtb

@13584452567
Copy link
Contributor Author

https://github.com/cm9vdA/build-linux/blob/master/boot/dts/rockchip/mainline/rk3399-zcube1-max.dts

这是适配主线内核的dts源码,bsp目录里的是从安卓固件提取的dtb

我上交的是mainline文件夹下的dts。

十分感谢大佬移植的dts文件!

@ophub
Copy link
Owner

ophub commented May 9, 2023

@cm9vdA

#1380

今天用你的脚本编泽了zysj(rk3399)的u-boot和dtb都很顺利,我在ubuntu(x86_64)和armbian下分别编译了一遍,都很顺利地编译完成了,多谢你分享的成果。

我还学习了一下你的armbian编译的程序: https://github.com/cm9vdA/build-armbian ,但是在docker里面报错了

@cm9vdA
Copy link

cm9vdA commented May 18, 2023

@ophub

编译armbian时报的是什么错误?

我平时使用的编译环境是甲骨文的ARM服务器,系统版本Ubuntu 22.04,我没有在其他地方编译过,所以可能有考虑不到的情况。

ophub added a commit that referenced this pull request Jul 27, 2023
add support for hugsun-zm and delete tqc-a01
@nonameaaaaaaaa
Copy link

@13584452567 你知道全游盒子的短接点吗 固件刷错 成砖了

@13584452567
Copy link
Contributor Author

@13584452567 你知道全游盒子的短接点吗 固件刷错 成砖了

你说的是zimo嘛?它的maskrom按钮在耳机孔后面。你愿意拆开的话就用指甲按住。不想拆的话就找个绝缘的东西伸到耳机孔里面按住它。最好不要用导体,不清楚给耳机孔短路会造成什么影响。

@13584452567
Copy link
Contributor Author

好的,谢谢分享。那h6的内核目前也没用了,其他都使用f大的系列内核?

TQC-A01适配蓝牙千兆。目前内核版本6.4.10,该如何提交?

@ophub
Copy link
Owner

ophub commented Aug 20, 2023

https://github.com/ophub/amlogic-s9xxx-armbian/blob/main/documents/README.cn.md

12.15 里是添加新设备的方法,和之前一样。在配置表里,你写6.4.y即可。你有内核仓库吗?是kernel.org默认的源码还是调整过的。我在内核编译的仓库可以新增源,用你的仓库编6.4.y

https://github.com/ophub/amlogic-s9xxx-armbian/blob/main/build-armbian/armbian-files/common-files/etc/model_database.conf

新增6.4.y
https://github.com/ophub/kernel

ophub added a commit that referenced this pull request Aug 20, 2023
add support for hugsun-zm and delete tqc-a01
@13584452567
Copy link
Contributor Author

13584452567 commented Aug 21, 2023

main/documents/README.cn.md

12.15 里是添加新设备的方法,和之前一样。在配置表里,你写6.4.y即可。你有内核仓库吗?是kernel.org默认的源码还是调整过的。我在内核编译的仓库可以新增源,用你的仓库编6.4.y

main/build-armbian/armbian-files/common-files/etc/model_database.conf

新增6.4.y ophub/kernel

非常抱歉现在才回复。

内核代码是调整过的,主要是合入H6的补丁和AC200的驱动。仓库地址是 https://github.com/13584452567/linux-6.4.y ,编译使用的config地址是 https://aur.archlinux.org/cgit/aur.git/plain/config?h=linux-tqc-a01

除了内核以外,沿用之前的文件,我稍后PR。

这个README文件越来越大了,有把它们挪到wiki功能里面的想法嘛?

@ophub
Copy link
Owner

ophub commented Aug 21, 2023

我不会弄wiki啊,我见有人把他整到一个仓库,做成了 xxx.github.io 的方式访问,你说的wiki是这?

@13584452567
Copy link
Contributor Author

我不会弄wiki啊,我见有人把他整到一个仓库,做成了 xxx.github.io 的方式访问,你说的wiki是这?

不是的,就是github的一个功能。在项目配置页面可以手动打开,应该和discussions之类的功能在一个子菜单下面。

github pages也是一个选择,不过维护起来更消耗精力

@ophub
Copy link
Owner

ophub commented Aug 21, 2023

https://github.com/ophub/u-boot

u-boot放这里了。之前amlogic-s9xxx-armbian仓库420mb,其中u-boot占400mb。为了加快actions初始化速度,我把u-boot整个目录移岀来创建了一个新仓库。之后如果有能力的话,我再找点大佬们分享的config,做一个自定义编译的脚本。

@13584452567
Copy link
Contributor Author

ophub/u-boot

u-boot放这里了。之前amlogic-s9xxx-armbian仓库420mb,其中u-boot占400mb。为了加快actions初始化速度,我把u-boot整个目录移岀来创建了一个新仓库。之后如果有能力的话,我再找点大佬们分享的config,做一个自定义编译的脚本。

看到了,已经PR了

ophub added a commit that referenced this pull request Oct 8, 2023
add support for hugsun-zm and delete tqc-a01
ophub added a commit that referenced this pull request Dec 6, 2023
add support for hugsun-zm and delete tqc-a01
ophub added a commit that referenced this pull request Apr 25, 2024
add support for hugsun-zm and delete tqc-a01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants