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
danb91 has quit [Remote host closed the connection]
inglor has joined #asahi
ephe_meral has quit [Ping timeout: 265 seconds]
Tokamak has joined #asahi
choozy has joined #asahi
danb91 has joined #asahi
danb91 has quit [Ping timeout: 265 seconds]
choozy has quit [Remote host closed the connection]
danb91 has joined #asahi
danb91 has quit [Ping timeout: 240 seconds]
Tokamak has quit [Read error: Connection reset by peer]
Tokamak has joined #asahi
jamadazi has quit [Read error: Connection reset by peer]
<never_released>
jannau: it's a bit brittle on required compiler versions, pongoOS will provide a far less problematic alternative once it's finished
amw2 has quit [Ping timeout: 246 seconds]
amw2 has joined #asahi
phiologe has joined #asahi
amw2 has quit [Ping timeout: 272 seconds]
phiologe has quit [Ping timeout: 272 seconds]
amw2 has joined #asahi
phiologe has joined #asahi
amw2 has quit [Ping timeout: 246 seconds]
phiologe has quit [Ping timeout: 272 seconds]
phiologe has joined #asahi
<jannau>
never_released: for the kernel? I'm already using the same version as in the Makefile for preloader-m1
phiologe has quit [Ping timeout: 256 seconds]
amw2 has joined #asahi
amw2 has quit [Ping timeout: 264 seconds]
<never_released>
jannau: for preloader
<never_released>
will look more at stabilising it once I'm done with other stuff
baryluk has joined #asahi
Esmil has quit [Ping timeout: 256 seconds]
Esmil has joined #asahi
amw2 has joined #asahi
amw2 has quit [Ping timeout: 265 seconds]
amw2 has joined #asahi
furkan has joined #asahi
amw2 has quit [Ping timeout: 260 seconds]
<jannau>
never_released: the preloader seems to work fine until it jumps to the kernel. it complains that the device-tree has no /soc/pcie nodes but seems to finish loader_main()
<jannau>
the generated linux.macho looks identical to corellium's apart from the different Image and devicetree size
<jannau>
I guess I should test if I can repackage Corellium's Image
amw2 has joined #asahi
amw2 has quit [Ping timeout: 256 seconds]
amw2 has joined #asahi
amw2 has quit [Ping timeout: 264 seconds]
raster has quit [Quit: Gettin' stinky!]
genevino has quit [Remote host closed the connection]
genevino has joined #asahi
amw2 has joined #asahi
amw2 has quit [Ping timeout: 256 seconds]
vimal has quit [Remote host closed the connection]
<Glanzmann>
Has soemone managed to get the correllium image running on the macbook air?
vimal has joined #asahi
<Glanzmann>
In order to start kernel development marcan will release a howto how to build the image and than I can use marcans boot loader to boot the kernel right?
amw2 has joined #asahi
<bastilian>
I think only mac mini was targeted for now. at least for Asahi and I'd assume the same for corellium.
<Glanzmann>
bastilian: correllium has a twitter post with a screenshot having it running on macbook air.
<jannau>
Glanzmann: I don't think Corellium has published that binary
<Glanzmann>
bastilian: I think once the kernel boots on the mini, it will also boot on macbook air. Of cause you need an external keyboard.
<Glanzmann>
jannau: Oic.
Tokamak has joined #asahi
<Glanzmann>
jannau: Have they released the source code, so that you can build the kernel yourself? Has anyone tried?
<jannau>
at least the binary I get from their blog post seems to be the original one
<Glanzmann>
I tried the mini instructions on the macbook air. I installed the kernel, but I did not find out how the kernel is supposed to be booted.
<jannau>
I haven't seen it in corellium /
<j`ey>
Glanzmann: there was a m1n1 update today
<jannau>
linux-m1 on github
<j`ey>
has a linux.py file
amw2 has quit [Ping timeout: 256 seconds]
<jannau>
Glanzmann: the kernel is included in the linux.macho
<Glanzmann>
Yes, I have that installed.
<Glanzmann>
But how I'm supposed to boot it? Is there a magic keypress?
<jannau>
did yu follow the instructions in corellium's blog post? the mac boot loader will boot it after 'kmutil configure-boot -c linux.macho -v /Volumes/$volume'
<Glanzmann>
Yes, I ran the shell script which includes it.
<Glanzmann>
But it booted macos again.
<jannau>
have you updated to mac os 11.2?
<Glanzmann>
No, I haven't. I see.
<sven>
we're still in the tech demo phase of linux on the m1. corellium has already made some amazing progress but if you want to run their kernel right now you will need to stick to their bootloader
<sven>
m1n1 can't really boot a kernel without a UART cable yet
<Glanzmann>
sven: Are the instructions out how to build a UART cable?
<Glanzmann>
Where do I get macos 11.2 from?
vimal has quit [Remote host closed the connection]
<amw2>
Section 6 of Apple Beta - Nonuse and Nondisclosure of Confidential Information?
<baryluk>
Is marcan (or others) going to do more live streaming on youtube or somewhere? It was interesting stuff.
<amw2>
So to boot the m1n1 you need to install the Beta software?
<j`ey>
yeah
<j`ey>
which has the needed kmutil flags
<amw2>
But is it ok to use kmutil and other info to build linux/m1n1 et cetera ?
<j`ey>
what do you mean 'ok'?
<amw2>
For others that aren't beta members?
<j`ey>
kmutil doesnt build anything, just signs / blesses stuff
<jannau>
never_released: the config is not embedded via /proc/config.gz
<jix>
amw2: AFAIUI kmutil just tells apple's bootloader to load m1n1... it's not much different from using any other app that comes with the beta for its intended purpose
<roxfan>
baryluk: I imagine there'll be more streams
<amw2>
There's no "secret" aka confidential information that would suddenly bind you ?
<baryluk>
thx. I noticed he and alyssa were busy with cool stuff in last days.
<amw2>
I'm hesitating over accepting the "beta agreement"
<jix>
amw2: you probably don't want to use the beta to do any reverse engineering on the mac os side
<amw2>
ok - just to use the kmutil
<amw2>
ok so my basic question is if I "accept" the beta agreement I can still do
<amw2>
reverse engineering of apple software?
<amw2>
Just not using their beta tools / documents?
<never_released>
reverse engineering is always forbidden within the license even in the release license agreement, amw2
<amw2>
interesting...
<jix>
well reverse engineering is complicated topic and what's allowed also depends on jurisdiction and I'm certainly not qualified to elaborate on that ^^
<jix>
just that AFAIUI with the beta you might even violate the agreement if you reverse stuff just by looking at how tools behave... which, depending on how you do it might not be an issue with the non-beta license... which parts of the license are enforcable to which degree is another story and one where I'm mostly clueless (but I'm not doing any RE work here anyway)
<jix>
(well not the looking at how stuff behaves is the problem in the beta, but rather sharing that info...)
Brnocrist has quit [Ping timeout: 264 seconds]
amw2 has quit [Ping timeout: 256 seconds]
DanB91 has joined #asahi
DanB91 has quit [Ping timeout: 260 seconds]
amw2 has joined #asahi
erenatas[m] has joined #asahi
amw2 has quit [Ping timeout: 240 seconds]
<bastilian>
not at all a legal expert, but EULAs are a big safety net for a company. It's unlikely that Apple will come after most reverse engineering work unless they see it as a threat. mostly financial, or if any burden could fall on them. In recent years Apple mostly went after companies that tried to commercialise Hackintoshes, but not much after all the sites documenting how to do it and the information behind. In the context of
<bastilian>
Apple Silicon, if people get other operating systems working on it they won't take legal action, but they also won't support it as that would mean they have to invest into it and loose money. If Microsoft gets Windows to run natively on Apple Silicon, which they will probably not (though they have changed, we'll see), Apple could tell them to write their own drivers and pay for docs and a license to do so.
alula__ has joined #asahi
vimal has joined #asahi
alula_ has quit [Ping timeout: 240 seconds]
vimal has quit [Remote host closed the connection]
vimal has joined #asahi
DanB91 has joined #asahi
marvin24 has quit [Ping timeout: 260 seconds]
marvin24 has joined #asahi
phiologe has joined #asahi
chuskywalker2 has joined #asahi
DanB91 has quit [Ping timeout: 246 seconds]
vimal has quit [Remote host closed the connection]
vimal has joined #asahi
phiologe has quit [Ping timeout: 240 seconds]
phiologe has joined #asahi
<jannau>
Glanzmann: https://downloads.corellium.info/linux.macho seems to be updated. current kernel was built on "Fri Jan 22 19:12:37 EST 2021" and might support m1 macbook air/pro
<Fanfwe>
Maybe the wiki needs an update. The project status page and the Tasks pages don't reflect the fact that we got a penguin and a root shell few days ago.
VinDuv has quit [Quit: Leaving.]
mndza has quit [Read error: Connection reset by peer]
mndza has joined #asahi
raster has quit [Quit: Gettin' stinky!]
acelogic has quit [Ping timeout: 240 seconds]
chuskywalker2 has quit [Remote host closed the connection]
DanB91 has joined #asahi
<Fanfwe>
jannau: yup, still without keyboard and trackpad due to no SPI driver yet though
Tokamak has quit [Ping timeout: 260 seconds]
raster has joined #asahi
<Glanzmann>
jannau: Thank you, I've updated my macbook. I'll try it and report back.
<jannau>
that build has working PCIe on the mec mini -> working gigabit and usb-a ports
<Glanzmann>
The USB-C are also working, aren't them?
<Glanzmann>
Is the image loaded to ram or loopback mounted from the USB stick? Because on the air, I have only two USB-C ports, I'll probably need one for keyboard and another for network.
<jannau>
yes, USB-C is working. the kernel image is loaded by iboot from the ssd. you need usb storage for the linux userspace though
<jannau>
thunderbolt might work in the case you have a thunderbolt dock
<Glanzmann>
I have one, but only for my ThinkPad. But maybe I have to get one.
DanB91 has quit [Remote host closed the connection]
phiologe has quit [Ping timeout: 260 seconds]
DanB91 has joined #asahi
DanB91 has quit [Remote host closed the connection]
DanB91 has joined #asahi
DanB91 has quit [Ping timeout: 260 seconds]
DanB91 has joined #asahi
mobile-mech has joined #asahi
<davidrysk[m]>
Glanzmann: a thinkpad dock should work with a mac
maor26 has quit [Ping timeout: 256 seconds]
Tokamak has joined #asahi
DanB91 has quit [Remote host closed the connection]