#
…

2021-09-26

01:17___nick___ has quit []
01:19___nick___ has joined #asahi
02:21robinp has quit [Read error: Connection reset by peer]
02:42phiologe has joined #asahi
02:45PhilippvK has quit [Ping timeout: 480 seconds]
03:08marcanI love it when idevicerestore doesn't work... and neither does Apple's restore tool.
03:08skipwich has quit [Ping timeout: 480 seconds]
03:08marcanI swear idevicerestore actually got *further* into the restore than Apple Configurator 2
03:09marcan(trying to capture a TSS response for AppleTCON so nikias can add support for the iMac to idevicestore...)
03:09marcan*idevicerestore
03:10marcannow trying with the "latest software" which means a massive download... bleh
03:10marcanI was trying a 11.4 restore from a 11.5 device, which really should work
03:11marvin24 has joined #asahi
03:12marcanbut anyway, if we can get idevicerestore to work well on all these machines, that will hopefully give everyone piece of mind that we aren't going to brick anything
03:12marcanAIUI even the factory data can be pulled over the network
03:12marcan*peace of mind
03:12chadmedare people actually scared of that happening still?
03:12marcanit pops up now and then
03:13marcanI stand by that philosophy; I never want a user to ever end up with damaged or unusable hardware due to something I wrote, not even in freak corner cases
03:14chadmedthats a fair position to take though these devices really are unbrickable afaict unless you completely nuke the eeprom (which we do not expose atm)
03:14marvin24_ has quit [Ping timeout: 480 seconds]
03:14marcanAIUI they are unbrickable even if you nuke the NOR
03:14marcanand that would be something I'd want to test on my second mac mini
03:15marcanif it doesn't work, since I'm told it's supposed to, that's a bug to report to apple :)
03:15chadmedmy mate plans on getting an M1X mini on release, might ask if he can donate his M1 mini to science ;)
03:15marcanI'll be getting one too of course
03:16marcanI'm going to end up with quite a collection...
03:16marcanif nothing else that's one good reason for the patreon, being able to buy all the devices for testing :)
03:21robinp has joined #asahi
04:06marcan... and now it ran out of disk space
04:06marcanbut I don't know how. my data volume lists 400GB in use but `du` only shows about 90GB in use
04:06marcancan we make it a goal to have Asahi work better than macOS on these machines? it really doesn't sound like that much of a challenge :p
04:07chadmedthat seems rather easy, the days of macos being a solid UNIX workstation os are long over
04:07marcanonline fsck isn't quite working properly
04:07marcanlet's try from recovery mode...
04:07chadmedits a pretty horrific mess these days, especially ever since they started dumping ios libraries in starting with Lion
04:08marcan(and people want APFS to work on Linux? so far my experiences with it on *macOS* are it corrupting in a way that caused kernel panics on a friend's machine, and now this)
04:11chadmedits probably worth having a readonly kernel driver to make dual booters' lives a bit easier... but its a nice-to-have and at this stage probably more dangerous than helpful id say
04:12chadmedi can imagine someone inadvertently shredding their apfs container with macos on it and getting upset
04:13marcanwait what
04:13marcanI can see the space users from recovery mode, it's an iOS backup I'd taken
04:13marcan... but I swear I deleted it
04:13marcanwhy couldn't I see it while booted?
04:15marcanah right, Terminal didn't have Full Disk Access enabled
04:28marcanahaha and I think it's working now
04:29marcanand I think I know why
04:31marcanI was using a C-C cable before
04:31marcanand I think, once it entered xnu/restore mode, the iMac decided it would be the DFP/host
04:31marcan... so the mba I was using to restore never saw the restore gadget
04:31marcannow I'm using my serial rig which is hardcoded
04:31marcan... so I guess if you want to restore an Apple Silicon mac, you'd better use a C-A cable and an A-C adapter to force directionality...
04:49chadmed has quit [Remote host closed the connection]
04:49chadmed has joined #asahi
05:33marcanyay, idevicerestore works on my iMac now \o/
05:36marcantrying a full restore now for completeness
05:43marcanlooks like that worked too, although it landed me in an "Activate Mac" screen, so I think it didn't *quite* personalize properly, somehow
05:47chadmedwas it a full factory reset? they usually ask for your icloud details and time machine backup regardless, no?
05:49marcanyes, full reset
05:49marcanand no, I'm not talking about that
05:49marcaninitial OS boot failed, it kicked me into recovery assistant
05:49marcanthis doesn't happen with AC2
05:49marcanI think the proxy support to Apple's activation server in idevicerestore is broken
05:49chadmedohhh right right yeah odd
05:49marcanit did work after going through the recovery assistant screens
05:49marcanjust get on the wifi and it works
05:49marcanbut it's clearly something not quite right in idevicerestore
05:54marcanoh huh, I just tried it again and restore failed
05:54marcanlooks like it just fell off of USB? weird
05:55marcanmaybe it was a fluke... it just failed mid sending the root FS with no discernible error
06:00marcanyeah, works now but the proxy thing is definitely broken
06:17marcanchadmed: fixed it, it was indeed broken proxy logic (and it worked... if you're close enough to Apple's server)
06:17marcanboots normally after restore now
06:17chadmedneat, that makes things significantly safer
06:18marcanyeah, it also failed in a way that broke the entire restore sometimes
06:18marcanit was just inconsistent in what part failed
06:25nsklaus_ has quit [Ping timeout: 480 seconds]
06:32nsklaus_ has joined #asahi
06:43marcantrying the mba for completeness, though I suspect it'll work...
06:53marcanyup, works fine
06:53marcanso another interesting thing is the "no-erase" mode, as far as I can tell, just upgrades system firmware/recovery
06:54marcanthat should be convenient for those who need to upgrade to 12.0 firmware but don't want to upgrade macOS to 12.0
06:54chadmedthat will be very useful for us
06:54chadmedyeah that ^
06:54marcan(though I need to figure out how to make the installer bootability stuff work to install 12.0 on 11.x... that didn't work last time and I think it's due to apple bugs)
06:55marcanOTOH if you're on 11.x, and you upgrade SFR, you get 12.0 for recoveryOS
06:55marcanso you could just boot from 1TR and that would definitely work
07:06marcanok, SFR upgrade to 11.6 worked on the MBA, yay
07:06marcan12.0 probably won't work due to the missing BootabilityBundle feature though
07:06marcanbut I trust Nikias can figure that one out
08:19chadmed has quit [Quit: Konversation terminated!]
08:33chadmed has joined #asahi
08:37chadmed has quit [Remote host closed the connection]
08:40chadmed has joined #asahi
08:48chadmed has quit [Remote host closed the connection]
08:52aleasto has joined #asahi
08:57aleasto has quit []
09:03robinpjust building a kernel from 'many-hacks' - do we need CONFIG_EEPROM_93CX6=y ? (just trying to work out why alyssa has it selected & its not a default).
09:04j_eyIm pretty sure you don't..
10:14mazpleasantly surprised that m1n1 already deals with the local-mac-address properties!
10:25mazthat's all it took for my mini to use the official MAC address.
12:12kettenismaz: it works for the wifi as well; that needs a wifi0 alias
12:47bgb has joined #asahi
12:50bgbwhen I use m1n1 with ttyUSB0, it now always show me self.readfull(1) timeout, but it worked before, and works now on another linux machine. I don't what is wrong with my machine.... any suggestions?
12:52jndo you have a different device connected to this machine, as ttyUSB0?
12:54bgban arduino usb cable as ttyACM0, nothing else
12:56bgbsame hw works well on another linux machine(ubuntu)
12:56aleasto has joined #asahi
12:57sven<3 usb *sigh*
12:57svenanything in dmesg or on the m1n1 framebuffer?
12:58bgbnothing
12:58svendoes the m1n1 version match the proxyclient version?
12:59bgbah, m1n1 inside mac mini is older
12:59svendoes chainload work?
12:59j_eyalways chainload m1n1 first
12:59bgbeven shell.py did not work
13:00svenbut does chainload work?
13:00mini has quit [Remote host closed the connection]
13:00svenhrm, okay. that's odd then
13:01bgbworked at least once
13:02mini has joined #asahi
13:03bgbI'm moving to a newly installed gentoo(gnome desktop) machine, because ubuntu can not work with m1n1 usb driver due to BIOS bug. too hard for me...
13:15bgb has quit [Ping timeout: 480 seconds]
13:59JuniorJPDJ has joined #asahi
14:37X-Scale` has joined #asahi
14:42X-Scale has quit [Ping timeout: 480 seconds]
14:46JJ_007 has joined #asahi
15:01nsrthanks again for all the pointers on the PMU from friday, I did manage to configure it to retrieve clock cycle from el0 eventually, thanks to your documentation :)
15:13marcanttyUSB0 isn't m1n1, m1n1 would show up as ttyACM0
15:28mazkettenis: yup. I just need to know whether wifi is function 0 or 1.
15:32JJ_007 has left #asahi [Leaving]
17:27quarkyalice has quit [Remote host closed the connection]
17:38yuyichao_ has joined #asahi
17:42yuyichao has quit [Ping timeout: 480 seconds]
17:46boardwalk has quit [Ping timeout: 480 seconds]
18:21marcanrestoring 12.0 beta7 with idevicerestore + some manual work works now
18:22marcanI'll let Nikias opine on how to implement the cpio shenanigans, but this proves it works :)
18:24boardwalk has joined #asahi
18:28aleasto has quit [Ping timeout: 480 seconds]
19:06kettenismaz: wifi is function 0
19:07kettenisreg = <0x10000 0x0 0x0 0x0 0x0>;
19:07kettenislocal-mac-address = [00 00 00 00 00 00];
19:07kettenisis what I have in my u-boot device tree
19:10povik has joined #asahi
19:29X-Scale has joined #asahi
19:29aleasto has joined #asahi
19:34X-Scale` has quit [Ping timeout: 480 seconds]
20:19tomtastic has quit [Ping timeout: 480 seconds]
20:26tomtastic has joined #asahi
20:28thunfisch has quit [Read error: Permission denied]
20:29thunfisch has joined #asahi
22:00yrlf has quit [Quit: The Lounge - https://thelounge.chat]
22:01yrlf has joined #asahi
22:24X-Scale` has joined #asahi
22:30X-Scale has quit [Ping timeout: 480 seconds]
22:33___nick___ has quit [Ping timeout: 480 seconds]
22:36aleasto has quit [Quit: Konversation terminated!]
23:45boardwalk has quit [Ping timeout: 480 seconds]
23:46boardwalk has joined #asahi
23:55boardwalk has quit [Ping timeout: 480 seconds]
…