libera/#devuan-arm/ Saturday, 2024-02-17

agnelignarface: hello :) are u still here?08:14
gnarfaceagneli: still alive, only partially here09:57
agnelii have issue on devuan with chees14:46
agnelie14:46
agnelimy board is armv714:46
agneliwithout neon14:46
agneliwhich is the baseline for armhf on devuan(debian)14:46
agneliand I am getting "illegel instruction"14:46
agneli:(14:46
gnarfacefrom firefox?15:02
gnarfacei seem to recall someone complaining a while back about certain things requiring neon when they weren't supposed to, specifically firefox but maybe some other stuff too15:02
agnelicheese is a video camera app15:20
agnelignarface: that complainig person was probably me :) :) :)15:20
gnarfaceagneli: say, could you possibly confirm something for me about the dts code for a "pine64 plus" (AllWinner A64) board? someone has told me i can just add "sd-uhs-sdr104;" to the right spot in the dts file and it will make the SDIO bus go faster.16:57
gnarfacedo you know if that sounds plausible and safe?16:58
gnarfacehmm... nope. doesn't seem to change anything. :(17:31
agnelii guess that depends on the hw capabilities18:44
agnelignarface: do you know what the the ic that manages sd card interface?18:44
agneliif yes do you have this ic datasheet?18:45
gnarfaceno :(18:45
agneliperhaps it is the soc directly?18:45
gnarfacenot sure18:45
agnelifor pine all schematics are there18:45
agneliso you can very easily check18:45
agnelino need to guess... like on windows you always do :)18:46
agnelignarface: which one is yours: https://pine64.org/devices, please?18:51
agnelihttps://pine64.org/documentation/Pine_A64/Further_information/Schematics_and_certifications/18:52
agnelihere you have everything you can dream of :)18:53
agneliseems there are 2 revisions of the Pine A64+ boards18:53
agnelichanging things in dts without careful examination of the schematics seems a bit careless18:54
agneliidk what is t-card but that looks like 4bit sd card interface18:59
gnarfaceagneli: assuming it's any of these, it would have to be the A64+ 1GB with the Wifi/BT module attached, but i wouldn't claim to be sure how to check19:09
gnarfaceagneli: it's this one https://pine64.com/product/pine-a64-1gb-board/19:13
gnarface...with this attached https://pine64.com/product/pine64-wifi-802-11bgn-bluetooth-4-0-module/19:13
gnarfacethe hardware may already be going at max speed, i don't actually know, but it's definitely bottlenecking the wifi19:14
agneliSD physical layer specification V2.0, SDIO card specification V3.019:15
agnelithis is what the SoC supports19:15
agnelithis is SDIO v3.0 http://applelogic.org/files/SDIO.pdf19:16
gnarfacedoes that mean it can go faster than 25Mbps or not?19:19
agneli90 pages to read :)19:20
gnarface:(19:22
agnelihehe OK gnarface I think I know the person that recommended you the SDR-104 change19:23
agneliso I have another question: how exactly you implemented that change?19:23
gnarfacewell i had an existing patch i was using that was working but clearly slower than the wifi device itself19:24
gnarfaceso i just added that one line to it19:24
gnarfacebut nothing changed19:25
agneliwell seems A64 does support SDIO v319:25
gnarfaceliterally just this patch: http://paste.debian.net/1307642/19:25
agneliand acoording to the SDIOv3 docs UHS-I is in the specs19:26
gnarface... and this was my modified attempt http://paste.debian.net/1307643/19:26
agneliok you applied the patch and then what please?19:26
agnelikernel rebuild? reboot?19:26
gnarfaceyes of course, this is already a kernel i've built several times so far successfully19:26
agneliand you have dtb build into the kernel?19:27
gnarfaceno, just loading it from the same boot partition, same directory, from the extlinux.conf, but i know it is using my changes because the wifi device wouldn't have worked without it in the first place19:28
gnarfaceand i checked the byte length of the files when i changed them19:29
gnarfacei was pedantic as possible about that part19:29
gnarfacethe issue at hand though, is this is a patch that i got from a old mailing list archive and it didn't apply to this kernel exactly as i found it. i had to actually edit it by hand to update it for the kernel i'm using, and i don't know if i even did that part exactly right, ... but like i said it worked19:30
gnarfacei couldn't get anyone to check it for me19:30
gnarfacei found some stackexchange post or something like that that suggested if i enabled debugging, it would let me manually set a speed in /sys, but i didn't try that yet19:32
agnelithat last statement is probably correct19:33
agnelibut that might depend19:34
gnarfaceyes, i assume that if my dts is still wrong it just wouldn't work19:34
agnelisome clocks can be blocked by some processes19:34
gnarfaceor may be unstable19:34
agneliI had to write my own procedures to get the wifi working correctly etc19:34
agneliit was also clock related issue19:35
agneliI am not familiar with that board/ chip19:36
agneliI believe you were given good info19:36
agneliiiuc you need to change the voltage to sth lower, no?19:38
agneliand to get your dts checked... well probably somebody working on that board as we speak shoudl do it19:39
agneliotherwise it is a challenge19:39
gnarfaceheh, yea like i said i asked around but couldn't get anyone who was sure to answer me19:40
agnelithere is no group where pople are using this board?19:41
agneliand there is no kernel from pine64 that is already fully enabled and working?19:41
agneliwhat kernel version are you using, please?19:41
gnarfaceyea i'm in their irc channels too19:50
gnarfaceliterally nobody would answer me except one guy who said he might look at it then got sick and never got back to me19:51
gnarfacei don't think anyone knows to be honest19:51
agneliprobably nobody is interested in this board :(19:52
gnarfacei think this board was discontinued quickly, the patch never got upstreamed, and everyone moved on to the later revision or the rockchip ones19:52
agnelidid you hare your patch upstream for review?19:52
agneli*share19:52
gnarfaceno, the original creator did, and i found the mailing list archive of it getting refused19:53
gnarfacei forget which kernel it was originally for, but i used basic pattern matching skills to update it by hand for kernel 5.1819:54
agneliso u have kernel 5.1019:54
agneliok19:54
agnelipine says mainilne kernel should be ok19:54
gnarfaceit absolutely was not as of 5.1819:55
gnarfaceyou think this is fixed in 6.1?19:55
agnelihttps://pine64.org/devices/pine_a64/19:55
agneli" Currently the majority of Linux distributions for the PINE A64 are using mainline Linux "19:55
agneliwe are now @6.7.419:55
agnelihttp://kernel.org/19:56
agneliidk maybe just download the sources and analyze the tree?19:56
gnarfaceyea, but to be honest i don't think any of them were using this SDIO wifi module as of that statement,19:56
agnelibefore compiling :)19:56
agneliiiuw you were told also that uhs-1 reuires going down to 1.8 V19:57
agneliyou need to change proper voltage regulator19:57
agneliu have regulators tree in the schematics19:57
gnarfacethis board has been booting for much longer than just since 5.18 you see, but without this patch the SDIO port just never worked19:58
* agneli recomends you analyse the docs I shared today, understand what needs to be done, then do it :)19:58
gnarfacei was actually told it should as recently as that, and when i demonstrated that was wrong, i found out i was the only one who had actually tried it19:58
gnarfacebut i do suspect possibly they were just holding out on me19:59
agnelithe only thing I can tell you is that I am used to ask questions nbody cares to answer19:59
gnarfacenoted20:00
agneliso I just go to the docs, source code20:00
gnarfacethat's going to take some time...20:00
agneliwe can always discuss the progress once you start working on it20:00
agneliof course... even years... but well :)20:00
agneliwe are not in a hurry are we?20:01
gnarfaceeh, no not really, i was just hoping to be able to use Steam Remote Play over it, but it's bottlenecking at 2MB/s, which is only almost enough to maintain a stable stream20:01
agneliIMHO you need to understand first to which of the SoCs three controllers your SDIO wifi is connected20:02
gnarfacei may just put a USB wifi device in it and be done with it, if i can find one better than this thing20:02
agneliwell... I avoid using any wireless connection for any gameplay20:02
agnelithis board has 1GB eth20:03
agneliwhy using crap like wifi?20:03
gnarfaceSteam Deck has no ethernet port20:03
agnelithat is the reason I do not have it :)20:03
gnarfacegetting a usb-c ethernet device to try on it did also occur to me20:04
agneliI have to go... whatever I can help you I will surely do20:04
gnarfacethanks, have a good one20:04
agneliI use wireless connecitons only when I really cannot use cables20:04
agnelilike children getting teeth broken because of the cable in the middle of the room... etc ;)20:05
agneligood luck!20:05
agneliand wih usb-c you can go up to 5 GB eth probably if you have the switch20:05
gnarfacethe switch is only 1GB, but Steam Remote Play doesn't even need 50 Mbit20:06
gnarfaceit literally just needs a bit more than 25 Mbit, and i'm getting 2020:07
agneli20Mbit/s20:08
agneliMan20:08
agneli20 Mbit/s real throughput?20:08
agneliand what is your AP?20:09
agneliwhat is the speed you are using on other devices?20:09
gnarfacethis is the AP20:15
gnarfacethis thing is what i'm using for the AP20:15
gnarfacestation dump from the pinebook shows it at like 58/72 Mbit down/up steady during transfers20:18
gnarfacebut dmesg confirms "high speed" sdio only, which is 25 Mbit/s20:18
gnarfacereal throughput 16-20 Mbit/s20:18
gnarfacesometimes spikes to 25 Mbit/s for a couple seconds at a time20:19
gnarfaceonly if i stand real close though20:19
gnarfaceso, diagnosis has been that hostapd is configured correctly and the clients are seeing the right link speeds20:20
gnarfacesomething must be wrong with my kernel patch or config20:21
gnarfacei've been told that dmesg would change and show that the SDIO was at UHS speed first if it was going to work20:24

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!