#asahi · 2021-12-29 15:58
rose_tpw_rules: ty for your help, we have a u-boot shell now#asahi · 2021-12-29 15:56
rose_right, that's what i was looking for, thanks#asahi · 2021-12-29 15:54
rose_right#asahi · 2021-12-29 15:52
rose_when you say it shows up on openbsd, is this openbsd running *on the m1*, or on a machine that's plugged into it?#asahi · 2021-12-29 15:51
rose_wait wait wait#asahi · 2021-12-29 15:50
rose_woah thanks a lot that's great#asahi · 2021-12-29 15:47
rose_epic, thanks. do you know how this console is exposed to the guests (or where it's documented)? i suppose i'll need to write a driver for it in netbsd#asahi · 2021-12-29 15:45
rose_so s/m1n1.bin/m1n1.macho/ and that's it, you think?#asahi · 2021-12-29 15:44
rose_"cat m1n1.bin u-boot.dtb u-boot-nodtb.bin > blah.bin" right?#asahi · 2021-12-29 15:42
rose_i reckon it's the latter tbh#asahi · 2021-12-29 15:41
rose_woahhhh mb i never realised there were two consoles, thanks#asahi · 2021-12-29 15:39
rose_is there a way to tell why it crashed?#asahi · 2021-12-29 15:38
rose_noted#asahi · 2021-12-29 15:28
rose_our main problem with monterey is that the framebuffer was the only real output we had, and now that's gone, we can't just boot netbsd and see if it works because iirc it has no other working i/o lol#asahi · 2021-12-29 15:26
rose_apparently even kettenis is using big sur, maybe wasn't a good idea to upgrade#asahi · 2021-12-29 15:25
rose_wait, is anyone around here actually using monterey?#asahi · 2021-12-29 15:24
rose_hey, yesterday someone told me that in order to load u-boot, i should use m1n1's run_guest.py. we've tried this just now and it spat out some register reads and writes before talking about a dangerous write and rebooting the machine - is there anything obvious we could be doing wrong here?#asahi · 2021-12-28 18:26
rose_thanks though i'll look into run_guest, and like i said i gtg but i'll check the logs#asahi · 2021-12-28 18:25
rose_btw, where do people tend to build u-boot from? from the logs earlier it seems there are a few forks, but idk which ones the most likely to work#asahi · 2021-12-28 18:24
rose_yeah long term we're trying to boot netbsd, i dont really understand which scripts do what so we've mostly been using wrangled versions of linux.py#asahi · 2021-12-28 18:23
rose_we have no output from u-boot at all, and back in big sur we had video#asahi · 2021-12-28 18:22
rose_hmm.. it doesn't talk on serial#asahi · 2021-12-28 18:22
rose_by "the hypervisor" you mean m1n1? i already am#asahi · 2021-12-28 18:22
rose_ehh i gtg for a while but i'll check the logs later#asahi · 2021-12-28 18:20
rose_needed to get video output from u-boot even with this update?#asahi · 2021-12-28 18:20
rose_hey im back with more problems - im trying to get some output from u-boot to prove it works since upgrading to 12.1 (turns out i shouldn't have done that so eagerly lol) and i've heard that since 12.1, iboot no longer inits the framebuffer, which is why u-boot isn't displaying anything. apparently, there are people here who know the incantations#asahi · 2021-12-22 15:00
rose_hmm, dmesg is showing the mini *dis*connecting twice as "Apple Mobile Device (Recovery Mode)" and once as "Mac mini"#asahi · 2021-12-22 14:58
rose_apple support. idevice tells me to make sure usbmuxd is running, and i have done. why do the gods hate me#asahi · 2021-12-22 14:58
rose_alright, now idevicerestore makes decent progress, but when the mini reboots, idevice waits for it to enter restore mode so it can continue talking over usb, but this doesn't happen and both sides eventually time out. im getting an apple logo and an empty progress bar on the screen, and after a while the mac falls off lsusb and displays a link to#asahi · 2021-12-22 13:27
rose_fixed by upgrading to idevicerestore master#asahi · 2021-12-22 13:25
rose_ok now the led is amber and idevicerestore sees it (if i run it as root) but it is "unable to discover device type"#asahi · 2021-12-22 13:17
rose_oh wait i forgot to try the dfu thing#asahi · 2021-12-22 13:16
rose_honestly i'd like to just do it with idevicerestore but even that doesn't want to work#asahi · 2021-12-22 13:14
rose_well, i have the password that it asks for when i run these things, i don't know if there's any other credentials#asahi · 2021-12-22 13:14
rose_i have the credentials#asahi · 2021-12-22 13:11
rose_after csrutil clear and reboot, csrutil disable gives "failed to create local policy" :(#asahi · 2021-12-22 13:10
rose_cool im trying that#asahi · 2021-12-22 13:05
rose_oh, right. yeah, bputil -n fails#asahi · 2021-12-22 13:04
rose_thanks i'll look into that#asahi · 2021-12-22 13:03
rose_if i use kmutil to point the bootloader at m1n1, surely i can use kmutil to point the bootloader at macos' kernel? only problem is i don't know where on the disk macos' kernel is#asahi · 2021-12-22 13:01
rose_i am starting to see this computer as an enemy#asahi · 2021-12-22 13:01
rose_ERROR: Unable to discover device mode. Please make sure a device is attached.#asahi · 2021-12-22 13:01
rose_(from idevicerestore -ln)#asahi · 2021-12-22 13:00
rose_nice, that's the one i guessed :D#asahi · 2021-12-22 12:54
rose_okie i plugged in a usb c cable and my laptop sees it on lsusb so im gonna try like this#asahi · 2021-12-22 12:52
rose_do i use the usb c ports?#asahi · 2021-12-22 12:52
rose_also im quickly realising i dont know what im doing with idevicerestore lol like how do i even plug it in to my laptop#asahi · 2021-12-22 12:50
rose_using 1tr?#asahi · 2021-12-22 12:48
rose_for those following the macos installation saga the 3rd attempt at reinstalling using 1tr failed after nearly an hour. now onto idevicerestore#asahi · 2021-12-22 12:10
rose_so i'll let it run all the way through this time and try again, and if that doesn't work i'll get the other mac and try the configurator thing