#
✕ nick:jeffmiw
#asahi · 2022-02-06 22:35
jeffmiwyes by default fast_io is false iirc
#asahi · 2022-02-06 22:05
jeffmiwthanks mixi / mps / j'ey , I do not like this msleep, I'll see if I can come up with something else ... in the meantime I'll set fast_io to false
#asahi · 2022-02-06 17:52
jeffmiwit is not just this patch, it is the whole series that is needed, there are changes in the drivers that are going with the dts change
#asahi · 2022-02-06 17:50
jeffmiwmps: if rtc still not working on your mbpro, can you send the output of the find cmd above
#asahi · 2022-02-06 17:49
jeffmiwmps: I had an issue in some of my commits, good one to take is https://github.com/AsahiLinux/linux/commit/32b2ffdb7972fb3bb867e0579ea6e7bf8dc08ae4
#asahi · 2022-02-06 17:37
jeffmiwfrom there, find . -name compatible -exec cat {} \; if the strings are not matching the ones in the patches you took, it won't work. I updated my branch with what I understood from kettenis but did not check u-boot source code yet
#asahi · 2022-02-06 17:34
jeffmiwyou can check this by looking at the device-tree compatible entries in the sysfs under the spmi node: /sys/firmware/devicetree/base/soc/spmi@023d0d9300
#asahi · 2022-02-06 17:31
jeffmiwmps: if you use u-boot, your DT(device tree) is coming from u-boot and from the one I modified, and my initial patches were not aligned with u-boot naming.
#asahi · 2022-02-06 17:12
jeffmiwI'm asking to understand the differences, I did not spend time to have u-boot config yet, focusing on getting some code uptstream :)
#asahi · 2022-02-06 17:08
jeffmiwmps: do you have the RTC enables in your kernel config ? CONFIG_RTC_CLASS=y CONFIG_RTC_HCTOSYS=y CONFIG_RTC_HCTOSYS_DEVICE="rtc0" CONFIG_RTC_SYSTOHC=y CONFIG_RTC_SYSTOHC_DEVICE="rtc0" CONFIG_RTC_INTF_SYSFS=y CONFIG_RTC_INTF_PROC=y CONFIG_RTC_INTF_DEV=y
#asahi · 2022-02-06 17:05
jeffmiwGlanzmann: not I'm not using u-boot
#asahi · 2022-02-06 16:46
jeffmiwyou are on mini ? used u-boot or m1n1 chainloading kernel ? if u-boot which DT ?
#asahi · 2022-02-06 16:45
jeffmiwmps: interested to better understand your config/setup with RTC not working
#asahi · 2022-02-06 15:57
jeffmiwkettenis: about the spmi compatible, I got it now :), just like marcan did for spi. just fixed it.
#asahi · 2022-02-06 10:21
jeffmiwkettenis: just pushed a new version with compatible aligned to the one you mentioned yesterday, need to double check. as discussed, I have to move the nodes around the .dtsi
#asahi · 2022-02-06 09:35
jeffmiwGlanzmann: honestly never check or used it, my internet connection should have it, but local network is not really setup for it.
#asahi · 2022-02-06 09:24
jeffmiwmps: may be, i'm not familiar with the u-boot flow, i'm using m1n1 to kernel flow, with u-boot, how is provided the DT built with the kernel to the kernel ?
#asahi · 2022-02-06 09:10
jeffmiwGlanzmann: yes that will help
#asahi · 2022-02-06 08:54
jeffmiwGlanzmann: thanks for the feedback. I'll see how to figure out what is missing for mbp 2020 and mini
#asahi · 2022-02-06 08:51
jeffmiwjmr2: thanks. Noted.I'll fix both tab/spaces & Corellium typo.
#asahi · 2022-02-06 00:58
jeffmiwthis enables to boot with current time set in rtc, and rtc is updated is system date/time is changed
#asahi · 2022-02-06 00:53
jeffmiwtested on mba for now, branch only have the changes for t8103
#asahi · 2022-02-06 00:52
jeffmiwGlanzmann: rtc support over spmi is here : https://github.com/jfbortolotti/linux/tree/spmi_rtc , you need the following flags in your kernel config: CONFIG_SPMI_APPLE=y CONFIG_MFD_APPLE_SPMI_SERA_PMU=y CONFIG_RTC_DRV_APPLE_PMU_SERA=y
#asahi · 2022-02-04 06:23
jeffmiwGlanzmann: I looked at what kettenis did for openbsd and Corellium, and then try to come up with something
#asahi · 2022-02-03 23:26
jeffmiwGlanzmann: about SPMI driver, still working on it, I hope to share it in the next couple of days
#asahi · 2021-12-28 14:48
jeffmiwjoske: can you paste the output of m1n1 somewhere ? the code checking the payload is here: https://github.com/AsahiLinux/m1n1/blob/23c3617cf2b0b22fe5e22d07c3f757ba19092b25/src/payload.c#L204
#asahi · 2021-12-28 14:40
jeffmiwwhich hw are you using and which dts/b ?
#asahi · 2021-12-28 14:40
jeffmiwdid you use the dtb of your model ? in this mode, m1n1 checks hw model versus dtb model
#asahi · 2021-12-28 13:20
jeffmiwamw: if you want to boot directly to linux, you can just use the m1n1 direct payload method : just cat m1n1 with dtb and kernel image (and initrd if needed) and install this with kmutil (See wiki/developer-quickstart=> Direct payload booting)
#asahi · 2021-11-14 16:22
jeffmiwjannau: great, thanks, I'll give it a try later today
#asahi · 2021-11-14 15:03
jeffmiwjannau: it will be great to have those dts for all models pushed in m1n1 so we can use them before having them merged in the linux tree
#asahi · 2021-10-26 21:45
jeffmiwok ok ... I needed your patch in payload_run for the m1n1 in the concatenated macho image ... not just chainloading it. now things are making sense
#asahi · 2021-10-26 21:42
jeffmiwstrange, I'm back to the no valid payload found. It seems I need to dig into this one
#asahi · 2021-10-26 21:33
jeffmiwso I should turn one of the USB_DWC3/2 off or both to keep one for the hv ?
#asahi · 2021-10-26 21:26
jeffmiwI have the linux kernel booting but it is taking over the USB and I'm loosing the HV proxy interface :(
#asahi · 2021-10-26 21:25
jeffmiwhumm first but still after the m1n1.macho ?
#asahi · 2021-10-26 21:23
jeffmiwyes, you need to put the kernel Image.gz at the end ... so the macho image shall be constructed like this: cat ../../m1n1_marcan/build/m1n1.macho arch/arm64/boot/dts/apple/t8103-j274.dtb ../../initrd/init-new.gz arch/arm64/boot/Image.gz > m1n1-payload.macho
#asahi · 2021-10-26 21:21
jeffmiwsame result, I think there is something wrong with my macho payload, m1n1 says it found kernel/devicetree/initramfs but then No valid payload found
#asahi · 2021-10-26 21:16
jeffmiwok, if you have it working with similar commands, I'll try to understand why it is not working on my side
#asahi · 2021-10-26 21:15
jeffmiwyes I'm chainloading the latest version 0d0a646
#asahi · 2021-10-26 21:12
jeffmiwjust after jumping to the kernel it is like it is rebooting in m1n1 and stay there
#asahi · 2021-10-26 21:11
jeffmiwand doing a run_guest this way: python3.9 ../../m1n1_marcan/proxyclient/tools/run_guest.py m1n1-payload.macho
#asahi · 2021-10-26 21:11
jeffmiwI'm creating my macho this way: cat ../../m1n1_marcan/build/m1n1.macho arch/arm64/boot/Image.gz arch/arm64/boot/dts/apple/t8103-j274.dtb ../../initrd/init-new.gz > m1n1-payload.macho
#asahi · 2021-10-26 21:10
jeffmiwdid anyone booted linux under the hv recently ? I must be doing something wrong.
#asahi · 2021-08-23 22:14
jeffmiwmay be they need to do this "crazy" thing not for the keypad but because of the touchpad: touchpad will need more data volume and speed than the keypad for sure, and from a power it may be better to use a dma than cpu cycles for that ...
#asahi · 2021-08-23 22:02
jeffmiwwhat those the dma-channels mean in the spi3 adt ? spi3 { .... dma-channels = ....}
#asahi · 2021-08-23 21:37
jeffmiwpipcet: not hearing any sound, just hitting enter or spacebar in a terminal window
#asahi · 2021-08-23 21:36
jeffmiwyeah, not sure if they are all the ones you referred to by "corellium patches"
#asahi · 2021-08-23 21:34
jeffmiwamw branch included some of the corellium patches as far as I understood
#asahi · 2021-08-23 21:33
jeffmiwI was looking at the ones from amw : https://github.com/amworsley/AsahiLinux/tree/asahi-keyboard

plus ›