#asahi-dev · 2022-10-17 21:05
ChaosPrincesstrying from macos rn#asahi-dev · 2022-10-17 21:04
ChaosPrincessis there any magic involved in handling of apfs volumes on m1? im trying to parse some apfs structures by reading them from /dev/disk0s2, and both my code and apfs-fuse seem to fail.#asahi-dev · 2022-10-16 13:45
ChaosPrincessty#asahi-dev · 2022-10-16 12:38
ChaosPrincessthats the m2, right?#asahi-dev · 2022-10-16 12:33
ChaosPrincessbtw, can someone review the kb pwm pull request? thanks in advance https://github.com/AsahiLinux/linux/pull/57#asahi-dev · 2022-10-12 19:39
ChaosPrincessmarcan: hey, since you already have the spi nvram working on m1 pro/max, can you tell me the output of ` hexdump -C path/to/nvram | grep nvram` on those machines? i want to check some offsets that do not seem to be encoded in the adt#asahi-dev · 2022-10-11 12:55
ChaosPrincess:shrug: i call black magic#asahi-dev · 2022-10-11 12:52
ChaosPrincessso, no easy method like looking in the adt#asahi-dev · 2022-10-11 12:52
ChaosPrincesson m1 i could just assume that cs is highest, and then take 4 down, but that doesnt work on m1pro#asahi-dev · 2022-10-11 12:52
ChaosPrincessbtw, how did you get the spi0 pins for m1 pro/max#asahi-dev · 2022-10-11 12:44
ChaosPrincesstho, it usually includes serde and tokio, which aren't exctly small#asahi-dev · 2022-10-11 12:43
ChaosPrincessmarcan: its not fud, an average rust binary that i made is approx ~35 mb, and thats release build and strip#asahi-dev · 2022-10-11 11:47
ChaosPrincessand if the problem with initramfs is the size - rust isnt great, the binaries end up being huge#asahi-dev · 2022-10-11 11:45
ChaosPrincessmarcan: what i did figur out is the funny escaping business, the fact that there are two sections that `nvram` tool does not expose, the apple checksum (its adler32) and some other things :P#asahi-dev · 2022-10-08 21:06
ChaosPrincessnvmem is a byte array, while i want to expose key-value#asahi-dev · 2022-10-08 21:05
ChaosPrincessso, i figured out how nvram works, and have a python-based parser/serializer for the variables. What would be the proper way to expose it in linux, clone efivars filesystem?#asahi-dev · 2022-10-08 11:53
ChaosPrincessthats dcp, and not a separate thingy, and in dcp lies madness#asahi-dev · 2022-10-08 11:50
ChaosPrincessnow we just need to have touchbar so it is easier to control on m1 mbp :P#asahi-dev · 2022-10-08 11:48
ChaosPrincesscool, thats also what i tested it on, but i applied it to asahi branch#asahi-dev · 2022-10-07 20:09
ChaosPrincessCool, ty#asahi-dev · 2022-10-07 19:42
ChaosPrincessfixed the dtb typo on t600x#asahi-dev · 2022-10-07 17:23
ChaosPrincessis the pinctrl-0 node required in the spi driver binding?#asahi-dev · 2022-10-06 23:14
ChaosPrincesshttps://pastebin.com/Lrg3R6gN#asahi-dev · 2022-10-06 22:57
ChaosPrincessiiuc asahi is 'stable', while asahi-dev is 'development, may be completely broken'#asahi-dev · 2022-10-06 22:56
ChaosPrincesskb backlight#asahi-dev · 2022-10-06 22:52
ChaosPrincesspr sent, if someone w/ a m1 pro/max could test it, i would really appreciate it#asahi-dev · 2022-10-06 21:30
ChaosPrincessj`ey blazra[m]: tyvm, i found out the reason why my driver was serror-ing the machine, it does not like writel_relaxed#asahi-dev · 2022-10-06 21:20
ChaosPrincesscool, so my calls to devm_pm_runtime_enable are useless?#asahi-dev · 2022-10-06 21:20
ChaosPrincessalso, shouldnt you enable the power domain somehow?#asahi-dev · 2022-10-06 21:19
ChaosPrincessyea, im kinda new to this thing, so#asahi-dev · 2022-10-06 21:14
ChaosPrincesswhy are you doing #pwm-cells 2, isnt there only 1 channel?#asahi-dev · 2022-10-06 21:07
ChaosPrincessoh, thanks#asahi-dev · 2022-10-06 16:25
ChaosPrincessbluetail: the trick is that sleep is overrated :P#asahi-dev · 2022-10-06 16:21
ChaosPrincessso, if adt refers to id 37, that node has name = u'FPWM1' in adt dump then the clock i want is ps_fpwm1 ?#asahi-dev · 2022-10-06 16:15
ChaosPrincesshow does one get the clock address from clock-gates property in the adt?#asahi-dev · 2022-10-05 10:05
ChaosPrincessin nvram, the boot-volume variable has 3 uuids, first one is partition type, 3rd is the uuid of the boot disk. Does anyone know what is the 2nd one?#asahi-dev · 2022-09-19 18:55
ChaosPrincessi also read all of that, but sending patches that way feels way more intimidating than sending a PR for some reason :P#asahi-dev · 2022-09-19 18:18
ChaosPrincessnot exactly asahi related, but how did y'all started upstreaming patches to kernel. i ported some drivers for an unrelated board from vendors random fork to upstream kernels, and want to upstream it, but want to hear about how people did it#asahi-dev · 2022-09-10 11:00
ChaosPrincesscan you tell us what exactly did you do#asahi-dev · 2022-09-10 11:00
ChaosPrincesshave you changed anything on root partition#asahi-dev · 2022-09-10 10:45
ChaosPrincessis the os that you want to change boot policy on set as default boot target?#asahi-dev · 2022-08-26 12:59
ChaosPrincessclock generator basically#asahi-dev · 2022-08-26 12:59
ChaosPrincessphase locked loop#asahi-dev · 2022-08-26 12:59
ChaosPrincessyea, makes sense#asahi-dev · 2022-08-26 12:57
ChaosPrincess30 is hbr3#asahi-dev · 2022-08-26 12:56
ChaosPrincessthe bit rate is MAX_LINK_RATE * 0.27#asahi-dev · 2022-08-26 12:50
ChaosPrincesshttps://www.mediafire.com/file/z0ywtnksujxemdy/DP-1.2.pdf/file#asahi-dev · 2022-08-26 12:47
ChaosPrincessi also have 1.2 spec of displayport somewhere if you want that#asahi-dev · 2022-08-26 12:43
ChaosPrincessoh, its probably MAX_LINK_RATE https://archive.org/details/VESADisplayPortStandardV1.0/page/n97/mode/2up?view=theater#asahi-dev · 2022-08-26 12:40
ChaosPrincess kinda close to the link speeds: 4 lanes of RBR is 6.48, hbr is 10.8, hbr2 is 21.6, hbr3 is 32.4