#
…

2021-10-12

00:21kenjigashu has joined #asahi
00:33kenjigashu has quit []
00:45doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:17marcankettenis: I was thinking of keeping a copy in the m1n1 source (there's one already, horribly outdated)
01:18marcanjust need to make it all sync better with the linux version
01:18marcanit could be a separate repo too though
01:27yuyichao has joined #asahi
01:37linearcannon has quit [Quit: Textual IRC Client: www.textualapp.com]
01:49linearcannon has joined #asahi
02:26PhilippvK has joined #asahi
02:27bgb has quit [Ping timeout: 480 seconds]
02:28phiologe has quit [Ping timeout: 480 seconds]
02:37tomtastic_ has joined #asahi
02:40tomtastic has quit [Ping timeout: 480 seconds]
03:27bgb has joined #asahi
03:28marvin24_ has joined #asahi
03:31marvin24 has quit [Ping timeout: 480 seconds]
03:40kov has quit [Quit: Coyote finally caught me]
03:40kov has joined #asahi
04:19bgb has quit [Read error: Connection reset by peer]
04:21bgb has joined #asahi
04:30tomtastic_ has quit [Ping timeout: 480 seconds]
04:31tomtastic has joined #asahi
04:38bgb_ has joined #asahi
04:44bgb has quit [Ping timeout: 480 seconds]
05:00c10l has quit [Quit: The Lounge - https://thelounge.chat]
05:00c10l has joined #asahi
05:42marcankettenis: btw, feel free to CC me on the u-boot stuff (I also just subscribed to the ML)
05:58bgb has joined #asahi
06:03bgb_ has quit [Ping timeout: 480 seconds]
06:15jacoxon has joined #asahi
06:54Nspace has joined #asahi
07:07Nspace has quit [Quit: Nspace]
07:11bps has joined #asahi
07:32povik has joined #asahi
07:51ZLSA has quit [Read error: Connection reset by peer]
07:51kendfinger has quit [Read error: Connection reset by peer]
07:51ZLSA has joined #asahi
07:51kendfinger has joined #asahi
07:51Ariadne has quit [Read error: Connection reset by peer]
07:51sorear has quit [Read error: Connection reset by peer]
07:51ovf has quit [Read error: Connection reset by peer]
07:51balrog has quit [Quit: Bye]
07:51robher has quit [Read error: Connection reset by peer]
07:51jabashque has quit [Read error: Connection reset by peer]
07:51aeroraptor has quit [Read error: Connection reset by peer]
07:51aeroraptor has joined #asahi
07:51sorear has joined #asahi
07:51Ariadne has joined #asahi
07:51ihaveamac has quit [Quit: fail]
07:51ovf has joined #asahi
07:51guan has quit [Read error: Connection reset by peer]
07:51guan has joined #asahi
07:51robher has joined #asahi
07:51jabashque has joined #asahi
07:51Chainsaw has quit [Read error: Connection reset by peer]
07:51ihaveamac has joined #asahi
07:51jkkm has quit [Read error: Connection reset by peer]
07:51Chainsaw has joined #asahi
07:52jkkm has joined #asahi
07:52balrog has joined #asahi
09:05bgb has left #asahi [WeeChat 3.0.1]
10:06kettenismarcan: will do
10:07povikmarcan: ^ interested for inclusion in m1n1?
10:07povikcould be feature creep
10:14kettenismust admit I like the elegance of just using cat ;)
10:20povikdon't blame you
11:34povik has quit [Remote host closed the connection]
12:06gruetze_ has joined #asahi
12:14Patrick has joined #asahi
13:16jbowen has joined #asahi
13:42marcanpovik: the idea yes, but I find the Concat class a bit... overkill :)
13:44marcanI think we can afford the transient memory usage and just use BytesIO there
13:45marcanjust create an empty one, write all the data into it, seek to 0 and pass it on :)
14:12aleasto has joined #asahi
14:19Patrick has quit [Quit: Textual IRC Client: www.textualapp.com]
14:34povik has joined #asahi
14:35povikmarcan: yeah, no contest here
15:06everslick_ has joined #asahi
15:13everslick has quit [Ping timeout: 480 seconds]
17:03saintdev has quit [Read error: Connection reset by peer]
17:04saintdev has joined #asahi
17:04brinly has quit [Read error: Connection reset by peer]
17:04brinly has joined #asahi
17:07yuyichao has quit [Ping timeout: 480 seconds]
17:31yuyichao has joined #asahi
17:47doggkruse has joined #asahi
18:12jbowen has quit [Ping timeout: 480 seconds]
18:25doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:25tomtastic_ has joined #asahi
18:28tomtastic has quit [Ping timeout: 480 seconds]
18:39Nspace has joined #asahi
18:46nepeat has quit [Quit: ZNC 1.8.2 - https://znc.in]
18:46nepeat has joined #asahi
19:11jbowen has joined #asahi
19:25jbowen has quit [Ping timeout: 480 seconds]
19:36jbowen has joined #asahi
19:43Nspace has quit [Quit: Nspace]
19:44Nspace has joined #asahi
19:52Nspace has quit [Quit: Nspace]
20:01skali has joined #asahi
20:19skali has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:23rross101 has joined #asahi
20:26povik^ this is from certain leaked schematic
20:26povikCHINA MIC?
20:26povikCHINA GND?
20:26povikwhat? :D
20:26rross101Hi! I'm a non-developer enjoying the challenge of trying this out. Where's the best place to get some support? Here? Github? I'm currently at the stage of getting my MBP booting to the language selection page but keyboard (external or internal) not working. Sorry if spam.
20:27j_eyhere is a good place
20:29rross101One place I wonder if I'm going wrong is which linux kernel to build and use - is the Asahi main one the best? I presume it's something about USB support.
20:29j_eyasahi main is not the latest one
20:32rross101And the other thing I've found is that I can get to the langauge selection page by concatenating the kernel onto m1n1; but when I try using linux.py I instead run into a 'device reports readiness' serial error and a black screen
20:32rross101OK great I'll try that. Thank you
20:33j_eythe device reports error is fine, since linux takes over the USB
20:36povikyeah apparently there's a different wiring for audio jack used in china
20:37j_eyrross101: you can just use defconfig I believe
20:37Nspace has joined #asahi
20:45povikah there don't seem to be as good a match of the codec driving the audio jack with some public part from the same manufacturer as there was with the speaker amp
20:46povikthe ADT and schematic has cs42l83 driving the audio jack
20:47povikthe closest part i found is cs42l42, but the registers don't match exactly
20:47ketteniscs42l73 isn't a closer match?
20:47povikno suprisingly it isn't
20:48povikthe registers are all different
20:54rross101 has quit [Remote host closed the connection]
21:02alyssaj_ey: oh do you still need testing?
21:03rross101 has joined #asahi
21:04Nspace has quit [Quit: Nspace]
21:05rross101OK making progress thank you. With that kernel image - concatenating and chainloading gets m1n1 rebooting with a 'kernel found' message - but not sure what to do from there. Using linux.py instead I get a decompression error after the 'FDT prepared' stage
21:06Nspace has joined #asahi
21:11j_eyalyssa: nah, sven did some testing!
21:11j_eyrross101: can you paste the exact commands?
21:12rross101sudo ../m1n1/env/bin/python ../m1n1/proxyclient/tools/linux.py -b 'earlycon console=ttySACO,1500000 console=tty0 debug' ./Image-new1.gz t8103-j274.dtb ./initrd.gz
21:12alyssaj_ey: sweet, less for me to do now :-p
21:12j_eyalyssa: ^_^
21:13j_eyrross101: is that dtb from the kernel?
21:14rross101yes copied from the folder arch/arm64/boot/dts/apple
21:15j_eyrross101: can you paste the output (to a paste site, not here) when you use m1n1 / run_guest.py
21:16Nspace has quit [Quit: Nspace]
21:17rross101sure - it requires a payload - sorry I'm not sure what to put?
21:19jbowen has quit [Quit: leaving]
21:20Nspace has joined #asahi
21:28j_eylooks good
21:28rross101and on the screen it says 'error getting node /arm-io/atc-phy0
21:28rross101and something similar for hpmbusmanager
21:29rross101and dart-usb0
21:29j_eyyou should be able to use screen/picocom/something to connect to /dev/ttyACM0
21:29j_eyand that will give the output there so you can copy/paste
21:38j_eyrross101: can you show how you made m1n1-payload.macho ?
21:39rross101cat ../m1n1/build/m1n1.macho ../linux/arch/arm64/boot/Image ../linux/arch/arm64/boot/dts/apple/t8103-j274.dtb ../linux/initrd.gz > m1n1-payload.macho
21:41jacoxon has quit []
21:41jacoxon has joined #asahi
21:42j_eyohh use Image.gz
21:42rross101so zip the image that's there?
21:43jacoxon has quit []
21:43j_eythe kernel already outputs a .gz probably
21:43j_eycheck ../linux/arch/arm64/boot/Image.gz, it probably exists
21:44rross101no but that is probably my poor kernel building skills
21:45j_eytry: make ...... Image.gz
21:45j_ey... is all your normal args
21:48rross101just gzipped it instead and I've now gone forward a few steps. booted to logo, although frozen, and this output https://paste.gg/p/anonymous/fd2fd25f241349b5a4eaa895c491f8c4
21:48rross101but would rebuilding it as a gz be better/different?
21:48povikshould make no difference
21:49j_eyrross101: can you paste ACM1 too
21:51j_eyok cool, thats booting
21:52j_eyor you can try use linux.py again..
21:52Nspace has quit [Quit: Nspace]
21:53povikj_ey: i remember you said macos stopped booting for you in hypervisor with smp
21:53poviki just tried the same after some time and it doesnt work
21:53j_eypovik: yes
21:53povikdid it get fixed?
21:53j_eynot yet
21:53povikdid it just reboot with little explanation? (that's what happens here)
21:54j_eypovik: oh, mine never booted
21:54j_eypovik: try before a16731e8b33fa492c000ed5d5b43bcfbb4a26a5c in m1n1
21:54poviki mean, it reboots while booting
21:54povikactualloy the hypervisor crashes
21:54povik*actually
21:55povikwill try that
21:55j_eywith mine, macOS crashes
21:55rross101using linux.py gets me to the same point again
21:56j_eyrross101: what about just reverting https://github.com/AsahiLinux/linux/commit/ce55208743f18b71731aff468d6032ffff796220 and trying with a clean linux-next
21:57povikwhat now it boots, i didnt change anything
21:57povikand it wants to tell apple everything about the crashes
21:58alyssapovik: the best part is that the apple domain doesn't exist
21:58rross101is that the next-base branch?
21:59povikalyssa: the crash-report logging domain?
21:59Nspace has joined #asahi
21:59povikmaybe we should implement the same crash reporter into linux
21:59povikwith enough confusion inside apple they would start fixing our bugs
22:00j_eyrross101: it's a date
22:00j_eyrross101: it's a tag like: next-2021somedate
22:00povik(after they finally set up the domain)
22:05alyssapovik: yeah
22:05alyssapanic.apple.com, right?
22:06poviki don't know, i shut it down, it was a GUI thing once it fully booted after crashes
22:06povikpanic.apple.com sounds like a nice domain to send linux panics to
22:07alyssaalyssa@sunset:~$ whois panis.apple.com
22:07alyssaNo match for "PANIS.APPLE.COM".
22:07povikyou have a typo there :-p
22:07alyssaNo match for "PANIC.APPLE.COM".
22:08alyssaI guess whois doesn't work for subdomains though
22:08poviki don't know
22:08povikbut maybe that's what apple thinks about our panic reports
22:08alyssano answer for `dig panic.apple.com`, though
22:09alyssapovik: the only other people that see this are hackintoshers so...
22:09povikand apple developers, if they do their work right
22:09alyssathey have radar for that
22:10alyssaApple's internal NIH of phabricator
22:11* poviklooks up phabricator
22:11j_eypovik: bug tracker
22:11povikthis is some issue tracker/code review tool
22:12poviki meant if apple developers do their work right
22:12poviknoone but them, us and hackintoshers need to see panic.apple.com
22:12povikaren't we hackintoshers now?
22:13j_eylinuxtoshers
22:13povikoh they do the same thing, but reverse, of course
22:13povikwe are linux sane people
22:14jnreverse-hackintosh
22:20rross101j_ey: no a clean linux-next image gives an exception immediately after 'preparing to boot kernel'. I'll try the latest commit with those lines commented out tomorrow; have to go now. I've really appreciated the live support. Thank you.
22:21j_eyrross101: shame youre having trouble!
22:21rross101oh that's part of the fun!
22:36Nspace has quit [Quit: Nspace]
22:36Nspace has joined #asahi
23:02tomtastic has joined #asahi
23:03tomtastic_ has quit [Ping timeout: 480 seconds]
23:17aleasto has quit [Quit: Konversation terminated!]
23:54Nspace has quit [Quit: Nspace]
23:59Nspace has joined #asahi
…