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]
<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 :-)
<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