marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | General project discussion | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
odmir has quit [Remote host closed the connection]
odmir has joined #asahi
odmir has quit [Ping timeout: 240 seconds]
qyousef has quit [Remote host closed the connection]
odmir has joined #asahi
jeffmiw has joined #asahi
jeffmiw has quit [Ping timeout: 240 seconds]
riker77_ has joined #asahi
riker77 has quit [Ping timeout: 260 seconds]
riker77_ is now known as riker77
qyousef has joined #asahi
qyousef has quit [Remote host closed the connection]
bgianf has joined #asahi
qyousef has joined #asahi
qyousef_ has joined #asahi
qyousef has quit [Ping timeout: 252 seconds]
odmir has quit [Ping timeout: 240 seconds]
phiologe has quit [Ping timeout: 276 seconds]
PhilippvK has joined #asahi
odmir has joined #asahi
marvin24 has quit [Ping timeout: 245 seconds]
marvin24 has joined #asahi
stemnic has quit [Quit: Ping timeout (120 seconds)]
stemnic has joined #asahi
stemnic has quit [Client Quit]
stemnic has joined #asahi
odmir has quit [Remote host closed the connection]
Namidairo has joined #asahi
_rjeffman has joined #asahi
rjeffman has quit [Ping timeout: 260 seconds]
jeffmiw has joined #asahi
jeffmiw has quit [Remote host closed the connection]
maknho___ has quit [Ping timeout: 252 seconds]
maknho___ has joined #asahi
zkrx has quit [Ping timeout: 252 seconds]
maknho____ has joined #asahi
maknho___ has quit [Ping timeout: 260 seconds]
rkjnsn[m] has joined #asahi
zkrx has joined #asahi
jeffmiw has joined #asahi
jeffmiw has quit [Ping timeout: 265 seconds]
ephe_meral1 has joined #asahi
maknho has joined #asahi
maknho____ has quit [Ping timeout: 240 seconds]
maknho has quit [Client Quit]
vlixa has quit [Remote host closed the connection]
raster has joined #asahi
__rjeffman__ has joined #asahi
_rjeffman has quit [Ping timeout: 260 seconds]
_alice has quit [Quit: Idle for 30+ days]
linkmauve has quit [Ping timeout: 260 seconds]
maknho has joined #asahi
maknho has quit [Client Quit]
maknho has joined #asahi
linkmauve has joined #asahi
maknho_ has joined #asahi
maknho has quit [Ping timeout: 240 seconds]
Namidairo has quit [Ping timeout: 240 seconds]
odmir has joined #asahi
odmir has quit [Ping timeout: 240 seconds]
rjeli has quit [Ping timeout: 248 seconds]
tpw_rules has quit [Excess Flood]
tpw_rules has joined #asahi
rjeli has joined #asahi
yrlf has quit [Quit: The Lounge - https://thelounge.chat]
yrlf has joined #asahi
maknho__ has joined #asahi
_rjeffman has joined #asahi
yrlf has quit [Client Quit]
yrlf has joined #asahi
maknho_ has quit [Ping timeout: 260 seconds]
__rjeffman__ has quit [Ping timeout: 260 seconds]
choozy has joined #asahi
maknho__ has quit [Ping timeout: 252 seconds]
maknho__ has joined #asahi
Namidairo has joined #asahi
Bublik has joined #asahi
Namidairo has quit [Quit: ZNC - https://znc.in]
maknho__ has quit [Ping timeout: 252 seconds]
maknho__ has joined #asahi
vimal has quit [Quit: Leaving]
maknho___ has joined #asahi
maknho__ has quit [Ping timeout: 240 seconds]
jeffmiw has joined #asahi
jeffmiw has quit [Ping timeout: 260 seconds]
<_andy_t_> I have an initial port of FreeBSD: https://twitter.com/zxombie/status/1389593264530014212
tomtastic has quit [Ping timeout: 240 seconds]
Lockna[m] has quit [Quit: Idle for 30+ days]
<ar> _andy_t_: you're using "openfirm" for parsing ADT?
<_andy_t_> I use a shim that looks like Linux to m1n1. I then load the FreeBSD kernel as a ramdisk and a dtb using linux.py
<_andy_t_> openfirm is just the common device for open firmware and fdt
VinDuv has joined #asahi
korzq0 has joined #asahi
korzq0 has quit [Changing host]
korzq0 has joined #asahi
korzq has quit [Ping timeout: 265 seconds]
korzq0 is now known as korzq
<pipcet[m]> can kexec execute FreeBSD kernels?
rwhitby has quit [Ping timeout: 258 seconds]
sorear has quit [Ping timeout: 245 seconds]
stblassitude has quit [Ping timeout: 250 seconds]
stblassitude has joined #asahi
sorear has joined #asahi
rwhitby has joined #asahi
nico_32 has quit [Ping timeout: 265 seconds]
<_andy_t_> The normal kernel is an ELF file so I don't think that would work
<pipcet[m]> kexec loads Linux ELF files, so I don't see why not. Should be easy to fix if it doesn't work.
<_andy_t_> It also expects a special structure from the boot loader to point to modules in memory, environment variables, etc
<mjg59> kexec() could absolutely load FreeBSD - you'd need a different purgatory
<mjg59> kexec_file() assumes Linux
<mjg59> https://twitter.com/hugelgupf/status/1158466881373630464 is Windows being kexec()ed from Linux
<mjg59> kexec() basically just loads a kernel into RAM, loads some glue code (purgatory), tells the glue code where the kernel was loaded to and then jumps to the glue code
<mjg59> The glue code is responsible for setting up state before entering the new kernel
<mjg59> kexec_file() does the glue code stuff in-kernel instead, which means it can do signature validation (purgatory is hotpatched from userland with kernel data, so can't be signed)
<pipcet[m]> I was merely wondering whether anyone had done the work for freebsd on arm64 :-)
choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<marcan> I wrote kexec for freebsd -> linux instead, on x86 :p
<_andy_t_> I only know of it working on Power as Linux is used as a boot loader
<_andy_t_> The power code is also in the FreeBSD boot loader, not the kernel
<pipcet[m]> (my horrible scheme is to pass the ADT to a minimal kernel without device drivers, which doesn't need a device tree, builds one from the ADT, then passes that to the real kernel via kexec(). works fine so far. All Linux though, but I can kexec() m1n1)
johnnycash has joined #asahi
<kettenis1> kexec() pretty much barfs on anything that doesn't resemble a linux kernel
<kettenis1> so OpenBSD/powerpc now has the computer that brings up the computer that brings up the actual CPU that then boot firmware that boot linux that boots an OpenBSD kernel that then boots the real OpenBSD kernel ;)
<kettenis1> any way, congrats _andy_t_
<kettenis1> does FreeBSD/arm64 normally boot using UEFI?
<johnnycash> I am Sapporo man myself, but all the power to you
<_andy_t_> kettenis1: Thank you
<_andy_t_> kettenis1: Yes, although there is support for building the kernel so it can be run with booti in u-boot
<kettenis1> _andy_t: you may be interested in https://github.com/kettenis/u-boot/tree/apple-m1-m1n1
<_andy_t_> My plan is to switch to it, but found a development strategy that works for now
<kettenis1> that can be used as a payload for m1n1 and will give you pcie without too much effort
johnnycash has quit [Quit: Leaving]
KindOne has quit [Ping timeout: 260 seconds]
KindTwo has joined #asahi
ephe_meral1 has quit [Ping timeout: 240 seconds]
KindTwo is now known as KindOne
kettenis1 has quit [Ping timeout: 240 seconds]
kettenis1 has joined #asahi
tomtastic has joined #asahi
VinDuv has quit [Quit: Leaving.]
choozy has joined #asahi
arekm has quit [Quit: leaving]
nico_32 has joined #asahi
jeffmiw has joined #asahi
jeffmiw_ has joined #asahi
jeffmiw has quit [Read error: Connection reset by peer]
odmir has joined #asahi
bngs[m] has joined #asahi
kettenis1 has quit [Ping timeout: 240 seconds]
kettenis has joined #asahi
jeffmiw_ has quit [Remote host closed the connection]
odmir has quit [Read error: Connection reset by peer]
odmir has joined #asahi
jeffmiw has joined #asahi
jeffmiw has quit [Ping timeout: 240 seconds]
choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
thestr4ng3r has quit [Quit: ZNC 1.8.1 - https://znc.in]
thestr4ng3r has joined #asahi
raster has quit [Quit: Gettin' stinky!]
odmir has quit [Remote host closed the connection]
odmir has joined #asahi