#
✕ nick:j`ey
#asahi-dev · 2022-04-01 17:51
j`eyhmm
#asahi-dev · 2022-04-01 17:49
j`eyyeah, I dunno how to do it with that API, was looking for some examples!
#asahi-dev · 2022-04-01 17:47
j`eyI want to add a new: foo = <0, 1, 2, 3>; thing to the fdt
#asahi-dev · 2022-04-01 17:47
j`eyis there any code in m1n1 that adds a new array(?) to the fdt?
#asahi-dev · 2022-03-31 13:36
j`eycontext for us that didnt ;)
#asahi-dev · 2022-03-29 18:00
j`eyall u-boot does is create a configuration table and add some pages to the memory_map
#asahi-dev · 2022-03-29 17:57
j`eyterribly
#asahi-dev · 2022-03-29 17:55
j`eymakes sense. Im doing this more as a proof of concept kinda thing, so may not get there, we'll see
#asahi-dev · 2022-03-29 17:47
j`eythere is a CPU_SUSPEND, that might just do the same thing as CPU_OFF for us
#asahi-dev · 2022-03-29 17:43
j`eyI think for that, you need a special cpuidle driver? or there needs to be more of PSCI implemented, I only have CPU ON/OFF
#asahi-dev · 2022-03-29 17:03
j`eywell PSCI seems to work with the deep sleep mode (it was using normal wfi before)
#asahi-dev · 2022-03-29 17:00
j`eyah maybe markan missed it because it's a float key
#asahi-dev · 2022-03-29 16:57
j`eylooks like we don't have a counter for the PSTR key, which apparently is 'entire system's power consumption in W'
#asahi-dev · 2022-03-29 16:53
j`eyand power_now is a negative value
#asahi-dev · 2022-03-29 16:53
j`eyI have no idea about this :D
#asahi-dev · 2022-03-29 16:52
j`eyor maybe that's power_now? confusing
#asahi-dev · 2022-03-29 16:51
j`eyis 'voltage_now' in macsmc-battery an indicator of the current power consumption?
#asahi-dev · 2022-03-28 23:34
j`eyi think its quite limited
#asahi-dev · 2022-03-28 23:32
j`eyafaik it allows you to map part of a page
#asahi-dev · 2022-03-28 23:26
j`eysp = sub-page maybe?
#asahi-dev · 2022-03-27 19:17
j`eyamarioguy: yep
#asahi-dev · 2022-03-27 19:13
j`eyeaxk[m]: you could help alyssa with the userspace side, maybe there's some features she hasnt looked at that, you could
#asahi-dev · 2022-03-27 18:47
j`eyeaxk[m]: more reverse engineering
#asahi-dev · 2022-03-27 15:35
j`eyand the second error should say dart-dcp not dart-disp0
#asahi-dev · 2022-03-27 15:35
j`eyjannau: in display_map_vram() youre missing 'ret =' before the second 'dart_map'
#asahi-dev · 2022-03-27 10:51
j`eyanother -ERROR bug!
#asahi-dev · 2022-03-27 08:29
j`eyyeah theyre builtin for now
#asahi-dev · 2022-03-27 08:22
j`eySkirmisher: https://github.com/AsahiLinux/asahi-scripts/blob/main/initcpio/install/asahi might help
#asahi-dev · 2022-03-26 16:52
j`eyI dont use it, but I was thinking some people might like to reboot into different page_size kernels
#asahi-dev · 2022-03-26 16:49
j`eycan you read a btrfs disk from kernels with different page sizes?
#asahi-dev · 2022-03-26 16:46
j`eyjannau: spi hid will only be useful if we have spi too :P
#asahi-dev · 2022-03-26 16:27
j`eywell stable is 5.16, so that might require backporting some things that are not in the current asahi, but are in 5.17
#asahi-dev · 2022-03-26 14:58
j`eypros and cons
#asahi-dev · 2022-03-26 14:53
j`eythanks
#asahi-dev · 2022-03-26 14:52
j`eycan you link the repo?
#asahi-dev · 2022-03-26 14:50
j`eyoh that's annoying
#asahi-dev · 2022-03-26 14:45
j`eyEighth_Doctor: hopefully all you need is the kernel pkg
#asahi-dev · 2022-03-26 14:42
j`eyonly ~160 of them from asahi :P
#asahi-dev · 2022-03-26 14:28
j`eyEighth_Doctor: I suggest you use the asahi branch for now, 5.17 doesnt have enough to be usuable
#asahi-dev · 2022-03-26 14:28
j`eyEighth_Doctor: btw glanzmann made a page here too https://github.com/AsahiLinux/docs/wiki/Fedora
#asahi-dev · 2022-03-26 11:22
j`eyDcow[m]1: nice
#asahi-dev · 2022-03-26 11:20
j`eyrobinp: are you planning on building on mac? might just be easier to make a linux vm
#asahi-dev · 2022-03-26 11:13
j`eydottedmag: it is a little silly though
#asahi-dev · 2022-03-26 11:11
j`eydunno, but it's not 'officially' supported to build linux on macOS anyway I think
#asahi-dev · 2022-03-26 11:09
j`eyhttps://brianboyko.medium.com/a-case-sensitive-src-folder-for-mac-programmers-176cc82a3830
#asahi-dev · 2022-03-26 11:09
j`eywoops, bad paste :/
#asahi-dev · 2022-03-26 11:09
j`ey a.find_byte(b'v').unwrap()
#asahi-dev · 2022-03-26 11:09
j`eyfn foo(a: Cow<'_, [u8]>) -> usize {
#asahi-dev · 2022-03-26 11:09
j`eyfrom a quick google looks like you have to do it on a volume basis, not per folder: use std::borrow::Cow;
#asahi-dev · 2022-03-26 11:08
j`eyyou have to make the FS case sensitive

plus ›