steev | bleh | 01:52 |
---|---|---|
steev | audio doesn't work with 5.15 either. probably needs alsa config | 01:52 |
steev | c0rnelius: yeah, no audio - i tried snagging the axg-sound-card.conf from libreelec but no luck there, might need some of their patches. and while reboot works, shutdown does not | 02:35 |
c0rnelius | Like the mixer doesn't come up or just no sound. | 02:42 |
c0rnelius | I suspected it would have either a reboot or shutdown issue. typical. | 02:43 |
steev | there's no sound, bunch of errors about no device found iirc | 02:48 |
steev | by iirc, i mean it's -22 which means no device | 02:48 |
c0rnelius | Well its in in DTS and even has the #include <dt-bindings/sound/meson-g12a-tohdmitx.h> | 02:54 |
c0rnelius | Doesn't mean much though. | 02:54 |
c0rnelius | Obviously something is a miss | 02:54 |
steev | yeah | 03:02 |
steev | unfortunately, i fucking hate dealing with audio | 03:02 |
steev | so i usually just don't bother | 03:02 |
c0rnelius | Its sometimes stupid stuff. Something not added in defconfig. Other times its more complicated. | 03:05 |
c0rnelius | It could be something as stupid as its missing an include or using the wrong one. Have to look into it when I get it. | 03:07 |
c0rnelius | And yes, sounds is usually the last of my looks sees as I can't imagine I would be using this board beyond headless use. | 03:08 |
c0rnelius | Unless I was running CoreELEC on it or something. | 03:08 |
c0rnelius | I mean its also audio through HDMI? Which I usually don't mess with unless in a multimedia situation anyway. | 03:11 |
c0rnelius | I have my doubts that its even really clocked and running at 180000. It is a S905* correct? Amlogic always lies about that lineup. Oh yeah it can do this! You mean it says it can, right? | 03:14 |
c0rnelius | For example the S905X3 clocks at 210000 and in all honesty is great in the media arena but is still dog slower than ur casual pi4. | 03:17 |
c0rnelius | and lets get real. The pi4 ain't winning any races. | 03:18 |
c0rnelius | To be honest my whole interest in the board is mostly out of boredom. I've run out of things to work on :) | 03:22 |
c0rnelius | steev: What PSU are you using for it? | 03:23 |
c0rnelius | typical one? nothing fancy. | 03:23 |
steev | one sec | 03:23 |
steev | https://smile.amazon.com/dp/B01N336XEU | 03:23 |
c0rnelius | Amazon says I have two of those already. So perfect. :) Thanx | 03:24 |
steev | :D | 03:24 |
steev | i might have bought it based on a link from you | 03:25 |
steev | was definitely a link from someone else | 03:25 |
steev | i specifically wanted a 5v 3a | 03:25 |
c0rnelius | I like NorthPada | 03:25 |
steev | because of overclocking my p4 | 03:25 |
c0rnelius | yeah | 03:25 |
c0rnelius | Interesting. I don't even see Radxa Zero in the CoreELEC lineup yet. | 03:31 |
c0rnelius | and they obviously dropped cash, look under support: https://coreelec.org/ | 03:33 |
steev | probalby isn't | 03:42 |
steev | i was just looking through chewitt's stuff | 03:42 |
c0rnelius | He has the fips and other stuff but no imgs as of yet I can find | 03:45 |
steev | yeah | 03:57 |
steev | i think the audio stuff is holding it back still, he did say it's wip iirc | 03:57 |
steev | in #linux-amlogic someone was trying to get audio working on a different box | 03:57 |
c0rnelius | this looks interesting -> https://lore.kernel.org/linux-amlogic/20211117052147.GC215087@roeck-us.net/T/#t | 04:05 |
c0rnelius | Although I don't use watchdog, but maybe the fact thats its looking for it is creating the hiccup. | 04:05 |
c0rnelius | I know that and nomap is what was creating N2/+'s to kernel panic and do random reboots. | 04:08 |
c0rnelius | nomap not allowing the CMA pool to be populated and watchdog just rebooting the system. | 04:09 |
steev | c0rnelius: btw, it looks like you could probably hardcode the aliases for mmc in the dts | 04:19 |
steev | something like https://patchwork.kernel.org/project/linux-arm-msm/patch/20211201020559.1611890-1-dmitry.baryshkov@linaro.org/ | 04:19 |
c0rnelius | I've seen they have been working on this. I can't be 100% but it really seems like a uboot issue. | 04:21 |
steev | if the aliases are there, i believe the kernel numbering would take prescedence when the kernel takes over | 04:22 |
c0rnelius | For example I haven't been having the mmc changes on allwinner and rockchip. But I notice it a lot on amlogic. | 04:22 |
steev | (alternatively... put them in the u-boot dts :D ) | 04:22 |
c0rnelius | Could be right... I hope they make the change where it needs to be done because its a real pain in the ass. | 04:23 |
steev | agreed | 06:14 |
artchad | eyyyy, that was easier than expected. | 16:52 |
artchad | Good evening. | 16:52 |
steev | c0rnelius: https://github.com/radxa/kernel/commit/b44f9b961315d98785198e193cba184b51d63cc4 this could probably be added to mainline too | 18:03 |
c0rnelius | steev: already one step ahead of you :) | 18:03 |
c0rnelius | building a new img now for you to test | 18:03 |
steev | oh nice | 18:04 |
steev | can do | 18:04 |
c0rnelius | and it looks like it can be overclocked | 18:09 |
c0rnelius | I just need to figure out microvolt | 18:09 |
c0rnelius | to play it safe I could probs stick in turbo mode | 18:11 |
c0rnelius | https://www.cnx-software.com/2018/10/21/comparison-s905x-s905x2-s905x2-processors/#:~:text=Amlogic%20S905X2%20%2F%20S905Y2%20%E2%80%93%2018%2C400%20DMIPS,2.3%20DMIPS%2FMHz%20%3D%202000%20MHz | 18:13 |
steev | yeah | 18:50 |
steev | i don't think these get too terribly hot, i've never seen mine go above 65 with not even a heatsink, while running 4 compile jobs | 18:50 |
c0rnelius | steev: https://github.com/pyavitz/binary/releases/download/060420/g12a-radxa-zero-debian-bullseye-5.15.6-2021-12-01.img.xz | 19:24 |
c0rnelius | same as before -> steev:board | 19:24 |
c0rnelius | internet options on first boot -> https://github.com/pyavitz/debian-image-builder#bootrename_to_credentialstxt | 19:25 |
c0rnelius | As for the overclock I just don't wanna burn someones board without testing it myself, but I already looked at it and should be doable. | 19:26 |
c0rnelius | I could either leave the microvolt where it currently is and add the extra opp or up the microvolt by 3 to 6 steps which seems to be whats going on in that file. I could just skip 1900 MHz and jump it to 2000 MHz with turbo mode option. | 19:30 |
steev | fair enough | 20:00 |
steev | booted up, no stoppage at first boot like before, and creds ran fine as well | 20:09 |
c0rnelius | Awesome thats good news | 20:10 |
c0rnelius | no hdmi audio still? | 20:10 |
steev | well, hard to say since no desktop, let me get to that part lol | 20:11 |
c0rnelius | I was looking through some patches over at armbian that may or may not relate to that. | 20:11 |
steev | ah | 20:12 |
steev | first boot ran, but it didn't resize | 20:12 |
c0rnelius | It wasn't Radxa specific though. | 20:12 |
steev | but i think you know that | 20:12 |
c0rnelius | lsblk | 20:12 |
steev | well i jsut resized it :( | 20:13 |
c0rnelius | If ur on mmcblk2 eMMC with the vendor img, it should have resized? I would think. | 20:13 |
steev | https://bpa.st/LGBA | 20:13 |
steev | oh, i've been doing this on sdcard, i didn't realize you wanted me to test emmc | 20:14 |
c0rnelius | No I didn't want you too | 20:14 |
c0rnelius | sd is fine | 20:14 |
c0rnelius | but the script just checks all locations and attempts to resize | 20:15 |
c0rnelius | Thats why its odd | 20:15 |
steev | it looks like this time, emmc is mmcblk1 | 20:15 |
c0rnelius | Guess I'll figure it out when I get the board. | 20:16 |
steev | still, it's quite workable | 20:23 |
steev | great job | 20:23 |
c0rnelius | Thanx. | 20:45 |
c0rnelius | steev: Question. Does the board reboot and poweroff correctly now? Also is that HDD connected by a USB powered hub? | 20:46 |
steev | reboot yes | 20:46 |
steev | no the usb hd isn't via usb poweredd hub | 20:46 |
steev | that's why i said i should probably use a proper power supply and not just use the mac's usb port :D | 20:47 |
c0rnelius | still doesn't power down though. | 20:47 |
steev | i will test shudown shortly | 20:47 |
c0rnelius | Well yeah because you could be feeding power back into the board from the mac | 20:48 |
c0rnelius | Although the S905X also has a power down problem. It powers off and just turns back on. | 20:49 |
c0rnelius | Did that LED bit I added to the DTS do anything? | 20:50 |
steev | radxa-zero:green | 20:57 |
steev | yep | 20:57 |
c0rnelius | Thanx. I'll update the hub. | 21:00 |
steev | mmc2 trigger works well (the wifi) | 21:03 |
c0rnelius | and the bluetooth is now working out of the box? | 21:04 |
c0rnelius | I noticed some differences in how chewitt created the audio section of the dts vs the radxa guys. Not sure if that could be the reason why audio isn't working though. | 21:05 |
c0rnelius | chewitt added dai-link-0 -> https://github.com/pyavitz/debian-image-builder/blob/feature/patches/amlogic/radxazero/001-arm64-dts-amlogic-add-support-for-radxa-zero.patch#L187 | 21:07 |
c0rnelius | Thats not in the dts over at the radxa hub | 21:07 |
steev | if you look at the commit prior to the one i linked earlier... they removed it downstream hoping to fix the broken audio issue, but it does not | 21:15 |
c0rnelius | oh ok | 21:17 |
steev | and yes, bluetooth and wifi work out of the box | 21:29 |
c0rnelius | sweet | 21:36 |
c0rnelius | making a new kernel now with some added audio goodness, lets see if it corrects the problem. | 21:37 |
c0rnelius | steev: When you get a chance see if this make any diff on sound. `sudo dpkg -i *.deb` | 22:33 |
c0rnelius | https://github.com/pyavitz/binary/releases/download/060420/meson64-linux-headers_5.15.6-2_arm64.deb | 22:34 |
c0rnelius | https://github.com/pyavitz/binary/releases/download/060420/meson64-linux-image_5.15.6-2_arm64.deb | 22:34 |
steev | c0rnelius: no audio | 23:12 |
steev | but it does at least try now | 23:12 |
steev | dmesg is spammed with | 23:13 |
c0rnelius | ok... well one step closer then. | 23:13 |
steev | [ 33.759591] fe.dai-link-2: ASoC: no backend DAIs enabled for fe.dai-link-2 | 23:13 |
steev | [ 33.759596] fe.dai-link-2: ASoC: dpcm_fe_dai_prepare() failed (-22) | 23:13 |
steev | (and -1 and -0 ) | 23:13 |
steev | probably needs a proper config, or maybe even needs a ucm2 config | 23:13 |
c0rnelius | I looked through the config all the audio seemed right to me. | 23:14 |
steev | oh sorry | 23:14 |
steev | i mean proper alsa config, not kernel config | 23:14 |
c0rnelius | oh gotcha | 23:15 |
c0rnelius | aplay -l give you anything? | 23:15 |
steev | it does! | 23:15 |
steev | https://bpa.st/IMNA | 23:15 |
c0rnelius | Strange. Its all the same card with just diff device numbers. | 23:16 |
c0rnelius | Could try setting up a /etc/asound.conf? | 23:18 |
c0rnelius | https://www.alsa-project.org/wiki/Asoundrc | 23:18 |
c0rnelius | It looks like its getting picked up but there is some kind of conflict going on. Could even be missing some firmware or something? | 23:19 |
c0rnelius | that error seems to pop a lot when searched. Odroid, Manjaro and https://www.spinics.net/lists/linux-tegra/msg61332.html | 23:25 |
c0rnelius | Suggests a revert there. | 23:25 |
c0rnelius | I'll check through my Odroid patch set and see if anything stands out. | 23:26 |
steev | i *hate* dealing with audio on linux nowadays, because of so many moving parts | 23:39 |
c0rnelius | Yeah its real pain. | 23:42 |
c0rnelius | Its usually the last thing I really pay attention too. | 23:43 |
c0rnelius | nothing is standing out to me except in the sound/soc/meson/axg-frddr.c file. tobetter changes the channels from 1 to 2. | 23:51 |
c0rnelius | Other than that nothing audio wise is really looking at me. | 23:52 |
c0rnelius | Nothing I haven't tried yet anyway | 23:53 |
c0rnelius | If aplay is showing us its there we at least know that much. | 23:54 |
c0rnelius | this looks an awful lot like the zero dts too -> https://github.com/armbian/build/blob/master/patch/kernel/archive/meson64-5.15/0033-WIP-arm64-dts-meson-add-audio-playback-to-u200.patch | 23:55 |
c0rnelius | except I'm assuming that has a analog audio port | 23:55 |
c0rnelius | or some kind of audio hat ability or something? Not sure. | 23:57 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!