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 TQC-A01 with allwinner H6 #1111

Merged
merged 1 commit into from
Feb 27, 2023
Merged

ADD support for TQC-A01 with allwinner H6 #1111

merged 1 commit into from
Feb 27, 2023

Conversation

13584452567
Copy link
Contributor

目前dtb只在5.10内核上测试过。等编译出其他版本之后再进行测试。

@13584452567 13584452567 changed the title ADD support for allwinner H6 ADD support for TQC-A01 with allwinner H6 Feb 27, 2023
@ophub ophub merged this pull request into ophub:main Feb 27, 2023
@ophub
Copy link
Owner

ophub commented Feb 27, 2023

armbianEnv.txt
里面缺设置项吧
fdtfile
rootflags

@13584452567
Copy link
Contributor Author

确实缺了这两个配置,但是奇怪的是用armbian官方仓库编译出来的文件没有这两个配置也跑起来了

@ophub
Copy link
Owner

ophub commented Feb 27, 2023

真晕,一早上修改的都没了,网卡,我发不出消息,把你的提交给覆盖了。你稍等10分钟我再修改下然后你重新pr吧,真抱歉

@13584452567
Copy link
Contributor Author

OK,小问题。

@ophub
Copy link
Owner

ophub commented Mar 3, 2023

目前 Amlogic 和 Rockchip 的使用通用文件(common-files) + 平台文件(platform-files)可以正常工作。但 Allwinner 目前方案挺多,可以临时依靠差异化设置(different-files)解决,主要就是 /boot 下的这些文件,临时用一个设备一个方案吧,例如 vplus 的方案: https://github.com/ophub/amlogic-s9xxx-armbian/tree/main/build-armbian/armbian-files/different-files

https://github.com/ophub/amlogic-s9xxx-armbian/blob/bc640d655ffb150c50f885b462ef2618ed297a5f/rebuild#L586-L590

通用文件放在:build-armbian/armbian-files/common-files 目录下,各平台通用。

平台文件分别放在 build-armbian/armbian-files/platform-files/ 目录下,AmlogicRockchipAllwinner 分别共用各自平台的文件,其中 bootfs 目录下是 /boot 分区的文件,rootfs 目录下的是 Armbian 系统文件。

如果个别设备有特殊差异化设置需求,在 build-armbian/armbian-files/different-files 目录下添加以 BOARD 命名的独立目录,根据需要建立 bootfs 目录添加系统 /boot 分区下的相关文件,如果建立了 bootfs 目录,制作 Armbian 镜像时将会删除从通用文件和平台文件中添加的 bootfs 相关的文件,使用此目录下的文件。根据需要建立 rootfs 目录添加系统文件,各文件夹命名以 Armbian 系统中的实际路径为准,用于添加新文件,或覆盖从通用文件和平台文件中添加的同名文件。

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.

2 participants