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
kgarrington has joined #asahi
kgarrington has quit [Remote host closed the connection]
aleasto has quit [Quit: Konversation terminated!]
aidenfoxivey has quit [Quit: aidenfoxivey]
aidenfoxivey has joined #asahi
darkapex1 has joined #asahi
darkapex has quit [Ping timeout: 480 seconds]
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #asahi
Techcable has quit [Ping timeout: 480 seconds]
aidenfoxivey has quit [Ping timeout: 480 seconds]
PhilippvK has joined #asahi
phiologe has quit [Ping timeout: 480 seconds]
aidenfoxivey has joined #asahi
Techcable has joined #asahi
slicey has quit [Quit: zzz]
marvin24 has joined #asahi
marvin24_ has quit [Ping timeout: 480 seconds]
malvo has quit [Read error: Connection reset by peer]
malvo has joined #asahi
dsrt^ has joined #asahi
boardwalk has quit [Quit: Ping timeout (120 seconds)]
boardwalk has joined #asahi
dsrt^ has quit [Remote host closed the connection]
Jamie[m]1 has joined #asahi
BlitzWorks has quit [Server closed connection]
slicey has joined #asahi
hexchain has quit [Server closed connection]
hexchain has joined #asahi
amw has quit [Server closed connection]
amw has joined #asahi
slicey has quit [Quit: zzz]
Namidairo has quit [Quit: ZNC - https://znc.in]
Namidairo has joined #asahi
hendry1 has quit [Server closed connection]
hendry1 has joined #asahi
dsrt^ has joined #asahi
slicey has joined #asahi
riker77 has quit [Quit: Quitting IRC - gone for good...]
<Jamie[m]1> is it possible to provide linux cmdline params to a hypervisored linux?
<NightRaven[m]> any idea why this is showing when compiling linux ```*** Default configuration is based on 'defconfig'... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/BshmyJTAeBRHnqyharxnbPzR)
<mps> Jamie[m]1: yes, though I'm not sure how
<j`ey> Jamie[m]1: cat m1n1.maco <(echo 'boot-args=whatever') image.gz > blah.macho
<Jamie[m]1> ah thanks!
<j`ey> NightRaven[m]: you need to install the cross compiler
<NightRaven[m]> oh ok
<j`ey> Jamie[m]1: I should probably fix my stuff to use it, rather that use CONFIG_CMDLINE
<mps> ah, I thought that for hypervisor it is possible to set cdmline in python script
<Jamie[m]1> mps: there’s an option for it but they seem to be ignored
<j`ey> Jamie[m]1: they get passed to the hv
<mps> aha
<j`ey> not the guest
<Jamie[m]1> ah nice
<NightRaven[m]> j`ey: how do you install a cross compiler
<NightRaven[m]> * cross compiler on mac
<j`ey> NightRaven[m]: with your package manager
<j`ey> NightRaven[m]: we told you not to compile on a mac
<j`ey> make a vm or something
<NightRaven[m]> j`ey: i am going to compile the kernel on my rpi then transfer the Image.gz to my m1
<NightRaven[m]> and do the cat m1n1.macho <(echo 'boot-args=root=PARTUUID=3d20affd-c082-421b-a111-f5d6b1587fe4 rootwait') nk.gz nk-t8103-j293.dtb > ../nk.macho
<Jamie[m]1> in that case you don’t need a cross compiler, adding the pi is aarch64
<Jamie[m]1> s/adding/assuming/
<mps> compiling kernel on rpi will take time
<NightRaven[m]> mps: that is fine
<mps> especially if the filesystem is on mmc
<NightRaven[m]> but i am not sure how i can install a cross compiler on rpi
<mps> NightRaven[m]: if you install arm64 distro on rpi you don't need cross compiler
<NightRaven[m]> yea i do have it and i get that error
<Jamie[m]1> right, so remove the toolchain prefix variable from before your make command
<j`ey> NightRaven[m]: do you have gcc at all?
<NightRaven[m]> j`ey: i do
<j`ey> as Jamie[m]1 said try remove the CROSS_COMPILE var
<NightRaven[m]> j`ey: ok i removed it
<Jamie[m]1> now press enter :P
<NightRaven[m]> it still building
<zimsneexh> Wont it take forever to build the kernel on RPi? A VM on the Mac would be alot faster
hendry1 has quit []
hendry has joined #asahi
<Jamie[m]1> on that note, has anyone else had kernel panics when trying to run VMs from macos, or is that just a me problem? :P
<Jamie[m]1> (xnu kernel panic, not guest linux kernel panic)
<zimsneexh> hm, haven't had that. Parallels is just fine for me.
<Jamie[m]1> (M1 pro on 12.0.1, UTM from App Store with default settings and a nixos aarch64 sd card image)
<NightRaven[m]> <zimsneexh> "Wont it take forever to build..." <- i am not sure
<NightRaven[m]> it is at this part ```CC crypto/rsa.o
<NightRaven[m]> CC crypto/rsa_helper.o```
<zimsneexh> I guess if it's a Pi4 it'll be fine
<Jamie[m]1> pi4 is still SD right, it doesn't have a fast EMMC or anything?
<zimsneexh> yep, SD
<j`ey> my build is about 20mins, from scratch, but its very trimmed down
<psykose> it has fast usb if you add one
<NightRaven[m]> it just an sd card
aleasto has joined #asahi
riker77 has joined #asahi
<marcan> Jamie[m]1: the hypervisor does not boot linux directly, it boots m1n1 which boots linux
<marcan> the commandline arguments specified in run_guest.py are *xnu bootargs*, not Linux args
<marcan> m1n1 does not attempt to pass through any of those to Linux
<Jamie[m]1> yeah gotcha, that was my assumption based on the usage example
<marcan> they are useful when booting macOS under the HV :)
<Jamie[m]1> hmm gotcha has different meaning elsewhere doesn't it haha
<Jamie[m]1> I meant "got you", "I understand you" :P
<marcan> yeah, I gotcha :p
<mps> NightRaven[m]: if you have usb ssd disk you can use it on rpi, build will a lot faster
<mps> anyone have u-boot working? I had it about 10 days ago and now can't make it to boot
<mps> I mean, on mb pro 2020, j293
<kettenis> still works for me on j293
<mps> kettenis: this is how I creare it: cat m1n1.macho u-boot/arch/arm/dts/t8103-j293.dtb u-boot/u-boot-nodtb.bin > u-boot.macho
<mps> create*
<mps> on boot it says something about bad fdt
<kettenis> I am booting u-boot through linux.py
<mps> ah
<kettenis> there have been subtle breakages because of changes in m1n1
<marcan> linux.py *should* be roughly equivalent to the cat method, but I can't say there aren't any bugs
<marcan> you can test it by chainloading the appending m1n1 instead of using linux.py
<marcan> *appended
<mps> marcan: I'm doing this way, don't use linux.py
<marcan> we did have that breaking change about requiring a compatible DT, but that shouldn't be the problem here
<sven> i've been using linux.py up until ~two weeks ago or so when i updated my macbook air monterey. back then it still worked
<mps> I will try with some of previous m1n1 commits
<marcan> I doubt anything recent in m1n1 caused it
<kettenis> also, I'm exclusively using "my" t8103-j293.dtb, not the one from the asihi Linux branch
<kettenis> things are converging, but there are still subtle differences
BlitzWorks has joined #asahi
<mps> kettenis: you mean t8103-j293.dtb in u-boot apple-m1-m1n1-nvme branch
<kettenis> the one built from that, yes
<kettenis> it gets built in arch/arm/dts
darkapex2 has joined #asahi
<mps> yes, that one I concatenate to u-boot.macho
darkapex1 has quit [Ping timeout: 480 seconds]
darkapex3 has joined #asahi
riker77 has quit [Quit: Quitting IRC - gone for good...]
<NightRaven[m]> CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/timer/gk20a.o i am at this part
<NightRaven[m]> how much left
<NightRaven[m]> is there a prebuilt image.gz i can get
<NightRaven[m]> ?
<j`ey> https://ab34.de/u/Image.gz might work, that's Glanzmann's, dunno
darkapex2 has quit [Ping timeout: 480 seconds]
<NightRaven[m]> thank you
<mps> I can put my nk.macho if you have trust in me
<NightRaven[m]> sure
<mps> ah j`ey already did
<NightRaven[m]> does any one have "nk-t8103-j293.dtb "
<mps> NightRaven[m]: it is arch/arm64/boot/dts built kernel tree
<mps> and filename is t8103-j293.dtb, I added nk- prefix to know that is new kernel I built
<NightRaven[m]> oh ok
<NightRaven[m]> mps: it says ../nk.machos not found what do i change that too
<NightRaven[m]> ```cat m1n1.macho <(echo 'boot-args=root=PARTUUID=3d20affd-c082-421b-a111-f5d6b1587fe4 rootwait') .gz nk-t8103-j293.dtb > ../nk.macho```
riker77 has joined #asahi
<NightRaven[m]> s/```cat m1n1.macho <(echo 'boot-args=root=PARTUUID=3d20affd-c082-421b-a111-f5d6b1587fe4 rootwait') .gz nk-t8103-j293.dtb > ../nk.macho```/`cat m1n1.macho <(echo 'boot-args=root=PARTUUID=3d20affd-c082-421b-a111-f5d6b1587fe4 rootwait') Image.gz t8103-j293.dtb > ../nk.machoo`/
<mps> NightRaven[m]: you have to change files which you have and not use those I used
<NightRaven[m]> ok i did that
<NightRaven[m]> `cat m1n1.macho <(echo 'boot-args=root=PARTUUID=3d20affd-c082-421b-a111-f5d6b1587fe4 rootwait') Image.gz t8103-j293.dtb > m1n1.macho`
<NightRaven[m]> `warning: An error occurred while redirecting file 'boot-args=root=PARTUUID=3d20affd-c082-421b-a111-f5d6b1587fe4 rootwait'
<NightRaven[m]> open: No such file or directory`
<NightRaven[m]> but it show's this
<NightRaven[m]> can i remove that
<mps> I see that you have '.gz'
<NightRaven[m]> Image.gz
<NightRaven[m]> ya
<mps> are you sure have this file
<NightRaven[m]> yep
<NightRaven[m]> do i remove `echo 'boot-args=root=PARTUUID=3d20affd-c082-421b-a111-f5d6b1587fe4 rootwait'`
<j`ey> NightRaven[m]: what shell / machine are you running this on?
<mps> yes, shell looks suspicious
<NightRaven[m]> so the shell if fish but the machine is my rpi running manjaro
<mps> use ash or bash
<NightRaven[m]> ok
<NightRaven[m]> ok done
<NightRaven[m]> but i changed .dtb to .dts
<NightRaven[m]> since there was no .dtb
<j`ey> that doesnt work
<NightRaven[m]> but there is not .dtb in the root directorty
<mps> you can't use dts, it is source from which dtb is compiled
<j`ey> NightRaven[m]: you need to run that make command in the linux dir and put 'dtbs' at the end, then it should just build the dtbs
<NightRaven[m]> s/directorty/directory/
<NightRaven[m]> ohhh ok
<NightRaven[m]> ty
<mps> make dtbs
<j`ey> not just that ^, you nee ARCH and whatever set still
<mps> if it run it on aarch64 then ARCH is not needed
<NightRaven[m]> ok so i tried booting and the kernel failed it said
<NightRaven[m]> it booted me back to recovery mode any idea ?
slicey has quit [Quit: zzz]
<j`ey> that's too little info!
<NightRaven[m]> then how can i show how it failed it just kept glitching and then it said kernel failed to laid and it gave me an option to restart or go back to recovery mode
<j`ey> idk take some pics or something
darkapex4 has joined #asahi
darkapex3 has quit [Ping timeout: 480 seconds]
<NightRaven[m]> My camera is quite bad but I sent a pic for what it says
<j`ey> that looks odd, even if the image and dtb were wrong, m1n1 should still boot
<NightRaven[m]> Yep
<j`ey> I would just try get the m1n1.macho and nothing else working again, just to ge tbac to that working step
<NightRaven[m]> Ok I will only try to boot m1n1 now
<j`ey> it's not ready to Just Install
<NightRaven[m]> I mean I have the file builded so now I wil try to get to the proxy part
<NightRaven[m]> Good news
<NightRaven[m]> But when I combine image.gz and the keyboard thing then it breaka
<NightRaven[m]> s/breaka/breaks/
<mps> kettenis: marcan: I found what is my problem with u-boot, and why it stopped to work. it doesn't find proper partition with grub and it stops. so no problem with m1n1
<NightRaven[m]> so when i run `make ARCH=arm64 -j8 Image dtbs` i get this `make: *** [Makefile:1477: dtbs] Error 2`
<mps> do you have dtc installed
<NightRaven[m]> installing
<NightRaven[m]> yep
<NightRaven[m]> still same error
<mps> shouldn't ARCH be aarch64
<mps> ARCH=aarch64
<NightRaven[m]> ok changed to that now
<mps> if you cross compiling
<NightRaven[m]> `Makefile:656: arch/aarch64/Makefile: No such file or directory... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/yFTjmNXtGHUHyPLtSGFFhZaH)
<mps> do you build it on other arch than aarch64
<NightRaven[m]> no arm64
<mps> then you don't need ARCH=anything
<j`ey> no it's ARCH=arm64, not aarch64
<NightRaven[m]> yep
<j`ey> NightRaven[m]: "[Makefile:1477: dtbs] Error 2", this isnt a useful error
<j`ey> there is probably more output, you have to provide the full output if you want help
<NightRaven[m]> oh ok wait let me find it
<NightRaven[m]> ` SYNC include/generated/autoconf.h... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/NRpAFrqsshrgQhDNVXWLMlEh)
<NightRaven[m]> this is all the output
<j`ey> what kernel tree are you building?
<j`ey> asahi?
<NightRaven[m]> yea asahi/linux
<j`ey> uh
<j`ey> which branch?
<j`ey> 'asahi' branch?
<NightRaven[m]> yep
<j`ey> run 'git status'
<NightRaven[m]> `On branch asahi
<NightRaven[m]> Your branch is up to date with 'origin/asahi'.`
<NightRaven[m]> <NightRaven[m]> "PXL_20211211_115013257.mp4" <- i am trying to fix this
<j`ey> NightRaven[m]: paste the full output somewhere
<NightRaven[m]> s/`/``/, s/`/``/
<j`ey> deleted: arch/arm64/boot/dts/apple/t8103-j293.dts
<NightRaven[m]> yea i moved it
<NightRaven[m]> to my home directory on my rpi
<j`ey> .. why
<j`ey> sorry but, if you see this error: "make[2]: *** No rule to make target 'arch/arm64/boot/dts/apple/t8103-j293.dtb', needed by '__build'. Stop.
<j`ey> "
<j`ey> you should probably realise it's related to a file you randomly moved
<NightRaven[m]> so i can do ```cat m1n1.macho <(echo 'boot-args=root=PARTUUID=3d20affd-c082-421b-a111-f5d6b1587fe4 rootwait') nk.gz nk-t8103-j293.dtb > ../nk.macho```
<j`ey> I'm willing to help, but at a certain point you have to help yourself
<NightRaven[m]> oops sorry i did not read it probably i thought the bulid will generate it
<j`ey> yes but it geneerates it from that .dts file
<NightRaven[m]> oh ok sorry
<NightRaven[m]> the image.gz is right but what if i don't put ```echo 'boot-args=root=PARTUUID=3d20affd-c082-421b-a111-f5d6b1587fe4 rootwait``` this in
<j`ey> it's unlikely that is the issue, but you can try remove it, to get it minimally working
<NightRaven[m]> hmm ok i will only put the image.gz in and the .dtb
riker77 has quit [Quit: Quitting IRC - gone for good...]
riker77 has joined #asahi
<NightRaven[m]> i am going to build linux again on ubuntu
<NightRaven[m]> hope this would be faster
<NightRaven[m]> * i hope this
<zimsneexh> You could git clone with --depth=1 couldn't you?
<zimsneexh> Would be faster
<NightRaven[m]> hmm ok
aleasto has quit [Remote host closed the connection]
<NightRaven[m]> so i have a question if i run this ```make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- defconfig
<NightRaven[m]> ./scripts/config --set-val CONFIG_FB_SIMPLE y``` and it shows Default configuration is based on ''defconfig
<j`ey> that's the output from the first command
<j`ey> open .config to verify CONFIG_FB_SIMPLE was set
<zimsneexh> Are you trying to build the asahi branch? Keyboard wont work, then. Right?
<NightRaven[m]> <j`ey> "open .config to verify CONFIG_FB..." <- it is
<NightRaven[m]> but like it is supposed to build it it worked on my raspberry pi
<NightRaven[m]> but on my ubuntu vm it is not
<steev> neither of those commands builds the kernel, one creates the .config, one modifies it. you attempt to "cd .config" but .config is a file, not a directory
<NightRaven[m]> i thought ```make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- defconfig``` build its
<j`ey> NightRaven[m]: no, that makes the config
<NightRaven[m]> ohh ok
<NightRaven[m]> ok so when i do make i get an openssl error but i have openssl installed
<j`ey> NightRaven[m]: you can probably google that one
<NightRaven[m]> it is libssl-dev
<NightRaven[m]> but ubuntu has to have that
<NightRaven[m]> ```"cat m1n1.macho <(echo 'boot-args=root=PARTUUID=3d20affd-c082-421b-a111-f5d6b1587fe4 rootwait') nk.gz nk-t8103-j293.dtb > ../nk.macho``` instead of this can i use this ```$ cat build/m1n1.macho Image.gz build/dtb/apple-j274.dtb initramfs.cpio.gz > m1n1-payload.macho``` and how can i get initramfs.cpio.gz i already have the .dtb file and Image.gz file
<NightRaven[m]> ```cat m1n1.macho cImage.gz.gz t8103-j293.dtb > m1n1-payload
<NightRaven[m]> ``` is this fine
<NightRaven[m]> s///
<NightRaven[m]> * `cat m1n1.macho cImage.gz.gz t8103-j293.dtb > m1n1-payload.macho` is this fine
<NightRaven[m]> * `cat m1n1.macho Image.gz t8103-j293.dtb > m1n1-payload.macho` is this fine
<zimsneexh> should be if all that stuff is in the same directory
<zimsneexh> Are you sure you dont need any kernel bootargs?
<NightRaven[m]> for now i am fine i will try too boot it
<j`ey> it'll just kernel panic, but its a good test
<NightRaven[m]> Why
<NightRaven[m]> It's stuck on this
<NightRaven[m]> But it booted
<NightRaven[m]> But why would it Panic
<j`ey> it has no kernel args and no rootfs, so it just panics
<NightRaven[m]> Ok but how can I get rootFS working on a usb and what kernel args
<j`ey> I think Glanzmann sent some instructions, you could look into those
<NightRaven[m]> Glanzmann: so to create a rootFS USB do I have to format the drive to ext and copy everything in / and put it into the USB
<zimsneexh> you download the rootfs tar, extract it with bsdtar to preserve permissions (i' and
<zimsneexh> set it as rootfs in kernel params
<zimsneexh> hit enter to soon :P
<NightRaven[m]> <zimsneexh> "you download the rootfs tar..." <- Ok sorry I am a noob at linux but how do you get rootFS.tar and then put it in kernel params
<zimsneexh> like j`ey said, Glanzmann sent some instructions. Did you look at those?
<NightRaven[m]> I can't find it i went up and I only see the mkfs.ext4
<NightRaven[m]> Oh ok I will extract that to my USB
<zimsneexh> careful to preserve permissions when extracting that
<NightRaven[m]> Just sudo
<NightRaven[m]> For root
<NightRaven[m]> i have a question when i extract the rootfs can the FAT
<NightRaven[m]> or does it have to be ext4
<zimsneexh> no, ext4
<NightRaven[m]> hmm ok
<NightRaven[m]> btw
<NightRaven[m]> if i want to move all the files from tmpdir so i do sudo mv * /mnt/DRIVENAME or do i just leave tmpdir as a folder and move it to DRIVENAME
jmr2 has joined #asahi
dsrt^ has quit [Remote host closed the connection]
<jmr2> I... wasn't expecting to see the nor flash nodes appear in the DT. Did I miss something?
<j`ey> jmr2: spi driver stream
<jmr2> I haven't had the time to fully watch it yet, but I thought that all SPI tests would happen with the keyboard, given the extra risks with the nor flash.
<j`ey> jmr2: not such a big deal when you have 6 machines :P
<j`ey> (and marcan thinks DFU restore would be fine anyway..)
<jmr2> True. But jannau's tree now has it too, and not all users of that tree are that savvy.
<jmr2> Anyway, thanks. I should spend more time watching the streams and less asking questions :-D
<j`ey> jmr2: yeah probably a good idea for it to be disabled by default
<NightRaven[m]> so i have a question i have the tempdir folder do i just move the tempdir folder to the usb that has ext4 or do i move everything in the folder to the usb and if i have to move everything in tempdir then how do i do it since i have tried to do sudo mv * /mnt/DIskname since it won't move dev
linearcannon has quit [Read error: Connection reset by peer]
jmr2 has quit [Quit: Page closed]
<jannau> jmr2: it's in AsahiLinux:linux/asahi, I haven't really thought about about it
<zimsneexh> Anyone managed to get firefox to work without changing to fbdev?
<zimsneexh> Or really, any browser?
<NightRaven[m]> so i have all the files in there
<NightRaven[m]> but how can i set root password ?
<j`ey> zimsneexh: jannau said ff worked w/ wayland
<zimsneexh> NightRaven[m]: Are you on aarch64 host?
<NightRaven[m]> zimsneexh: how can i check again ?
<zimsneexh> j`ey: Hm, haven't had much luck getting sway to run on this at all, but i'll give it another shot
<NightRaven[m]> zimsneexh: i am
<zimsneexh> NightRaven[m]: just do chroot PATH /bin/bash and set it as you normally would
<NightRaven[m]> zimsneexh: when i do chroot /bin/bash in the directory i get ```nightraven@manjaro ~> chroot /mnt/debain/bin/bash
<NightRaven[m]> nightraven@manjaro ~ [125]> ```
<NightRaven[m]> chroot: cannot change root directory to '/mnt/debain/bin/bash': Not a directory
<NightRaven[m]> bash is a file
<NightRaven[m]> ok
<NightRaven[m]> nvm
<NightRaven[m]> i am in
<NightRaven[m]> is this right tho
<NightRaven[m]> * right tho ?
<NightRaven[m]> i did ```nightraven@manjaro ~ [125]> sudo chroot /mnt/debain/```
<NightRaven[m]> nvm
<NightRaven[m]> it is
<NightRaven[m]> but i cannot do these ```# chainload m1n1... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/dGpstMquCIqdJVAeXHPyiekR)
<NightRaven[m]> * but i cannot do these ```# chainload m1n1... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/AqHNvmaBfquAbGnYhuovxJVw)
<NightRaven[m]> s/macho/machoboot/, s/# boot//
<NightRaven[m]> s/```#/`#/, s/#//, s/```/`/
<zimsneexh> You make a new .macho and install it.
<NightRaven[m]> i already have a macho file with kernel and the .dtb file
<NightRaven[m]> zimsneexh: and it panics since there is not rootfs
<NightRaven[m]> so if i plug in the and run the .macho file again will it work or do i have to add some params to do it ?
<Glanzmann> NightRaven[m]: If you create a new macho file, you have to boot in 1tr again by holding the power button key long and bless it using kmutil configure-boot -c m1n1.macho -C -v /Volumes/Linux
<Glanzmann> NightRaven[m]: So what did you manage so far? Are you able to boot to the usb stick already?
<NightRaven[m]> Glanzmann: "/Volumes/MyUSB"
<NightRaven[m]> right ?
<Glanzmann> Nope.
<Glanzmann> We want Linux to boot from usb.
<NightRaven[m]> but there is nothing in /Volumes/Linux
<Glanzmann> NightRaven[m]: I thought about making a video showing all the steps.
<Glanzmann> But in order to prepare the usb stick you have to do the following from a __linux__ machine:
<NightRaven[m]> Glanzmann: which i do have
<NightRaven[m]> Glanzmann: but /Volumes/Linux has nothing right ?
<NightRaven[m]> * has nothing in it right ?
<Glanzmann> So you created an ext4 fs on a usb stick and extracted the rootfs?
<NightRaven[m]> Glanzmann: yes
<Glanzmann> Perfect.
<NightRaven[m]> and i made a macho file with the kernel in it and the .dtb file
<Glanzmann> have you managed to boot a Linux kernel with the usb stick as root?
<NightRaven[m]> Glanzmann: No
<NightRaven[m]> not with the usb stick
<NightRaven[m]> that is what i am stuck on
nabaiste^ has joined #asahi
<NightRaven[m]> i have not made the /Volumes/Linux Yet
<NightRaven[m]> Glanzmann: does there have to be anything in /Volumes/Linux
<j`ey> NightRaven[m]: btw you wont have internet
<NightRaven[m]> ohh no internet driver right ?
<NightRaven[m]> j`ey: for now that is fine
<NightRaven[m]> i just want arch working
<Glanzmann> NightRaven[m]: forget about /Volumes/Linux that is not a thing.
<Glanzmann> NightRaven[m]: Have you managed to install m1n1 on the mac?
<NightRaven[m]> <NightRaven[m]> "PXL_20211211_155426605.jpg" <- as i have said i have gotten it working but it is not permanently installed and it panics since no rootfs
<NightRaven[m]> Glanzmann: but my question is how can i get rootfs working with m1n1.macho
<NightRaven[m]> the macho has the kernel and the .dtb
<Glanzmann> Okay good. Now you have to build another one and specify as kernel command line: net.ifnames=0 rw root=/dev/sda rootwait rootfstype=ext4
<Glanzmann> NightRaven[m]: You did not put a partition table on the usb stick, right? And you did a tar -xf of the rootfs on the usb stick and you can see the usual directories like etc lib usr etc on the usb stick?
<NightRaven[m]> so this ```cat m1n1.macho <(echo 'net.ifnames=0 rw root=/dev/sda rootwait rootfstype=ext4') > m1n12.macho``` m1n1.macho is the one with the kernel and the .dtb file
<NightRaven[m]> Glanzmann: yep
<NightRaven[m]> NightRaven[m]: is this right
<Glanzmann> Nope, the syntax is different.
<NightRaven[m]> can you show it please
<NightRaven[m]> ?
<Glanzmann> Forget about the chroot for now.
<NightRaven[m]> i already did that
<NightRaven[m]> Glanzmann: i already set the root password
<Glanzmann> Perfect.
<NightRaven[m]> so that is gone
<Glanzmann> Okay than we need the right syntax.
<NightRaven[m]> but what is the correct sysntax for this ```cat m1n1.macho <(echo 'net.ifnames=0 rw root=/dev/sda rootwait rootfstype=ext4') > m1n12.macho```
<Glanzmann> No, it is not.
<Glanzmann> I wrote it yo yesterday. Give me one second I search it again.
<NightRaven[m]> oh ko
<NightRaven[m]> * oh ok
<Glanzmann> cat m1n1.macho <(echo 'net.ifnames=0 rw root=/dev/sda rootwait rootfstype=ext4') Image.gz model.dtb > nr.macho
<NightRaven[m]> oh ok thanks i will try that now
<Glanzmann> That is the right syntax. m1n1.macho is the m1n1, Image.gz is the kernel model.dtb is the dtb for your notebook.
<NightRaven[m]> yep
<Glanzmann> Than you have to boot in 1tr (one true recovery) on your macbook and run: kmutil configure-boot -c nr.macho -C -v /Volumes/Linux
<NightRaven[m]> Glanzmann: but i do not have /Volumes/Linux
<Glanzmann> You need to transfer the nr.macho somehow maybe using a webserver.
<NightRaven[m]> Glanzmann: i have that
<NightRaven[m]> do not worry
<Glanzmann> NightRaven[m]: The /Volumes/Linux or however you called it is just a stub partition that is necessary to kick off the bootloader (m1n1 which than loads the kernel, sets the kernel command line and boots).
<NightRaven[m]> Glanzmann: but i do /Volumes/Macintosh HD
<Glanzmann> NightRaven[m]: Than you're done. You have installed Linux. However. If you want to boot linux without the usb stick.
<Glanzmann> Again you need to boot to 1tr.
<NightRaven[m]> Glanzmann: yea
<Glanzmann> Have you created a dos partition on macos which you can later use to put linux on?
<NightRaven[m]> Glanzmann: nope not yet
<Glanzmann> NightRaven[m]: I'll probably record all the steps from scratch in a video and talk a little bit while I'm doing it so that it is easier for others to follow the steps.
<NightRaven[m]> hmm ok just give me a ping when you do it : )
<Glanzmann> NightRaven[m]: You should do that as well while you're in macos so that once you managed to boot from the the usb stick that you can copy the files over.
<NightRaven[m]> for now i will boot into the usb too see if it works
<NightRaven[m]> then i will do it
<Glanzmann> do that.
<Glanzmann> Once you managed to boot from the usb stick you're mostly done.
<NightRaven[m]> ok i will create one
<Glanzmann> You just need to create the partition, format it with ext4, copy the content over without screwing up the permissions and change the kernel command line again.
<NightRaven[m]> hmm ok
<Glanzmann> Than, since you're on a laptop you also need to do the wifi firmware dance, or us a usb network adapter. for the start use a usb network adapter.
<NightRaven[m]> Glanzmann: might try to get the wifi firmware
<NightRaven[m]> i have no usb adapter
<Glanzmann> Buy one.
<NightRaven[m]> hmm ok
<Glanzmann> Buy one with a wifi card and 3 usb a ports.
<NightRaven[m]> any good ones on amazon you can recommend
<Glanzmann> Yes, one second.
<sven> fwiw, this will all be done automatically in the installer once we are actually ready for a end user release
<NightRaven[m]> yea ok i will get it thanks i am going to restart now to see if it works
<Glanzmann> Do that and report back
<NightRaven[m]> Now I get running proxy
<Glanzmann> You need to run: cat m1n1.macho <(echo 'net.ifnames=0 rw root=/dev/sda rootwait rootfstype=ext4') Image.gz model.dtb > nr.macho
<NightRaven[m]> I did
<Glanzmann> Copy nr.macho to 1tr and run: kmutil configure-boot -c nr.macho -C -v /Volumes/Linux
<NightRaven[m]> I did
<NightRaven[m]> But
<NightRaven[m]> Instead of Linux I did macintosh hd
<NightRaven[m]> Since I do not have Linux
<Glanzmann> Than you did something wrong. Maybe you m1n1.macho was the thing that you build before or so.
<j`ey> that cat command is wrong
<NightRaven[m]> Ok I will try again
<j`ey> cat m1n1.macho <(echo 'boot-args=...')
<j`ey> the boot-args= was missing
<NightRaven[m]> Ok I will do that now
<j`ey> the invalid magic number from that picture is: 6e65742e is 'net.'
<NightRaven[m]> this is my ```cat m1n1.macho <(echo 'boot-rgs=net.ifnames=0 rw root=/dev/sda rootwait rootfstype=ext4') Image.gz t8103-j293.dtb.dtb > nr.mach```
<NightRaven[m]> command
<NightRaven[m]> s/```/`/, s/.dtb//, s/```/`/
<j`ey> boot-args
<NightRaven[m]> oh
<j`ey> nr.macho
<NightRaven[m]> my bad
<NightRaven[m]> ok will try again nwo
<Glanzmann> j`ey: Thanks for spotting.
<Glanzmann> NightRaven[m]: This picture could mean, that you have booted the kernel but do not have framebuffer in the kernel config.
<zimsneexh> Did you enable the FB when you built that kernel?
<NightRaven[m]> Still stuck at the logo
<NightRaven[m]> zimsneexh: I did
<Glanzmann> NightRaven[m]: Maybe I will build you a kernel using the latest thing from jannau. Give me one second.
<NightRaven[m]> The 2nd pic is the rootFS system
<NightRaven[m]> Glanzmann: Ok
<zimsneexh> Is this the asahi kernel?
<NightRaven[m]> Yep
<NightRaven[m]> Glanzmann: Just give me a ping when you have image.gz
kgarrington has joined #asahi
<Glanzmann> NightRaven[m]: https://ab34.de/u/Image.gz
kgarrington has quit [Remote host closed the connection]
<zimsneexh> jannau: I managed to get dmesg of the touchpad dying on MBA (j313). Would that still be helpful?
<Glanzmann> jannau: When you watch youtube videos, do you have tiering? I was able to watch videos with xorg, wayland but have always tiering.
<kettenis> until there is proper DCP support, there will be tearing
<Glanzmann> I see.
<zimsneexh> jannau: In case it is, although I'm not sure which branch this kernel build is from.. Here: https://zimsneexh.eu/x/applespi-touchpad-not-working.txt
<Glanzmann> kettenis: Is there a howto for using uboot in order to load m1n1 and kernel?
<Glanzmann> zimsneexh: I'll install Linux on my macbook air later tonight and will work for a few days with it. Let you know how it goes for me.
<zimsneexh> Glanzmann: I've been messing with it today and yesterday and with sway it's quite usable actually
<zimsneexh> apart from the wifi not working and my only usb-wifi dongles driver not building on aarch64
<kettenis> Glanzmann: u-boot can't load m1n1; it's the other way around (you use u-boot as a payload for m1n1)
sproede[m] has joined #asahi
<mps> Glanzmann: today I tested u-boot, it works on mb pro 2020, j293
<jannau> zimsneexh: kind of known although I think I say corrupted packet messages (ignore the first). dmesg might have at the top a git hash
<mps> Glanzmann: tested with usb stick, kernel boots fine but have to use usb keyboard because internal one doesn't work
<zimsneexh> jannau: Yep, the kernel is from apple-m1-exp_v5.16-rc4_1-keyboard
<zimsneexh> Just happened for a second time just now
<kettenis> the idea is that you use an EFI bootloader (like grub) with u-boot
<kettenis> then you can load your kernel from any device supported by u-boot (and any filesystem supported by grub)
<kettenis> the same way as you do on an x86 system
<mps> kettenis: yes, looks like plain u-boot doesn't work
aidenfoxivey has quit [Quit: aidenfoxivey]
aidenfoxivey has joined #asahi
<NightRaven[m]> ok i am going to try with the new Image.gz again and the .dtb
<mps> could I somehow tell u-boot to first try external usb disk and if it is not found to try to find uefi on nvme
nico_32 has quit [Ping timeout: 480 seconds]
<Glanzmann> kettenis: I see.
<Glanzmann> Has marcan already agreed on a method to pass the wifi firmware from macos to Linux? Because we could already dd a ext4 on the linux parition, would make installation less cumbersome and would not require a second system.
<Glanzmann> NightRaven[m]: congrats.
<Glanzmann> Does the keyboard work?
<NightRaven[m]> Nope
<j`ey> Glanzmann: yes it wont require a second system in the end
<NightRaven[m]> But how can I fix that
<Glanzmann> NightRaven[m]: You just reproduced the issue that mps has.
<zimsneexh> Whats the issue?
<Glanzmann> He also has a macbook pro and also the internal keyboard does not work.
<Glanzmann> However jannau, IIRC, has also a macbook pro where the keyboard works.
<NightRaven[m]> lol
<NightRaven[m]> Hmmm
<mps> Glanzmann: no, when I boot with m1n1-payload.macho keyboard works
<zimsneexh> Did you build that kernel from apple-m1-exp_v5.16-rc4_1-keyboard?
<Glanzmann> zimsneexh: I build it for him, and yes I did.
<mps> Glanzmann: it doesn't work when I boot with u-boot
<zimsneexh> hm, thats odd
<Glanzmann> mps: Oh, I see.
<NightRaven[m]> But why doesn't it not work
<zimsneexh> maybe the devicetree for j293 doesnt have the keyboard stuff yet?
<Glanzmann> NightRaven[m]: The keyboard and spi support is very recent (came in yesterday).
<mps> zimsneexh: uboot DT doesn't have keyboard
<NightRaven[m]> Oooh ok I will give it time
<Glanzmann> There might be some hickups that need to be figured out, or I made a mistake when I build the kernel.
<zimsneexh> maybe the keyboard support with the old correlium driver works?
<mps> Glanzmann: keyboard with jannau patches worked for me from 5.16-rc1
<zimsneexh> maybe you didn't set CONFIG_KEYBOARD_APPLESPI or CONFIG_SPI_APPLE?
<jannau> I have j314c, let me check if there's a problem with the keyboard node in j293 (macbook pro 13") but not in j131 (macbook air)
<mps> or they are j`ey patches, I forgot
juergen has joined #asahi
<Glanzmann> zimsneexh: I just checked and CONFIG_SPI_APPLE is really not set.
<juergen> jm312.freeshell.net
juergen has quit [Quit: Leaving]
<jannau> mostly hector's and stan's patches with some changes from j`ey and me
<NightRaven[m]> But my question is where can I get the arch rootFS
<jannau> keyboard nodes in j293 and j313 are identical
<zimsneexh> On the Arch linux ARM website.. It even has instructions
<Glanzmann> NightRaven[m]: I rebuild https://ab34.de/u/Image.gz
<jannau> NightRaven[m]: arch linux arm generic install instructiions
<NightRaven[m]> Glanzmann: Why
<NightRaven[m]> ?
jmr2 has joined #asahi
<Glanzmann> NightRaven[m]: Because I screwed up building your kernel. That is probably why the keyboard was not working.
<NightRaven[m]> Glanzmann: Oh ok I will try again
<Glanzmann> NightRaven[m]: So you need to do the nr.macho dance again (download, concat, and so on)
<Glanzmann> I also uploaded the https://ab34.de/u/t8103-j313.dtb
<NightRaven[m]> Oh ok will do that
<Glanzmann> Get that, too. To be on the safe side.
<Glanzmann> And let us know if it works.
<jmr2> jannau: understood. Sorry if I sounded accusatory, that wasn't the intent - i was just very surprised.
nico_32 has joined #asahi
jmr2 has quit [Quit: Page closed]
<NightRaven[m]> <Glanzmann> "NightRaven: So you need to do..." <- i will reboot now too see if keyboard works
<Glanzmann> NightRaven[m]: Hopefully it works.
<NightRaven[m]> It says running proxy now
<Glanzmann> Than you probably forgot one of the steps.
<Glanzmann> But if you want I can also build you a new macho and you can try it.
<Glanzmann> You USB Stick is /dev/sda ?
<NightRaven[m]> It actually a HDD and it's /dev/sda
<NightRaven[m]> Glanzmann: Sure
<NightRaven[m]> Do it
<Glanzmann> Fine. I'll do it give me one second.
<NightRaven[m]> Give me a ping when you have the file
<Glanzmann> NightRaven[m]: ping https://ab34.de/u/nr.macho
<NightRaven[m]> Thanks
<Glanzmann> I used the following command line: cat ./m1n1/build/m1n1.macho <(echo 'boot-args=net.ifnames=0 rw root=/dev/sda rootwait rootfstype=ext4') ./linux-2.6/arch/arm64/boot/Image.gz ./linux-2.6/arch/arm64/boot/dts/apple/t8103-j293.dtb > nr.macho
inffy[m] has joined #asahi
<NightRaven[m]> Oh ok thx
as400 has joined #asahi
aidenfoxivey has quit [Read error: Connection reset by peer]
zimsneexh has quit [Read error: Connection reset by peer]
<as400> jannau: I can also confirm kbd and touchpad working on t6000.
<NightRaven[m]> <Glanzmann> "NightRaven: ping https://ab34.de..." <- When I curl that it does not work
<NightRaven[m]> It says 301 moved permanently
<NightRaven[m]> Nvm
<NightRaven[m]> I got it now
zimsneexh has joined #asahi
Graypup_ has quit [Quit: meow]
Graypup_ has joined #asahi
<Glanzmann> No big news, but I also have working keyboard with jannau branch on the macbook air.
<NightRaven[m]> OMG the keyboard works thanks so much I appreciate your help
<Glanzmann> NightRaven[m]: Next step is to do crate a dos fat partition under macos, reboot into linux and put your archlinux on it.
<NightRaven[m]> Ok so help me here I make one partion
<as400> is cpufreq scaling working ?
<Glanzmann> If you want, you can watch me do it because I'm doing it right now.
<NightRaven[m]> Sure can I see
<Glanzmann> Or I record it for you.
<NightRaven[m]> Sure you can record it if you want
<NightRaven[m]> But do I only make one partion
<NightRaven[m]> And make it dos
<NightRaven[m]> And put arch rootFS there
<Glanzmann> Yes, but you don't keep it as dos.
<jannau> as400: no, there is no cpufreq driver in the tree. m1n1 changes the P cores cpu clock to 2 GHz though, the E cores are already running at their max
<Glanzmann> You just create it on macos because that is the safe thing to do.
<Glanzmann> And than under Linux you format this partition to ext4.
<Glanzmann> And than you putch arch on it.
<as400> jannau: thx, is this subject to change in the future ?
<sven> nah, it would not be fair to run these cpus at 100% speed :-p
<j`ey> sven: :P
<as400> sven: having a good mood tonight, right ? :)
<NightRaven[m]> Glanzmann: So then format the one partion to ext4 and put rootFS there
<Glanzmann> Correct.
<Glanzmann> So you have to partitions for linux, one for the m1n1, kernel, cmdline args.
<Glanzmann> And one for the rootfs.
<NightRaven[m]> Wait this is confusing
<NightRaven[m]> So
<j`ey> as400: saturday night! and I think sven is off for the winter break too
<NightRaven[m]> 3 partions
<Glanzmann> NightRaven[m]: The asahi installer created one 2.5 GB partition. This is the one you're using to boot from right now.
<Glanzmann> And than you put one additional one for the rootfs.
<jannau> as400: look at proxyclient/experiments/cpu_pstates.py or src/cpufreq.c to change the frequency
<Glanzmann> Than you have one partition for macos and one for 1tr (the last one 5,7 GB in size)
<NightRaven[m]> Ok I will make a 100gb partion for rootFS
<as400> j`ey: yeah :)
<NightRaven[m]> 3gb for m1n1 so the macho file
<Glanzmann> NightRaven[m]: For example, yes.
<Glanzmann> NightRaven[m]: yeah, but the 3gb partition is already there, you do not need to create it.
<Glanzmann> I forgot how to create a msdos parition on macos. Once I figure it out, I'll record it.
<as400> jannau: I'm not really pursuing high clock frequencies. Was just asking out of curiosity.
<NightRaven[m]> Ok do you have the rootfs for arch
<Glanzmann> I should actually record the whole process once, because I'm always struggeling with the same steps.
<NightRaven[m]> Hmm ok
<Glanzmann> NightRaven[m]: jannau posted the link, so that will be easy to get.
<NightRaven[m]> Tell me when you finish the recording give me a ping
<Glanzmann> NightRaven[m]: Will do so.
<NightRaven[m]> Glanzmann: Jannau
<NightRaven[m]> Hmm ok will try to find
<NightRaven[m]> Glanzmann: Thanks so much
<jannau> NightRaven[m]: it's linked on https://archlinuxarm.org/platforms/armv8/generic
<Glanzmann> From jannau's link.
<NightRaven[m]> Glanzmann: oh ok thanks so much
<NightRaven[m]> well i have to go now but good luck on the partion c ya tomorrow : )
<Glanzmann> NightRaven[m]: have a good night sleep. Will put the recording in the irc.
tertu2 has joined #asahi
tertu has quit [Ping timeout: 480 seconds]
as400 has quit [Quit: Page closed]
<landscape15[m]> Is it possible to run my custom rootFS from an external USB, without connecting with an other pc?
<Glanzmann> Yes.
<Glanzmann> But you need a 2.5 GB Partition on your internal ssd to to kick of m1n1.
<Glanzmann> jannau: Thank you for your tree. I have X running on my macbook air with keyboard and touchpad.
<landscape15[m]> Glanzmann: yeah I have the stub macOS partition set up (with m1n1 installed), but I don’t know what to do next.
<Glanzmann> landscape15[m]: You put whatever you wanto to put on your usb drive.
<Glanzmann> landscape15[m]: Than you build a chain with m1n1, linux commandline, linux kernel and optional ramdisk copy it in 1tr and run the kmutil to bless it that's it.
<Glanzmann> See backlog for details, NightRaven[m] just did that.
Bicet[m] has joined #asahi
<landscape15[m]> Glanzmann: ok, so I only need to change the boot object in 1TR. I read this https://ab34.de/u/asahi.txt
<Glanzmann> cat m1n1.macho <(echo 'boot-args=net.ifnames=0 rw root=/dev/sda rootwait rootfstype=ext4') Image.gz t8103-j293.dtb.dtb > nr.macho
<Glanzmann> You do that.
<Glanzmann> And you put that in 1tr and run kmutil (see developer quickstart in asahi wiki)
<Glanzmann> can someone tell me how do I use the middle and right mouse key with macbook air under Linux (I can't paste stuff anylonger)
<Glanzmann> The macbook air under Linux feels nice. And no distrcations without video playback and audio.
<Glanzmann> And even the touchpad is quite usable.
<landscape15[m]> Glanzmann: ok, I put the new macho in my Linux partition, and then set it in 1TR right?
<jannau> 2 finger click (right) and 3 finger click (middle) if multitouch is working
<Glanzmann> jannau: Works, thanks.
<Glanzmann> The scrolling I already found out, anything else I need to know about the touchpad?
<Glanzmann> jannau: Thank you again for providing the patchset, I can finally get some work done on my macbook air.
<Glanzmann> jannau: Have you done any experiments on the battery life?
bps2 has joined #asahi
<Glanzmann> landscape15[m]: Yes, you put it in 1tr under options and run kmutil.
<Glanzmann> NightRaven[m]: I did the partitioning under Linux, under macos it is to cumbersome.
<NightRaven[m]> Glanzmann: i literally cannot sleep
<NightRaven[m]> Glanzmann: nicd
<NightRaven[m]> > <@_oftc_Glanzmann:matrix.org> NightRaven: I did the partitioning under Linux, under macos it is to cumbersome.
<NightRaven[m]> * nice
<NightRaven[m]> but one question is there a way to fully delete mac os like clean ssd and install arch on it
<Glanzmann> NightRaven[m]: Yes, but you really don't want that.
<Glanzmann> Because you need macos for firmware updates in the future.
<NightRaven[m]> Glanzmann: why like once wifi driver is supported and audio
<NightRaven[m]> Glanzmann: but like in future maybe you can do it on linux
<NightRaven[m]> or something
<Glanzmann> NightRaven[m]: wifi already works, trying it right now myself for the first time. Audio is work in progress. The mini is pretty usable.
<NightRaven[m]> Glanzmann: the wifi
<NightRaven[m]> is there a git or a boot argument for the macho
<Glanzmann> Todo what?
<NightRaven[m]> for the wifi
<zimsneexh> Wifi works on the mini, not the macbooks
<zimsneexh> Atleast im pretty sure
<Glanzmann> Someone, forgot who, told me to do this: https://pbot.rmdir.de/mIkzgFqXarmEKSe3Sg9vyQ Trying right now.
<Glanzmann> I thought it also works on the macbooks.
<NightRaven[m]> Glanzmann: cool give me an update if it works
<NightRaven[m]> might work
<NightRaven[m]> zimsneexh: how about a wifi dongle
<zimsneexh> Glanzmann: That would be amazing. You have a j313 right? Do tell me if it works
<Glanzmann> zimsneexh: I have a macbook air.
* landscape15[m] is Ubuntu good to compile the boot object?
<j`ey> landscape15[m]: yes
<NightRaven[m]> > * <@landscape15:matrix.org> is Ubuntu good to compile the boot object?
<NightRaven[m]> yes
<NightRaven[m]> > * <@landscape15:matrix.org> is Ubuntu good to compile the boot object?
<NightRaven[m]> i used it to compile the boot object
<zimsneexh> Glanzmann: Great. Well if it works that would be great.
<zimsneexh> If wifi worked this would actually be somewhat usuable
<Glanzmann> zimsneexh: yes, wifi would be great.
<landscape15[m]> NightRaven: thanks, so I don’t need to set M1N1DEVICE, considering that I’m doing everything on my machine.
<Glanzmann> So on the wifi front, I think I'm almost there: https://pbot.rmdir.de/VN0-8CKrR4TkEpxxAAK4iA
<Glanzmann> But I think I copied the wrong files from macos, becasue there should be a clmb but I have a txcb.
<zimsneexh> I tried aswell but I cant seem to get it to work
Techcable has quit [Ping timeout: 480 seconds]
<Glanzmann> zimsneexh: I see, I try again. Update in a few minutes.
<zimsneexh> Also not quite sure what I'm looking for. Can't see anything about wifi in the kernel log
<Glanzmann> zimsneexh: I can see something, but I screwed up first.
<Glanzmann> Now I think I did everything right, but it still does not work.
<Glanzmann> jannau: mps: j`ey: Do you have working wifi on macbook air / pro?
<Glanzmann> zimsneexh: I tried without the ramdisk
<landscape15[m]> NightRaven: Do I only need to run kmutil to set the new boot object?
<Glanzmann> landscape15[m]: Yes.
<Glanzmann> But from 1tr.
<Glanzmann> So I think about the wifi, the patch is missing.
<Glanzmann> But I know that alyssa had one in her tree. So I'm digging it up.
<j`ey> Glanzmann: No I havent tried yet
<Glanzmann> '13
<zimsneexh> Hm, sounds good
bps2 has quit [Ping timeout: 480 seconds]
<Glanzmann> I tried with alyssas patches, but no luck so far.
<zimsneexh> I feel like it might be because the wifi card is missing from the devicetree?
<Glanzmann> zimsneexh: Yes, might be. And you're right, alyssa only exposed the j274 (mini) in the device tree.
<Glanzmann> zimsneexh: I just checked the devie tree and the wifi node including register and mac address is in there.
<Glanzmann> Even without the patches, so that made it at least into jannau's branch.
jmr2 has joined #asahi
<jmr2> Glanzmann: I'm the one who wrote those steps about how to extract the wifi firmware.
<jmr2> While it's possible to get the corellium wifi driver to work, marcan has explicitly asked us to stop doing so (see the log from Dec. 2).
<jmr2> He mentioned that he want to rewrite it soon, and asked us to be patient.
<jmr2> We need to keep in mind that any time one of us ask for support from one of the dev, we slow the project down.
<Glanzmann> jmr2: I see.
Glanzmann has quit [Quit: EOF]
<marcan> the way that driver does things is completely crazy and will never fly upstream; therefore trying to use it is largely a waste of time since it needs a complete rewrite
<marcan> same with the keyboard driver btw; the patches to that aren't crazy, and it can be made to work (I spent some time the past few days poking around the corellium patches to that to validate the SPI driver I wrote), but it turns out the *original* driver in Linux there was written with the wrong understanding and we're going to be writing a new driver from scratch that does things properly
<marcan> ideally that would also be ported to Intel macbooks and end up replacing the old driver altogether at some point in the future
<marcan> (to clarify: the wifi *patches* need a rewrite, the existing driver is fine; the keyboard *driver* needs a rewrite because the existing driver is doing entirely the wrong thing)
riker77 has quit [Quit: Quitting IRC - gone for good...]