libera/#devuan-arm/ Monday, 2025-04-07

davespagneli: This pulse-on-an-odd-Android-device discussion between you and gnarface is, IMO, "arm-adjacent" in that it seems to be an embedded device of sorts, so the resolution could be informative for other embedded devices.  (Again, IMO.)00:47
gnarfacewell it'd be nice to get full access to the hardware through devuan even for this exact device, but i'm at a loss to even identify an alsa driver candidate for it02:05
gnarfaceit'd also be nice to put the wifi device into host mode, but the audio is more important to my use case02:07
gnarfacei'm not clear it's actually android, it really looks like a stripped down linux kernel with some proprietary interface literally obfuscated inside it02:08
gnarfaceSoC brand seems to be Marvell, if that helps anyone speculate further...02:08
gnarfacei'm sure people would want to unlock the bootloader so you could boot a real kernel directly instead of having to kexec for fear of bricking the thing, but i'm not asking for miracles here02:09
gnarfacei just want to bolt a couple features back onto it02:10
gnarface(features i feel like they must have actually spent time and money on planning how to remove from it)02:11
agnelidavesp: thank you for your support :)06:35
agneliI was thinking more or less the same too, but well06:35
agneliwe can conrtinue on the main channel until somebody objects06:35
agnelihopefully without banning us ;)06:36
agnelignarface: you could always try to compile same kernel using the config of that device06:37
agneliand see what happens06:37
agnelithen it _might_ be possible to taint the kernel and load whatever proprietary drivers are there06:38
agnelii remember doung so in 2.4 times06:38
agnelialso is it not so taht the kernell tree used fro that deivce is published on the manufacturer site06:39
agneliit shoudl be if they claim this is a linux based device06:39
agnelitjat os how Asahi Linux was born06:40
agneliusing apple open source code06:40
gnarfaceagneli: yea, i heard that despite the dire warnings it gives you that you'll brick it without the Valve-signed kernel, Valve seemed to be providing a way to rebuild their signed kernel from source, which should in theory allow safe replacement of the stock one and maybe also the ability to turn on normal open source audio drivers, but i haven't had the guts to try yet nor heard any first-hand confirmation of the17:13
gnarfacepossibility17:13
gnarfaceand it's super fragile17:15
gnarfacelike, it advises you to set a root password if you enable ssh, but if you try to disallow root login, or set a password on the steam user instead, it won't even boot right and you have to trigger a factory reset and download all the patches again from scratch17:17
gnarfaceit seems to be super easy to brick17:17
gnarfaceit seems like they were really on the fence about whether they wanted it to be "open" or not and did a crappy job of fencing17:18
gnarfacei'm afraid of messing it up so bad that i can't even reach the GUI factory reset button17:18
agnelido you have access to the serial console of the device?18:06
agneliand these guys that installed arch18:06
agnelithey did not replace the kernel too?18:06
gnarfaceno idea about the people who installed arch on it, and no i don't have access to the serial console, it's entirely housed in a plastic brick that i'm unwilling to saw open just yet18:07
agneliyou presented a link the other day18:09
gnarfaceto an arch install?18:09
agnelithat somebody has managed to get some sort of linux there18:10
gnarfacehmm....18:10
agnelidid they managed to replace the kernel?18:10
gnarfaceno i think i presented a link to the official valve SDK, that's all18:10
agneliif yes then what stops you to do that and then push devuan?18:10
agneliwhile building your own kernel18:10
agnelinonono18:10
agneliyou did to some way to get a linux onto that18:11
gnarfaceall i did was chroot into a debootstrapped devuan instance mounted on a USB key18:11
gnarfacethat part works18:11
gnarfacebut i was still using the stock kernel to do it18:11
gnarfacei heard a rumor you could safely kexec to any other kernel after boot but haven't tried it myself18:11
gnarfacei think i did hear a rumor someone got some linux booting on them somehow, but i don't remember having a link...18:12
agneliheh18:12
agnelibecause it was me18:12
agnelihttps://github.com/regmibijay/steamlink-archlinux18:13
agnelirepasting18:13
gnarfaceah, yea haven't tried that one yet, not sure what they're doing about the kernel part18:13
agneliso it seems possible to replace the kernel18:13
agnelieither bootloader is not loced or the keys are avaliable18:13
gnarfacenot sure if they jailbreak it or just kexec after boot from a startup shell hook or something18:13
gnarfacewell, it's possible that they don't enforce the signed kernel thing and just warn you you might brick it if you do it wrong18:14
gnarfacei don't really know for sure about that part18:14
agneliyou even have dtb there18:14
agnelihttps://github.com/regmibijay/steamlink-archlinux/blob/main/berlin2cd-valve-steamlink.dtb18:14
gnarfacehmm....18:14
agnelihttps://git.zx2c4.com/linux-dev/tree/arch/arm/boot/dts/berlin2cd-valve-steamlink.dts\18:16
agneliyou have dts18:16
agneliso this is your hardware18:16
gnarfacehmm, interesting18:17
agnelijust check if that dts in in the vanilla kernel18:17
gnarfacewait, does that dts help us identify the model of the audio device?18:17
gnarfaceor what driver it would use if there's an open-source one?18:17
agnelithat could be the case18:19
agnelibut I do not see that dts in the 6.13 tree18:20
agnelimaybe it is somewhere deeper18:20
gnarfacehmm18:20
agnelior maybe it is called firrerently18:21
agnelianyway you have dts and dtsi now18:21
agneliyou can study maybe you will find something interesting there18:21
agnelibut this arm script does the kexec thing18:22
agneliit does not replace anything vital on you device18:22
agneliat least the authors claim so18:22
gnarfaceyea, so they're still afraid of bricking it too, then18:23
gnarfacenobody has managed to crack that part18:23
agnelithey claim bootloader is locked18:24
gnarfaceit probably is18:24
gnarfaceand if there's any way around it, it probably like you suggested involves finding the serial console connector18:24
gnarface(if furnished)18:24
agneliyou can always solder it :)18:25
agnelibut serial console will not get you around a locked bootloader18:25
agneliunless somebody knows a way to unlock it18:25
gnarfaceoh, hmm18:26

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