#
✕ nick:chadmed
#asahi · 2021-09-12 02:18
chadmedyeah no i dont have a personal problem with using it. it is disliked mostly in infosec circles because it is a large and complex interface (generally something youd want to avoid for security reasons) and non-libre. like i said though, these sorts of people likely have far bigger things to complain about with this platform than the UEFI
#asahi · 2021-09-12 02:06
chadmedbut then again those users would probably have far bigger philosophical issues with this platform than needing to use UEFI
#asahi · 2021-09-12 02:05
chadmednoob-tier question, is there a particular technical reason why one might want to expose the UEFI interface on these machines other than to make the Linux experience more PC-like? the only obvious thing I can think of is it might make the life of distro kernel maintainers a little easier, but UEFI is... problematic... and i can see some users specifically complaining about it if made a requirement
#asahi · 2021-08-24 09:04
chadmeddid you have a race happening or something
#asahi · 2021-08-24 09:04
chadmedomg lmao i missed that
#asahi · 2021-08-23 11:09
chadmedi can see your messages fine
#asahi · 2021-08-23 07:15
chadmedoh well such is life
#asahi · 2021-08-23 07:15
chadmedyeah suffice it to say i have not enjoyed my undergrad much at all mostly on account of this woman. sucks doubly hard because in order to progress to med school here you need to have certain grades in her courses and she knows that
#asahi · 2021-08-23 06:34
chadmedwishing i actually did computer science as my undergrad now, but even then the unis in my city have terrible compsci degrees. one is basically just bachelor of oracle db and the other is just bachelor of web development. no one i know who graduated from either actually did ANY computer science. i think one uni has a course where you have to show that you can use ssh to pass but thats about it
#asahi · 2021-08-23 06:32
chadmedi do not know why such people are allowed to become educators, or allowed to stay in those positions once their stupid bs has been outed
#asahi · 2021-08-23 06:31
chadmedthe woman that ran my uni's anatomical sciences department is insane. she designs her assessments to be as inconvenient and convoluted as possible such that they require you to simply have knowledge outside of the curriculum. she admitted in her first lecture that she deliberately does this to make our grades worse as a "reality check"
#asahi · 2021-08-23 04:42
chadmedyeah i skipped tons of classes in my first stint in undergrad, not great
#asahi · 2021-08-20 10:06
chadmedtheres no commercial interest in such a proposal anyway since the trend in the industry now is vendor lockin
#asahi · 2021-08-20 10:06
chadmedi was at one point not that long ago working on a proposal for a sort of interoperable PC-like platform for ARM or RISC-V (it didn't matter which at the stage i got to working on it) with prescribed I/O, firmware interfaces and sockets, but i had to return to my studies in a completely unrelated field and dropped it.
#asahi · 2021-08-20 10:04
chadmedthe reason the courts cant force this for ARM is because its not a unified platform. or rather, the computer manufacturers have convinced governments that it shouldnt be considered a unified platform.
#asahi · 2021-08-20 10:03
chadmedand by now its just expected that these systems can work with each other. dont forget that many of the standards we take for granted now were originally just intel's specs, even things down to how PC motherboard VRMs talk to the chips they power
#asahi · 2021-08-20 10:02
chadmedis because the US courts allowed PC clones to continue to be manufactured, and intel were slugged with heaps of antitrust suits in the 90s that forced them to open up the platform to competitors
#asahi · 2021-08-20 10:01
chadmedthe only reason the PC platform is so "open
#asahi · 2021-08-20 10:00
chadmedjn: that would require them to _want_ to share code and promote compatibility
#asahi · 2021-08-20 09:49
chadmedif that goes through its riscv all the way baby
#asahi · 2021-08-20 09:49
chadmedthis is contingent on the nvidia acquisition being blocked too
#asahi · 2021-08-20 09:42
chadmed(fwiw i agree the glut of arm init systems and fw interfaces and stuff is deeply troubling and only serves to hinder interoperability)
#asahi · 2021-08-20 09:41
chadmedah yes the best way to unify standards -- create a new standard :D
#asahi · 2021-08-20 09:18
chadmedsparc for example has entire chapters of its manual dedicated to different valid ways of implementing the same thing, all of which need different drivers and firmware to talk to the chip properly
#asahi · 2021-08-20 09:16
chadmedapple has an architecture license which means they can produce any design they like but it has to be compliant with the ISA spec. impl dep stuff has existed since the dawn of time on commercial riscs, you just dont usually get to see the result of it in the consumer space because we are spoonfed drivers and software
#asahi · 2021-08-18 02:17
chadmed(as a separate environment)
#asahi · 2021-08-18 02:17
chadmedah yeah i knew it needed the libs, just wasnt sure on the chroot
#asahi · 2021-08-18 02:01
chadmedthere was only one piece of software that gcc didnt like for me. i cant remember what it was but it was because it had some inline assembly written with apple conventions rather than standard armv8, so i just built it with clang instead and it worked fine. i had an entire gentoo/kde plasma user space running on a pi 4 8gb and everything worked as expected
#asahi · 2021-08-18 01:58
chadmedbig binary distros like debian (and its derivatives) will have enormous repos of arm binaries too so i dont think you have anything to worry about
#asahi · 2021-08-18 01:58
chadmedcode that is optimised for x86 specifically with compiler hints and the like may need some rewriting, but most software packages simply work when being compiled for armv7+ with no changes
#asahi · 2021-08-18 01:23
chadmedthat looks like a decent hassle to get set up with a root overlay or chroot, but that would probably make it faster/more compatible than just using qemu-user right?
#asahi · 2021-08-16 10:17
chadmednever realised it was so... fully featured
#asahi · 2021-08-16 10:17
chadmedyeah wow ok errors have been made
#asahi · 2021-08-16 10:15
chadmedyeah the T2 didnt go anywhere, its just been renamed to the SEP
#asahi · 2021-08-15 06:19
chadmedwe will have to implement something like this at some point though so mobile users can get decent power management, or we'll have a situation like the A1708 macbooks and later where linux battery life is terrible and charging is spotty
#asahi · 2021-08-15 06:15
chadmedlook at some rockchip and allwinner dts, they have operating poitns tables that presumably get read by cpufreq-dt/whatever dvfs driver they use, so the freq-voltage curve might be worth coaxing out of macos to get finer grained power management to go with the HMP scheduling, assuming of course we ever get that level of control over the chip
#asahi · 2021-08-15 06:13
chadmedwell thats something we'll have to test i guess. the arm manuals say that this is how you do it, and i dont think we really have a reason to doubt it
#asahi · 2021-08-15 04:44
chadmedyeah its a feat, but afaict all that the kernel needs from us at this stage to get it working is that dt binding for each core and the scheduler can sort the rest out transparently
#asahi · 2021-08-15 04:25
chadmedthe other way is refactoring the dt core layout to be split the firestorm and icestorm cores into clusters and decribe their behaviour as clusters but we dont need to do that
#asahi · 2021-08-15 04:24
chadmedoh ok wow its actually very simple, theres basically two ways to do it. the easiest given the way the dt is laid out now would be to just add capacity-dmips-mhz bindings to each core, which can be scaled relatively or be absolute dmips/mhz measurements that we can just calculate using a benchmark bound to only one cpu
#asahi · 2021-08-15 03:53
chadmedhm ok ive had a read of some HMP scheduling docs and its looking like quite the effort to get it working properly. schedutil is responsible for doing the actual task scheduling, which it does by polling the energy model for the device. if im reading correctly, cpufreq-dt can do this with some device tree data, but what data it requires is ambiguous
#asahi · 2021-08-15 01:30
chadmedik linux has an ARM HMP scheduler but ive never experimented with it so idk how easy it is to get working properly
#asahi · 2021-08-15 01:29
chadmedso when we say get "SMP" working, does this include proper HMP support or can we only treat the firestorm and icestorm cores identically?
#asahi · 2021-08-14 11:47
chadmedeh not really since its a very obvious state of affairs. we can manually package up a frame and push it to the screen and really not much else. with the other controller drivers, we have had a couple of instances of silent data corruption, some usb hubs not working properly, usb-pd not working, the nvme controller preventing the system from shutting down cleanly etc
#asahi · 2021-08-14 11:41
chadmedits the same principle as not cluttering the install instructions with technical documentation, someone or many someones _will_ misinterpret what is written and then come complaining that we misrepresented what you can do. "you said that usb works so how come i cant use my HOTAS system as an input device >:("
#asahi · 2021-08-14 11:39
chadmedi think the problem there is that its all at a "well it kinda works but not really" level so theres no point reporting that we have progress on it, then have a bunch of people think that means they can just use brcmfmac and have a working desktop
#asahi · 2021-08-14 11:04
chadmedthat comes across just fine
#asahi · 2021-08-14 11:04
chadmedthe important takeaway from that passage is that the DCP is a distinct coprocessor with its own firmware
#asahi · 2021-08-14 11:03
chadmedyeah but i dont think it particularly matters for this text. its a conversational piece describing what the developers have been up to over the last couple of months, not a set of specifications or technical documentation
#asahi · 2021-08-14 11:01
chadmedsubstituting "frames" for "images" may help clear up this ambiguity

plus ›