#
✕ nick:jmr2
#asahi · 2021-11-20 18:09
jmr2firefox317: good to know. Which version are you using, and what did you change?
#asahi · 2021-11-20 17:42
jmr2Bisected to b9ddd74.
#asahi · 2021-11-20 17:41
jmr2marcan: FYI, with the latest m1n1, it's no longer possible to use alyssa's trick to get wifi to work on the Air (running experiments/smc.py between tools/chainload.py and tools/linux.py)
#asahi · 2021-11-20 17:16
jmr2marcan: in the small cleanups category, would you mind doing chmod +x proxyclient/experiments/*.py please?
#asahi · 2021-11-02 13:50
jmr2https://rosenzweig.io/config is something completely unrelated. The correct one is https://rosenzweig.io/.config
#asahi · 2021-11-02 13:50
jmr2Thanks. Don't bother, I'm quite sure I could figure it out. And in any case, this is just an intermediate milestone - next step is to go EFI.
#asahi · 2021-11-02 13:47
jmr2Saw that, but I'm getting an error from booti - invalid format, or something like that.
#asahi · 2021-11-02 13:42
jmr2kettenis, j_ey: got u-boot+linux to start with booti on the Air. Thanks for the feedbacks, and disregard my previous questions. Working: dcp, internal+USB keybord/mouse, rootfs on USB. Not working yet: wifi (didn't find the correct syntax for initramfs in booti), nvme (haven't touched it yet).
#asahi · 2021-11-02 12:34
jmr2Not necessarily the most up-to-date, though.
#asahi · 2021-11-02 12:34
jmr2https://github.com/u-boot/u-boot
#asahi · 2021-11-02 12:31
jmr2j_ey: good to know, thanks. With booti, I'm stuck with an "Bad Linux ARM64 Image magic!" error - but I'm unable to find that magic number in either the compiled kernel or the one repackaged with mkimage.
#asahi · 2021-11-02 12:28
jmr2kettenis: thanks. I'll let you know if I get it working.
#asahi · 2021-11-02 02:38
jmr2But there's no point in hard-coding a u-boot loader, so I'm better to start reading on UEFI!
#asahi · 2021-11-02 02:37
jmr2The need for chainloading was clear for me, but EFI is something that I've managed to stay away from so far... So when I started experimenting with u-boot, it wasn't a natural direction.
#asahi · 2021-11-02 02:30
jmr2Oh... Just read past comments on the channel, and the direction is EFI. Looks like I'm not headed the right way. I'll keep reading.
#asahi · 2021-11-02 01:58
jmr2The two most likely culprit: the kernel image in the mkimage package isn’t in the correct format; and/or I used invalid addresses in mkimage/ext2load/bootm.
#asahi · 2021-11-02 01:58
jmr2What works: mkimage on the host, and ext2load usb on the Air. What doesn’t: getting anything else than a synchronous abort exception+reboot after the image content is displayed.
#asahi · 2021-11-02 01:58
jmr2kettenis: ack. No success yet. Are there minimal instructions somewhere, or I’m the first to attempt this?
#asahi · 2021-10-31 22:05
jmr2External USB keyboard works, so let me know if there's anything you want me to test.
#asahi · 2021-10-31 22:02
jmr2kettenis: congrats! Here's how u-boot/master looks on an Air: https://postimg.cc/bDTwNwVn I used the Pro DT and a version of m1n1 from a week ago, to skip the DT compatibility check.
#asahi · 2021-10-26 15:08
jmr2Thanks for the clarifications - and for your persistence in getting those upstream. The number of revisions was impressive.
#asahi · 2021-10-26 15:05
jmr2Another patch coming ?
#asahi · 2021-10-26 15:04
jmr2Not that it bothers me much, but why is that?
#asahi · 2021-10-26 15:03
jmr2agraf: off-topic... I was looking at the status of your patches for the M1 in QEMU. If I understand correctly, everything is merged upstream, just not included in any official release yet?
#asahi · 2021-10-22 18:35
jmr2Thanks! I'll keep experimenting and I'll report back.
#asahi · 2021-10-22 18:31
jmr2OK. Do you have a link for the full version of the dtsi? Tip or your main (or m1-keyboard) branch?
#asahi · 2021-10-22 18:29
jmr2Ouch... 4/7 failed on dtsi, already applied on pinctrl. Let me dig deeper.
#asahi · 2021-10-22 18:25
jmr2Let me try...
#asahi · 2021-10-22 18:23
jmr2OK. Should the clocks be moved in that block then?
#asahi · 2021-10-22 17:48
jmr2Here's what I'm merging into: https://github.com/mu-one/linux/blob/20211015/arch/arm64/boot/dts/apple/t8103.dtsi
#asahi · 2021-10-22 17:48
jmr2But I now see that you've moved the clocks into pmgr0 (clock-controller), while in alyssa's branch, 23b700000 is still power-management.
#asahi · 2021-10-22 17:47
jmr2So this one makes more sense as my current best merge of your 8b44149d: http://paste.debian.net/plainh/bcfb9c39
#asahi · 2021-10-22 17:26
jmr2j_ey: wait. My DT is garbage. Let me try again.
#asahi · 2021-10-22 17:16
jmr2*rush.
#asahi · 2021-10-22 17:16
jmr2Thanks. No rusn.
#asahi · 2021-10-22 17:16
jmr2That's where I started from, but alyssa's tree has conflicting definitions for clocks and pinctrl/gpio, so I have to merge.
#asahi · 2021-10-22 17:15
jmr2Hi j_ey - here it is: http://paste.debian.net/plainh/e78ee8f8
#asahi · 2021-10-22 17:13
jmr2Any suggestions on what I should check next?
#asahi · 2021-10-22 17:13
jmr2Only reference to SPI in dmesg is "SPI driver applespi has no spi_device_id for input,applespi-kbd-v1"
#asahi · 2021-10-22 17:13
jmr2The compatible strings match between the dtsi and spi-apple-mc.c - but that driver's probe function isn't called.
#asahi · 2021-10-22 17:13
jmr2Driver is loaded, visible in /sys/bus/spi/drivers/applespi, device is visible at /sys/bus/platform/devices/23510c000.spi. No symlinks between those.
#asahi · 2021-10-22 17:13
jmr2Question... I'm trying to add j_ey's version of Corellium's keyboard driver to alyssa's tree. I believe that I have the code right but the DT wrong.
#asahi · 2021-10-18 19:57
jmr2I don't plan to maintain that doc - feel free to merge it in yours - or in the project's wiki.
#asahi · 2021-10-18 19:56
jmr2Glanzmann: here's a slighly more detailed version of the steps to get wifi working on the air: http://paste.debian.net/plainh/df6b642b
#asahi · 2021-10-18 12:42
jmr2Thank you!
#asahi · 2021-10-18 12:36
jmr2alyssa: OK, I'll try later today. Would you mind sharing your best trampoline_* guess for D211 ? Is the tool you're using to lookup the function names accessible?
#asahi · 2021-10-18 12:34
jmr2Glanzmann: The only real progress I made on the air is to get the wifi working by reproducing alyssa's steps. Just need to activate with smc.py prior to booting, and putting the correct firmware files in an initramfs. See the T2linux wiki.
#asahi · 2021-10-18 03:17
jmr2alyssa: and unless I screwed up, the ColorElements/TimingElements/DisplayAttributes are the same regardless if I boot from an 11.4 or an 11.5.2 stub.
#asahi · 2021-10-18 02:59
jmr2alyssa: same with your patch - frozen screen, D211 and vblank timeout.
#asahi · 2021-10-18 02:52
jmr2But still - let me try commenting that out instead.

plus ›