#
…

2021-08-12

01:51marcanbtw, this is what the installer looks like currently: https://mrcn.st/p/9rK1WDjo
01:53brentr123[m]I’m assuming eventually this will be more user friendly? Like it won’t have crazy techy terms for people who wanna install Linux but don’t understand computer terminology?
01:53marcaneventually, but the steps at the very end (the reboots and running the shell script) are pretty much required
01:54marcanthe rest of the process can have an easy automatic mode
01:57phireSo the "press and hold power button" step will stay around?
01:57brentr123[m]Because that is required to enter recovery mode
01:58marcanthat's the entire point of the security design
01:58brentr123[m]And i think it’s impossible to automate that?
01:58marcanyou are not allowed to run custom code without physically asserting your presence like that
01:58riker77 has quit [Ping timeout: 480 seconds]
01:58phireoh... that makes total sense then
01:58marcanit would be nice though if we could elide the paired recovery requirement to avoid having to split the process into two steps
01:58marcanin fact that's a new requirement
01:59marcanright *now* with <12.0 it could be done in one step from 1TR
01:59riker77 has joined #asahi
01:59marcanbut alas that is going away
01:59phiremight want to explain the "why" as part of the instructions
01:59marcanit would also be nice if we could set the new volume as bootable without a reboot, to avoid having to tell people to force shut down the boot loop
01:59marcanthose are things that I could see improving in the future, but we depend on apple
02:21yuyichao has joined #asahi
02:23artemist has quit [Ping timeout: 480 seconds]
02:40PhilippvK has joined #asahi
02:44phiologe has quit [Ping timeout: 480 seconds]
02:57artemist has joined #asahi
03:32kov has quit [Quit: Coyote finally caught me]
03:32kov has joined #asahi
03:37marvin24_ has joined #asahi
03:40marvin24 has quit [Ping timeout: 480 seconds]
04:21chadmedphire: thats probably something that should go in the developer area/extended documentation. its probably best to keep the how-to guide as simple and uncluttered as possible to prevent confusing users who just want linux on their mac and dont care how it works
04:22chadmedif you pack basic instructions with heaps of technical tidbits you run the risk of confusing novice users who will then come looking for support for extremely basic things they would not have screwed up if they were given clear instructions. just look at the gentoo irc for an example of this
04:36camr0[m] has joined #asahi
07:13bps has joined #asahi
09:51tomtastic has quit [Ping timeout: 480 seconds]
10:20j_eyamw: finally pushed my branch here https://gitlab.arm.com/linux-arm/jg-open/-/commits/m1-keyboard/ (the url might change at some point)
10:22j_eyit includes some changes to use sven's clock gate driver. even though sven said that driver/bindings will have to change, I thought it was worthwhile doing anyway
10:35pipcet[m]ooh, I think I'm going to bake myself an everything-asahi-can-do-now kernel :-)
10:39j_eyI probably need to re-test since I did a bit of rebasing and cleanup
10:39j_eyalso there seemed to have been a double delay in the spi driver that I removed, I'm hoping it wasn't intentional
10:40pipcet[m]stan mentioned some timing problems with the SPI driver, particularly on MBAs
10:40pipcet[m]and I believe the keyboard SPI controller needs a delay both before and after transmission, during which !CS is held low.
10:48pipcet[m]I've had timing issue with the touchpad, but the only timing issue I had with the keyboard is when I changed the delay to 100 ms rather than 100 us, and it worked then, just slowly :P
10:48j_eyI haven't yet booted to anything that I can test the touchpad with
10:51j_eynever heard of that! "gpm - a cut and paste utility and mouse server for virtual consoles
10:52pipcet[m]it's debian package gpm if you just want to include it in a debootstrap
10:52pipcet[m]i mean, you can also include an xserver that way but I only got x to work by making the framebuffer x8r8g8b8
10:53j_eyI'm just using busybox so far, maybe it's simple enough to include/build. but I should look at debboostrap eventually anyway
10:55pipcet[m]I set up github CI to build a debootstrap image, need to change that so it actually includes that in published "releases" (but it's probably too large for m1n1 to handle without my other patches)
10:57j_eydoes debboostrap build anything? i mean, it uses binary packages for most things?
10:58pipcet[m]AFAIUI, debootstrap downloads and unpacks .debs, then remembers which of those were included so the native system can run "stage2", which runs the setup scripts.
11:00pipcet[m]what I'm doing right now is booting the stage2 system with init=/bin/bash, which is annoying because only a few things work. The right thing to do is to run it with the right init, which will set up a debian system in RAM and give you a login prompt (that part works) and allow you to log in (that part doesn't, because passwd isn't set up)
11:52tomtastic has joined #asahi
12:11marcaninteresting, I can SSH into macOS during an upgrade, during the post-reboot 15 minute progress bar thing
12:11marcanand sw_vers says it's already on the new version
12:11marcanso what is it *doing*?
12:12arnot sure, but the time it takes macos to update amazes me
12:12arit falls just short of me suspecting it's actually compiling significant parts of the system
12:15miniisn't that the point where it does the APFS 'sealing' process?
13:00yuyichao has quit [Ping timeout: 480 seconds]
13:10alyssapipcet[m]: you around?
13:11pipcet[m]I am, but I won't have access to the M1 for an hour or so :-)
13:11alyssathat's fine. could I pm?
13:23alyssarefclk24mhz (corellium) == clk24 (asahi), i think
13:32pipcet[m] Recommended suffixes are listed at
13:32pipcet[m]- DO use common property unit suffixes for properties with scientific units.
13:35j_eyI think clk24 is in mainline now?
13:36alyssayeah i so
13:36pipcet[m]yeah, no big deal :-)
13:41yuyichao has joined #asahi
13:52DarkShadow44 has quit [Remote host closed the connection]
13:53DarkShadow44 has joined #asahi
14:29yuyichao has quit [Ping timeout: 480 seconds]
15:03jbowen has joined #asahi
16:13yuyichao has joined #asahi
16:23VitorCardoso[m] has joined #asahi
16:26M320mb[m] has joined #asahi
16:28M320mb[m]has the ashai monthly update been posted ? :)
16:29alyssafor the month of February!
16:29M320mb[m]ahh I saw he wrote he would be updating today
16:31M320mb[m]Oh kudos on the Debian photo Alyssa
16:53marcanM320mb[m]: wrapping up the first test insaller now, so I'll post the update tomorrow
16:53marcanI spent most of the day testing macOS version combinations and weird corner cases...
16:53M320mb[m]Look forward to it sir, thanks very much
16:57alyssaM320mb[m]: Hello from Debian bare metal ont he M1 :)
16:59M320mb[m]alyssa: indeed, it has been passed around quite a lot in the M1 community :)
17:01Andalu30 has joined #asahi
17:08steevdefault tmux best tmux
17:08tophevich[m]alyssa: is this already using a dcp driven fb based on mini-'dcp-clusterfuck'?
17:08alyssano, this is iBoot
17:08alyssa^framebuffer
17:09tophevich[m]but looks good anyways, gz! :)
17:12Andalu30 has quit [Remote host closed the connection]
17:14Andalu30 has joined #asahi
17:16marcanOK, here goes. First "public" installer. All testing is appreciated. Note: for development only. This isn't ready for end users in any way, shape, or form. It's not even hosted or built properly, just running off of my personal server.
17:17marcanTL;DR: use macOS 11.4, normal boot or recovery, doesn't matter, and run `curl -L https://mrcn.st/alxsh | sh`. You need unpartitioned space or a blank APFS partition (>2.5G).
17:17marcanIt only installs m1n1, not a distro.
17:18marcangit repo isn't even up, but I guess it's time to do that
17:20steevdo you want people to test > 11.4, or is that known to not work?
17:21marcansorry, >=11.4 works
17:21marcanbut I actually haven't tested anything <11.5.2
17:22marcanI just claim to support 11.4 (and can install using that version for the stub), so please let me know if it works installing *from* 11.4 :-)
17:23marcanI've tested 11.5.2 and 12.0 beta5
17:23marcanThe options you get will depend on what version you're running and what environment you're in
17:23Andalu30 has quit [Remote host closed the connection]
17:25tophevich[m]the export IPSW in install.sh is no long used, no ?
17:26Andalu30 has joined #asahi
17:26tophevich[m]it implies it could still be set from "IPWS=custom install.sh" could still be a thing
17:28tophevich[m]wow, I guess I could try to write sentences that make any sort of sense
17:29tophevich[m]what I mean is if I only look at install.sh, it implies I could provide the IPWS and that indeed I had to as I have no access to the default, but you ignore it in the pyton part entirely
17:30marcanah yeah, it isn't
17:30j_eyI see there's BIT() and GENMASK(), but is there anything for non-contiguous masks like (5 << 1)?
17:30marcanj_ey: don't think so
17:30marcantophevich[m]: removed
17:31j_eythis code looks ugly with a mix of BIT, GENMASK and manually <<s
17:31alyssamarcan: does this fetch 12.x firmwares from a base 11.x system?
17:31marcanno, you cannot use a version newer than what you currently have installed
17:32marcanbecause 11.x SFR can't boot 12.x, and because 11.x macos doesn't know how to make 12.x bootable either
17:32marcanit'll filter the list of options to whatever will work for you
17:32svenpeter[m]j_ey: BIT(1) | BIT(3) maybe?
17:32alyssamarcan: also hello from asahi linux :>
17:33j_eysvenpeter[m]: i guess i have to do more grepping to see if that's what's sued
17:33marcanit does claim to allow you to install 11.5.2 from 11.5, because I *think* SFR didn't change there (at least iBoot didn't), but I haven't tried that
17:33marcanit also claims to allow you to install 12.0 beta5 from any 12.0 beta, which is again untested, caveat emptor, etc
17:34marcanif anyone is e.g on 11.5 or 11.5.1, or an older 12.0 beta, that would be a good test to do
17:34marcan(in particular if you've never upgraded beyond that, so SFR is old too)
17:35j_eysvenpeter[m]: #define PADS_MASK (GENMASK(9, 0) | BIT(16) | BIT(17) | BIT(20) | BIT(27))
17:57tophevich[m]marcan: don't know if I'm over sensitive there, but when I see an rm -rf with glob I get anxious, I like to do `rm -rf -- *glob*` to make sure no funny business with files/dirs with the name of options happens: https://github.com/TophEvich/asahi-installer/blob/9e1ed3e68cee9572de3170b42249afe43ca879e5/build.sh#L57
17:58marcanPRs welcome :p
17:59alyssaCitizens also welcome :p
17:59tophevich[m]* marcan: don't know if I'm over sensitive there, but when I see an rm -rf with glob I get anxious, I like to do `rm -rf -- *glob*` to make sure no funny business with files/dirs with the name of options happens: https://github.com/AsahiLinux/asahi-installer/blob/main/build.sh#L57
18:00tophevich[m]hm, interessting to see what happens with a matrix edit in irc
18:00marcanit gets sent again
18:01jnunfortunately it makes it quite inconvenient to spot the difference
18:01tophevich[m]yeah, I just had a look in the irclogs, but with a asterix as prefix
18:04tophevich[m]contribution guidlines are the same for all projects under the AsahiLinux umbrella right?
18:06marcanwell, except linux which has is own rules (e.g. real names only for commits)
18:06Andalu30 has quit [Remote host closed the connection]
18:18tophevich[m]ok, I feel silly to create that PR, but I guess it helps to get my feet wet
18:22ihaveamac has quit [Quit: fail]
18:24ihaveamac has joined #asahi
18:39* marcansleeps
18:41jngood night :)
20:48ifthenelse has quit [Quit: Ping timeout (120 seconds)]
20:48ifthenelse has joined #asahi
20:52apetresc has quit [Ping timeout: 480 seconds]
20:52rbenua_ has joined #asahi
20:52alyssa_ has joined #asahi
20:52nkaretnikov has quit [Ping timeout: 480 seconds]
20:52nkaretnikov has joined #asahi
20:53alyssa has quit [Read error: Connection reset by peer]
20:53Techcable has quit [Read error: Connection reset by peer]
20:54Techcable has joined #asahi
20:54rbenua has quit [Ping timeout: 480 seconds]
21:05alyssa_ is now known as alyssa
21:06apetresc has joined #asahi
21:09rbenua_ is now known as rbenua
21:47apetresc has quit [Ping timeout: 480 seconds]
21:55j_eypotentially interesting thread about security/firmware on macOS https://twitter.com/XenoKovah/status/1425800637166596101
22:24cth451_desktop has quit [Quit: Quitting]
22:50m42uko_ has joined #asahi
22:55m42uko has quit [Ping timeout: 480 seconds]
23:37apetresc has joined #asahi
23:43mini_ has joined #asahi
23:47mini has quit [Ping timeout: 480 seconds]
23:52minecrell has quit [Quit: Ping timeout (120 seconds)]
23:53minecrell has joined #asahi
23:58vivithecanine[m] has quit [Ping timeout: 480 seconds]
23:58AlessandroFerrari[m] has quit [Ping timeout: 480 seconds]
23:58PieroDel[m] has quit [Ping timeout: 480 seconds]
23:58marcan[m] has quit [Ping timeout: 480 seconds]
23:58PthariensFlame[m] has quit [Ping timeout: 480 seconds]
23:58ilovetrains[m] has quit [Ping timeout: 480 seconds]
23:58julianp[m] has quit [Ping timeout: 480 seconds]
23:58Caedus[m] has quit [Ping timeout: 480 seconds]
23:58CristianMgheruan-Stanciu[m] has quit [Ping timeout: 480 seconds]
23:58ella-0[m] has quit [Ping timeout: 480 seconds]
23:58M32thSystem[m] has quit [Ping timeout: 480 seconds]
23:58xerpi[m] has quit [Ping timeout: 480 seconds]
23:58arnidg[m] has quit [Ping timeout: 480 seconds]
23:58dung[m] has quit [Ping timeout: 480 seconds]
23:58rkjnsn[m] has quit [Ping timeout: 480 seconds]
23:58TellowKrinkle[m] has quit [Ping timeout: 480 seconds]
23:58hablerentand[m] has quit [Ping timeout: 480 seconds]
23:58ovf[m] has quit [Ping timeout: 480 seconds]
23:58jammie[m] has quit [Ping timeout: 480 seconds]
23:58ll3macorn[m] has quit [Ping timeout: 480 seconds]
23:58nemanjan00[m] has quit [Ping timeout: 480 seconds]
23:58emilazy has quit [Ping timeout: 480 seconds]
23:58h_ro[m] has quit [Ping timeout: 480 seconds]
23:58MingcongBai[m] has quit [Ping timeout: 480 seconds]
23:58mulderje has quit [Ping timeout: 480 seconds]
23:58Izumoo[m] has quit [Ping timeout: 480 seconds]
23:58jevinskie[m] has quit [Ping timeout: 480 seconds]
23:58haterade[m] has quit [Ping timeout: 480 seconds]
23:58i509vcb[m] has quit [Ping timeout: 480 seconds]
23:58fedx[m] has quit [Ping timeout: 480 seconds]
23:58Bastian[m] has quit [Ping timeout: 480 seconds]
23:58dpatterbee[m] has quit [Ping timeout: 480 seconds]
23:58alexanderwillner[m] has quit [Ping timeout: 480 seconds]
23:58davay[m] has quit [Ping timeout: 480 seconds]
23:58Aaron[m]1 has quit [Ping timeout: 480 seconds]
23:58user1tt[m] has quit [Ping timeout: 480 seconds]
23:58rowang077[m] has quit [Ping timeout: 480 seconds]
23:58fridtjof[m] has quit [Ping timeout: 480 seconds]
23:58AkihikoOdaki[m] has quit [Ping timeout: 480 seconds]
23:58s-urabe[m] has quit [Ping timeout: 480 seconds]
23:58ryanhrob[m] has quit [Ping timeout: 480 seconds]
23:58noc0lour[m] has quit [Ping timeout: 480 seconds]
23:58PeterHilgenfeld[m] has quit [Ping timeout: 480 seconds]
23:58mofux[m] has quit [Ping timeout: 480 seconds]
23:58mmlb[m] has quit [Ping timeout: 480 seconds]
23:58cepheus has quit [Ping timeout: 480 seconds]
23:58NikolaCicmil[m] has quit [Ping timeout: 480 seconds]
23:58bngs[m] has quit [Ping timeout: 480 seconds]
23:58anfernee[m] has quit [Ping timeout: 480 seconds]
23:58ted[m]1 has quit [Ping timeout: 480 seconds]
23:58Amey has quit [Ping timeout: 480 seconds]
23:58Davis[m] has quit [Ping timeout: 480 seconds]
23:58vasilymilovidov[m] has quit [Ping timeout: 480 seconds]
23:58YichaoYu[m] has quit [Ping timeout: 480 seconds]
23:58sandornagy[m] has quit [Ping timeout: 480 seconds]
23:58The_DarkFire_[m] has quit [Ping timeout: 480 seconds]
23:58rob-3[m] has quit [Ping timeout: 480 seconds]
23:58fluffypup[m] has quit [Ping timeout: 480 seconds]
23:58PixelyIon[m] has quit [Ping timeout: 480 seconds]
23:58Ferluci[m] has quit [Ping timeout: 480 seconds]
23:58DanielHuisman[m] has quit [Ping timeout: 480 seconds]
23:58facez[m] has quit [Ping timeout: 480 seconds]
23:58booffo[m] has quit [Ping timeout: 480 seconds]
23:58c1truz[m] has quit [Ping timeout: 480 seconds]
23:58alessandrorzz[m] has quit [Ping timeout: 480 seconds]
23:58bfredl[m] has quit [Ping timeout: 480 seconds]
23:58happy-dude[m] has quit [Ping timeout: 480 seconds]
23:58alicela1n has quit [Ping timeout: 480 seconds]
23:58M320mb[m] has quit [Ping timeout: 480 seconds]
23:58simjnd[m] has quit [Ping timeout: 480 seconds]
23:58samfromspace[m] has quit [Ping timeout: 480 seconds]
23:58stttcccccccccccc[m] has quit [Ping timeout: 480 seconds]
23:58RowanGoemans[m] has quit [Ping timeout: 480 seconds]
23:58bastilian[m] has quit [Ping timeout: 480 seconds]
23:58izzyisles[m] has quit [Ping timeout: 480 seconds]
23:58go4godvin has quit [Ping timeout: 480 seconds]
23:58avx3[m] has quit [Ping timeout: 480 seconds]
23:58foxlet has quit [Ping timeout: 480 seconds]
23:58ah-[m] has quit [Ping timeout: 480 seconds]
23:58_alice has quit [Ping timeout: 480 seconds]
23:58uur[m] has quit [Ping timeout: 480 seconds]
23:58AONeiLL[m] has quit [Ping timeout: 480 seconds]
23:58Scott[m] has quit [Ping timeout: 480 seconds]
23:58TypoKign[m] has quit [Ping timeout: 480 seconds]
23:58pitust[m] has quit [Ping timeout: 480 seconds]
23:58AndrewLee[m] has quit [Ping timeout: 480 seconds]
23:58ganpa[m] has quit [Ping timeout: 480 seconds]
23:58perigoso[m] has quit [Ping timeout: 480 seconds]
23:58jryans has quit [Ping timeout: 480 seconds]
23:58isitaboat[m] has quit [Ping timeout: 480 seconds]
23:58spot[m] has quit [Ping timeout: 480 seconds]
23:58MagMell[m] has quit [Ping timeout: 480 seconds]
23:58sephamorr[m] has quit [Ping timeout: 480 seconds]
23:58quentincestino[m] has quit [Ping timeout: 480 seconds]
23:58ruach[m] has quit [Ping timeout: 480 seconds]
23:58davidrysk[m] has quit [Ping timeout: 480 seconds]
23:58Emantor[m] has quit [Ping timeout: 480 seconds]
23:58angustrau[m] has quit [Ping timeout: 480 seconds]
23:58blazra[m] has quit [Ping timeout: 480 seconds]
23:58cavoirom[m] has quit [Ping timeout: 480 seconds]
23:58andi-[m] has quit [Ping timeout: 480 seconds]
23:58Serentty[m] has quit [Ping timeout: 480 seconds]
23:58maxim[m] has quit [Ping timeout: 480 seconds]
23:58LeviLynch[m] has quit [Ping timeout: 480 seconds]
23:58SocioProphet[m] has quit [Ping timeout: 480 seconds]
23:58Spectrejan[m] has quit [Ping timeout: 480 seconds]
23:58Dementor[m] has quit [Ping timeout: 480 seconds]
23:58psydroid[m] has quit [Ping timeout: 480 seconds]
23:58floxf5[m] has quit [Ping timeout: 480 seconds]
23:58svenpeter[m] has quit [Ping timeout: 480 seconds]
23:58ytg has quit [Ping timeout: 480 seconds]
23:58dgc[m] has quit [Ping timeout: 480 seconds]
23:58brentr123[m] has quit [Ping timeout: 480 seconds]
23:58VitorCardoso[m] has quit [Ping timeout: 480 seconds]
23:58camr0[m] has quit [Ping timeout: 480 seconds]
23:58lockna has quit [Ping timeout: 480 seconds]
23:59tophevich[m] has quit [Ping timeout: 480 seconds]
23:59pipcet[m] has quit [Ping timeout: 480 seconds]
23:59joerosenberg[m] has quit [Ping timeout: 480 seconds]
…