#
✕ nick:kettenis
#asahi-dev · 2025-05-31 15:13
kettenishmm, isn't that a stack alignment issue?
#asahi-dev · 2025-05-31 14:04
kettenisyeah, although I'm not aware of that being a problem
#asahi-dev · 2025-05-31 13:59
kettenisnow that I've figured out how to build stage1 m1n1 on OpenBSD that becomes easier
#asahi-dev · 2025-05-31 13:58
kettenisperhaps time to proceed with having an OpenBSD option
#asahi-dev · 2025-05-31 13:58
kettenisthe biggest issue will be folks using the UEFI option in the installer
#asahi-dev · 2025-05-31 13:50
kettenisthe different compatible signals the different layout
#asahi-dev · 2025-05-31 13:50
kettenisthis is probably best left alone then
#asahi-dev · 2025-05-31 13:48
kettenisyeah
#asahi-dev · 2025-05-31 13:47
kettenisbut the complete layout of the device tree
#asahi-dev · 2025-05-31 13:47
kettenisah, but it is not just the compatible
#asahi-dev · 2025-05-31 13:44
kettenisthat could result in quite a bit of user confusion
#asahi-dev · 2025-05-31 13:42
kettenissven: I think so; not having that compatible means that the boot counter doesn't get reset with older OSes
#asahi-dev · 2025-05-31 12:23
kettenispushed
#asahi-dev · 2025-05-31 10:00
kettenisI was going to look at the smbios pull request anyway
#asahi-dev · 2025-05-30 10:36
kettenismaybe reach out to robh on this one
#asahi-dev · 2025-05-30 10:12
kettenismaybe the generic binding just needs to allow for two iommus then
#asahi-dev · 2025-05-30 10:04
kettenissven: maybe you need a "select" stanza like in rockchip,dwc3.yaml
#asahi-dev · 2025-05-30 09:49
kettenisthat'll break u-boot and OpenBSD, so please try to add it back
#asahi-dev · 2025-05-30 09:48
kettenisIsn't it possible to override MaxItems for that in apple,dwc3.yaml?
#asahi-dev · 2025-05-30 09:39
kettenissven: I noticed that you dropped the snps,dwc3 compatible for tor the dwc3 controllers on that wip/atcphy branch
#asahi-dev · 2025-05-29 16:34
kettenismy OpenBSD-built chainloading m1n1 binaries work, so I guess that removes the issue with rust in m1n1 from my side
#asahi-dev · 2025-05-27 11:14
kettenisI'll see if I can prepare a pull request
#asahi-dev · 2025-05-27 11:13
kettenisso sounds that this way of building is potentially useful for others too
#asahi-dev · 2025-05-27 11:11
kettenisbut we already package that for OpenBSD
#asahi-dev · 2025-05-27 11:11
kettenisbut of course -Z build-std does need the rust-src component
#asahi-dev · 2025-05-27 11:10
kettenisyou don't really need the full rustup toolchain
#asahi-dev · 2025-05-27 11:10
kettenisso the only missing bit really is just std lib support
#asahi-dev · 2025-05-27 11:09
kettenisit turns out that the OpenBSD rustc already supports aarch64-unknown-none-softfloat
#asahi-dev · 2025-05-27 11:07
kettenisthe -Z build-std is purely to work around the lack of rustup support for OpenBSD
#asahi-dev · 2025-05-27 11:06
kettenischadmed: I'm not changing RUSTARCH; that's still aarch64-unknown-none-softfloat
#asahi-dev · 2025-05-27 09:52
ketteniswill do so later this week
#asahi-dev · 2025-05-27 09:52
kettenisI'd still like to verify that the binaries work before we commit to having rust in the stage 2 m1n1
#asahi-dev · 2025-05-27 09:51
ketteniswould that be a useful feature for other OSes or distros?
#asahi-dev · 2025-05-27 09:50
kettenisSeems I have a workable way to build m1n1 with rust code enabled using "-Z build-std=alloc,core"
#asahi-dev · 2025-05-25 19:17
kettenisthat branch uses rust in stage2?
#asahi-dev · 2025-05-25 18:57
kettenisstill need to test the stage1 m1n1 binary I've built
#asahi-dev · 2025-05-25 18:54
kettenisis that expected?
#asahi-dev · 2025-05-25 18:54
kettenisI get a bunch of warnings though, mostly about cfg statements
#asahi-dev · 2025-05-25 18:54
kettenischadmed: I've made some progress, and I think I have a working cross-compilation environment now
#asahi-dev · 2025-05-15 15:46
kettenisbtw, it looks as if I wrote to OpenBSD driver to handle unaligned access
#asahi-dev · 2025-05-15 15:41
kettenissven: if you no longer require aligned 32-bit access wouldn't it make sense to define the "reg" properties to be smaller than 4 if appropriate?
#asahi-dev · 2025-05-13 17:56
kettenishaven't made any progress there
#asahi-dev · 2025-05-13 17:56
kettenisregarding m1n1 and rust on OpenBSD; yes that is a huge problem since you can't easily build your own standard library for a cross compiler
#asahi-dev · 2025-05-13 17:53
kettenissven: it seems the change already made it into linux-next, so maybe it is to late to change it?
#asahi-dev · 2025-05-12 15:21
kettenisbut that means we'd need to update the UEFI environment at some point (which hasn't happened for a while)
#asahi-dev · 2025-05-12 15:18
kettenisu-boot doesn't depend on this and I can phase out the old compatibles in OpenBSD in a year or so
#asahi-dev · 2025-05-12 15:16
kettenissounds like a bikeshed to me; we should try to push back against such changes
#asahi-dev · 2025-05-12 15:12
kettenisguess I missed that review
#asahi-dev · 2025-04-08 19:10
kettenisI don't think there is anything new in there that's worth picking up for the releng branches
#asahi-dev · 2025-04-08 19:10
kettenisfwiw, I rebase the asahi branch of our u-boot repository on v2025.04

plus ›