#
…

2021-01-31

00:03x4m3 has joined #asahi
00:08phiologe has quit [Ping timeout: 240 seconds]
00:11phiologe has joined #asahi
00:13raster has quit [Quit: Gettin' stinky!]
00:18phiologe has quit [Ping timeout: 246 seconds]
00:22anarsoul has quit [Remote host closed the connection]
00:27anarsoul has joined #asahi
00:38raster has joined #asahi
00:39raster has quit [Remote host closed the connection]
00:39raster has joined #asahi
00:43amw has joined #asahi
00:44phiologe has joined #asahi
00:51phiologe has quit [Ping timeout: 265 seconds]
01:03phiologe has joined #asahi
01:06mndza has quit [Ping timeout: 240 seconds]
01:08phiologe has quit [Ping timeout: 272 seconds]
01:25Tokamak has joined #asahi
01:32phiologe has joined #asahi
01:37phiologe has quit [Ping timeout: 246 seconds]
01:51WhyNotHugo has quit [Ping timeout: 260 seconds]
01:52WhyNotHugo has joined #asahi
01:54gabiruh has quit [Quit: ZNC 1.7.5 - https://znc.in]
01:55gabiruh has joined #asahi
02:11bsandro has joined #asahi
02:13bsandro has quit [Client Quit]
02:21yuyangchee98[m] has joined #asahi
02:28phiologe has joined #asahi
02:33phiologe has quit [Ping timeout: 246 seconds]
02:44amw has quit [Ping timeout: 240 seconds]
03:02raster has quit [Quit: Gettin' stinky!]
03:29phiologe has joined #asahi
03:31PhilippvK_ has joined #asahi
03:31PhilippvK has quit [Ping timeout: 264 seconds]
03:34phiologe has quit [Ping timeout: 264 seconds]
03:39phiologe has joined #asahi
03:44phiologe has quit [Ping timeout: 240 seconds]
04:01amw has joined #asahi
04:13Tokamak_ has joined #asahi
04:13br377 has quit [Ping timeout: 264 seconds]
04:15br377 has joined #asahi
04:17Tokamak has quit [Ping timeout: 246 seconds]
04:31marvin24_ has quit [Ping timeout: 258 seconds]
04:32marvin24 has joined #asahi
04:47marcanand *another* one (see -dev)
05:11Tokamak_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:34TheJollyRogerWhoops. I just realized I hadn't subscribed to that channel!
05:36JTLTheJollyRoger: /list -re #asahi
05:36TheJollyRogerOh good thinking!
05:37TheJollyRogerThere we go.
05:38phiologe has joined #asahi
05:46marcanit's also in the topic :)
06:34VinDuv has joined #asahi
06:52phiologe has quit [Ping timeout: 264 seconds]
06:54phiologe has joined #asahi
07:44phiologe has quit [Ping timeout: 246 seconds]
08:41kit_ty_kate has quit [Ping timeout: 272 seconds]
08:57bisko has quit [Quit: Textual IRC Client: www.textualapp.com]
09:01amw has quit [Ping timeout: 240 seconds]
09:40phiologe has joined #asahi
09:45phiologe has quit [Ping timeout: 256 seconds]
10:35ephe_meral has joined #asahi
10:40phiologe has joined #asahi
10:45phiologe has quit [Ping timeout: 256 seconds]
10:46amw has joined #asahi
11:00acelogic has quit [Ping timeout: 265 seconds]
11:01kettenis has quit [Quit: leaving]
11:05kettenis has joined #asahi
11:06kettenis has quit [Client Quit]
11:06kettenis has joined #asahi
11:08jannauamw: for a second macos install (short version): boot into 1TR, repartition the disk in diskutil creating a new apfs partition (needs to be iirc at least 30 or 40GB), choose "reinstall macos"
11:09jannauthere should be a dialog to select the newly created partition
11:10jannauas of now it will install macos 11.1, which will boot fine with 11.2 rc on the other partition
11:11GlanzmannThe benefit of having two installs is that you can set the kernel of one to be linux and the other to macos or is there any other benefit?
11:13jannauyou need to be a little careful with unlock and kernel config steps. some of the steps ask which partition to use and only list the apfs volume-id
11:13jannauyou can look that up in `diskutil list`
11:14jannaualso you have two 'Preboot' volumes which are mounted randomly to '/Volumes/Preboot' and '/Volumes/Preboot 1'
11:15jannauGlanzmann: no need to disable security features for the main macos install
11:19VinDuvDo you actually have to have macOS installed on the second APFS partition before putting m1n1 on it ?
11:21phiologe has joined #asahi
11:22jannauyou probably could get away with cloning enough from the first macos install. 'kmutil configure-boot' ask for user and password
11:25Glanzmannjannau: Oh, I see.
11:25amwjannu: Thanks - I saw this support link https://support.apple.com/en-us/HT208891
11:26GlanzmannHas seomeone tested the update corellium thing with wifi, keyboard touchpad support?
11:26amwIt suggests creating a APFS volume with disk utility and then booting to it via start up ?
11:29amwThis link suggests holding down the Option Key on start up or using System-Preferences/Startup Disk - https://www.imore.com/how-to-partition-your-mac
11:30amwTo install MacOS onto the new APFS volume
11:31jannauamw: no, it links to https://support.apple.com/en-us/HT204904 which says you should boot to 1TR via holding the power button on macs with apple silicon
11:35amwOk - thanks guess they changed for Apple Silicon
11:37amwBetter make sure it installs it on the *NEW* volume
11:39ephe_meral has quit [Ping timeout: 240 seconds]
11:58amwin the next day or two (on @asahi-dev)
11:59amwMarchan said he would write up about setting up the 2ndary MacOS partition
11:59amwSorry Marcan that
12:00amwI need to go to sleep - "Sorry Marcan said that he would write this up in the next day or two"
12:09amw has quit [Ping timeout: 246 seconds]
12:36raster has joined #asahi
14:12flokk[m]seems like the new xnu source has the m1 parts :o
14:12j`eywhat version?
14:12flokk[m]7195.60.175
14:13flokk[m].75 at the end
14:13flokk[m]published some hours ago
14:13flokk[m]on opensource.apple
14:13flokk[m]guess its in there
14:14flokk[m]saw that marcan also named the icestorm / firestorm
14:15flokk[m]dont know if its allowed to post a dl link
14:18j`eyhm, not many changes in start.s between 7195.60.75 and xnu-7195.50.7.100.1, just a PAC change
14:18flokk[m] * 7195.60.75
14:19flokk[m]hmm okay, i dont really have the knowledge. just saw a tweet on the new version
14:47robinpflokk[m]: I can only see 11.0.1 still that has been up for a couple of weeks now. Is it an unlisted verserion or something ?
14:49roxfan2 is now known as roxfan
14:49roxfanit's a couple MB bigger
15:00phiologe has quit [Ping timeout: 240 seconds]
15:04roxfannew codename appears: tonga
15:04roxfanH13G, whatever that is
15:10Tokamak has joined #asahi
15:16Tokamak has quit [Ping timeout: 264 seconds]
15:18dhewgiirc tonga is also an amd gpu codename
15:20marcanthat has a lovely tunables_h13.s that is... a copyright comment
15:20marcanso, no, no M1 support there
15:20ephe_meral has joined #asahi
15:21marcanno changes in apple_arm64_regs.h either
15:21marcansingle PAC change in start.s
15:21marcanflokk[m]: sorry, nothing interesting in there whatsoever
15:22marcanthat said, the tonga thing is reakl
15:22j`ey#define HAS_RETENTION_STATE 1
15:22marcanxnu-7195.60.75/osfmk/arm/cpuid.h:#define CPU_PART_ICESTORM_TONGA 0x22
15:22marcanxnu-7195.60.75/osfmk/arm/cpuid.h:#define CPU_PART_FIRESTORM_TONGA 0x23
15:22marcanthat's our M1 codename, finally
15:23marcanah, we do have the H13.h defines at least
15:24marcan#define HAS_ICACHE_FUSION_BUG 1 /* HW bug that causes incorrect reporting of instruction aborts on fused instructions */
15:24marcanthat define is not used, but lol
15:25ephe_meral has quit [Ping timeout: 260 seconds]
15:26phiologe has joined #asahi
15:28GlanzmannWhat is the difference between icestorm and firestorm?
15:28GlanzmannAre in the mini, macbook air and powerbook the same CPU?
15:29j`eyfirestorm are "big" CPUs, icestorm are "little" CPUs
15:29marcanthis is new
15:30marcanlibT8101.os.RELEASE.a
15:30marcanlibT8101.os.DEVELOPMENT.a
15:30marcanis this what they're doing now?
15:30marcanreleasing binary blobs for part of the OS?
15:32j`ey MIDR_SICILY_ICESTORM, whats sicily then? (maybe a14, iphone thing)
15:32j`eymarcan: weird..
15:33dottedmag[looks to the North] No ice storms in Sicily ever.
15:33marcanwtf, this is ridiculous
15:33marcanthey released startup asm code for Ax chips in the past
15:33marcanand now they go and release it as *binary* for M1?
15:33marcanwhy on earth?
15:34etamarcan: how optimized / stripped is the binary >_<
15:34marcansome of the .o files are llvm bitcode, lol
15:35roxfanMakeInc.def: # Link opensource binary library
15:35roxfan"opensource binary" lol
15:35etawait do they legally have to release sources for XNU
15:36j`eyroxfan: lol
15:36svenhaha :D
15:36roxfanis this their version of FSP?
15:41davidrysk[m]marcan: are those .a files released under APSL?
15:43marcandavidrysk[m]: by implied location of the toplevel license file, you'd *think* so
15:44davidrysk[m]If they’re under APSL can’t anyone disassemble and RE them? I still think it’s utter bullcrap
15:44marcanreading the license now
15:44marcan1.7 "Original Code" means
15:44marcand (b) the object code compiled from such Source Code and
15:44marcanoriginally made available by Apple under this License.
15:45marcan1.3 "Covered Code" means the Original Code, Modifications, the
15:45marcancombination of Original Code and any Modifications, and/or any
15:45marcanrespective portions thereof.
15:50Tokamak has joined #asahi
15:57marcanprove me wrong :)
16:07Tokamak has quit [Ping timeout: 246 seconds]
16:08davidrysk[m]marcan: note that Apple doesn't define "Source Code" in the APSL
16:08davidrysk[m]wait, nevermind
16:09davidrysk[m]the concern I have is that "Covered Code" includes "the Source Code" and "the object code compiled from such Source Code and originally made available by Apple under this License"
16:09davidrysk[m]so what about object code NOT compiled from such Source Code and made available by Apple under this License
16:09davidrysk[m](again, IANAL, etc)
16:10davidrysk[m]whatever the situation though, those blobs are at worst under "no license at all"
16:10davidrysk[m](again IMO, IANAL)
16:10marcanwhich definitely does no forbid reverse engineering
16:11marcaneither way you slice it, we can't include APSL code in Asahi stuff, so it makes no difference there
16:11marcanit's license-incompatible code with no EULA restrictions
16:11marcanso basically alx.sh/re applies, as it always did, but now there is no risk to the person *doing* the reversing
16:12marcanso one reading of those clauses is
16:13marcan"Original Code" means (a) the Source Code of (a program or other work as originally made available by Apple under this License) [...]; and (b) the object code (compiled from such Source Code) and (originally made available by Apple under this License).
16:13marcanin which case the source code includes the source code they have but didn't release
16:13marcanbecause it's still the source code of the program which they did, in fact, release under this license (as object code) :)
16:14marcanbut as I said IANAL
16:15phiologe has quit [Ping timeout: 240 seconds]
16:15etathat sounds dodgy
16:16marcanthe whole thing is dodgy
16:18etatrue :)
16:22phiologe has joined #asahi
16:24davidrysk[m]Another reading is that the “made available” in the definition of “Source Code” means only source code that they released
16:35snalty has quit [Quit: ZNC 1.8.2 - https://znc.in]
16:36TheJollyRoger has quit [Ping timeout: 268 seconds]
16:38TheJollyRoger has joined #asahi
16:45modwizcodeThat ICACHE_FUSION bug thing has my interest peaked, I wonder why it falsely reports errors.
16:47inglor has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
16:49flokk[m]marcan: nice find. maybe the next release will have even more.
16:49flokk[m]is there something still missing in the source that could be usefull ?
16:57kettenisnone of the device driver stuff is there, but it seems apple stopped releasing those bits a long time ago
17:04phiologe has quit [Remote host closed the connection]
17:09kettenisso I don't think we can expect them to release those bits
17:10davidrysk[m]Apple hasn't been releasing device drivers for a long long time, since the beginning really
17:11davidrysk[m]they did release some drivers in the early days, but never all
17:12davidrysk[m]rampant speculation: there's shit here Apple is still not done applying for patents on
17:13davidrysk[m]there are lots of interesting patents on Apple's uarch tech, https://patents.google.com/?inventor=Gerard+R.+Williams+Iii will bring up a lot of them
17:22Bublik has quit [Read error: Connection reset by peer]
17:25Bublik has joined #asahi
17:41taziden has quit [Ping timeout: 265 seconds]
17:44raster has quit [Quit: Gettin' stinky!]
17:44acelogic has joined #asahi
17:59taziden has joined #asahi
18:15inglor has joined #asahi
18:17inglor has quit [Client Quit]
18:19never_releasedeta: Apple doesn't legally have to release anything
18:20etanever_released: then why do they
18:20never_releasedeta: because Apple wants to.
18:20etafair enough
18:22etamarcan: have you considered fosspay
18:23etahttps://drewdevault.com/donate/ seems to do the combining of income from many sources thing
19:10chuskywalker has joined #asahi
20:35amw has joined #asahi
20:37acelogic has quit [Remote host closed the connection]
20:39acelogic has joined #asahi
20:44djhworld has joined #asahi
20:48djhworld has quit [Client Quit]
20:49djhworld has joined #asahi
21:04merbanan has quit [Ping timeout: 265 seconds]
21:05irl25519 has joined #asahi
21:07raster has joined #asahi
21:09j`eymodwizcode: nice!
21:10modwizcodeSome basic support for the interrupt controller is next. I should probably add more than a stub for the WDT. I want to try and boot a linux image but I have to build one I think and I'm a bit lazy.
21:11j`eymodwizcode: depending on your computer, probably only takes 5-20mins
21:12modwizcodeYeah I moved my work from my fairly slow server that was already setup to a local VM to do the work on the FB stuff and my main machine is a lot faster. It's more the config I'm thinking will be time consuming.
21:12j`eydefconfig + turning on the stuff marcan added + remvoing all the platforms you dont need
21:12j`eythat should get you going
21:15pakl has quit [Remote host closed the connection]
21:16merbanan has joined #asahi
21:17chuskywalker has quit [Quit: Leaving]
21:23modwizcodeGeh looks like maybe I have to modify the serial code at some point to handle apple specific stuff :/
21:25VinDuv has quit [Quit: Leaving.]
21:29amw has quit [Ping timeout: 240 seconds]
21:33mechpilotace has quit [Quit: WeeChat 2.8]
21:37djhworld has quit [Quit: The Lounge - https://thelounge.chat]
21:39djhworld has joined #asahi
21:51irl25519 has quit [Quit: irl25519]
21:56amw has joined #asahi
22:14davidrysk[m]I really hope this can be extended to boot xnu/macos :)
22:38modwizcodeI would love that possibility becoming a reality. It probably needs to get a fair bit further along though. There's also so many aspects about this that are WIP.
22:38modwizcodeI'm hoping I can get linux booted somewhat on it this week tho
23:00yrlf has quit [Quit: The Lounge - https://thelounge.chat]
23:00yrlf has joined #asahi
23:02raster has quit [Quit: Gettin' stinky!]
23:03taziden has quit [Ping timeout: 240 seconds]
23:06taziden has joined #asahi
…