#
…

2021-01-07

00:36ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:47ransom has joined #asahi-re
00:58artemistThe best part is that there's an ARMv8-A core that only runs A32 and T32: the Cortex-A32
00:59artemistNot that anyone seriously used it
00:59Yuzuand the A34, its 64b-only cousin
01:00artemisttbh i'm surprised that they're still putting A32 and T32 in the Cortex-A77
01:02opticronthe A77 is a mainstream/generic CPU directly from ARM, so it still makes sense
01:02opticronbut, I figure they will start releasing high end A64-only at some point soon
01:03opticronI didn't know about the A34, that's neat
01:04YuzuA32 is 32b only, A34 is 64b only, A35 is both. closely related cores other than that
01:05YuzuARM's dropping aarch32 support in the core after Matterhorn
01:14qyousef has joined #asahi-re
01:29rbenua has joined #asahi-re
02:54aratuk has joined #asahi-re
03:04blazra[m] is now known as blazra
03:09blazra has quit [Quit: authenticating]
03:10blazra has joined #asahi-re
04:55browzing has quit [Ping timeout: 256 seconds]
05:21browzing has joined #asahi-re
05:26browzing has quit [Ping timeout: 246 seconds]
05:33ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:56browzing has joined #asahi-re
06:02browzing has quit [Ping timeout: 272 seconds]
06:15browzing has joined #asahi-re
06:20browzing has quit [Ping timeout: 256 seconds]
08:27aratuk has quit [Remote host closed the connection]
08:46bear24rw has quit [Remote host closed the connection]
08:47bear24rw has joined #asahi-re
08:52bear24rw has quit [Ping timeout: 246 seconds]
09:05aratuk has joined #asahi-re
09:05aratuk has quit [Client Quit]
09:15bear24rw has joined #asahi-re
09:21aratuk has joined #asahi-re
09:39_whitelogger has joined #asahi-re
10:17browzing has joined #asahi-re
10:21browzing has quit [Ping timeout: 240 seconds]
10:21konstater has joined #asahi-re
10:32ts170[m] has joined #asahi-re
10:43zopieux has joined #asahi-re
10:53bear24rw has quit [Remote host closed the connection]
11:01Mary_ has joined #asahi-re
11:03bear24rw has joined #asahi-re
11:08bear24rw has quit [Ping timeout: 264 seconds]
11:08jinen[m] has joined #asahi-re
12:37Jamie[m]2 has joined #asahi-re
13:07sharpiro has quit [Ping timeout: 264 seconds]
14:00aratuk has joined #asahi-re
14:08puhitakui've just purchased an M1 MBA just for experiments and i'd be glad to do disassembling and soldering if it's worth to try
14:16aratuk has quit [Remote host closed the connection]
14:24riker77 has quit [Quit: Quitting IRC - gone for good...]
14:35davidrysk[m]puhitaku: you probably won't have to, if anything that special USB cable would be of use
14:39mah has joined #asahi-re
14:41ceph3us has joined #asahi-re
14:48puhitakuyeah basically i hope it works well in any aspect of analysis
14:54ceph3us has quit [Remote host closed the connection]
15:02ceph3us has joined #asahi-re
15:02mah is now known as mch
15:03mch is now known as mah
15:03mah has quit [Quit: Leaving]
15:07puhitakumy concern is that special USB communication should be achieved on higher layers relatively. generally speaking USB communication is not available in the early stages of booting. I'm not sure neither how or if Apple provides it magically nor the entire boot sequence so I'm gonna learn them
15:19davidrysk[m]puhitaku: they use vendor USB-PD commands to expose UART, etc over USB. https://t8012.dev/ is a good place to start
15:20davidrysk[m]there was also a tweet by marcan but I forget where it was
15:21puhitakunever knew it's handled by T2! thanks a lot for the link
15:29Axenntio has joined #asahi-re
15:29Axenntio has quit [Client Quit]
15:29Axenntio has joined #asahi-re
15:31thecake21[m] has joined #asahi-re
15:32Axenntio_ has joined #asahi-re
15:35davidrysk[m]it's not handled by a T2, but it's basically done the same way since the M1 is more or less a much expanded T2
15:35Axenntio_ has quit [Remote host closed the connection]
15:36Axenntio has quit [Ping timeout: 264 seconds]
15:37Fanfweit's not handled by the T2, it's the USB mux controller (CD3217 from Texas Instruments) also known as ACE in Apple's own schematics
15:37FanfweType-C has 2 "general purpose" pins that can carry whatever signal you like
15:38FanfweApple has implemented a special vendor specific set of messages in the USB-PD protocol so you can request those two general purpose pins to be used as TX and RX lines of the machine's UART
15:39Fanfweonly thing is that logic level on those pins is not the usual 5V or 3.3V TTL
15:40Fanfweso you need a level translation circuit
15:44FanfweBut yeah, essentially, being able to get UART on the USB-C is totally independent from what runs on the T2 and/or M1.
15:54riker77 has joined #asahi-re
15:54brentr123[m] has joined #asahi-re
16:12puhitakunice details, also thanks for that, now i understood the overview
16:31bear24rw has joined #asahi-re
16:35bear24rw has quit [Ping timeout: 256 seconds]
16:41bear24rw has joined #asahi-re
16:46bear24rw has quit [Remote host closed the connection]
16:54bear24rw has joined #asahi-re
16:57Axenntio has joined #asahi-re
16:58carlosn has joined #asahi-re
17:00bear24rw has quit [Ping timeout: 264 seconds]
17:16bear24rw has joined #asahi-re
17:23ghantaz has joined #asahi-re
17:26Hexagon has joined #asahi-re
17:36ghantaz has quit [Ping timeout: 245 seconds]
17:37marcanpuhitaku: my first step will be a serial bootloader, and the second step will be adding usb-device support for that, and then I'll add earlyprintk support for that to linux (this will also be useful on the rPi, FWIW)
17:38marcanso if everything goes according to plan, nobody will *really* need a serial cable to help out with the kernel bringup
17:38marcan(other than me)
17:38marcanbut I will be making an open hardware design for it anyway, it's a thing that's nice to have
17:38marcanI just think I can avoid it being a blocker for anyone
17:41modwizcode has joined #asahi-re
17:43tiago_ has joined #asahi-re
17:44Blueriseaaand if there's a glass framebuffer, it's probably not really necesasry anyway
17:44BlueriseI mean, if we can get an early glass framebuffer, that's enough for most people
17:47marcanthere is, in fact that will be my first hello world, because poking a pixel on the framebuffer is slightly less error prone than sending stuff out of serial
17:47marcanbut the usb/serial thing is useful to get I/O
17:58browzing has joined #asahi-re
17:58puhitakuthose steps sound natural while taking control of LCDs must be a journey as we have to make so many parts clear like DMAs and LCD interfaces before getting a fb... even we ignore the GPU stack entirely for the first step
17:59puhitakui'm a bit curious on how to find parts like DMAs in the vast memory map. from the source code of xnu?
18:08Axenntio_ has joined #asahi-re
18:08Axenntio has quit [Remote host closed the connection]
18:09Axenntio_ has quit [Remote host closed the connection]
18:09Axenntio has joined #asahi-re
18:09Axenntio has quit [Remote host closed the connection]
18:19ghantaz has joined #asahi-re
18:20bear24rw has quit [Remote host closed the connection]
18:21roxfanthere's osfmk/console/video_console.c
18:21bear24rw has joined #asahi-re
18:23stormclad has joined #asahi-re
18:23tiago_ is now known as tmartins
18:24roxfanbut I only see it called with NULL o.o
18:24bear24rw has quit [Remote host closed the connection]
18:24bear24rw has joined #asahi-re
18:25bear24rw has quit [Remote host closed the connection]
18:25marcanpuhitaku: the bootloader sets up the framebuffer for us
18:25bear24rw has joined #asahi-re
18:25marcanyou just write to memory
18:25tmartins is now known as tiagom
18:26marcanof course actually implementing the display controller so you can do things like plug in external displays will be more fun
18:26tiagom has quit [Quit: tiagom]
18:26tiagom has joined #asahi-re
18:27tbodt has joined #asahi-re
18:29ghantaz has quit [Remote host closed the connection]
18:33bear24rw has quit [Remote host closed the connection]
18:33bear24rw has joined #asahi-re
18:35puhitakui've been forgotten that the boot menu showed up in your broadcast *slaps forehead* sry for misunderstanding because of not having the real hardware for now
18:51marcanactually that boot menu isn't that
18:51marcanthat "boot menu" is just an OSX app
18:51Baughn has joined #asahi-re
18:51marcanbut the *apple* that shows up before that, with the "entering options" thing, *that* is the bootloader
18:57Axenntio has joined #asahi-re
18:58Axenntio_ has joined #asahi-re
18:58Axenntio_ has quit [Remote host closed the connection]
19:01Axenntio has quit [Remote host closed the connection]
19:05Axenntio has joined #asahi-re
19:06Axenntio_ has joined #asahi-re
19:06Axenntio_ has quit [Remote host closed the connection]
19:08Axenntio_ has joined #asahi-re
19:09Axenntio_ has quit [Remote host closed the connection]
19:14Axenntio has quit []
19:15Axenntio_ has joined #asahi-re
19:28Axenntio_ has quit [Remote host closed the connection]
19:33ConeOfAttack[m] has joined #asahi-re
19:41puhitakuso we might be able to overwrite the white apple with the fresh asahi ringo logo ... that's cool, i hope the bootloader passes the fb as-is
19:41fl35[m] has joined #asahi-re
19:59jn__... or with Bad Apple frames :)
20:03diz3yjn__: loading animation \o/
20:10Axenntio has joined #asahi-re
20:11Axenntio has quit [Remote host closed the connection]
20:13Axenntio has joined #asahi-re
20:19ransom has joined #asahi-re
20:28ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:29Axenntio has quit [Ping timeout: 240 seconds]
20:30sharpiro has joined #asahi-re
20:31Axenntio has joined #asahi-re
20:32browzing has quit [Ping timeout: 246 seconds]
20:32sharpiro_ has joined #asahi-re
20:34Axenntio has quit [Remote host closed the connection]
20:35sharpiro has quit [Ping timeout: 256 seconds]
20:48tiagom has quit [Quit: tiagom]
20:59browzing has joined #asahi-re
21:17tiagom has joined #asahi-re
21:30skg has joined #asahi-re
21:30bear24rw has quit [Remote host closed the connection]
21:31bear24rw has joined #asahi-re
21:32bear24rw has quit [Remote host closed the connection]
21:32bear24rw has joined #asahi-re
21:32xerpi[m] has joined #asahi-re
21:32ransom has joined #asahi-re
21:35puhitakujn__: it'll be so fun to show off with Bad Apple :O
21:43ransom_ has joined #asahi-re
21:45ransom has quit [Ping timeout: 272 seconds]
21:47aratuk has joined #asahi-re
21:50aratuk_ has joined #asahi-re
21:53aratuk has quit [Ping timeout: 256 seconds]
21:56roxfanmake it an easter egg
21:59jevinskie[m] has joined #asahi-re
22:01ransom_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:02ransom has joined #asahi-re
22:20krbtgt has joined #asahi-re
22:46stormclad has quit [Remote host closed the connection]
22:47stormclad has joined #asahi-re
23:03ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:04ransom has joined #asahi-re
23:39modwizcode has quit [Quit: Later]
23:55Lightsword has joined #asahi-re
…