-
-
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.12: Switch to v6.12.16, Add HDMI support #7752
Conversation
e319eac
to
9193744
Compare
I haven't been able to get the M4 Zero to boot above v2024.04 in Armbian for some reason. I figured it was something in the Kernel patching as I am able to do so in my personal builds. Does this PR have eMMC boot support? |
u-boot v2025.01 in the default configuration for h616, implies OF_UPSTREAM to be set to
eMMC is detected correctly. I haven't tried downloading from eMMC yet. Detected problems: Strange. The same changes on core 6.6, the HDMI works for me, |
Is the Ethernet working? |
It uses emac1, which at this time requires some special driver and although some one recently added it to Armbian I haven't tried testing it. Doesn't even have an eth port anyway, which I'm guessing means there is a HAT you can use on it. As for the u-boot, yes I've done all that. The issue for me, is that above U-Boot v2024.04 it won't load the Armbian kernel. It just hangs at the loading stage. If I use my own kernel, it loads fine. Not sure why, just like I haven't been able to figure out why the Bluetooth fails to load in Armbian either. |
I suspect that this is with the 6.6 kernel. |
Maybe some of these patches will help? |
You decide when this is ready. Also we need to move CURRENT to 6.12, legacy 6.6, edge 6.13 by the end of 2/2025. Any deep problems preventing this? |
We can reschedule it at any time.
What should I do first? |
Kernel 6.12 should be main priority, 6.13 slow. |
It's been a long time since I've read so much primary documentation. @TheSnowfield @chraac @JohnTheCoolingFan |
Tried this branch on bigtreetech cb1, ethernet works as usual. |
It looks like after sunxi-6.7 the "drivers-hack-for-h616-hdmi-video-output.patch" and several |
Added the DE33 driver.
|
Sorry, I can't test my sakurapi-3308b, because it was a broken boot on the latest Armbian. I haven't figured out the problem. |
I'm sorry. I thought your interest was sunxi. But your devices are on rockchip chips. |
Haha, never mind. sunxi chip devices will come later :) |
e429cff
to
20a8a83
Compare
DMESG: bananapim4berry:~$ dmesg | grep -iE 'drm|hdmi|gpu'
[ 0.098994] /soc/hdmi@6000000: Fixed dependency cycle(s) with /soc/tcon-top@6510000
[ 0.099054] /soc/tcon-top@6510000: Fixed dependency cycle(s) with /soc/hdmi@6000000
[ 0.103915] /soc/hdmi@6000000: Fixed dependency cycle(s) with /soc/tcon-top@6510000
[ 0.104280] /soc/hdmi@6000000: Fixed dependency cycle(s) with /soc/tcon-top@6510000
[ 0.104438] /soc/tcon-top@6510000: Fixed dependency cycle(s) with /soc/hdmi@6000000
[ 0.106983] /soc/hdmi@6000000: Fixed dependency cycle(s) with /connector
[ 0.107066] /connector: Fixed dependency cycle(s) with /soc/hdmi@6000000
[ 1.597542] sun4i-drm display-engine: bound 1100000.mixer (ops 0xffff80008119ac98)
[ 1.604970] sun4i-drm display-engine: bound 6510000.tcon-top (ops 0xffff80008119fa38)
[ 1.610933] sun4i-drm display-engine: bound 6515000.lcd-controller (ops 0xffff800081197a60)
[ 1.613434] sun8i-dw-hdmi 6000000.hdmi: Detected HDMI TX controller v2.12a with HDCP (DWC HDMI 2.0 TX PHY)
[ 1.621580] sun8i-dw-hdmi 6000000.hdmi: EVENT=plugin
[ 1.622717] sun8i-dw-hdmi 6000000.hdmi: registered DesignWare HDMI I2C bus driver
[ 3.483673] sun4i-drm display-engine: bound 6000000.hdmi (ops 0xffff800081199d60)
[ 3.491742] [drm] Initialized sun4i-drm 1.0.0 for display-engine on minor 0
[ 3.498754] sun8i-dw-hdmi 6000000.hdmi: read_hpd result: 1
[ 4.107497] sun4i-drm display-engine: [drm] fb0: sun4i-drmdrmfb frame buffer device
[ 8.567030] systemd[1]: Starting [email protected] - Load Kernel Module drm...
[ 9.102893] systemd[1]: [email protected]: Deactivated successfully.
[ 9.115476] systemd[1]: Finished [email protected] - Load Kernel Module drm.
[ 40.468588] sun8i-dw-hdmi 6000000.hdmi: EVENT=plugin
[ 41.362152] sun8i-dw-hdmi 6000000.hdmi: EVENT=plugin At this stage, HDMI works on two boards. @igorpecovnik I think it can be taken if someone approves it. |
Please excuse me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merge at will
merge |
20a8a83
to
28591d3
Compare
Also disable some megous patches and TV Output on OrangePi-Zero-LTE patch
Delete pre-applied ones and re-export patches.
Signed-off-by: The-going <[email protected]>
28591d3
to
4079cb9
Compare
Description
How Has This Been Tested?