marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | Not ready for end users / self contained install yet. Soon. | 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
m6wiq has quit [Quit: Leaving]
aleasto has quit [Quit: Konversation terminated!]
gladiac is now known as Guest76
gladiac has joined #asahi
thevar1able has joined #asahi
hellsenberg has quit [Remote host closed the connection]
hell__ has joined #asahi
Guest76 has quit [Ping timeout: 480 seconds]
thevar1able has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
thevar1able has joined #asahi
refi64 has quit [Quit: The Lounge - https://thelounge.chat]
refi64 has joined #asahi
yuyichao has quit [Ping timeout: 480 seconds]
<VladimirMateev[m]> Anyone made KVM work?
Guest3 has quit [Remote host closed the connection]
balrog has joined #asahi
user982492 has joined #asahi
user982492 has quit [Read error: Connection reset by peer]
user982492_ has joined #asahi
user982492_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
user982492 has joined #asahi
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #asahi
yuyichao has joined #asahi
thevar1able has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
rcombs has quit [Server closed connection]
rcombs has joined #asahi
thevar1able has joined #asahi
kendfinger has quit [Server closed connection]
kendfinger has joined #asahi
phiologe has joined #asahi
PhilippvK has quit [Ping timeout: 480 seconds]
kov has quit [Quit: Coyote finally caught me]
thevar1able has quit [Ping timeout: 480 seconds]
Z750 has quit [Server closed connection]
Z750 has joined #asahi
x56_ has quit [Server closed connection]
x56 has joined #asahi
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hays has quit [Server closed connection]
hays has joined #asahi
linearcannon has quit [Quit: Textual IRC Client: www.textualapp.com]
linearcannon has joined #asahi
marvin24_ has joined #asahi
marvin24 has quit [Ping timeout: 480 seconds]
user982492 has joined #asahi
DanB91 has joined #asahi
DanB91 has quit []
DanB91 has joined #asahi
<DanB91> hi sorry for the off topic question, but what IO bus does the keyboard and mouse of the macbook pros live on? i am currently using a 2016 MBP and it doesn't seem to be on any USB bus?
<DanB91> is it a sub device of the T1 controller?
<mjg59> DanB91: SPI
<DanB91> ah very interesting
<DanB91> where is that wired to?
<DanB91> i assume some bridge?
<DanB91> nvm i'll do some digging. the fact that I know its SPI now is a big help. thank you
DanB91 has quit [Quit: Leaving...]
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
x56 has quit [Remote host closed the connection]
kendfinger has quit [Remote host closed the connection]
Z750 has quit [Remote host closed the connection]
kendfinger has joined #asahi
Z750 has joined #asahi
x56 has joined #asahi
Z751 has joined #asahi
Z750 has quit [Read error: Connection reset by peer]
kendfinger has quit [Read error: Connection reset by peer]
kendfinger has joined #asahi
linearcannon has quit [Read error: Connection reset by peer]
linearcannon has joined #asahi
refi64 has quit [synthon.oftc.net weber.oftc.net]
hell__ has quit [synthon.oftc.net weber.oftc.net]
hell__ has joined #asahi
refi64 has joined #asahi
Graypup_ has quit [Server closed connection]
Graypup_ has joined #asahi
Guest394 has quit [Server closed connection]
ave has quit [Server closed connection]
ave has joined #asahi
user982492 has joined #asahi
jackhill has quit [Server closed connection]
jackhill has joined #asahi
hspak has quit [Server closed connection]
hspak has joined #asahi
kode54 has quit [Server closed connection]
kode54 has joined #asahi
yuyichao has quit [Remote host closed the connection]
yuyichao has joined #asahi
jeffmiw has joined #asahi
Techcable has quit [Server closed connection]
Techcable has joined #asahi
<j`ey> VladimirMateev[m]: kvm works
<mps> yes, and it's a pity it can't be used for arm32 guest
<j`ey> can still use qemu with TCG for that :P
<mps> j`ey: yes I do, but tcg is not so fast
<j`ey> have you tried it on the m1?
<mps> yes
<mps> boots armv7 alpine in about 1 minute and few seconds
<j`ey> thats way slower than I was expecting
<mps> I think to test riscv64 will it be faster on m1 than on i3
<mps> j`ey: I'm nearly finished script to install alpine on usb disk with grub setup
mixi has joined #asahi
<Glanzmann> mps: Nice.
<Glanzmann> mps: Have you tried cranking up the clock speed to max?
<Glanzmann> When booting the armv7 guest?
<j`ey> 1min sounded too weird, so I just built an arm32 kernel, and it only takes 6-7s to get to the point where it would mount root (I have no root, so it panics). this is on an rpi4 too
aleasto has joined #asahi
<mps> j`ey: I boot iso image with uefi boot loader and grub, not with -kernel cmdline
<j`ey> I see
<Glanzmann> aaaaaaassssscccaaaaaaaassdfhffgj../zxcvbnm,./asdfgyzaasdffggghhjkl;
<Glanzmann> sorry my daugher playing with the keyboard ...
<j`ey> mps: so it's 1min for the entire thing, I suppose thats not so bad
<mps> Glanzmann: nice :)
<mps> j`ey: well, actually bare metal boot on one of my arm32 SBC is not much faster
<j`ey> mps: yeah, I was just thinking about pure kernel boot time
<mps> but I'm impressed how fast booting is on macos aarch64 iso in qemu with HVF
<j`ey> well yeah, thats native speed :)
<maz> any HW virtualisation framework (HVF, KVM...) will give you close-to-native speed as long as you don't start oversubscribing the system.
<maz> as for the 32bit support, that's also why M1 is rather good. none of the old crap is supported (even when it was mandatory).
amw has quit [Ping timeout: 480 seconds]
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lonjil2 is now known as lonjil
lonjil is now known as lonjil2
lonjil2 is now known as lonjil
kov has joined #asahi
ciggi has quit [Ping timeout: 480 seconds]
ciggi has joined #asahi
giskard has joined #asahi
amw has joined #asahi
amw has quit [Ping timeout: 480 seconds]
<VladimirMateev[m]> j`ey: its appears on my m1 machine but i cannot use it with qemu 6.2
<mps> hmm, I should try this
<VladimirMateev[m]> vladimir@mac-m1:~/qemu/build$ ls -hal /dev/kvm... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/bOPyiEMtzznWesRxCloOWPgD)
darkapex has quit [Quit: WeeChat 2.3]
darkapex has joined #asahi
giskard has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<j`ey> VladimirMateev[m]: how are you booting?
<mps> hmm, qemu-system-aarch64: -m and ,maxmem option values require an IPA range (40 bits) larger than the one supported by the host (36 bits)
<mps> 16K pages again?
<VladimirMateev[m]> mps: that in 5.3 version right?
<mps> VladimirMateev[m]: no, 6.2
<j`ey> VladimirMateev[m]: are you using hypervisor or linux.py or uboot?
<VladimirMateev[m]> Im using m1n1
<VladimirMateev[m]> with payload
<j`ey> VladimirMateev[m]: run_guest.py?
<VladimirMateev[m]> not using any py
<j`ey> oh dev/kvm is there, so you must be bootes at EL2 hm
<VladimirMateev[m]> What i did is... kernel compile, install modules on the rootfs, generate the linux.macho with m1n1 payload and it boots
<VladimirMateev[m]> im a little bit noob in this jaja
<jannau> but only for mps's error
<mps> jannau: thanks, I found it in meantime
<j`ey> oh yeah sorry, just realised ive been using kvmtool, not qemu
miko089[m] has joined #asahi
<mps> I got riscv64 kernel booting but can't mount rootFS, have to check why mkinitfs didn't worked
<mps> in qemu, I mean
<mps> because I'm ughm (better to not write) and made ext4 and f2fs as modules for alpine riscv64 kernel
<VladimirMateev[m]> One question, I'm a newbie at this so sorry. I create Rootfs it via debootstrap but the /boot folder is empty. Shouldn't it contain the kernel image?
VladimirMateev[m] is now known as st3g4n0[m]
gladiac is now known as Guest162
gladiac has joined #asahi
Guest162 has quit [Ping timeout: 480 seconds]
off^ has joined #asahi
<mps> riscv64 works fine in qemu on m1
<mps> armv7 also
aleasto has quit [Quit: Konversation terminated!]
aleasto has joined #asahi
marvin24 has joined #asahi
marvin24_ has quit [Ping timeout: 480 seconds]
aleasto has quit [Remote host closed the connection]
aleasto has joined #asahi
aleasto has quit []
aleasto has joined #asahi
aleasto has quit [Remote host closed the connection]
aleasto has joined #asahi
marvin24_ has joined #asahi
aleasto has quit [Remote host closed the connection]
aleasto has joined #asahi
marvin24 has quit [Ping timeout: 480 seconds]
jryans is now known as Guest169
marvin24_ has quit [Ping timeout: 480 seconds]
Guest169 is now known as jryans
jryans has quit [Quit: Reconnecting]
jryans has joined #asahi
<Glanzmann> st3g4n0[m]: You need to install the kernel deb in the rootfs.
<Glanzmann> cd /path/to/debootstrap; chroot . bin/bash; dpkg -i linux-image-5.16.0-asahi-next-20220118-14779-ga4d177b3ad21-dirty_5.16.0-asahi-next-20220118-14779-ga4d177b3ad21-dirty-8_arm64.deb
<Glanzmann> marcan: Nice write up, learned a thing or two.
<Glanzmann> marcan: Only thing I did not understand is when do you end up in recoveryos and when in 1tr.
jryans is now known as Guest170
Guest170 is now known as jryans
giskard has joined #asahi
psykose has joined #asahi
<st3g4n0[m]> <Glanzmann> "st3g4n0: https://tg.st/u/linux-..."; <- in the .txt where is to compile the deb?
<Glanzmann> st3g4n0[m]: https://tg.st/u/asahi.txt (checkout the kernel, compile the kernel)
giskard has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Glanzmann> st3g4n0[m]: Do build a debian package. It is the following command line: make -j $(( 2* `nproc`)) V=0 bindeb-pkg
user982492 has joined #asahi
jbowen has joined #asahi
Misthios has quit [Quit: Misthios]
Misthios has joined #asahi
jbowen has quit [Quit: leaving]
jbowen has joined #asahi
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Glanzmann> I changed the URL, because it is a place to start and not a software documentation: https://github.com/AsahiLinux/docs/wiki/U-Boot
<Glanzmann> btw. does someone know if it is possible to push to the wiki git repository or does someone need to go through the github websites? I tried by adding my ssh key to github and get a github token, both failed.
thevar1able has joined #asahi
thevar1able has quit []
thevar1able has joined #asahi
thevar1able has quit []
<st3g4n0[m]> <Glanzmann> "st3g4n0: Do build a debian..." <- thank you so much
<Glanzmann> st3g4n0[m]: If you need help, let me know, I'll also soon record the debian installation on the mini and try to simplify the steps more.
qeeg_ has quit [Server closed connection]
qeeg_ has joined #asahi
kenzie35 has quit [Server closed connection]
kenzie35 has joined #asahi
bpye has quit [Server closed connection]
bpye has joined #asahi
yrlf has quit [Quit: The Lounge - https://thelounge.chat]
yrlf has joined #asahi
espressocookie[m] is now known as Amy[m]
nepeat has quit [Server closed connection]
nepeat has joined #asahi
thevar1able has joined #asahi
thevar1able has quit []
thevar1able has joined #asahi
thevar1able has quit []
aleasto has quit [Ping timeout: 480 seconds]
user982492 has joined #asahi
user982492 has quit []
aleasto has joined #asahi
guan has quit [Server closed connection]
guan has joined #asahi
daniels has quit [Server closed connection]
daniels has joined #asahi
aleasto has quit [Quit: Konversation terminated!]
aleasto has joined #asahi
eric_engestrom has quit [Server closed connection]
eric_engestrom has joined #asahi
vnogueira has quit [Server closed connection]
vnogueira has joined #asahi
giskard has joined #asahi
thevar1able has joined #asahi
Hotswap has quit [Server closed connection]
Hotswap has joined #asahi
aleasto has quit [Remote host closed the connection]
aleasto has joined #asahi
thevar1able has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
thevar1able has joined #asahi
giskard has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aleasto has quit [Quit: Konversation terminated!]
aleasto has joined #asahi
m42uko_ has joined #asahi
aleasto has quit [Remote host closed the connection]
aleasto has joined #asahi
m42uko has quit [Ping timeout: 480 seconds]
thevar1able has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
aleasto has quit [Remote host closed the connection]
aleasto has joined #asahi
amw has joined #asahi
aleasto has quit [Quit: Konversation terminated!]
conradev has quit [Server closed connection]
aleasto has joined #asahi
conradev has joined #asahi
aleasto has quit [Remote host closed the connection]
aleasto has joined #asahi
al3xtjames has quit [Server closed connection]
al3xtjames has joined #asahi
aleasto has quit []
aleasto has joined #asahi
thevar1able has joined #asahi