#
✕ nick:kettenis
#asahi-dev · 2023-04-16 12:55
kettenisheh
#asahi-dev · 2023-04-16 12:52
kettenisand then decided it wasn't enough and made more space by shifting the address
#asahi-dev · 2023-04-16 12:52
kettenismarcan: strange though it's like they made more space for the address
#asahi-dev · 2023-04-16 12:32
kettenisI'd better fix that on the OpenBSD side as well then
#asahi-dev · 2023-04-16 12:19
kettenisbut I won't include them in the binding for now
#asahi-dev · 2023-04-16 12:19
kettenisunless I missed something the regions are still defined in t602x-die0.dts
#asahi-dev · 2023-04-16 12:12
kettenis(I'm considering submitting the bindings upstream to prevent myself from getting burned again)
#asahi-dev · 2023-04-16 12:11
kettenisis there a good reason to add them anyway?
#asahi-dev · 2023-04-16 12:11
kettenismarcan: we don't use the ltssmX regs anywhere in the PCIe drivers
#asahi-dev · 2023-04-16 11:44
ketteniswhich probably means that starting the endopoint for NVMe isn't necessary
#asahi-dev · 2023-04-16 11:41
kettenismy OpenBSD commit messages says it was for NVMe
#asahi-dev · 2023-04-16 11:21
kettenisand that includes MSIs
#asahi-dev · 2023-04-16 11:21
kettenisso that still has to happen in the linux driver
#asahi-dev · 2023-04-16 11:20
kettenisu-boot doesn't do any interrupt setup (since it doesn't use interrupts)
#asahi-dev · 2023-04-16 11:16
ketteniscool
#asahi-dev · 2023-04-16 09:04
kettenisit is not clear to me what bits in the MCA actually turn on the SCLK
#asahi-dev · 2023-04-16 09:03
kettenisotherwise you loose i2c access
#asahi-dev · 2023-04-16 09:03
kettenisthe cs42l83 is a bit quirky and needs to have the SCLK running before switching away from the internal oscillator
#asahi-dev · 2023-04-16 08:22
kettenisthanks
#asahi-dev · 2023-04-16 08:18
kettenisto make sure the ethernet address on j474 is populated
#asahi-dev · 2023-04-16 08:17
kettenishttps://gist.github.com/kettenis/319a08f6219d6755d16cf81c5182f719
#asahi-dev · 2023-04-16 08:05
kettenisand then cat that to the back of the boot.bin after unpacking the zip file on the ESP?
#asahi-dev · 2023-04-16 08:04
kettenismarcan: so your idea was for the installer to build a separate cpio with selected firmware for u-boot?
#asahi-dev · 2023-04-16 07:50
kettenispushed to the t6020 branch
#asahi-dev · 2023-04-16 07:50
kettenisso deleting the initrd properties there is good enough
#asahi-dev · 2023-04-16 07:50
kettenisfigured out that the board function to fixup the device tree runs before just before u-boot adds the initrd properties for an initrd it loaded itself
#asahi-dev · 2023-04-15 10:02
kettenisI suppose I could stash the location of the initial initrd and remove from the device tree early
#asahi-dev · 2023-04-15 10:01
kettenissince drivers are probed lazily in u-boot and we don't want to drop an initrd loaded by the user in u-boot
#asahi-dev · 2023-04-15 10:01
kettenisdropping it from the device tree is a bit tricky
#asahi-dev · 2023-04-15 09:31
kettenisbut the grub initrd behaviour makes that unattractive
#asahi-dev · 2023-04-15 09:30
kettenisjannau: the original idea was to append the cpio to the m1n1+u-boot+dtbs boot.bin on the ESP
#asahi-dev · 2023-04-14 19:31
kettenisas a side-effect, it should leave the controller alone if the firmware could not be loaded
#asahi-dev · 2023-04-14 19:30
kettenisthat has code to load the asmedia controller firmware
#asahi-dev · 2023-04-14 19:29
kettenishttps://github.com/AsahiLinux/u-boot/tree/t6020
#asahi-dev · 2023-04-14 18:08
kettenissweet, my cpio/initrd based firmware loader works in u-boot
#asahi-dev · 2023-04-14 15:42
kettenisif the crtc coordinates don't match the panel orientation, the panel is rotated
#asahi-dev · 2023-04-14 15:41
kettenisChaosPrincess: isn't that the same?
#asahi-dev · 2023-04-14 15:39
kettenissee the "rotation" property in Documentation/devicetree/bindings/display/panel/panel-common.yaml
#asahi-dev · 2023-04-14 15:37
kettenisthere is the panel orientation stuff
#asahi-dev · 2023-04-14 14:54
kettenisjannau, marcan: https://github.com/AsahiLinux/m1n1/pull/303
#asahi-dev · 2023-04-14 09:00
kettenismarcan: https://github.com/AsahiLinux/asahi-installer/pull/188
#asahi-dev · 2023-04-14 08:39
kettenissound plausible that the SRAM is bigger and they moved things around in a newer firmware version
#asahi-dev · 2023-04-14 08:39
kettenisjannau: ah, misread the code then
#asahi-dev · 2023-04-14 07:24
kettenisjannau: that RTKit message should be changed to mention the actual address
#asahi-dev · 2023-04-13 20:45
kettenismanaged to work around it
#asahi-dev · 2023-04-13 20:45
kettenisthe model names for the M2 and M2 Pro mini in the dev installer are wrong
#asahi-dev · 2023-04-13 12:52
kettenisI found the 0x15 "system vendor" tag, but didn't manage to work my way back to the start of the OTP area
#asahi-dev · 2023-04-13 12:50
kettenisdefinitely a different otp offset
#asahi-dev · 2023-04-13 12:48
kettenisI'm probably going to concentrate on asmedia fwload support in u-boot before pursuing that further though
#asahi-dev · 2023-04-13 12:46
kettenisI made a start looking at bcm4388; it seems the bcm4389 android driver has some bcm4388 bits in it

plus ›