2021-10-30
00:01kajiryoji has quit []
00:01rohin2 has joined #asahi
00:02kajiryoji has joined #asahi
00:20ihaveamac has quit [Quit: fail]
00:22ihaveamac has joined #asahi
00:36rohin2 has quit [Ping timeout: 480 seconds]
00:48kajiryoji has quit []
00:49kajiryoji has joined #asahi
00:52kajiryoji has quit []
00:54kajiryoji has joined #asahi
01:07kajiryoji has quit []
01:12kajiryoji has joined #asahi
01:20Emantor has quit [Quit: ZNC - http://znc.in]
01:20Emantor has joined #asahi
01:34chadmed has quit [Quit: Konversation terminated!]
01:36chadmed has joined #asahi
01:40psykose has quit [Remote host closed the connection]
01:41psykose has joined #asahi
01:42psykose has quit [Remote host closed the connection]
01:48psykose has joined #asahi
02:07PhilippvK has joined #asahi
02:09phiologe has quit [Ping timeout: 480 seconds]
02:34chadmed has quit [Quit: Konversation terminated!]
02:43chadmed has joined #asahi
02:44DarkShadow44 has quit [Quit: ZNC - https://znc.in]
02:51rkt has joined #asahi
03:02long[m] has joined #asahi
03:19DarkShadow44 has joined #asahi
03:22marvin24_ has joined #asahi
03:26marvin24 has quit [Ping timeout: 480 seconds]
03:58kov has quit [Quit: Coyote finally caught me]
03:58kov has joined #asahi
04:05phiologe has joined #asahi
04:06rkt has quit [Quit: rkt]
04:07PhilippvK has quit [Ping timeout: 480 seconds]
04:16rkt has joined #asahi
04:22chadmed has quit [Remote host closed the connection]
04:29marvin24 has joined #asahi
04:33marvin24_ has quit [Ping timeout: 480 seconds]
04:58hexchain has quit [Quit: Goodbye!]
05:01hexchain has joined #asahi
05:29darkapex1 has joined #asahi
05:35darkapex has quit [Ping timeout: 480 seconds]
05:37rkt has quit [Quit: rkt]
05:56rkt has joined #asahi
07:01chadmed has joined #asahi
07:40chadmed has quit [Ping timeout: 480 seconds]
07:42kajiryoji has quit [Ping timeout: 480 seconds]
07:42kajiryoji has joined #asahi
07:59gladiac has quit [Quit: k thx bye]
08:00gladiac has joined #asahi
08:21jacoxon has joined #asahi
08:30aleasto has joined #asahi
09:09rkt has quit [Quit: rkt]
09:15rkt has joined #asahi
09:21___nick___ has joined #asahi
09:21___nick___ has quit []
09:22___nick___ has joined #asahi
09:26aleasto has quit [Quit: Konversation terminated!]
09:26aleasto has joined #asahi
09:29aleasto has quit [Remote host closed the connection]
09:30aleasto has joined #asahi
09:35rkt has quit [Quit: rkt]
09:48rkt has joined #asahi
09:59darkapex has joined #asahi
09:59darkapex1 has quit [Read error: Connection reset by peer]
10:00rkt has quit [Quit: rkt]
10:09rkt has joined #asahi
10:14bps2 has quit [Ping timeout: 480 seconds]
10:20FikretCanGrbz[m] has joined #asahi
10:21FikretCanGrbz[m] is now known as cangurbuz[m]
10:58VinDuvok, m1n1 seems to mostly work on the 14" MBP with UART_BASE changed and mmu, pmgr and usb removed :)
11:18VinDuvyeah, chickens.c doesn’t recognize the cpu model so it applies half of the chicken bits I think
11:19svenHrm. Or maybe they changed something with SPRR/GXF but that would surprise me for this iteration
11:37aleasto has quit [Ping timeout: 480 seconds]
11:53aleasto has joined #asahi
12:11VinDuvThe MMU error: https://paste.debian.net/plainh/72286d9b (I also had a SError after but it was caused by the automatic reboot poking the wrong addresses for the WDT; WDT_BASE should be set to 0x2922b0000 in start.S)
12:20tom has joined #asahi
12:22tom has quit []
12:22hir0pro has joined #asahi
12:29svenVinDuv: so as a quick hack you can probably replace 0x0800000000 with 0x1000000000 in memory.c
12:29svenand then maybe the REGION_RWX_EL0, etc. defines need to be changed as well so that they don't overlap
12:41___nick___ has quit [Ping timeout: 480 seconds]
12:44___nick___ has joined #asahi
12:55rkt has quit [Quit: rkt]
13:02hir0pro has quit [Quit: hir0pro]
13:12rkt has joined #asahi
13:19hir0pro has joined #asahi
14:25rkt has quit [Quit: rkt]
15:06VinDuvsven: changing the addresses did not seem to fix anything, but I’ve probably messed up something somewhere
15:11aleasto has quit [Read error: No route to host]
15:21svenhrm. i guess remove the early uart debug (unless we want some hack to identify the mmio range there), then get uart, ram_start and watchdog from the ADT
15:26VinDuvhmm, there’s something else I don’t quite understand: it looks like m1n1’s proxy always opens the serial port at 115200 baud (unless M1N1DEVICE has a specified baudrate) and then switches both ends to 1500000
15:27aleasto has joined #asahi
15:27VinDuvso if I close the shell and restart it, the proxy will be at 115200 and the target at 1500000 so it doesn’t work
15:28kettenis115200 is plenty for a serial console and 1500000 isn't supported by all usb serial dongles and more susceptible to line noise
15:31VinDuvI don’t remember marcan having problems with it but I guess it’s because his serial adapter has auto baudrate
15:39VinDuvI don’t really understand how that would work since it sends a proxy command before trying to adjust the baud rate?
15:41svenif you're using USB it doesn't matter because there's no baudrate and it'll never fail anyway
15:44svenso the iodev_whoami is meant to detect if you're connected via USB and to just skip baudrate adjustment then
15:45sven(i just realized i haven't used the hw uart in a long time so maybe it's actually a bit broken right now)
15:55svenVinDuv: https://files.svenpeter.dev/79b8a2676ddedd8458245763a2e6c4a2bce05571b3eadf01398141b7c1634b21_0001-fix-bootstrap_port-hardware-uart.patch might fix it
15:59VinDuvYeah but if you’re using the non-usb uart and it returns without raising any exception, it means the baudrate is good
16:01sveni think the only time we don't want to try messing with the baudrate is if we're running over usb
16:12dsrt^ has joined #asahi
16:31m6wiq has joined #asahi
16:36hir0pro has quit [Quit: hir0pro]
16:46tomtastic has quit [Quit: ZNC - https://znc.in]
16:47tomtastic has joined #asahi
16:50jg has joined #asahi
16:59jg has quit [Quit: Page closed]
17:04zopieux has quit [Ping timeout: 480 seconds]
17:07zopieux has joined #asahi
17:29hir0pro has joined #asahi
18:27hir0pro has quit [Quit: hir0pro]
18:37VinDuvsven: This seems to work for me: https://github.com/VinDuv/m1n1/blob/baud-adjust-fix/proxyclient/m1n1/proxyutils.py#L461
18:39VinDuv(I also had some issues with chainload timing out but it looks like it’s just because the MMU-less m1n1 is a bit too slow to finish starting…)
18:39sveni also get some timeouts sometimes after a reboot fwiw. but they haven't been very consistent and i haven't been able to figure out why they happen
18:45VinDuvI’m assuming iodev_whoami is simple enough so a timeout can only mean mismatched baudrate
18:46jacoxon has quit []
18:47jacoxon has joined #asahi
19:12aleasto has quit [Remote host closed the connection]
19:28jacoxon has quit []
20:05DarkShadow44 has quit [Quit: ZNC - https://znc.in]
20:06DarkShadow44 has joined #asahi
20:08___nick___ has quit [Ping timeout: 480 seconds]
20:37m6wiq has quit [Remote host closed the connection]
20:50jacoxon has joined #asahi
20:51tomtastic has quit [Quit: ZNC - https://znc.in]
20:53tomtastic has joined #asahi
21:15tomtastic has quit [Quit: ZNC - https://znc.in]
21:15tomtastic has joined #asahi
22:18jacoxon has quit []
22:30skali has joined #asahi
22:37tomtastic has quit [Ping timeout: 480 seconds]
22:37tomtastic has joined #asahi
23:06skali has quit [Quit: Textual IRC Client: www.textualapp.com]
23:26X-Scale` has joined #asahi
23:31X-Scale has quit [Ping timeout: 480 seconds]