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
Attach Meson64 CURRENT to 5.6.y and make DEV = CURRENT at this point. #1956
Conversation
There is a lot of changes to 5.7.y and can be done after release or by someone that feels a need for this right now.
I built this merge and failed to boot on lepotato with 2 different SD Cards
Boot logs for attempts 1 and 2 |
odroidn2 boots from this branch... (still can't change screen resolution in boot.ini) |
this fix has been upstream for some time, I had issues with it on 5.4, which is why it had been removed there.
While with 5.4.y. this is possible? |
I think not in this case. You'll notice I wiped out the div3 clock patch
as superseded. @lanefu just out of curiosity if you get to it before me
try to boot the le potato now that that redundant patch was removed, I
remember some problem with booting 5.4 when I deleted that patch before.
…On Tue, May 12, 2020, 3:42 AM Igor Pečovnik ***@***.***> wrote:
still can't change screen resolution in boot.ini
While with 5.4.y. this is possible?
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
<#1956 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFATFAXD7BVOZLKFXJMEK3TRRD4VFANCNFSM4M5GNQMQ>
.
|
@Tonymac32 yep that worked! |
....but no audio on desktop... i see modukles loaded.. but pulseaudio doesnt |
Good!
The audio I will need to look at, we have a lot of patches, some probably
overlap.
There are Rockchip patches in here as well, I think we should get rid of
those. (Rkvdec, etc)
…On Tue, May 12, 2020, 10:32 AM lanefu ***@***.***> wrote:
....but no audio on desktop... i see modukles loaded.. but pulseaudio
doesnt
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1956 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFATFASUFEJDZPTJPEZKCMTRRFMXPANCNFSM4M5GNQMQ>
.
|
... reboot also doesn't seem to be working but works in 5.4..... not sure we're ready to make the switch to 5.6 yet
|
This is showstopper. If we can't fix this, merge goes in after release. |
Reboot I think is being a problem in general, try with a non-UHS as card.
I just saw a patch for something like this, let me check it out
…On Tue, May 12, 2020, 12:33 PM Igor Pečovnik ***@***.***> wrote:
... reboot also doesn't seem to be working but works in 5.4
This is showstopper. If we can't fix this, merge goes in after release.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1956 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFATFAV2BJLK6HW2TOMOZ5LRRF24XANCNFSM4M5GNQMQ>
.
|
I'm quite sure the device tree nodes also changed the arrangement in kernel 5.6 |
disable Rockchip SoC drivers
@Tonymac32 your recent push fixed reboot for potato |
Reboot works on Le Potato, Does NOT work on Odroid C2 |
Ooo a wrinkle
…On Thu, May 14, 2020, 2:11 PM lanefu ***@***.***> wrote:
Reboot works on Le Potato, Does NOT work on Odroid C2
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1956 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFATFAQI7WJUMGJL5EE3NLLRRQX4JANCNFSM4M5GNQMQ>
.
|
Update. C2 reboots when using EMMC, not SSD... this may be a fix... chewitt/linux@65801c3 |
I just checked 5.4.y kernel again on a known-to-make-troubles-on-5-6 SD card and it also does not reboot. Which means we don't have a regression and can merge. Audio can perhaps be solved later if we have no time to deal with this right now? |
I'm torn... if audio used to work on our "stable" images 5.4 and then we publish ones that don't, we're reducing functionality....and if people apt upgrade then they could potentially lose functionality, correct? (lose audio going from 5.4 to 5.6) We should either fix, or hold off.. and if we push a intermediate update after then so be it. |
I am at a loss here, it looks like everything is where it belongs, but
there are no audio devices.
…On Mon, May 18, 2020, 9:48 AM lanefu ***@***.***> wrote:
I'm torn... if audio used to work on our "stable" images 5.4 and then we
publish ones that don't, we're reducing functionality....and if people apt
upgrade then they could potentially lose functionality, correct? (lose
audio going from 5.4 to 5.6)
We should either fix, or hold off.. and if we push a intermediate update
after then so be it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1956 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFATFAQMQ5HVG77ETGYPZEDRSE4B5ANCNFSM4M5GNQMQ>
.
|
Kernel config too? |
I'm fixing the merge conflicts on branch |
@Tonymac32 There is some weirdness to handle using alsamixer to get HDMI audio. Alsamixer provides two playback devices, the left one is HDMI and the right one is SPDIF. HDMI was disabled by default, had to switch (using up&down cursors) to I2S to get audio from pulseaudio default device. Be sure you get these strings in dmesg:
|
I just did a wipe/start over with the series on my machine, let me try
again.
…On Tue, May 19, 2020, 12:47 PM Paolo ***@***.***> wrote:
@Tonymac32 <https://github.com/Tonymac32>
I managed to get audio node on GXBB targets with this patch:
https://github.com/paolosabatino/armbian-build/blob/mxq-s905-v20/patch/kernel/meson64-dev/1000-arm64-dts-gxbb-audio.patch
There is some weirdness to handle using alsamixer to get HDMI audio.
Alsamixer provides two playback devices, the left one is HDMI and the right
one is SPDIF. HDMI was disabled by default, had to switch (using up&down
cursors) to I2S to get audio from pulseaudio default device.
At last, audio is high pitched as like as playback sampling rate is higher
than normal (clock issues I guess)
[image: immagine]
<https://user-images.githubusercontent.com/15271078/82354178-c2607400-9a00-11ea-81a1-0f0dbdee826b.png>
Be sure you get these strings in dmesg:
gx-sound-card sound: snd-soc-dummy-dai <-> I2S FIFO mapping ok
gx-sound-card sound: CODEC CTRL HDMI I2S IN <-> I2S Encoder mapping ok
gx-sound-card sound: dit-hifi <-> SPDIF Encoder mapping ok
gx-sound-card sound: i2s-hifi <-> CODEC CTRL HDMI OUT mapping ok
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1956 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFATFAWEQPPFVTMRHCO3Z2TRSKZ2XANCNFSM4M5GNQMQ>
.
|
This brings the dts even with the khilman 5.8/integ branch which includes all of the audio changes. The kernel is registering audio devices, however nothing comes out. committed in case someone wants to spend time debugging/testing theories.
I added my patch for the Potato, no output, however the device tree matches the upstream one precisely (board dts, SoC dtsi, SoC family dtsi). If anyone wants to try anything out, go for it. |
was editing from another machine, accidental change of permissions in the patch
@igorpecovnik these need added to the builds somehow to get the mixer setup properly: amixer -c 0 sset 'AIU SPDIF SRC SEL' 'SPDIF' The analog codec is still inert, but that is no change from before. I need to patch La Frite, K2, and C2, then it should be good |
Great!
Probably creating and applying asound.state ? |
Working on it. |
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
This moves to the mainline patches and covers le potato and la frite. Adjusted asound config to handle a commonized sound card name.
Playback is too fast, a clock setting is off somewhere.
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
…armbian#1956) * Attach Meson64 CURRENT to 5.6.y and make DEV = CURRENT at this point. There is a lot of changes to 5.7.y and can be done after release or by someone that feels a need for this right now. * Delete meson64_fclk_div3.patch this fix has been upstream for some time, I had issues with it on 5.4, which is why it had been removed there. * [ meson64 current ] kconfig tweak disable Rockchip SoC drivers * [ meson64 current ] remove rockchip patches * [ meson64 current ] disable CMA patch GX * [ meson64 current] add libretech cc audio patch This brings the dts even with the khilman 5.8/integ branch which includes all of the audio changes. The kernel is registering audio devices, however nothing comes out. committed in case someone wants to spend time debugging/testing theories. * fix permissions was editing from another machine, accidental change of permissions in the patch * Set default mixer settings Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com> * [ meson64 current ] GXL audio commit This moves to the mainline patches and covers le potato and la frite. Adjusted asound config to handle a commonized sound card name. * [ meson64 current ] add gxbb audio WIP Playback is too fast, a clock setting is off somewhere. * Update kernel configs Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com> Co-authored-by: Tony <tonymckahan@gmail.com>
There is a lot of changes on patchset for 5.7.y ... sorting out DEV branch ATM is not critical and can be done after release or by someone that feels a need to do this right now.
Tested on FriendlyARM K2 and C4
Closes AR-236