#
✕ nick:kettenis
#asahi-dev · 2021-03-12 19:36
kettenisusing the serial thingy that bluerise created for me connected to an OpenBSD arm64 machine
#asahi-dev · 2021-03-12 19:35
kettenisproxy.UartTimeout: Expected 360448 bytes, got 329929 bytes
#asahi-dev · 2021-03-12 17:42
kettenisbut writing a little loop doing smaller reads did the trick
#asahi-dev · 2021-03-12 17:42
kettenisthanks; for some reason larger reads time out
#asahi-dev · 2021-03-12 16:10
kettenisis there an easy way to grab the ADT using m1n1?
#asahi-dev · 2021-03-12 09:46
kettenisso I'll probably push that to my u-boot repo tonight
#asahi-dev · 2021-03-12 09:45
kettenisbtw, I think I've sorted out the memory map issues in u-boot
#asahi-dev · 2021-03-12 09:45
kettenisah
#asahi-dev · 2021-03-12 09:44
ketteniswhat's up with the framebuffer console?
#asahi-dev · 2021-03-11 10:13
kettenisthat'll also take care of the models with 16G of RAM
#asahi-dev · 2021-03-11 10:12
kettenisusing the device tree to generate the u-boot memory map was always the plan
#asahi-dev · 2021-03-11 10:09
kettenisSEP == Secure Enclave Processor?
#asahi-dev · 2021-03-10 21:18
kettenisThat one happens because I have the whole 8G of physical memory mapped as normal write-back cacheable
#asahi-dev · 2021-03-10 21:17
kettenisL2C_ERR_INF 0x1
#asahi-dev · 2021-03-10 21:17
kettenisL2C_ERR_ADR 0x3010009eaf28b00
#asahi-dev · 2021-03-10 21:17
kettenisL2C_ERR_STS 0x11000ffc00000082
#asahi-dev · 2021-03-10 18:17
kettenisand my u-boot uses 115200
#asahi-dev · 2021-03-10 18:17
kettenisproxyclient switched the serial into 1500000 baud mode
#asahi-dev · 2021-03-10 18:17
kettenismore or less
#asahi-dev · 2021-03-10 18:17
kettenisah, figured out why I wasn't seeing any u-boot output
#asahi-dev · 2021-03-09 19:39
ketteniscpu7: 12288KB 128b/line 12-way L2 cache
#asahi-dev · 2021-03-09 19:38
ketteniscpu7: 192KB 64b/line 6-way L1 VIPT I-cache, 128KB 64b/line 8-way L1 D-cache
#asahi-dev · 2021-03-09 19:38
ketteniscpu7 at mainbus0 mpidr 10103: Apple Firestorm r1p1
#asahi-dev · 2021-03-09 17:46
kettenisinteresting that those writes trigger a SError but the written characters still appear on the serial line
#asahi-dev · 2021-03-09 17:46
kettenisit also doeas an 8-bit write to UTXH
#asahi-dev · 2021-03-09 17:45
kettenisso u-boot messes this up
#asahi-dev · 2021-03-09 16:48
kettenis0x235200000 is the physical address of the uart
#asahi-dev · 2021-03-09 16:48
kettenisL2C_ERR_INF 0x2
#asahi-dev · 2021-03-09 16:47
kettenisL2C_ERR_ADR 0x28000023520002c
#asahi-dev · 2021-03-09 16:47
kettenisL2C_ERR_STS 0x11000ffc00000082
#asahi-dev · 2021-03-09 16:46
kettenisdo you want the register values?
#asahi-dev · 2021-03-09 16:46
kettenisthanks again marcan
#asahi-dev · 2021-03-09 16:46
kettenisdinner first though
#asahi-dev · 2021-03-09 16:46
kettenisshouldn't be too difficult to fix
#asahi-dev · 2021-03-09 16:45
kettenisah, looks like our exuart(4) driver is touching a register that it shouldn't
#asahi-dev · 2021-03-09 16:40
kettenisif I use cu(4) I see the serial output
#asahi-dev · 2021-03-09 16:40
kettenisI'm talking about the python miniterm implementation here
#asahi-dev · 2021-03-09 16:33
ketteniscould very well be that the miniterm implementation in the python serial module is broken on OpenBSD
#asahi-dev · 2021-03-09 16:32
kettenisat least it doesn't show any serial output from u-boot and my kernel
#asahi-dev · 2021-03-09 16:32
kettenisone issue I'm facing is that "TTY mode" doesn't seem to work for me
#asahi-dev · 2021-03-09 16:31
kettenisthat'd be great
#asahi-dev · 2021-03-09 16:29
kettenisthanks for the hints
#asahi-dev · 2021-03-09 16:29
ketteniswill look at those IMPDEF registers
#asahi-dev · 2021-03-09 16:28
kettenisyup, that "fixes" it
#asahi-dev · 2021-03-09 16:26
kettenisstill running only on the first core
#asahi-dev · 2021-03-09 16:22
kettenisthanks to m1n1 I can now easily switch between the correllium preloader and, erh, well m1n1 ;)
#asahi-dev · 2021-03-09 16:21
kettenisthanks, will do
#asahi-dev · 2021-03-09 16:09
kettenisI'd expect the SError to occur earlier if that was the case
#asahi-dev · 2021-03-09 16:08
kettenisshouldn't be
#asahi-dev · 2021-03-09 16:05
kettenisESR_EL1 doesn't seem to provide any hints here

plus ›