ChanServ changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | Non-development talk: #asahi | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
chadmed has quit [Quit: Konversation terminated!]
chadmed has joined #asahi-dev
chadmed has quit []
chadmed has joined #asahi-dev
wille-io has quit [Ping timeout: 480 seconds]
wille-io has joined #asahi-dev
HitokiriKincho has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
HitokiriKincho has joined #asahi-dev
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
HitokiriKincho has quit [Quit: Leaving...]
HitokiriKincho has joined #asahi-dev
MrDampSquid has joined #asahi-dev
MrDampSquid has quit []
MrDampSquid has joined #asahi-dev
ece51715369044449 is now known as ece
pb17 has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
pb17 has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
emilia-miki has joined #asahi-dev
emilia-miki has quit []
chrisl has joined #asahi-dev
psykose has quit [Remote host closed the connection]
psykose has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
tobhe has joined #asahi-dev
chrisl has joined #asahi-dev
tobhe_ has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
nora has joined #asahi-dev
lynndotpy has quit [Quit: bye bye]
lynndotpy has joined #asahi-dev
nora_ has quit [Ping timeout: 480 seconds]
lynndotpy has quit []
lynndotpy has joined #asahi-dev
jnn has joined #asahi-dev
nicolas17 has quit [Read error: Connection reset by peer]
jn has quit [Ping timeout: 480 seconds]
nicolas17 has joined #asahi-dev
pb17 has joined #asahi-dev
chadmed has quit [Remote host closed the connection]
chadmed has joined #asahi-dev
darkapex has quit [Ping timeout: 480 seconds]
chadmed has quit [Quit: Konversation terminated!]
chadmed has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
patrickm has quit [Ping timeout: 480 seconds]
patrickm has joined #asahi-dev
emilia-miki has joined #asahi-dev
pb17 has joined #asahi-dev
HitokiriKincho has quit [Remote host closed the connection]
emilia-miki has quit [Quit: emilia-miki]
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
vimproved has quit [Remote host closed the connection]
vimproved has joined #asahi-dev
HitokiriKincho has joined #asahi-dev
HitokiriKincho has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
JayBeeFOSS has quit [Ping timeout: 480 seconds]
JayBeeFOSS has joined #asahi-dev
pb17 has joined #asahi-dev
mogery has joined #asahi-dev
<mogery> hey y'all! thinking about trying to do an M4 bringup... am fairly competent with C and have a weird amount of time on my hands this weekend. is there something like macvdmtool but for an asahi linux host?
<jannau> mogery: Hej. unfortunately not. We had someone work on that, reporting success but unfortunately never sharing their changes
<mogery> oof. and i assume there's no way to use something like m1n1 proxy mode for bringup? might just have to build a vdmtool then lol
<jannau> but I'm not sure if it's necessary. usb reportedly already works which is a large part of what *vdmtool provides
<mogery> oh! i wasn't aware there was M4 progress already!
<jannau> issuing a reset over usb-pd is useful though but usb support for chainloading eliminates the need for uart
<jannau> I think you want to look at yuka's https://github.com/yu-re-ka/m1n1/commits/t8132 branch
<mogery> oh sweeet! thank you!
<jannau> that is for m4. might required to do similar changes specific for m4 pro/max
<mogery> i've got a base model m4 mac mini that is going to not be working for a couple days while i do this experiment :)
<Tramtrist> hm.. m4 isnt even on the wiki
<mogery> alright, i'll see what i can do to further this! thank you for pointing me in the right direction
<Tramtrist> good to know
<mogery> yeah! i was looking into it because i just moved my M1 mbair to asahi, and wanted to move my main workstation m4 mac mini as well
Sebastian2 has joined #asahi-dev
<jannau> last thing heard re tipd/vdm support was https://oftc.irclog.whitequark.org/asahi-dev/2024-07-14#33362545
Sebastian2 has quit []
Sebastian2 has joined #asahi-dev
mogery has quit [Remote host closed the connection]
Sebastian2 has quit [Quit: Sebastian2]
Sebastian2 has joined #asahi-dev
<chadmed> they might still be tidying it up ;)
Sebastian2 has quit [Quit: Sebastian2]
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
<nickchan> got irq/aic mode to work for CPU PMU on a7
<nickchan> a11 cpmu seems to be able to deliver IRQ and FIQ
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
<nickchan> FIQ is faster so I guess I should use FIQ
<nickchan> okay I think I figured how AIC mode work now
<nickchan> every core has its own IRQ
<Tramtrist> what are you working on nickchan ?
<chadmed> Tramtrist: support for A-series apple SoCs (and the devices they live in)
<chadmed> my folks just got a new m2 ipad today so now i have a 2019 ipad pro that could be fun to play with eventually :)
<Tramtrist> oh
<sven> does anyone want to review nickchan's series from above?
<sven> i'll pull them in later today otherwise
<nickchan> chadmed: 2019 ipad pro is a12x...
<nickchan> no way to run custom code on that in EL1
<nickchan> well, other than poisoning the cache line
<chadmed> i did say "eventually" :p </cope>
<Tramtrist> didnt realize there was any ios device activity
dcavalca8569 has quit [Ping timeout: 480 seconds]
dcavalca8569 has joined #asahi-dev
<chaos_princess> certain old devices have a bootrom exploit (checkra1n), and can load arbitrary os-es
<chaos_princess> (and each time i see that kind of activity i am sad that my iphone x died)
<Tramtrist> hm.. have a box full of iphone SEs ..
<chaos_princess> i think at least some generations of SEs can do this exploit
<Tramtrist> 1st gen i mean
<Tramtrist> peak form iPhone factor 😭
<chaos_princess> this is most likely a wrong opinion, but i like the home-button-less ones more, app switching with gestures feels more natural/speedy (i was helping someone with their iphone 8 recently, and wow, do not want to go back)
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
sand4rt has joined #asahi-dev
<chadmed> chaos_princess: +1
<chadmed> i also seem to be rather alone in my preference for faceid over touchid
<chadmed> most of my friends haaateee it... or rather, they did when they all had android phones and had never tried apple's faceid
<sven> faceid was annoying when i was wearing a mask every single day. now i much prefer it to touchid especially in winter
<chadmed> they added an option to make it work with masks on which is nice
<nickchan> and for a12x/a12z/t8027, its aic needs a mapping table since it boots on a core other than cpu 0
<nickchan> unfortunately that feature is iphone only
<chaos_princess> i don't think so, iirc m4 also has the same thing where the boot core is not 0
<nickchan> chaos_princess: AIC 1 and non-cpu0 boot core
<chaos_princess> ah, yea, aic1
<nickchan> wonderful
<nickchan> pmu works like a charm on a8-a10 now
<nickchan> a7 also works but the event that supposedly counts all instructions turns out to only count a64 instructions
<nickchan> maybe that's fine to treat as all instructions?
<nickchan> cause it's looking like an erratum now
chrisl has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
* sven hates gpg
chrisl has quit [Ping timeout: 480 seconds]
<nickchan> looks fine to me
sand4rt has quit [Ping timeout: 480 seconds]
<sven> feel free to ping jannau or me here on irc if we take that long to review or merge something again :)
pb17 has joined #asahi-dev
robert_ has joined #asahi-dev
m5zs7k has quit [Ping timeout: 480 seconds]
wyes has joined #asahi-dev
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
m5zs7k has joined #asahi-dev
ttmx has joined #asahi-dev
ttmx has quit [Read error: Connection reset by peer]
pb17 has quit [Ping timeout: 480 seconds]
mjolnir[m]1 has quit []
matrix_ds has quit [Quit: Bridge terminating on SIGTERM]
paddatrapper_ has quit [Quit: Bridge terminating on SIGTERM]
tumblingweed has quit [Quit: Bridge terminating on SIGTERM]
williamdes-m has quit [Quit: Bridge terminating on SIGTERM]
m5zs7k has quit [Ping timeout: 480 seconds]
m5zs7k has joined #asahi-dev
pb17 has joined #asahi-dev
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
Deewiant has quit [Remote host closed the connection]
Deewiant has joined #asahi-dev
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
<jannau> I've pushed linux 6.13 based bits branches and asahi-wip (based on v6.13.2) to github, without tag for now
matrix_ds has joined #asahi-dev
matrix_ds has quit [Excess Flood]
matrix_ds has joined #asahi-dev
Leandro[mds] has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
HitokiriKincho has joined #asahi-dev
pb17 has joined #asahi-dev
matrix_ds has quit [Remote host closed the connection]
Leandro[mds] has quit [Remote host closed the connection]
matrix_ds has joined #asahi-dev
Leandro[mds] has joined #asahi-dev
matrix_ds has quit [Excess Flood]
matrix_ds has joined #asahi-dev
john-cabaj has joined #asahi-dev
HitokiriKincho has quit [Ping timeout: 480 seconds]
glem8100548 has quit [Quit: bye.]
chrisl has joined #asahi-dev
sudtho has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
john-cabaj has quit [Ping timeout: 480 seconds]
sudtho has quit [Ping timeout: 480 seconds]
john-cabaj has joined #asahi-dev
<chaos_princess> jannau: j314, booted it, dcp fails to update in plymouth/initrd (keeps u-boot messages), after entering disk password via m1n1 shell, dcp initializes and works
<chaos_princess> hv/no-hv is irrelevant, it also initializes if i enter the password blindly
john-cabaj has quit [Ping timeout: 480 seconds]
<jannau> chaos_princess: strange. anything obvious in the kernel log?
<chaos_princess> not really?
<chaos_princess> sec
highvoltage[mds] has joined #asahi-dev
mjolnir[mds] has joined #asahi-dev
paddatrapper_ has joined #asahi-dev
tumblingweed has joined #asahi-dev
williamdes-m has joined #asahi-dev
<chaos_princess> i _think_ it was trying to show plymouth on an unconnected hdmi port
<chaos_princess> except, well, i have tried to connect that port, and the display failed to lock on the signal until it finished booting
robert_ has quit []
yuyichao_ has quit [Ping timeout: 480 seconds]
<jannau> I haven't tested on j314, maybe the hdmi connector state inside drm is weird on bootup? that reminds me of a change I wanted to do
halloy6856 has joined #asahi-dev
sand4rt has joined #asahi-dev
sand4rt has quit []
sand4rt has joined #asahi-dev
halloy6856 has quit []
chrisl has joined #asahi-dev
glem8100548 has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
<jannau> chaos_princess: can you check 6.12 kernel logs for when 'apple-dcp 38bc00000.dcp: set_digital_out_mode(color:1 timing:3) "3024x1890" ...' happens during boot?
<chaos_princess> give me like 5 mins, and will do
<jannau> nevermind, simpledrm is removed quite early, so maybe an issue with the fb client setup
<jannau> which changed in 6.13
<chaos_princess> ah
<chaos_princess> yea, that does sound suspicious
<chaos_princess> do we have a way to bisect w/o a ton of pain?
<jannau> do you have "apple-drm soc:display-subsystem: [drm] fb0: appledrmfb frame buffer device" in 6.13
<jannau> I was thinking of a kernel config issue
<chaos_princess> should that be in dmesg?
<chaos_princess> if yes - it is not there
<jannau> CONFIG_DRM_CLIENT=y
<jannau> the quoted appledrmfb line? yes. that should be there
<chaos_princess> simpledrm was n
<jannau> chaos_princess: this https://paste.centos.org/view/3dd6f95a shopuld be the relevant configs
<chaos_princess> wonder what set it to n, iirc i had it as y before
<chaos_princess> yep, it was that
chrisl has joined #asahi-dev
<jannau> I think appledrmfb should work even without simpledrm, plymouth might be still confused if dcp inits happens after its loaded
<jannau> unless switching one simpledrm turned on fb emulation
<jannau> can you diff .config and config.old?
<chaos_princess> sec
<chaos_princess> https://pastebin.com/syMdQJn6 - not seeing anything that suspicious tbh
chrisl has quit [Ping timeout: 480 seconds]
flom84 has joined #asahi-dev
flom84 has quit []
sand4rt has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
Sebastian2 has joined #asahi-dev
<jannau> I meant the difference between 6.13 before and after turning simpledrm on but anyway I seen now the error. I need to update the Kconfig for appledrm
Sebastian2 has quit [Quit: Sebastian2]
yuyichao_ has joined #asahi-dev
sand4rt has joined #asahi-dev
chrisl has joined #asahi-dev
sand4rt has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
<jannau> chaos_princess: should be fixed without simpledrm
sand4rt has joined #asahi-dev
<chaos_princess> ty
chrisl has joined #asahi-dev
HitokiriKincho has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
HitokiriKincho has quit [Ping timeout: 480 seconds]
ddxtanx has quit [Remote host closed the connection]
pb17 has joined #asahi-dev
ddxtanx has joined #asahi-dev
Graypup_ has quit [Quit: meow]
Graypup_ has joined #asahi-dev
balrog has quit [Quit: Bye]
balrog has joined #asahi-dev
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
HitokiriKincho has joined #asahi-dev
HitokiriKincho has quit [Ping timeout: 480 seconds]
HitokiriKincho has joined #asahi-dev