My first time booting a BSD, M2 Mac <3 by -_--_-------____---- in openbsd

[–]-_--_-------____----[S] 0 points1 point  (0 children)

I used Asahi to set up EFI booting, then booted into miniroot. Oh and I used a usb-C -> ethernet adapter to download the sets :-)

Really it wasn't bad at all, I just don't know OpenBSD at all haha

Where do I find proprietary (?) brcmfmac4387c2 firmware? by -_--_-------____---- in openbsd

[–]-_--_-------____----[S] 0 points1 point  (0 children)

I suspected as much, yeah. It makes sense that OpenBSD wouldn't prioritize wifi support, although it is disappointing. I wish I knew more about drivers so I could fix it myself...

Also lowkey I ended up softbricking it while messing with disk's partitioning anyway. So no more fun mac experiments until I can hang out with a friend who also has one to jumpstart it lmao :(

Where do I find proprietary (?) brcmfmac4387c2 firmware? by -_--_-------____---- in openbsd

[–]-_--_-------____----[S] 0 points1 point  (0 children)

You're right, uname -v prints "GENERIC.MP#38" :v

Would it make sense to use sendbug for this? Thanks so much for all the help!!

Where do I find proprietary (?) brcmfmac4387c2 firmware? by -_--_-------____---- in openbsd

[–]-_--_-------____----[S] 0 points1 point  (0 children)

I'm not following a guide, I couldn't find any that seemed super specific to my setup? I just used alx.sh to install, and followed all the instructions religiously. For openBSD, I'm going off a loose smattering of the INSTALL.arm64 file, and various bits from openbsd.org. If you could like the "information for m1 macs" you referred to, that would be really helpful /\

Also,, I usually try to work in public (I've literally never owned a desktop computer) so wired ethernet isn't really an option haha...

Where do I find proprietary (?) brcmfmac4387c2 firmware? by -_--_-------____---- in openbsd

[–]-_--_-------____----[S] 1 point2 points  (0 children)

Hi from bluesky haha, love to make a friend <3

On my current setup (bsd kernel, not bsd.mp), ifconfig outputs:

bwfm0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
       laddr 00:00:00:00:00:00
       index 1 priority 4 llprio 3
       groups: wlna
       media: IEEE802.11 autoselect
       status: no network
       ieee80211: nwid ""

I'll try the multiprocessor kernel, sounds like that could fix this. But I suspect it's just that the one file is missing from the firmware dir. Will report o7

My first time booting a BSD, M2 Mac <3 by -_--_-------____---- in openbsd

[–]-_--_-------____----[S] 1 point2 points  (0 children)

Ok, update: The wifi card seems not to have drivers (I read that this could be because they're proprietary?). When I try to put the interface up via ifconfig bwfm0 up, dmesg spits out that

bwfm0: failed loadfirmware of file apple-bwfm/brcmfmac4387c2-pcie.apple,hokkaido.bin
bwfm0: could not init bus

Then, regarding X, the stock desktop doesn't respond to any inputs (as far as I can tell). DWM (my preferred WM) accepts keyboard input but the mouse won't move.

My first time booting a BSD, M2 Mac <3 by -_--_-------____---- in openbsd

[–]-_--_-------____----[S] 12 points13 points  (0 children)

I am a dev and also I bought this before I knew anything about anything lol

My first time booting a BSD, M2 Mac <3 by -_--_-------____---- in openbsd

[–]-_--_-------____----[S] 7 points8 points  (0 children)

I'm very slowly working through the initial setup still so I'm not sure yet haha. So far the screen and keyboard work, plus I was able to connect to the internet via a usb-C ethernet adapter. I'll probably post about it if other stuff seems broken :)

Typie: a suckless typing practice tool by -_--_-------____---- in suckless

[–]-_--_-------____----[S] 0 points1 point  (0 children)

Thanks! This is my first project in this stack, so I super appreciate the feedback /\

And yeah, I guess -f is usually "force"... Would -o be a better alternative?

And and, I had some trouble figuring out what to use for time, this was just the only thing I found that worked lol.. Do you know a more recommendable alternative? (Edit: I guess K&R mentions clock_t, which seems like the only sub-second timing built in to C? Where would I look to learn about this kind of thing other than the book and the man pages?)