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-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
PhilippvK has joined #asahi
phiologe has quit [Ping timeout: 480 seconds]
malvo has quit [Ping timeout: 480 seconds]
malvo has joined #asahi
tomtastic_ has joined #asahi
tomtastic has quit [Ping timeout: 480 seconds]
skipwich has quit [Ping timeout: 480 seconds]
marvin24 has joined #asahi
marvin24_ has quit [Ping timeout: 480 seconds]
tomtastic has joined #asahi
tomtastic_ has quit [Ping timeout: 480 seconds]
aleasto has joined #asahi
jehh has joined #asahi
jehh has quit []
hl` has quit [Quit: ZNC - https://znc.in]
hl` has joined #asahi
gabuscus_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
gabuscus has joined #asahi
StupidYui has joined #asahi
jeh[m] has joined #asahi
Andalu30 has joined #asahi
<j_ey> kettenis_: I thought I could "cat build/m1n1.macho ../u-boot/u-boot-dtb.bin > m1n1-payload.macho" and run_guest m1n1-payload.macho, but that gives me 'no valid payload found'
Andalu30 has quit [Ping timeout: 480 seconds]
<j_ey> (or anyone else that got uboot working..)
<kettenis_> j_ey: never tried the hypervisor myself
<j_ey> kettenis_: so how are you using uboot with m1n1, linux.py?
<kettenis_> but you need a separate DTB
<kettenis_> linux.py --compression=none u-boot-nodtb.bin t8103-j274.dtb
<kettenis_> (with the appropriate paths of course)
<j_ey> thanks, how come you need the separate dtb?
<kettenis_> because m1n1 needs to modify it
<j_ey> ah
<j_ey> kettenis_: thanks that got me to uboot cli!
<j_ey> oh, but maybe there's no keyboard driver
<kettenis_> usb keyboard should work (but u-boot doesn't like some usb keyboards it seems)
<j_ey> sorry I meant the laptop keyboard
<kettenis_> heh, no
<kettenis_> started working on a driver for OpenBSD
<kettenis_> so once I have a better understanding how the hardware works, I'll try to do a u-boot driver as well
<kettenis_> but I'm using my macbook pro with an external keyboard for now
<j_ey> I'm trying to see how hard it would be to hack the hv to load u-boot
<kettenis_> also, for the laptops you probably want to go with t8103-j293.dtb
<j_ey> yeah, I am
<j_ey> (although I have j313)
<kettenis_> that's the air?
<j_ey> yep
<j_ey> hmm, I have 'CONFIG_LINUX_KERNEL_IMAGE_HEADER' set, so I would have assumed m1n1 wouldnt need changing
<j_ey> cool, just needed to gzip the u-boot-nodtb.bin and using the hv works
<kettenis_> ah, the hv script doesn't have the --compression=none option
<j_ey> "Kernel blobs unfortunately do not have an accurate file size header.."
<j_ey> that's what m1n1 says
<kettenis_> changing the order of the DTB and u-boot might work
<j_ey> I dont think so, it's this function here https://github.com/AsahiLinux/m1n1/blob/main/src/payload.c#L111
<j_ey> oh hm, you might be right, will try swap them later
aleasto has quit [Remote host closed the connection]
xuw has joined #asahi
zigmars has joined #asahi
yrlf has quit [Quit: The Lounge - https://thelounge.chat]
xuw has quit [Ping timeout: 480 seconds]
yrlf has joined #asahi
zigmars has quit [Remote host closed the connection]
zigmars has joined #asahi
zigmars has quit [Remote host closed the connection]
zigmars has joined #asahi
zigmars has quit [Ping timeout: 480 seconds]