#
…

2021-01-06

00:07mah has joined #asahi
00:11mah has quit [Ping timeout: 246 seconds]
00:18damia has quit [Quit: damia]
00:20alexanderwillner has joined #asahi
00:24tibo has joined #asahi
00:26tibo has left #asahi [#asahi]
00:27bastian[m] has joined #asahi
00:30tibo has joined #asahi
00:32maxweisel has joined #asahi
00:34bloom_ has joined #asahi
00:35bloom_ has left #asahi [#asahi]
00:38maxweisel has quit []
00:41bastian[m]Super low priority, but it would be nice to use the logo in the matrix bridge channels :)
00:41tibo has quit [Remote host closed the connection]
00:42konradybcio has joined #asahi
00:44bear24rw has quit [Remote host closed the connection]
00:48benjamindc has quit [Remote host closed the connection]
00:49bear24rw has joined #asahi
00:55kevincox[m] has left #asahi ["User left"]
01:00davidrysk[m]Bastian: would that require making proper linked channels as opposed to using the freenode bridge service?
01:01bastian[m]david.rysk I"m not sure, I think it might be possible to set the picture if you linked your matrix and irc accounts and have the necessary permissions
01:02bastian[m]marcan is listed as mod in the room info, that might be enough
01:03henni has quit [Read error: Connection reset by peer]
01:03bastian[m]yeah change room avatar doesn't require admin rights according to the roles and permissions info
01:05maxweisel has joined #asahi
01:05benjamindc has joined #asahi
01:10tibo1 has joined #asahi
01:11benjamindc has quit [Remote host closed the connection]
01:12benjamindc has joined #asahi
01:13_alice has joined #asahi
01:24konstanter has quit [Ping timeout: 245 seconds]
01:25tibo1 has quit [Ping timeout: 258 seconds]
01:40tibo1 has joined #asahi
01:42benjamindc has quit [Ping timeout: 260 seconds]
01:49korzq has joined #asahi
01:52tibo1 has quit [Ping timeout: 272 seconds]
01:52sbingner has joined #asahi
01:55sbingnerfor offtopic I made #asahi-superdry :D
01:57mah has joined #asahi
01:57tibo1 has joined #asahi
01:57shenki has joined #asahi
02:01tibo1 has quit [Client Quit]
02:04maxweisel has quit [Ping timeout: 246 seconds]
02:07benjamindc has joined #asahi
02:10benjamindc has quit [Remote host closed the connection]
02:10benjamindc has joined #asahi
02:12benjamindc has quit [Remote host closed the connection]
02:13benjamindc has joined #asahi
02:16neunon has joined #asahi
02:18benjamindc has quit [Ping timeout: 260 seconds]
02:21benjamindc has joined #asahi
02:26benjamindc has quit [Ping timeout: 260 seconds]
02:27msalter_ has joined #asahi
02:29msalter_ is now known as marks_
02:29marks_ is now known as markos
02:30markos has quit [Client Quit]
02:35fridtjof[m]<bastian[m] "yeah change room avatar doesn't "> yup. having someone trusted with a matrix account join and temporarily giving them op/mod on the irc side should also work
02:36fridtjof[m]Also, might be a good opportunity to also create dedicated room aliases for the rooms (so it's #asahi:matrix.org instead of #freenode_
02:36fridtjof[m]Also, might be a good opportunity to also create dedicated room aliases for the rooms (so it's #asahi:matrix.org instead of #freenode_#asahi:matrix.org for example)
02:36fridtjof[m]there we go
02:38benjamindc has joined #asahi
02:39Standemonium[m] has joined #asahi
02:40davidrysk[m]fridtjof: marcan would have to do that. It would probably be more reliable to use Matrix as the primary linking location instead of IRC...
02:42benjamindc has quit [Ping timeout: 264 seconds]
02:42fridtjof[m]yeah, although to make it _better_ than how you'd do bridging for anything else <-> IRC it does get more complicated to set up,
02:45bent_ has joined #asahi
02:47fridtjof[m]because any higher-level bridges/integrations require control over a homeserver. Using just any existing publically hosted bridge (besides the ones on matrix.org, i guess) for any protocol is asking for trouble
02:47fridtjof[m]anyway, enough off topic from me :)
02:49RicBent_ has quit [Ping timeout: 260 seconds]
02:50nyuhu has joined #asahi
02:55bublik_ has quit [Ping timeout: 246 seconds]
02:59ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:03mah has quit [Ping timeout: 272 seconds]
03:05mah has joined #asahi
03:14ulfy has joined #asahi
03:15ulfy has left #asahi [#asahi]
03:15emptynine has joined #asahi
03:18benjamindc has joined #asahi
03:20threedpro has joined #asahi
03:21twodpro has joined #asahi
03:22twodpro has quit [Client Quit]
03:22threedpro has quit [Client Quit]
03:23threedpro has joined #asahi
03:24benjamindc has quit [Ping timeout: 260 seconds]
03:27Ziemas has joined #asahi
03:36benjamindc has joined #asahi
03:40mah has quit [Ping timeout: 264 seconds]
03:41ransom has joined #asahi
04:09wiloon has joined #asahi
04:37yuyangchee98 has joined #asahi
04:46yuyangchee98 has quit [Remote host closed the connection]
04:54ransom_ has joined #asahi
04:54ransom has quit [Read error: Connection reset by peer]
04:59mjg59 has joined #asahi
05:24ransom has joined #asahi
05:25ransom_ has quit [Ping timeout: 265 seconds]
05:26xMopx has joined #asahi
05:27benjamindc has quit [Remote host closed the connection]
05:31sebastian has joined #asahi
05:34sebastian has quit [Client Quit]
05:53jamadazi has joined #asahi
06:33MaxLeiter has joined #asahi
06:33anthonyo_ has joined #asahi
06:35anthonyo_ has quit [Client Quit]
06:46ransom has quit [Ping timeout: 240 seconds]
06:52ransom has joined #asahi
06:52ransom has quit [Client Quit]
06:57jamadazi has quit [Ping timeout: 268 seconds]
06:59ashton314[m] has joined #asahi
07:05aratuk has joined #asahi
07:06haddock has joined #asahi
07:12aratuk has quit []
07:12aratuk has joined #asahi
07:14KindOne has joined #asahi
07:16browzing has joined #asahi
07:16browzing has quit [Client Quit]
07:18browzing has joined #asahi
07:39browzing has quit [Ping timeout: 256 seconds]
07:42browzing has joined #asahi
07:46bear24rw has quit [Remote host closed the connection]
07:46bear24rw has joined #asahi
07:49jobbe has joined #asahi
07:53ky0ko has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
07:54bear24rw has quit [Ping timeout: 264 seconds]
08:05yyc has joined #asahi
08:06yyc has quit [Remote host closed the connection]
08:09tardyp has joined #asahi
08:13bostjan has joined #asahi
08:16scubasteve has quit [Remote host closed the connection]
08:19scubasteve has joined #asahi
08:20Core1672 has joined #asahi
08:26browzing has quit [Quit: WeeChat 3.0]
08:26browzing has joined #asahi
08:39massoud has joined #asahi
08:41browzing has quit [Read error: Connection reset by peer]
08:41browzing has joined #asahi
08:54modmuss50 has joined #asahi
09:02JTL> 22:50 <davidrysk[m]> I expect Apple to implement an on-device ROM-DFU eventually, but it's gonna be a while
09:02JTLHaven't iPhones always had a ROM-DFU bootloader, or is that not ROM? Because those things are almost unbrickable by most peoples standards.
09:15NecrosporusWhy do you think that it's not already implemented?
09:16JTLI was asking the same thing.
09:17Axenntio has joined #asahi
09:18Axenntio has quit [Remote host closed the connection]
09:22Thomas__ has joined #asahi
09:24bfredl has joined #asahi
09:35puhitaku has joined #asahi
09:37ephe_meral has joined #asahi
09:39aratuk has quit [Remote host closed the connection]
09:43puhitaku has quit [Quit: WeeChat 3.0]
09:43puhitaku has joined #asahi
09:44puhitaku has quit [Client Quit]
09:51puhitaku has joined #asahi
09:57XeR has joined #asahi
10:10puhitaku_ has joined #asahi
10:11puhitaku has quit [Quit: WeeChat 3.0]
10:11puhitaku_ is now known as puhitaku
10:24justMaku has joined #asahi
10:30stu_ has joined #asahi
10:32orbot has quit [Quit: leaving]
10:38riatre has joined #asahi
10:43Pluggi has joined #asahi
10:46loru has joined #asahi
11:02marcanReminder to all to keep things on topic. It's okay if other topics come up, but we really don't need two pages discussing djb and qmail.
11:04nevergirls has joined #asahi
11:08JTLmarcan: I know some other communities I'm in have #-offtopic channels, but at what point do you end up with offtopic channels for your offtopic channels? </joke>
11:08JTLThe idea is people with a common interest or involvement in a certain project can discuss other topics
11:09marcanplease don't: < sbingner> for offtopic I made #asahi-superdry :D
11:09marcanthat violates at least a trademark *and* a freenode policy
11:09marcanunofficial channels belong in the ## namespace
11:09ephe_meral has quit [Ping timeout: 240 seconds]
11:10marcanif you all want an OT channel I can make one, but please don't make #asahi-* channels without consulting with me first; we have officially registered that namespace
11:10JTLFair concern
11:11JTL> if you all want an OT channel I can make one,
11:11JTLI think it's better to create it sooner then have people ask for it later :P
11:12justMakumarcan: when can we expect first work stream for Asahi? Curious to see your process :-)
11:13marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | General project discussion | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-offtopic | Keep things on topic | https://github.com/AsahiLinux | Logs: https://freenode.irclog.whitequark.org/asahi
11:20dyniec[m] has quit [Quit: Bridge terminating on SIGTERM]
11:20konradybcio has quit [Quit: Bridge terminating on SIGTERM]
11:20bastian[m] has quit [Quit: Bridge terminating on SIGTERM]
11:20undvasistas[m] has quit [Quit: Bridge terminating on SIGTERM]
11:20Avion[m] has quit [Quit: Bridge terminating on SIGTERM]
11:20blazra[m] has quit [Quit: Bridge terminating on SIGTERM]
11:20ashton314[m] has quit [Quit: Bridge terminating on SIGTERM]
11:20devinvs[m] has quit [Quit: Bridge terminating on SIGTERM]
11:20os[m] has quit [Quit: Bridge terminating on SIGTERM]
11:20scubasteve1 has quit [Quit: Bridge terminating on SIGTERM]
11:20Standemonium[m] has quit [Quit: Bridge terminating on SIGTERM]
11:20svenpeter[m] has quit [Quit: Bridge terminating on SIGTERM]
11:20mofux[m] has quit [Quit: Bridge terminating on SIGTERM]
11:20fridtjof[m] has quit [Quit: Bridge terminating on SIGTERM]
11:20noneucat has quit [Quit: Bridge terminating on SIGTERM]
11:20delroth[m] has quit [Quit: Bridge terminating on SIGTERM]
11:20f4n4tix[m] has quit [Quit: Bridge terminating on SIGTERM]
11:20nufflee[m] has quit [Quit: Bridge terminating on SIGTERM]
11:20keystone[m] has quit [Quit: Bridge terminating on SIGTERM]
11:20numa[m] has quit [Quit: Bridge terminating on SIGTERM]
11:20_alice has quit [Quit: Bridge terminating on SIGTERM]
11:20Jasper[m] has quit [Quit: Bridge terminating on SIGTERM]
11:20mcnight[m] has quit [Quit: Bridge terminating on SIGTERM]
11:21bfredl has quit [Quit: Bridge terminating on SIGTERM]
11:21davidrysk[m] has quit [Quit: Bridge terminating on SIGTERM]
11:21alexanderwillner has quit [Quit: Bridge terminating on SIGTERM]
11:21LeonardJanisRobe has quit [Quit: Bridge terminating on SIGTERM]
11:21josiahmendes[m] has quit [Quit: Bridge terminating on SIGTERM]
11:21KarboniteKream has joined #asahi
11:21neobrain has quit [Remote host closed the connection]
11:24nevergirls has quit [Quit: leaving]
11:26marcanjustMaku: soon! let me get into the groove :)
11:27* JTLis excite
11:28_alice has joined #asahi
11:28_alice is now known as Guest93913
11:38KarboniteKream has quit [Ping timeout: 265 seconds]
11:39blazra[m] has joined #asahi
11:39mofux[m] has joined #asahi
11:39bastian[m] has joined #asahi
11:39davidrysk[m] has joined #asahi
11:39svenpeter[m] has joined #asahi
11:39bfredl has joined #asahi
11:39f4n4tix[m] has joined #asahi
11:39konradybcio has joined #asahi
11:39Jasper[m] has joined #asahi
11:39noneucat has joined #asahi
11:39keystone[m] has joined #asahi
11:39fridtjof[m] has joined #asahi
11:39josiahmendes[m] has joined #asahi
11:39devinvs[m] has joined #asahi
11:39mcnight[m] has joined #asahi
11:39Standemonium[m] has joined #asahi
11:39LeonardJanisRobe has joined #asahi
11:39dyniec[m] has joined #asahi
11:39nufflee[m] has joined #asahi
11:39delroth[m] has joined #asahi
11:39ashton314[m] has joined #asahi
11:39scubasteve1 has joined #asahi
11:39undvasistas[m] has joined #asahi
11:39os[m] has joined #asahi
11:39numa[m] has joined #asahi
11:39Avion[m] has joined #asahi
11:39alexanderwillner has joined #asahi
11:40aratuk has joined #asahi
11:44aratuk has quit [Ping timeout: 240 seconds]
11:53ephe_meral has joined #asahi
12:01browzing has quit [Ping timeout: 260 seconds]
12:14stu_ has quit [Remote host closed the connection]
12:21loruIs the plan here to make linux work in general, distros etc, or "Asahi" is going to be the "linux distro for macbooks"?
12:21j`eyformer
12:21lorunot a native english speaker sorry what's former
12:21loruI never know which one it is lol
12:21j`eylinux work in general
12:22loruOkay thank you!
12:22j`eybut starting with archlinuxarm, as a basis for the work
12:33delroththe answer is both
12:34jamadazi has joined #asahi
12:35vup2 has joined #asahi
12:47Axenntio has joined #asahi
12:52amw has joined #asahi
12:52Core1672 has quit [Read error: Connection reset by peer]
12:52Core1672 has joined #asahi
12:53Axenntio has quit [Remote host closed the connection]
12:53Axenntio has joined #asahi
12:53Axenntio has quit [Remote host closed the connection]
12:56sharpiro has quit [Ping timeout: 240 seconds]
12:59amw has quit [Quit: WeeChat 2.3]
13:01amw has joined #asahi
13:05rossy has joined #asahi
13:05browzing has joined #asahi
13:06amw1 has joined #asahi
13:11browzing has quit [Ping timeout: 272 seconds]
13:14amw1 has quit [Ping timeout: 272 seconds]
13:25amotta has joined #asahi
13:39rwhitby has left #asahi ["AndroIRC - Android IRC Client ( http://www.androirc.com )"]
13:41aratuk has joined #asahi
13:41rwhitby has joined #asahi
13:45aratuk has quit [Ping timeout: 256 seconds]
13:58keystone[m] has quit [Quit: authenticating]
13:58keystone[m] has joined #asahi
14:00aratuk has joined #asahi
14:03diz3y has joined #asahi
14:03jamadazi has quit [Ping timeout: 260 seconds]
14:04aratuk has quit [Ping timeout: 246 seconds]
14:05diz3y has quit [Client Quit]
14:09diz3y has joined #asahi
14:29amotta has quit [Quit: amotta]
14:35tarzeauhi diz3y
14:38anuejn has joined #asahi
14:43marcanstarted a glossary so people can learn the lingo: https://github.com/AsahiLinux/docs/wiki/Glossary
14:43marcanfeel free to add things, but keep it accurate and relevant to the ecosystem, not just random things that won't ever show up for the project, nor things that literally everyone knows
14:49ephe_meral has quit [Ping timeout: 264 seconds]
14:50br377 has joined #asahi
14:51Core1672 has quit [Ping timeout: 240 seconds]
15:02DarthCloud has quit [Ping timeout: 240 seconds]
15:04GaveUpperhaps useful to add links to say wiki articles to whatever tech docs with more info on those terms for the unfamiliar?
15:07DarthCloud has joined #asahi
15:12dwhatley[m] has joined #asahi
15:16ephe_meral has joined #asahi
15:27roxfan2 has joined #asahi
15:28roxfan has quit [Ping timeout: 246 seconds]
15:29armin has joined #asahi
15:30arminohai :)
15:35omac777 has joined #asahi
15:36omac777 has quit [Remote host closed the connection]
15:37asahifan777 has joined #asahi
15:38asahifan777I noticed the Apple M1 is not listed as a manufacturer on the archlinuxonarm web site.
15:39j`eythey probably only show things that they support
15:40asahifan777I would imagine https://archlinuxarm.org/platforms/armv8/apple/m1macmini or m1macbookair or m1macbookpro
15:41asahifan777I understand they only things they support, but wouldn't it be better to introduce all this work under that umbrella on that website rather than only on asahilinux web site even if not realize yet?
15:42implr has joined #asahi
15:42asahifan777it's an aarch64 isa right? it would also look like the odroid c2 stuff.
15:43derneuere has joined #asahi
15:43derneuere has quit [Remote host closed the connection]
15:44asahifan777a lot of the steps to get a apple m1 distro up will look like that: https://archlinuxarm.org/platforms/armv8/amlogic/odroid-c2
15:44j`eyuh, kinda but only at the ISA level
15:46jn__asahifan777: the distro bringup is only a small part of the Asahi Linux project
15:47justMakuinstallation is not a problem, booting is.
15:49jn__and just as, for example, the Allwinner community has https://linux-sunxi.org/ for all the details that are not Arch-specific, there is Asahi for M1
15:52jn__(or, better example: http://linux-meson.com/ for Amlogic boards)
15:53asahifan777I believe both amlogic and broadcom use uboot https://linux-sunxi.org/U-Boot#Compile_U-Boot
15:54jn__yeah, u-boot is pretty common across the industry
15:54marcanasahifan777: getting stuff on the alarm page is part of upstreaming, and we're a long way from that
15:55asahifan777 has quit [Remote host closed the connection]
16:01bear24rw has joined #asahi
16:01aratuk has joined #asahi
16:05bear24rw has quit [Ping timeout: 256 seconds]
16:06aratuk has quit [Ping timeout: 264 seconds]
16:11danilonc has joined #asahi
16:11awordnot has quit [Read error: Connection reset by peer]
16:11awordnot has joined #asahi
16:12konstater has joined #asahi
16:13dlnx`` has joined #asahi
16:22FoxboronThis blindly assumes the ALARM maintainers want to support it though
16:24Necrosporusjn__, though linux-meson doesn't support my amlogic device :(
16:25NecrosporusAnd probably won't because it's outdated. I'm stuck with 2.6.34 kernel
16:25Raqbitha, ALARM is a great acronym
16:34dff has joined #asahi
16:39banjo has joined #asahi
16:43banjo has quit [Remote host closed the connection]
16:46TheJollyRoger has quit [Remote host closed the connection]
16:46TheJollyRoger has joined #asahi
16:58bear24rw has joined #asahi
16:58artemistOnce the kernel is booting I'll probably try to package the bootloader and vendored kernel in a NixOS overlay but idk if that would ever be upstreamable
17:07browzing has joined #asahi
17:11browzing has quit [Ping timeout: 246 seconds]
17:12ephe_meral has quit [Ping timeout: 246 seconds]
17:15browzing has joined #asahi
17:15diz3yu-boot? Would be nice to have UEFI/Coreboot instead
17:15diz3ybut that's pretty hardcore
17:15diz3yor even ARM Trusted Firmware + UEFI
17:17NecrosporusDo you know what all those things do?
17:17NecrosporusU-boot can implement UEFI
17:17NecrosporusCoreboot can load u-boot as payload
17:18diz3yI'd assume we gonna need a bootloader all the way from EL3
17:19diz3yonce ATF is running anything can be a payload
17:19browzing has quit [Ping timeout: 246 seconds]
17:22diz3yit's just would be super sweet to have SBSA "compliance"
17:22Shizseeing a lot of unrealistic expectations inc. here
17:22ShizI wouldn't expect this to go any other route than using iBoot's third-party load mechanism
17:23Necrosporusdiz3y, I don't get what you want? M1 has iBoot, it will boot the rest of the stuff. as far as I understand there will be a shim bootloader which can set up the UART and stuff and then linux kernel
17:24artemistIf you want UEFI then you can port tianocore to run instead of the shim
17:25Necrosporusmarcan have said he's going to use the code he wrote for Wii before, which is planned to be the first custom code to be run. Then the kernel will handle the rest
17:25Necrosporuswhy do you want UEFI though?
17:25j`eythat Wii stuff is for experimentation
17:25NecrosporusI think it's less than ideal
17:25NecrosporusI thought it will be used as shim bootloader for linux
17:26sventhe wii stuff (mini) is for experimentation
17:26NecrosporusStill some kind of shim bootloader is probably useful, since I doubt that iboot is easy to configure
17:27diz3yUEFI to support all the modern Linux boot stuff, i.e. no device trees, but ESRTs
17:28diz3ybut honestly I have no idea how the boot process works today on M1
17:28diz3yand whether EL3 is even accessible after some sort of boot rom
17:28NecrosporusI do not understand why are you not happy with regular u-boot like interface? Maybe it makes sense to make iBoot load Das u-boot which in turn can load any other OS
17:29diz3yI am happy with u-boot for starters, but *ideally* SBBR would be real nice
17:29ShizI'm fairly certain ESRTs don't fully replace devicetrees, unless something happened recently :p
17:30NecrosporusIsn't ESRT microsoft NMIH analog of device tree?
17:31Necrosporuswhy search engine has microsoft at the top?
17:31jn__as a side note, even linuxboot/petitboot may be a viable rich bootloader, if someone builds it for M1
17:31Shizit also doesn't matter too much honestly, as soon as the iBoot shim protocol is documented, people can do whatever they want themselves there :)
17:31ShizI don't get why youd want EFI but you can probably do it
17:32NecrosporusIs it possible to use GRUB2?
17:32j`eyUEFI can load GRUB, if thats what you maent
17:33Shizthe answer to all "is it possible to use X" questions is "if you port it to work with the shim protocol once it's documented"
17:33NecrosporusI mean like iBoot → GRUB → Kernel
17:33NecrosporusSame as Coreboot → GRUB → Kernel on my thinkpad laptop
17:33Necrosporus( I have flashed libreboot in it)
17:33Shizjust don't expect if you port coreboot to it, for coreboot to magically do raminit etc for you
17:34NecrosporusNo, I'm not talking about coreboot
17:34NecrosporusI am talking about running grub from iboot, so apple bootloader takes place of coreboot in this chain
17:34NecrosporusGrub in turn can load most of systems there are including bsd
17:35Shizthe direction of the project is afaik to first use mini for experimentation, and then see from there
17:35Shizbut again, once it's figured out how iBoot loads OSes, you can port a fair amount of bootloaders to support that yourself
17:35Shiz(or anyone else, really)
17:36svenand the hard part isn't the bootloader. the hard part is making whatever os that is loaded after that support all the hardware
17:36NecrosporusProbably. But other armv8 board seem to use u-boot only... or not?
17:39diz3yNecrosporus: different for different boards, but armv8 servers all use EFI
17:39diz3ywell, EFI, AT-F + EFI + ...
17:39NecrosporusAnd which particular implementation of EFI do they use?
17:39ShizI mean, if you figured out how the low-level hwinit/rom bootloader in those armv8 boards loaded u-boot, you could also port other bootloaders to them
17:39Shizit's just that nobody bothers because why bother
17:39diz3yI've only tried EDK2
17:40j`eyprobably EDKII
17:40davidrysk[m]I would not be surprised if marcan goes with uboot as it's simpler, but then again, APFS support in the bootloader would be handy
17:40davidrysk[m]UEFI is a mess
17:40Shizprobably UDK, not EDK
17:40ShizI hope, at least
17:40NecrosporusIs there a bootloader which supports APFS?
17:41Necrosporusmaybe GRUB2?
17:41Shizoh, they moved away from UDK to EDK2 stable tags -- tmyk
17:41Necrosporusit supports many filesystems at least
17:47browzing has joined #asahi
17:49roxfan2 is now known as roxfan
17:53browzing has quit [Ping timeout: 272 seconds]
17:54CDFHI work in bare-metal embedded, we pretty much use u-boot for everything on an A-Class core
17:55opticronsame here
17:55NecrosporusAre there no alternatives?
17:55diz3yCDFH: btw which -A are you using, armv7 or armv8?
17:56NecrosporusAnd why u-boot isn't used for x86, if it's that cool?
17:57CDFHBecause it doesn't need it
17:58diz3yand don't have anything trusted in EL3/SEL2
17:58dottedmag has joined #asahi
17:58CDFHThat was in response to Necro, apologies
17:58CDFHI'm well aware of the capabilities of u-boot and TF-A :)
18:00browzing has joined #asahi
18:02aratuk has joined #asahi
18:06aratuk has quit [Ping timeout: 256 seconds]
18:13marcandiz3y: there is no ATF. There is no EL3 on these cores.
18:13marcanthere is no TrustZone
18:13marcanApple very explicitly didn't implement that junk :-)
18:14ransom has joined #asahi
18:14marcanI don't know if I will use u-boot eventually yet, but I probably won't initially. it's one more thing to port, and I'd rather have my own little playground and boot kernels directly if I can, at least at first
18:14marcanwe are absolutely not using UEFI, that's an even bigger mess to port
18:14marcanthis thing isn't a normal ARM64, it doesn't use GIC, it uses AIC
18:14Guest93913 has quit [Quit: authenticating]
18:15marcanthat means any "OS-like" thing we decide to port needs deep surgery
18:15Guest93913 has joined #asahi
18:15marcanbecause every other ARM64 device uses GIC
18:15Guest93913 is now known as _alice
18:15marcanso, a priori, this is going to look *very* different from a typical ARM64 device
18:15tarzeaugic as in generic interrupt controller? what would AIC be? (dict doesn't answer)
18:16marcanand yes that means I'm going to probably need to have a few words with the linux ARM64 maintainers and they will probably hate Apple for doing this, but c'est la vie
18:16diz3ymarcan: ah, I see, because they are happy with SE, I suppose?
18:16marcanSEP, yes
18:16marcan(which is actually secure, unlike TrustZone)
18:16marcan(TrustZone is ~impossible to implement securely)
18:17Shiztrustzone is just 'what if we added another privilege layer' without thinking of any other parts
18:17diz3ymarcan: is there SEL2?
18:17marcanthere is EL2
18:17rjeli has joined #asahi
18:17diz3ybut just EL2, not S-EL2? (I suppose if no EL3 as well)
18:19tarzeaucan flashrom already dump BootROM?
18:19marcanwhat BootROM?
18:21tarzeauthe one from glossary: the ro mem embedded as m1 which is the first code executed upon boot
18:21marcanon which device?
18:21diz3yShiz: well, there's also secure interrupts and traps into EL3 from lower ELs and also TZC-xxx
18:21tarzeauany m1 device, mba/mbp/macmini with m1
18:21diz3yand secure timers, etc
18:21marcan... you do realize Linux doesn't run on M1 yet, right?
18:21tarzeaui'm perfectly aware of that yes
18:21Shizflashrom also runs on macOS
18:21Shizbut no, I wouldn't expect it to
18:22Shizwhat interface would it use, for one
18:22tarzeauno idea, but having that code disassembled could be useful no?
18:22marcannot really, we won't care about most low level init stuff
18:22marcanwe're working at the same level as macOS, we don't care about anything before macOS
18:23diz3ysounds reasonable
18:23Shizdiz3y: well, conceptually; also 'secure interrupts and traps' sounds like mechanisms the same as any other privilege layer :p
18:24diz3yyes, but also NS- and S- halves of PLs :)
18:24tarzeaumarcan: i see, i thought it would be useful, i used to dump rom extensions on x86 (using ree) at dos, and had fun re-running vga roms
18:25marcanAIUI the boot rom on these things is disabled after boot, so it is not accessible
18:25tarzeaumaybe useful for linux drivers of some things, but i have to dig into armv8 (or arm generally, first)
18:25Shizi think it *could* be useful as reference to check how things are setup for us
18:25Shizbut by no means necessary
18:25Shizand likely annoying to get hold of
18:25tarzeauand access to nvram? dump/restore?
18:26tarzeaui've never network sniffed the network boot part of macs... either
18:26tarzeauall other unixes were fine with tftpd
18:26Shizwell, m1s don't do network boot anymore
18:26tarzeauShiz: they got no network restore option?
18:26Shizcorrect
18:27marcanthey have DFU, like an iPhone
18:27marcanm1s don't really do... anything boot really
18:27Shizif your SSD is fully wiped, you do DFU mode
18:27marcanthere is no boot menu, no bootloader, no interface, no nothing
18:27tarzeaustill waiting for my mba to arrive
18:27Shizthere's a boot menu of sorts
18:27marcanthe "startup options" menu is a fullscreen app running under the recovery partition macos instance
18:27tarzeauyeah makes sense. i'm so glad the ibm design of computer from 1990+-5y is going to die
18:27diz3yah, wow
18:27Shiztarzeau: you should take a look at PS4s :)
18:27tarzeauthat awkward bios roms that run 16bit code
18:28Shizyou get intel designs of early 2000s instead
18:28tarzeauShiz: i've only seen ps1,2,3, powerpc,. ps4 is not ppc right?
18:28marcanso basically this is like one of those compaq machines, with the BIOS in a floppy
18:28opticronugh, I wasn't aware that apple whipped up their own interrupt controller
18:28marcanexcept the BIOS is in a partition
18:28Shiztarzeau: well, marcan is best qualified to speak about ps4s, but it's x86-but-not-ibm-pc
18:28diz3yx86-as-a-SoC
18:29marcanit's kiiind of a normal AMD x86 APU (just not one you can buy), but the southbridge is, well, insanity
18:29marcanso forget about legacy compat
18:30tarzeaui did some vga and other i/o programming 20 years ago, x86, i'm also familiar with that interrupt controller, and keyboardcontroller (wrote that uberkey thing)
18:30tarzeaucurious how AIC is done...
18:31tarzeaui guess i'll hang around here and play with my box as soon as it arrives, and keep reading up things
18:31diz3ytarzeau: if it's similar to ARM GIC, then it's completely different from APIC
18:31diz3ywell, not completely, but massively
18:32diz3yI hope AIC is something like VIC, but with virtual interrupts
18:32tarzeaudoes lsusb/lspci exist? i wonder what their graphics card is done
18:32marcandefinitely not pci
18:33ShizI'll dump some system_profiler output in a sec for a high-levle overview
18:36tarzeauso it'd be fun to make a full disk dump and analyze that? but how if the disk/storage is soldered in?
18:36marcanI'm wary of the sandcastle stuff because it seems they aren't interacting with the community about this, and they haven't signed off anything, so I am extremely wary of taking any code from there even though it's ostensibly GPL
18:36marcanI do not trust them
18:36marcanbut we can at least use it as a reference
18:36tarzeauone can't just boot linux and use dd on the raw disk
18:36tarzeaui guess apfs will be fun...
18:36marcanI'm going to consider it ~the same as APSL code unless they speak up about it and sign off on parts
18:36marcanthey also have APFS
18:37marcanthat's actually probably the most useful part of that kernel
18:37marcanbut I intend to try to avoid APFS unless I really have to
18:37rjelimy m1 comes in mail soon. is there any kind of roadmap or should i just mess around
18:37marcanthe good thing is a FS driver is stand-alone and unrelated to everything else, so I don't care if we use it for now, I just won't be upstreaming it myself
18:38rjelii have some experience porting linux to android phones so im not a complete noob
18:38rjeliwhere start
18:38marcanalso APFS is documented IIRC
18:38marcanso that driver might well be totally clean based on those docs
18:38tarzeauit wasn't for a long time, when i wanted to write the magic for file
18:39marcanright now, the most useful thing is to poke around macos and document
18:39rjelioh missed that, ty
18:39marcanthe low level bringup is a choke point, and there isn't much for anyone else to do there until I get mini up at least
18:39marcanbut that won't take long
18:39marcanif you don't have a serial / VDM cable you won't be able to debug that anyway
18:39marcanbut once I figure out the dwc usb controller you'll have an interface you can use
18:40marcanspeaking of not taking long, I'm going to sleep; let's see if I can actually wake up fresh tomorrow
18:40marcanand get some proper work done
18:41diz3yoyasumi
18:45NecrosporusIs stage "test code execution" hard? Why not to try to change one random byte in macOS kernel and see if it can be booted? It will prove that indeed security settings allow custom code
18:45tpw_rulesthe fact that they do is well documented
18:45NecrosporusYes, but doc is one thing and real test is another
18:46NecrosporusDid anybody try to load anything not signed by apple on m1's yet?
18:46davidrysk[m]I'd say try booting the debug kernel from the KDK, but there are only debug kernels for the DTK, not the M1
18:46tpw_rulesbesides, signed and invalid is completely different from unsigned
18:46Necrosporusremoving signature shouldn't be impossible
18:47tpw_rulesyour point is it's supposed to be easy
18:47NecrosporusThough as far as I get, iBoot will still only boot signed kernel, but with the setting it will boot self-signed kernels
18:48NecrosporusSo my idea is: change one byte in kernel binary (landing on a text string preferably), sign it with your own signature and see if it will start to boot
18:49Necrosporusif it will then indeed, booting arbitrary code is possible (in reality not just in docs)
18:49sventhat's... not gonna work
18:49svenbooting arbitrary code is *documented*
18:49svenyou need to boot into recovery and use some tool provided by apple starting next beta or so
18:50Necrosporusyeah, but it was already done by mar can
18:50bostjan has quit [Read error: Connection reset by peer]
18:50Shizit hasn't
18:50svenhe disabled all kinda of security protections within mac os
18:50svenhe hasn't booted any unsigned code yet
18:51CDFHAnd you're sure of that? :)
18:51Shizlikely nobody will until the tools drop
18:51Shiz1TF, the only environment from which you can run such security tools, only runs apple-signed binaries
18:53Necrosporussven, yeah, so I was offering to try booting same kernel from macOS but with different signature
18:53CDFHThere are ways of doing things, I've seen unsigned binaries booted on an M1 machine
18:53svenand that makes no sense and won't work
18:53svenCDFH: yeah, userland binaries
18:54CDFHpongoOS
18:54svenah, fair enough
18:55marcanCDFH: citation needed?
18:55marcanthe kmutil changes to set up the secureboot policy are not released yet
18:55CDFHmarcan: That pongoOS works?
18:56CDFHCould be bullshit, but the team member I mentioned to you over DM the other day said they had something working (not gonna drop them in it publiclly)
18:58Shizhmm...
18:58ShizI guess if the appropriate policy has been set kmutil could possibly be ran from outside 1TR?
18:59Shizthey could've *technically* replicated that functionality if so, given info how it would wrok
19:00aratuk has joined #asahi
19:05aratuk has quit [Ping timeout: 264 seconds]
19:13davidrysk[m]you set up the secureboot policy with bputil
19:13davidrysk[m]and then you use kmutil to tell the bootloader what file to run
19:21bear24rw has quit [Remote host closed the connection]
19:25davidrysk[m]the manpages for both utilities explain what needs to be done in 1TRR
19:25davidrysk[m]IIRC enough of this is implemented on 11.1 release
19:29winocm has joined #asahi
19:31ephe_meral has joined #asahi
19:35marcanI thought we still needed the configure-boot mode
19:35marcanbut I guess the customkc thing is in there in the previous beta?
19:36marcanthe manpages are still ahead of the actual code
19:36marcananyway, whatever is missing should drop like next week or something
19:37marcandon't want to waste my time with alternate boot methods if the real one is coming soon
19:37marcan(e.g. I could've written kexec.kext way back too but...)
19:39bear24rw has joined #asahi
20:04davidrysk[m]marcan: you use bputil to enable permissive security, then kmutil configure-boot to set it up
20:04davidrysk[m]I'd have to boot into 1TRR to test and see if configure-boot is present
20:05marcanit isn't
20:05marcanthat was my point
20:06davidrysk[m]hm, and it's not in 11.2 beta either?
20:06j`eymarcan: bed!
20:07NekomimiScience has joined #asahi
20:07dagbj`ey: are you marcan's dad or something? :-)
20:07dagbor spouse...
20:07j`eydagb: indeed
20:07j`eydagb: bed for you too!
20:10mogery has joined #asahi
20:12feuerrot has joined #asahi
20:14dagbj`ey: dang. strict rules, eh? what if my timezone indicates lunchtime?
20:14dagbnot that it is *wrong* to spend time in bed around lunchtime...
20:56amw1 has joined #asahi
20:59jamadazi has joined #asahi
21:01aratuk has joined #asahi
21:04amw1 has quit [Ping timeout: 272 seconds]
21:05aratuk has quit [Ping timeout: 256 seconds]
21:10mogery has quit [Read error: Connection reset by peer]
21:17threedpro has quit [Read error: Connection reset by peer]
21:18amw1 has joined #asahi
21:40amw1 has quit [Ping timeout: 265 seconds]
21:41vilhalmer has joined #asahi
21:54amw1 has joined #asahi
21:56vlad-k has quit [Remote host closed the connection]
21:58amw1 has quit [Ping timeout: 256 seconds]
22:01jamadazi has quit [Ping timeout: 264 seconds]
22:05konstater has quit [Remote host closed the connection]
22:07ransom has quit [Read error: Connection reset by peer]
22:08ransom has joined #asahi
22:09amw1 has joined #asahi
22:16amw1 has quit [Ping timeout: 265 seconds]
22:18ndom91 has joined #asahi
22:18ndom91hey everyone
22:20fossy has joined #asahi
22:28amw1 has joined #asahi
22:31ephe_meral has quit [Ping timeout: 240 seconds]
22:35amw1 has quit [Ping timeout: 264 seconds]
22:40_whitelogger has joined #asahi
22:46ransom has quit [Ping timeout: 240 seconds]
22:52bloom_ has joined #asahi
22:52ransom has joined #asahi
22:53bloom_ has left #asahi [#asahi]
23:00bostjan has joined #asahi
23:02aratuk has joined #asahi
23:06aratuk has quit [Ping timeout: 246 seconds]
23:19sharpiro has joined #asahi
23:58bostjan has quit [Quit: Leaving]
…