#
#asahi-dev · 2023-09-15 13:55
mpss/=/+/
#asahi-dev · 2023-09-15 13:55
mpsboot.bin is m1n1+u-boot=dtbs
#asahi-dev · 2023-09-15 13:55
ydaltonsecond stage m1n1
#asahi-dev · 2023-09-15 13:54
ydaltonboot.bin is just m1n1 right?
#asahi-dev · 2023-09-15 13:54
ydaltonthere's no /boot/dtbs-... folder in my installation
#asahi-dev · 2023-09-15 13:54
mpsah, interesting
#asahi-dev · 2023-09-15 13:54
_jannau__I think asahi alarm installs them in the module dir
#asahi-dev · 2023-09-15 13:53
mpsusually /boot/dtbs-...
#asahi-dev · 2023-09-15 13:53
_jannau__they are embedded in ESP/m1n1/boot.bin, location in the system is distro specific, check the update-m1n1 source and/or config
#asahi-dev · 2023-09-15 13:53
mpsydalton: depends on distro kernel, i.e. how it set where to put dtb files
#asahi-dev · 2023-09-15 13:51
ydaltoni have a question, where do you find the compiled dtb files? i can't seem to find them in the /boot folder. are they embedded in the kernel? uboot?
#asahi-dev · 2023-09-15 13:32
elrosAaaah, nice to know. And sorry if my questions are basic. I really have 0 knowledge on how to work with these things. Thanks a lot everyone!
#asahi-dev · 2023-09-15 12:37
j`eyeasiest way is to use m1n1 to read them (and they are some examples in the experiments/ folder in m1n1)
#asahi-dev · 2023-09-15 12:36
j`eyelros: you can't do it via linux terminal (as is, I had at some point some patches to add a debugfs to the SMC stuff so you could access all the keys..)
#asahi-dev · 2023-09-15 12:01
_jannau__probably with m1n1 installed in proxy only mode in a separate partition or m1n1 installed in a macOS partition for running macOS under the HV for tracing
#asahi-dev · 2023-09-15 11:59
_jannau__for testing kernels most of us probably use something along https://github.com/AsahiLinux/docs/wiki/Tethered-Boot-Setup-(For-Developers)
#asahi-dev · 2023-09-15 11:53
elrosI guess the specific question is how do I do to read whatever info the hardware is printing out. In the HW:SMC page there are mentions of reading and writing, but I couldn't find out how to read and write. Nor if this is doable on a terminal emulator, for example
#asahi-dev · 2023-09-15 11:32
elrosBut I'm thinking that's probably not how to do it?
#asahi-dev · 2023-09-15 11:31
elroschadmed: How do you test these things? I found this page: https://github.com/AsahiLinux/docs/wiki/Low-level-serial-debug
#asahi-dev · 2023-09-15 10:15
elroschadmed: thanks!
#asahi-dev · 2023-09-15 10:14
chadmedfirst real attempt at kernel work that isnt rearranging a for loop so it probably needs work
#asahi-dev · 2023-09-15 10:14
chadmedj`ey: thanks :)
#asahi-dev · 2023-09-15 10:13
j`eychadmed: nice work
#asahi-dev · 2023-09-15 10:12
chadmedhttps://github.com/AsahiLinux/docs/wiki/HW:SMC
#asahi-dev · 2023-09-15 10:12
elrosOk. Which brings me to my next question: where can I read up to understand what are these keys and even to be able to understand this file, for example: https://github.com/chadmed/linux/commit/fa332c54cae797dc03a1db6601057d098ab01d88
#asahi-dev · 2023-09-15 10:12
chadmedthere just *has* to be a better way to do that
#asahi-dev · 2023-09-15 10:12
chadmedonly thing im really not too sure about is all that horrid pointer voodoo in macsmc_hwmon_populate_info
#asahi-dev · 2023-09-15 10:11
chadmedhelpful*
#asahi-dev · 2023-09-15 10:11
chadmedbut not all of them expose user-helpfuk information
#asahi-dev · 2023-09-15 10:11
chadmedbecause theres like 99999 grillion keys
#asahi-dev · 2023-09-15 10:11
chadmedit should work regardless of soc, what we need to figure out is which smc keys we are going to expose for which devices
#asahi-dev · 2023-09-15 10:09
elrosI see... maybe I can help with that. I only have an M1 available, though. I might be able to test on an M2, but I was unable to install the fedora remix on it.
#asahi-dev · 2023-09-15 09:45
chadmedim sure there are probably issues with it though so further testing would be nice :)
#asahi-dev · 2023-09-15 09:45
chadmedtested on j415 and j314, been meaning to get the mac mini going too but couldnt really drag that with me to hospital :)
#asahi-dev · 2023-09-15 09:44
chadmedhttps://github.com/chadmed/linux/tree/wip/hwmon
#asahi-dev · 2023-09-15 09:07
elrosLooking at those issues I'm unsure where to start
#asahi-dev · 2023-09-15 09:07
elroschadmed: Thanks a lot! But I did look at that page. The thing is I don't think I have enough knowledge to claim any of the unclaimed issues. Which is why I was kind of trying to go for docs.
#asahi-dev · 2023-09-15 05:48
nicolas17ok I'm seeing conflicting info about A17 now so nevermind
#asahi-dev · 2023-09-15 05:26
chadmedbut im open to suggestions
#asahi-dev · 2023-09-15 05:26
chadmedwhats going to be the best way to do the dt schema for the smc hwmon stuff? rummaging around it looks like its probably best to write one for the whole SMC and put it under mfd
#asahi-dev · 2023-09-15 01:49
chadmedelros: i think the best place to start would be the yaks page, https://github.com/AsahiLinux/docs/wiki/Yaks-in-need-of-shaving
#asahi-dev · 2023-09-15 01:07
elrosIn any case, would like to help any way I can. I am a beginner at this, however. My experience is as a web dev, mainly. I do some C programming as part of my studying efforts, on the side, but that's about as familiar as I am with things at lower levels than web...
#asahi-dev · 2023-09-15 01:06
elrosHey there, I'm unsure if this is the right place to ask, but given what's written in the contributing page, I wanted to get familiar with asahi in order to contribute by looking at the docs and helping out there. But I'm unsure on what repo exactly should I contribute. Or would it be more efficient to just look at issues on the repos under the org?
#asahi-dev · 2023-09-15 00:44
nicolas17marcan: just for your curiosity ^
#asahi-dev · 2023-09-15 00:41
kevans91ponders using stackable headers for the middle board in a stacked setup
#asahi-dev · 2023-09-15 00:38
nicolas17https://twitter.com/tech_reve/status/1702097480924741873 there's some evidence that A17 has the same CPU cores as A16
#asahi-dev · 2023-09-14 22:59
ydaltoneiln: pretty sure the ane driver will work on m2 out of the box; i dumped my adt and it lists the compatible string as being "ane,t8020", which is the same one as in your linux driver. haven't tested it yet though...
#asahi-dev · 2023-09-14 21:35
jannauI suppose that could be downgraded to "is unlikely" with the pcb jumpers
#asahi-dev · 2023-09-14 21:35
mazjannau: now you are forcing me to add "... unless you're jannau." :D
#asahi-dev · 2023-09-14 21:34
jannaumaz: I had to chuckle about "... but it is very unlikely you have built such a configuration."

plus ›