#
✕ nick:janneg
#asahi-dev · 2024-02-13 18:08
jannegthat would mean that "-nostdinc" is somehow broken
#asahi-dev · 2024-02-13 17:49
jannegm1n1 has prototypes for every used libc function in sysinc/
#asahi-dev · 2024-02-13 17:48
jannegwhy would -ffreestanding be incompatible with -Werror=implicit-function-declaration? the latter just errors out if an used function misses an declaration
#asahi-dev · 2024-02-13 17:45
janneghas built m1n1 on macos with https://github.com/richfelker/musl-cross-make
#asahi-dev · 2024-02-13 17:41
jannegI don't think this is related to musl
#asahi-dev · 2024-02-13 17:36
jannegburoa: please paste build/display.S after running https://privatebin.net/?0d1d6390d12767fc=#6iGTh2LLnGYGDBkZ2yXtVvQ52RHeKPP11LnSE9PNmJJD
#asahi-dev · 2024-02-13 17:32
jannegthat file shouldn't be in the compiler include path "/toolchain/lib/gcc/aarch64-linux-musl/13.2.0/include"
#asahi-dev · 2024-02-13 17:29
jannegcan you grep in /toolchain/lib/gcc/aarch64-linux-musl/13.2.0/include for "STRING_H"
#asahi-dev · 2024-02-13 17:26
jannegcan you paste the full failing compile command? i.e. the last compile cmd line from `make V=1`
#asahi-dev · 2024-02-13 17:20
jannegburoa: m1n1 itself uses -ffreestanding see https://github.com/AsahiLinux/m1n1/blob/3b9a71422e45209ef57c563e418f877bf54358be/Makefile#L49C3-L49C16
#asahi-dev · 2024-02-11 21:06
jannegnicolas17: you can extract the kernel from the ipsw
#asahi-dev · 2024-02-11 20:48
jannegrestore security to reduced or full with bputil
#asahi-dev · 2024-02-11 20:38
jannegyou can try
#asahi-dev · 2024-02-11 19:32
jannegon an arm64 system `make` is enough, on x86 system you will need a cross toolchain but you need that anyway for chainloading
#asahi-dev · 2024-02-11 19:29
jannegno
#asahi-dev · 2024-02-11 19:18
jannegerr: this one https://github.com/AsahiLinux/docs/wiki/SW:Hypervisor#running-the-stock-macos-kernel-from-a-macos-install
#asahi-dev · 2024-02-11 19:17
jannegyou want to use the stock kernel, see https://github.com/AsahiLinux/docs/wiki/SW:Hypervisor#starting-the-development-kernel-under-the-m1n1-hypervisor
#asahi-dev · 2024-02-11 19:16
jannegyes, that is the correct page
#asahi-dev · 2024-02-11 19:16
jannegif you use macos, create an empty volume in you macos apfs container
#asahi-dev · 2024-02-11 19:15
jannegyou need install m1n1 for a macos installation. you can't use any other os install
#asahi-dev · 2024-02-11 19:08
jannegnicolas17: proxyclient/hv/trace_wlan.py
#asahi-dev · 2024-02-09 06:13
jannegjeffmiw: it's unexpected that something only breaks on single (old) device. are you usingthe same m1n1 binary on 13.5 and 14.3? If you want to use m1n1 without payload and chainloading there is no reason to build with RELEASE=1
#asahi-dev · 2024-02-04 11:49
jannegthe same root cause for the broken display on dptx devices after suspend
#asahi-dev · 2024-02-04 11:47
jannegI suspect the main issue is that I don't fully understand the sequencing between messages on different rtk endpoints
#asahi-dev · 2024-02-04 11:44
jannegkettenis: they should not. in that state the display will not work
#asahi-dev · 2024-02-04 11:28
jannegoh nice. dev_err_probe has EPROBE_DEFER handling and will store the message as defer reason
#asahi-dev · 2024-02-02 17:25
jannegit might be helpful to compare suspend with this rfkill patchset: https://lore.kernel.org/all/20240107180252.73436-1-verdre@v0yd.nl/
#asahi-dev · 2024-02-02 17:25
jannegI think it improved after marcan changed something in the brcmfmac driver last when working on bcm4388 support. So trying to reproduce the issue should really come first
#asahi-dev · 2024-01-22 21:39
jannegpushed the collection of fixes to https://github.com/jannau/linux/tree/bits/200-dcp
#asahi-dev · 2024-01-22 21:03
jannegI guess I should first pull in the spelling PR before fixing them
#asahi-dev · 2024-01-22 21:02
jannegno, in dcp.c there are quite a few in regular messages
#asahi-dev · 2024-01-22 20:59
jannegmany of the messages without \n seems to be forgotten dev_dbg() messages
#asahi-dev · 2024-01-22 20:57
jannegyes
#asahi-dev · 2024-01-22 20:57
jannegalso not sure what I shall do with dcp merge request. I can't merge them but pulling them into my tree manually feels weird as well
#asahi-dev · 2024-01-22 20:53
jannegI've seen it. Is someone else going to add the missing '\n'? If not I'll do that but I'd expect some latency before that shows up in the OpenBSD code
#asahi-dev · 2024-01-22 20:45
jannegno, it will be in my next pull-request
#asahi-dev · 2024-01-22 20:43
jannegno problem
#asahi-dev · 2024-01-22 20:42
jannegyes, I believe you're right and I have a fixup commit locally. same for the missingdirect bitfield.h includes
#asahi-dev · 2024-01-22 20:37
jannegah, same for the backlight breaking? Any indications whether that is a driver or dcp problem?
#asahi-dev · 2024-01-22 20:35
jannegkettenis: your PR hasn't fixed the (m1/m2) backlight restore after power off (completely)?
#asahi-dev · 2024-01-22 20:30
jannegsven did most of the afk/epic work, povik the audio parts which are already included (more to come)
#asahi-dev · 2024-01-21 21:55
jannegon m1 devices
#asahi-dev · 2024-01-21 21:55
jannegI could see if I can get my hacky dp altmode branches to work
#asahi-dev · 2024-01-21 21:54
jannegfor now, there are more coming. for dp/hdmi audio and additional information
#asahi-dev · 2024-01-21 21:13
jannegeiln: good luck. do you have a device on which you can test dcp's afk use?
#asahi-dev · 2024-01-18 11:54
jannegwe have the smc pwren-gpios, not upstream since smc is not upstream. not sure what they actually switch
#asahi-dev · 2024-01-17 23:14
jannegI think most of us are now using apple silicon systems for native compilation. I'm not sure if lina has ever gotten rust-analyzer to work in the kernel (or was that something else)
#asahi-dev · 2024-01-17 20:40
jannegLyude: I think especially fixes necessary after newly released rust versions are out of order. as for Device.raw/raw_mut I think that was changed based on review comments and either not fixed or in other branches squashed into the commit as fixup
#asahi-dev · 2024-01-17 20:32
jannegLyude: I think you want 4250f95b214f3d285f8b2b3722cb3d8b46fc14f0 which has now "bindings::drm_gem_object_init(dev.raw_mut(), "
#asahi-dev · 2024-01-14 11:44
jannegnot console_truetype

plus ›