-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
sunxi-6.10: Add armbian patches #7127
Conversation
Proposing to remove the bigtreetech cb1 related patches that use the old pre-mainline device trees, for 6.10 the |
I only have bananpi-m64 available. |
That's fine, I'll touch this up in a later PR |
At this stage, the compilation is error-free for arm64, I'm done with this. |
8d9cc20
to
3469e02
Compare
building package |
@JohnTheCoolingFan You can just continue. |
Getting an error trying to do
|
It looks like I haven't made a commit with the bugs fixed. This is my inattention. |
Simply changed some file names so that the cb1 dtsi enhancements would be applied and other dts files won't be created, trying to use the |
What does |
Well, there's no eth0 interface and the only snippet I could find about hdmi is this:
I suspect that there might be something about the device tree not loading properly, but the patches to explicitly enable hdmi and ethernet are applied with no errors, perhaps I overlooked something? A warning during compile, or changes in drivers from 6.6... Will have to do quite a bit of investigation on that one. At least the board boots properly, wifi works fine at least. |
After I adapted the patches and began to build, the compiler reported an error dtc --sort -I fs -O dts /sys/firmware/devicetree/base > dts-out.txt Maybe this will give you a clue. As for Ethernet eth0. |
Well, here's the output file from that command: As for ethernet, yes, it is dependent on sunxi pwm, but also from what I remember u-boot also plays a role in initializing the ethernet PHY. |
Hi @The-going , regarding the sunxi's pwm driver and gmac driver, created a PR at you fork, please have a look: |
a20c297
to
54d2934
Compare
I didn't understand what it was about. |
Yes, that one. |
What does this code do? It is a very bad practice to use any hooks for patches. It is also a very bad practice to make symbolic links in a folder for one kernel version to existing patch files in a folder for another kernel version. |
Please do this in a separate pull request. |
Change
Will do. A PR to main armbian repo or to the branch of this PR? Just to clarify |
And please mark it as a bugfix |
BigTreeTech CB1 working on this branch rebased on current main (https://github.com/JohnTheCoolingFan/armbian-build/tree/main-sunxi-6.10-btt-cb1-hdmi), Ethernet works, HDMI doesn't, I don't know the reason, but it's ok for this PR and I will address that in a future PR after this gets merged. As for which device trees to use, also matter of discussion for next PRs. |
Hi @The-going , Usually, there should be some Are there any patches related to this in the older kernel versions? If so, I'd be happy to assist with porting them to the new kernel. |
Yes there is. But it can also be incorrectly applied (written)
I'm sorry, I caught a cold and got sick. I hope to be able to continue in three days. |
Take care! No worries, I'll continue working on this branch to ensure the OPi Zero2W runs smoothly on version 6.10. |
Adapt the patch series to the new v6.10.5 kernel version
The patches in the series were applied to the Linux kernel git repository as the "git am" command. And then re-extracted to the target patches.armbian folder using the tools/mk_format_patch script. In this case, the series.armbian file is created anew and all patches in the series strictly correspond to this list. I.e. unused ones will be deleted. The name of the patch file will match the string "Subject:". Signed-off-by: The-going <[email protected]>
Add a lost patch adding spi1_cs1_pin for sun50i-h616
Recent changes in the kernel make the patch unusable for drm/sun4i/sun4i_hdmi_enc.c. I'll deal with it later if someone doesn't fix it sooner.
There have been changes to the temperature driver in the v6.10.5..v6.10.9 range. |
To make our patch work, we will return to the edid structure while it is safe.
43090de
to
ed353ae
Compare
@igorpecovnik At this stage, compilation I think it can be merge with the main branch. |
@JohnTheCoolingFan @chraac |
Thank you guys for the hard work |
Description
How Has This Been Tested?