marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | General project discussion | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
jeffmiw has joined #asahi
jeffmiw has joined #asahi
jeffmiw has quit [Ping timeout: 246 seconds]
jeffmiw has quit [Ping timeout: 246 seconds]
JusticeEX has quit [Ping timeout: 246 seconds]
JusticeEX has quit [Ping timeout: 246 seconds]
troseman has joined #asahi
troseman has joined #asahi
troseman has quit [Remote host closed the connection]
troseman has quit [Remote host closed the connection]
troseman has joined #asahi
troseman has joined #asahi
troseman has quit [Client Quit]
troseman has quit [Client Quit]
troseman has joined #asahi
troseman has joined #asahi
troseman has quit [Client Quit]
troseman has quit [Client Quit]
troseman has joined #asahi
troseman has joined #asahi
yrlf has quit [Quit: Ping timeout (120 seconds)]
yrlf has quit [Quit: Ping timeout (120 seconds)]
jeffmiw has joined #asahi
jeffmiw has joined #asahi
yrlf has joined #asahi
yrlf has joined #asahi
jeffmiw has quit [Ping timeout: 256 seconds]
jeffmiw has quit [Ping timeout: 256 seconds]
linuxgemini has quit [Read error: Connection reset by peer]
linuxgemini has quit [Read error: Connection reset by peer]
raster has quit [Quit: Gettin' stinky!]
raster has quit [Quit: Gettin' stinky!]
JusticeEX has joined #asahi
JusticeEX has joined #asahi
jeffmiw has joined #asahi
jeffmiw has joined #asahi
jeffmiw has quit [Ping timeout: 256 seconds]
jeffmiw has quit [Ping timeout: 256 seconds]
omoiti has joined #asahi
omoiti has joined #asahi
troseman has quit [Read error: Connection reset by peer]
troseman has quit [Read error: Connection reset by peer]
odmir has quit [Remote host closed the connection]
odmir has quit [Remote host closed the connection]
really3 has quit [Remote host closed the connection]
really3 has quit [Remote host closed the connection]
phiologe has quit [Ping timeout: 240 seconds]
phiologe has quit [Ping timeout: 240 seconds]
phiologe has joined #asahi
phiologe has joined #asahi
omoiti has quit [Ping timeout: 265 seconds]
omoiti has quit [Ping timeout: 265 seconds]
jeffmiw has joined #asahi
jeffmiw has joined #asahi
jeffmiw has quit [Ping timeout: 256 seconds]
jeffmiw has quit [Ping timeout: 256 seconds]
<amw> sven: I would like to try booting a asahi-linux + m1n1 with cdc-acm USB cable - can you suggest linux PR / m1n1 PR to start with?
<amw> sven: I would like to try booting a asahi-linux + m1n1 with cdc-acm USB cable - can you suggest linux PR / m1n1 PR to start with?
<amw> sven: As I have no special serial / USB cable I would be happy to just get frame buffer only working
<amw> sven: As I have no special serial / USB cable I would be happy to just get frame buffer only working
<amw> sven: I see a variety of branches in the github repositories + various pull requests - thought it would be nice for some guidance on which to start with.
<amw> sven: I see a variety of branches in the github repositories + various pull requests - thought it would be nice for some guidance on which to start with.
<amw> At present I am thinking https://github.com/svenpeter42/linux for Linux
<amw> At present I am thinking https://github.com/svenpeter42/linux for Linux
marvin24_ has quit [Ping timeout: 244 seconds]
marvin24_ has quit [Ping timeout: 244 seconds]
marvin24 has joined #asahi
marvin24 has joined #asahi
jeffmiw has joined #asahi
jeffmiw has joined #asahi
jeffmiw has quit [Ping timeout: 260 seconds]
jeffmiw has quit [Ping timeout: 260 seconds]
Guest93 has joined #asahi
Guest93 has joined #asahi
Guest93 has left #asahi [#asahi]
Guest93 has left #asahi [#asahi]
Guest93 has joined #asahi
Guest93 has joined #asahi
Guest93 has quit [Client Quit]
Guest93 has quit [Client Quit]
jeffmiw has joined #asahi
jeffmiw has joined #asahi
jeffmiw has quit [Ping timeout: 276 seconds]
jeffmiw has quit [Ping timeout: 276 seconds]
akemin_dayo has quit [Ping timeout: 245 seconds]
akemin_dayo has quit [Ping timeout: 245 seconds]
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #asahi
_whitelogger_ has joined #asahi
jeffmiw has joined #asahi
jeffmiw has joined #asahi
jeffmiw has quit [Ping timeout: 246 seconds]
jeffmiw has quit [Ping timeout: 246 seconds]
_whitelogger_ has quit [Remote host closed the connection]
akemin_dayo has joined #asahi
_whitelogger_ has joined #asahi
_whitelogger_ has joined #asahi
M3zh[m] has joined #asahi
M3zh[m] has joined #asahi
ephe_meral has joined #asahi
ephe_meral has joined #asahi
ephe_meral has quit [Ping timeout: 244 seconds]
ephe_meral has quit [Ping timeout: 244 seconds]
jeffmiw has joined #asahi
jeffmiw has joined #asahi
jeffmiw has quit [Ping timeout: 265 seconds]
jeffmiw has quit [Ping timeout: 265 seconds]
mats has left #asahi [#asahi]
mats has left #asahi [#asahi]
VinDuv has joined #asahi
VinDuv has joined #asahi
<sven> amw: yeah, marcan needs to catch up reviewing :P
<sven> amw: yeah, marcan needs to catch up reviewing :P
<sven> amw: for m1n1 i have this branch https://github.com/svenpeter42/m1n1/tree/usb-dwc3-serial-wip installed which should give you uartproxy over usb + a framebuffer console
<sven> amw: for m1n1 i have this branch https://github.com/svenpeter42/m1n1/tree/usb-dwc3-serial-wip installed which should give you uartproxy over usb + a framebuffer console
<sven> amw: if you want usb in linux you're essentially on your own for now. you could start with https://github.com/svenpeter42/linux/tree/dart-iommu which will give you iommu support but you'll still need to configure the dwc3 driver and g_serial
<sven> amw: if you want usb in linux you're essentially on your own for now. you could start with https://github.com/svenpeter42/linux/tree/dart-iommu which will give you iommu support but you'll still need to configure the dwc3 driver and g_serial
jeffmiw has joined #asahi
jeffmiw has joined #asahi
<sven> keep in mind that this is all still WIP and hasn't really been reviewed or tested by anyone else so expect things to break
<sven> keep in mind that this is all still WIP and hasn't really been reviewed or tested by anyone else so expect things to break
jeffmiw has quit [Ping timeout: 256 seconds]
jeffmiw has quit [Ping timeout: 256 seconds]
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #asahi
_whitelogger_ has joined #asahi
mjg59_ is now known as mjg59
mjg59_ is now known as mjg59
jeffmiw has joined #asahi
jeffmiw has joined #asahi
jeffmiw has quit [Ping timeout: 256 seconds]
jeffmiw has quit [Ping timeout: 256 seconds]
Alice[m] has quit [Quit: Idle for 30+ days]
Alice[m] has quit [Quit: Idle for 30+ days]
bdju has quit [Read error: Connection reset by peer]
bdju has quit [Read error: Connection reset by peer]
crabbedhaloablut has quit [Ping timeout: 240 seconds]
crabbedhaloablut has quit [Ping timeout: 240 seconds]
bdju has joined #asahi
bdju has joined #asahi
crabbedhaloablut has joined #asahi
crabbedhaloablut has joined #asahi
VinDuv has quit [Quit: Leaving.]
VinDuv has quit [Quit: Leaving.]
jeffmiw has joined #asahi
jeffmiw has joined #asahi
<amw> sven: Thanks - I had compiled up the usb-dwc3-serial one - just switching to the wip one (bleeding edge:-)
<amw> sven: Thanks - I had compiled up the usb-dwc3-serial one - just switching to the wip one (bleeding edge:-)
jeffmiw has quit [Ping timeout: 256 seconds]
jeffmiw has quit [Ping timeout: 256 seconds]
akemin_dayo has quit [Ping timeout: 256 seconds]
akemin_dayo has quit [Ping timeout: 256 seconds]
<sven> amw: the only difference to wip are those magic PHY init pokes ;)
<sven> amw: the only difference to wip are those magic PHY init pokes ;)
<sven> it won't work at all without them
<sven> it won't work at all without them
<sven> let me know if that branch works or if you run into any issues
<sven> let me know if that branch works or if you run into any issues
<amw> sven: pretty magic then... ok
<amw> sven: pretty magic then... ok
<amw> sven: I think I'll take a few attempts to get to that stage. I might need a better linux config, but kind of excited to see anything at all ...
<amw> sven: I think I'll take a few attempts to get to that stage. I might need a better linux config, but kind of excited to see anything at all ...
<sven> oh, i'm already happy when the usb support in m1n1 works
<sven> oh, i'm already happy when the usb support in m1n1 works
<sven> no need for any linux config at that point
<sven> no need for any linux config at that point
<sven> just install m1n1 with kmutil and hope for the best :-)
<sven> just install m1n1 with kmutil and hope for the best :-)
akemin_dayo has joined #asahi
akemin_dayo has joined #asahi
raster has joined #asahi
raster has joined #asahi
jeffmiw has joined #asahi
jeffmiw has joined #asahi
jeffmiw has quit [Ping timeout: 245 seconds]
jeffmiw has quit [Ping timeout: 245 seconds]
VinDuv has joined #asahi
VinDuv has joined #asahi
<M3zh[m]> sven: the usb-dwc3-serial-wip branch, does it work for mac mini? If yes then what kind of port is it using? I mean there are two usb controllers and two type ports: usb-c and usb-a ...
<M3zh[m]> sven: the usb-dwc3-serial-wip branch, does it work for mac mini? If yes then what kind of port is it using? I mean there are two usb controllers and two type ports: usb-c and usb-a ...
<sven> i'm developing on a mac mini and it's using the usb-c ports
<sven> i'm developing on a mac mini and it's using the usb-c ports
<sven> it emulates a serial device on both usb-c ports
<sven> it emulates a serial device on both usb-c ports
<M3zh[m]> cool. do I need any special crossover cable like of xhci dbc? or ordinary usb-c is fine?
<M3zh[m]> cool. do I need any special crossover cable like of xhci dbc? or ordinary usb-c is fine?
<sven> regular should work
<sven> regular should work
vimal has joined #asahi
vimal has joined #asahi
<M3zh[m]> sven: thx!
<M3zh[m]> sven: thx!
<amw> sven: Hmm Can't seem to bless my m1n1-payload.macho
<amw> sven: Hmm Can't seem to bless my m1n1-payload.macho
<amw> Getting Invalid argument: bless2_install_custom_obj() failed: 103
<amw> Getting Invalid argument: bless2_install_custom_obj() failed: 103
<sven> are you in 1TR?
<sven> are you in 1TR?
jeffmiw has joined #asahi
jeffmiw has joined #asahi
<amw> I believe so - When I tried before it said I had to be in recovery mode
<amw> I believe so - When I tried before it said I had to be in recovery mode
<sven> strange
<sven> strange
<amw> So I booted to the Terminal in the recovery options on the new partition.
<amw> So I booted to the Terminal in the recovery options on the new partition.
<amw> Tried it with the plane m1n1.macho -> same result
<amw> Tried it with the plane m1n1.macho -> same result
jeffmiw has quit [Ping timeout: 260 seconds]
jeffmiw has quit [Ping timeout: 260 seconds]
<amw> It seems to be trying as it asks am I sure, updating local machine policy ..., installing boot objects ... and then fails,
<amw> It seems to be trying as it asks am I sure, updating local machine policy ..., installing boot objects ... and then fails,
<amw> sven: Yep Developer-Quickstart
<amw> sven: Yep Developer-Quickstart
<sven> just to confirm: how did you boot the mac to get into 1TR?
<sven> just to confirm: how did you boot the mac to get into 1TR?
<amw> Holding down the power key until options window, Then selecting the new boot partition, then selecting terminal (after logging in)
<amw> Holding down the power key until options window, Then selecting the new boot partition, then selecting terminal (after logging in)
<sven> hrm, okay. that should work :/
<sven> hrm, okay. that should work :/
<amw> Is there a way to tell if I have the right version of kmutil? I heard the early one doesn't work
<amw> Is there a way to tell if I have the right version of kmutil? I heard the early one doesn't work
<j`ey> amw: what version of macOS are you on?
<j`ey> amw: what version of macOS are you on?
<sven> i've just updated to the latest mac os before running kmutil
<sven> i've just updated to the latest mac os before running kmutil
linuxgemini has joined #asahi
linuxgemini has joined #asahi
<amw> j`ey: 11.2 - I'm in the recovery terminal at the moment
<amw> j`ey: 11.2 - I'm in the recovery terminal at the moment
<amw> I think it wanted to upgrade to 11.2.3 or something - but I held off.
<amw> I think it wanted to upgrade to 11.2.3 or something - but I held off.
<sven> maybe to try update and see if that fixes anything?
<sven> maybe to try update and see if that fixes anything?
<amw> Yeah. I tried to look through the "Installer Log" but it's hung now after I hit the save button??
<amw> Yeah. I tried to look through the "Installer Log" but it's hung now after I hit the save button??
<amw> When I plugged in my USB Type-C to Type-A cable I get my Linux laptop trying to bind cdc_ncm cdc_wdm cdc_mbim
<amw> When I plugged in my USB Type-C to Type-A cable I get my Linux laptop trying to bind cdc_ncm cdc_wdm cdc_mbim
<amw> Any idea if they are useful ?
<amw> Any idea if they are useful ?
<sven> can you show the dmesg output?
<sven> can you show the dmesg output?
<sven> but cdc sounds like a good start :)
<sven> but cdc sounds like a good start :)
linuxgemini has quit [Read error: Connection reset by peer]
linuxgemini has quit [Read error: Connection reset by peer]
<amw> sven: How would I do that over chat? It's multiple lines
<amw> sven: How would I do that over chat? It's multiple lines
<sven> oh, you haven't installed m1n1 yet?
<sven> oh, you haven't installed m1n1 yet?
<amw> sven: Note: I haven't gotten kmutil to complete yet - just rebooting after update now
<amw> sven: Note: I haven't gotten kmutil to complete yet - just rebooting after update now
<amw> That dmesg was from recovery mode
<amw> That dmesg was from recovery mode
<sven> heh, k. i thought you got some message about cdc_ncm,etc. while running m1n1 :)
<sven> heh, k. i thought you got some message about cdc_ncm,etc. while running m1n1 :)
<amw> I guess we have WiFi in recovery mode so those others are not any better.
<amw> I guess we have WiFi in recovery mode so those others are not any better.
<amw> It's rather slow booting after the upgrade... - I think actually I should be upgrading the Linux Volume not the normal MacOS one...
<amw> It's rather slow booting after the upgrade... - I think actually I should be upgrading the Linux Volume not the normal MacOS one...
<amw> Looks like I'll be doing that another day...
<amw> Looks like I'll be doing that another day...
jeffmiw has joined #asahi
jeffmiw has joined #asahi
jeffmiw has quit [Ping timeout: 256 seconds]
jeffmiw has quit [Ping timeout: 256 seconds]
linuxgemini has joined #asahi
linuxgemini has joined #asahi
<amw> Sigh still rebooting from the upgrade...
<amw> Sigh still rebooting from the upgrade...
jeffmiw has joined #asahi
jeffmiw has joined #asahi
<amw> sven: Hmm it failed to boot my Linux partition, I fell back to recovery, then tried the kmutil and now fails with: Boot policy error: Error creating linked manifest: code BOOTPOLICY_ERROR_AP_BOOT_MODE
<amw> sven: Hmm it failed to boot my Linux partition, I fell back to recovery, then tried the kmutil and now fails with: Boot policy error: Error creating linked manifest: code BOOTPOLICY_ERROR_AP_BOOT_MODE
<amw> I think I will have to reinstall the Linux partition - tomorrow....
<amw> I think I will have to reinstall the Linux partition - tomorrow....
<sven> huh, weird
<sven> huh, weird
<sven> BOOTPOLICY_ERROR_AP_BOOT_MODE sounds like you're maybe not in 1TR?
<sven> BOOTPOLICY_ERROR_AP_BOOT_MODE sounds like you're maybe not in 1TR?
<sven> but no idea
<sven> but no idea
odmir has joined #asahi
odmir has joined #asahi
omoiti has joined #asahi
omoiti has joined #asahi
omoiti has quit [Read error: Connection reset by peer]
omoiti has quit [Read error: Connection reset by peer]
omoiti has joined #asahi
omoiti has joined #asahi
<sven> ugh, so usb host mode definitely needs two darts :/
<sven> ugh, so usb host mode definitely needs two darts :/
<sven> but other than that it seems to be enough to initialize this TPS6598x variant and use a slight different phy bringup sequence
<sven> but other than that it seems to be enough to initialize this TPS6598x variant and use a slight different phy bringup sequence
linuxgemini has quit [Read error: Connection reset by peer]
linuxgemini has quit [Read error: Connection reset by peer]
linuxgemini has joined #asahi
linuxgemini has joined #asahi
<kettenis2> is there a separate dart for device mode and host mode?
<kettenis2> is there a separate dart for device mode and host mode?
<sven> i think it's worse
<sven> i think it's worse
<sven> there's one dart for the "global" part of dwc3 and device mode
<sven> there's one dart for the "global" part of dwc3 and device mode
<sven> and another one for the xhci part
<sven> and another one for the xhci part
<kettenis2> well, xhci is what is used for host mode
<kettenis2> well, xhci is what is used for host mode
<kettenis2> and the "global" part doesn't do dma does it?
<kettenis2> and the "global" part doesn't do dma does it?
<sven> yes, but at least the linux driver tries to map some dma buffers before it gets to the xhci part
<sven> yes, but at least the linux driver tries to map some dma buffers before it gets to the xhci part
<sven> still trying to figure out if that's actually required though
<sven> still trying to figure out if that's actually required though
<sven> i'm a little bit confused by that as well though.
<sven> i'm a little bit confused by that as well though.
<sven> all i know for sure is that if i just use the second dart for host map i get translation faults in the dart that i've been using for device mode so far
<sven> all i know for sure is that if i just use the second dart for host map i get translation faults in the dart that i've been using for device mode so far
<sven> *host mode
<sven> *host mode
ifthenelse has quit [Quit: see ya!]
ifthenelse has quit [Quit: see ya!]
ifthenelse has joined #asahi
ifthenelse has joined #asahi
jeffmiw has quit [Remote host closed the connection]
jeffmiw has quit [Remote host closed the connection]
jeffmiw has joined #asahi
jeffmiw has joined #asahi
jeffmiw has quit [Ping timeout: 256 seconds]
jeffmiw has quit [Ping timeout: 256 seconds]
richbridger has joined #asahi
richbridger has joined #asahi
aquijoule__ has quit [Ping timeout: 265 seconds]
aquijoule__ has quit [Ping timeout: 265 seconds]
vimal has quit [Quit: Leaving]
vimal has quit [Quit: Leaving]
jeffmiw has joined #asahi
jeffmiw has joined #asahi
jeffmiw has quit [Ping timeout: 256 seconds]
jeffmiw has quit [Ping timeout: 256 seconds]
<sven> oh for fuck's sake. after protonmail messed up yesterday now my new provider decided to send the mail as html *sigh*
<sven> oh for fuck's sake. after protonmail messed up yesterday now my new provider decided to send the mail as html *sigh*
jeffmiw has joined #asahi
jeffmiw has joined #asahi
jeffmiw has quit [Ping timeout: 246 seconds]
jeffmiw has quit [Ping timeout: 246 seconds]
jeffmiw has joined #asahi
jeffmiw has joined #asahi
jeffmiw has quit []
jeffmiw has quit []
jeffmiw has joined #asahi
jeffmiw has joined #asahi
raster has quit [Quit: Gettin' stinky!]
raster has quit [Quit: Gettin' stinky!]
linuxgemini has quit [Write error: Connection reset by peer]
linuxgemini has quit [Write error: Connection reset by peer]
omoiti has quit [Ping timeout: 256 seconds]
omoiti has quit [Ping timeout: 256 seconds]
linuxgemini has joined #asahi
linuxgemini has joined #asahi
linuxgemini has quit [Remote host closed the connection]
linuxgemini has quit [Remote host closed the connection]
linuxgemini has joined #asahi
linuxgemini has joined #asahi
raster has joined #asahi
raster has joined #asahi
ephe_meral has joined #asahi
ephe_meral has joined #asahi
JusticeEX has quit [Ping timeout: 246 seconds]
JusticeEX has quit [Ping timeout: 246 seconds]
ephe_meral has quit [Ping timeout: 265 seconds]
ephe_meral has quit [Ping timeout: 265 seconds]
VinDuv has quit [Quit: Leaving.]
VinDuv has quit [Quit: Leaving.]
jeffmiw has quit [Quit: Konversation terminated!]
jeffmiw has quit [Quit: Konversation terminated!]
jeffmiw has joined #asahi
jeffmiw has joined #asahi
TheJollyRoger has quit [Ping timeout: 268 seconds]
TheJollyRoger has quit [Ping timeout: 268 seconds]
<amw> Re-install MacOS into new Linux partition now can't bputil -> Failing with Error Domain=BYErrorDomain Code=401 "Failed to create local policy"
<amw> Re-install MacOS into new Linux partition now can't bputil -> Failing with Error Domain=BYErrorDomain Code=401 "Failed to create local policy"
TheJollyRoger has joined #asahi
TheJollyRoger has joined #asahi
<amw> For anyone interested in helping getting bputil to work again (running latest 11.2.3 MacOS) I have the failure here http://pastie.org/p/0OJPgcw2cGwqgV2VcL6pzz
<amw> For anyone interested in helping getting bputil to work again (running latest 11.2.3 MacOS) I have the failure here http://pastie.org/p/0OJPgcw2cGwqgV2VcL6pzz
<amw> The only thing I find on google is to run csrutil disable e.g. https://apple.stackexchange.com/questions/408016/local-policy-error-when-disabling-sip-on-big-sur-m1
<amw> The only thing I find on google is to run csrutil disable e.g. https://apple.stackexchange.com/questions/408016/local-policy-error-when-disabling-sip-on-big-sur-m1
<marcan> well, that was a crazy lead-up to sunday alright. sorry for the downtime, back to working on asahi stuff this week :)
<marcan> well, that was a crazy lead-up to sunday alright. sorry for the downtime, back to working on asahi stuff this week :)
jeffmiw has quit [Remote host closed the connection]
jeffmiw has quit [Remote host closed the connection]
raster has quit [Quit: Gettin' stinky!]
raster has quit [Quit: Gettin' stinky!]
yrlf has quit [Quit: The Lounge - https://thelounge.chat]
yrlf has quit [Quit: The Lounge - https://thelounge.chat]
yrlf has joined #asahi
yrlf has joined #asahi
jeffmiw has joined #asahi
jeffmiw has joined #asahi
jeffmiw has quit [Ping timeout: 245 seconds]
jeffmiw has quit [Ping timeout: 245 seconds]
JusticeEX has joined #asahi
JusticeEX has joined #asahi