#asahi-gpu · 2022-10-01 22:07
jannauI can test tomorrow on a 16gb mac mini#asahi-gpu · 2022-10-01 22:07
jannaujoske: https://github.com/jannau/linux/tree/omg-it-works-16gb and https://github.com/jannau/m1n1/tree/omg-it-works-16gb still works on the 8GB system and removed one mem layout dependency#asahi-gpu · 2022-10-01 21:00
joskeor can you do that from a non-16GB machine?#asahi-gpu · 2022-10-01 20:59
joskefor that I would have to boot macOS?#asahi-gpu · 2022-10-01 20:59
jannauI know how to retrieve the necessary values from the ADT so that m1n1 can fill the values#asahi-gpu · 2022-10-01 20:58
jannauyes#asahi-gpu · 2022-10-01 20:57
joskeany idea what these adjustments might be?#asahi-gpu · 2022-10-01 20:56
joskejannau: thx a lot!#asahi-gpu · 2022-10-01 20:53
jannauthis only works if the system has 8GB ram, for 16GB systems the reg values need to adjusted#asahi-gpu · 2022-10-01 20:52
jannaujoske: works through u-boot with this http://paste.debian.net/1255646/ patch, haven't tried without the "no-map" and u-boot#asahi-gpu · 2022-10-01 20:40
karolherbstloud here#asahi-gpu · 2022-10-01 20:40
karolherbstlina: how does your willingness of reviewing userspace code looks like? (or anybody who wants to get into mesa development). Would be cool to get some Rust related reviews on the stuff I write, but at the same time I also don't want to distract you from keeping up with your incredible kernel work :D So, my hope is others here who want to get into mesa and/or linux development might be interested.. dunno. I think I am just thinking out #asahi-gpu · 2022-10-01 20:27
joskejust asking theoretically, if you don't want to for whatever reason, no worries#asahi-gpu · 2022-10-01 20:25
joskeyou may not have any grub installed I guess#asahi-gpu · 2022-10-01 20:25
joskecouldn't you chainload a m1n1 with u-boot?#asahi-gpu · 2022-10-01 20:24
jannaujoske: I haven't tried, it's a little bit annoying to go from remote booting to u-boot#asahi-gpu · 2022-10-01 19:54
joskejannau: can it boot over u-boot too?#asahi-gpu · 2022-10-01 19:51
joske\o/#asahi-gpu · 2022-10-01 19:31
Dcow[m]looking forward for someone to trace M1 Pro/Max and port driver to it...#asahi-gpu · 2022-10-01 18:37
jannau8GB imac, booted via hypervisor#asahi-gpu · 2022-10-01 18:36
jannauomg it works!#asahi-gpu · 2022-09-30 14:09
linakarolherbst: ^^#asahi-gpu · 2022-09-30 13:42
joskeI mean without the GPU driver#asahi-gpu · 2022-09-30 13:42
joskeyes, DCP from that branch seems to work fine (although mate desktop seems to have issues with it for some reason - GNOME works fine) on M1 MBA (indeed 16GB RAM)#asahi-gpu · 2022-09-30 13:08
karolherbstlina: hoi 🐧🦀 though I join this channel here as well in case.. ehh.. it becomes relevant :D#asahi-gpu · 2022-09-30 12:28
_jannau_dcp should work on m1 laptops, tested m1 max macbook pro and imac (not recently on the imac though)#asahi-gpu · 2022-09-30 12:26
linaAlso I don't know what DCP will do on laptops either...#asahi-gpu · 2022-09-30 12:25
linaMy DT data is hardcoded for 8GB machines, so it won't work for 16GB machines, and I'm not 100% confident it's going to work on anything but the mac mini either!#asahi-gpu · 2022-09-29 20:59
joskeI tried with modifying the string, but the same lockup on inner.handoff().init();#asahi-gpu · 2022-09-29 20:56
jannauor simply return early from that function without doing anything#asahi-gpu · 2022-09-29 20:55
jannauyes#asahi-gpu · 2022-09-29 20:52
joskejannau: you mean changing the string reserved-memory to something else in fdt_subnode_offset(fdt, 0, "reserved-memory"); ?#asahi-gpu · 2022-09-29 20:47
jannauadd a "no-map" property the the nodes might be enough. Not sure how whose regions are used#asahi-gpu · 2022-09-29 20:40
jannaujoske: you can try a patched u-boot where you break "efi_carve_out_dt_rsv" in lib/efi_loader/efi_dt_fixup.c. modify the "reserved-memory" so that it doesn't find it anymore#asahi-gpu · 2022-09-29 20:29
joskes/en/and/#asahi-gpu · 2022-09-29 20:28
joskewell that didn't work either. It seems to load kernel, but it blanks screen very fast before I can read anything en then just locks up#asahi-gpu · 2022-09-29 20:03
joskeoh that's neat#asahi-gpu · 2022-09-29 20:03
jannauorder doesn't matter#asahi-gpu · 2022-09-29 20:03
joskeah the wiki says different order: #asahi-gpu · 2022-09-29 20:03
joske >m1n1-linux.bin#asahi-gpu · 2022-09-29 20:03
joske ${KERNEL}/arch/arm64/boot/Image.gz \#asahi-gpu · 2022-09-29 20:02
joske ${INITRAMFS}/initramfs.cpio.gz \#asahi-gpu · 2022-09-29 20:02
joske ${KERNEL}/arch/arm64/boot/dts/apple/*.dtb \#asahi-gpu · 2022-09-29 20:02
joske <(echo 'chosen.bootargs=earlycon debug root=/dev/nvme0n1p6 rootwait rw') \#asahi-gpu · 2022-09-29 20:02
joskecat build/m1n1.bin \#asahi-gpu · 2022-09-29 20:02
jannaum1n1.bin dtbs kernel initramfs <(echo "chosen.bootargs=...\n\0\0\0\0"(#asahi-gpu · 2022-09-29 20:01
joskenever mind, found#asahi-gpu · 2022-09-29 20:00
joskeboot-args etc#asahi-gpu · 2022-09-29 20:00
jannauless annoying and easier to recover if doesn't work#asahi-gpu · 2022-09-29 20:00
joskecan you point me to a page how exactly the things should be cat-ed?