#
✕ nick:jannau
#asahi · 2022-02-11 20:21
jannauj`ey: especially considering it took several hours per character to find the fix
#asahi · 2022-02-11 20:17
jannauas400[m]: where are the .dtbs coming from? it should work with the current asahi or smc/work branches. for the kwyboard to work in u-boot/grub you need https://github.com/jannau/linux/commit/8737955a0263d09ffa8550658dfcac1df3d0665c as well
#asahi · 2022-02-11 20:11
jannauas400[m]: scroll 17 lines up
#asahi · 2022-02-11 20:11
jannauas400[m]: what does not work? does the u-boot screen load?
#asahi · 2022-02-11 20:02
jannaumps: you need https://lore.kernel.org/u-boot/20220208210215.8612-1-j@jannau.net/ for extlinux
#asahi · 2022-02-11 07:24
jannauusing lvm2 2.03.15-1
#asahi · 2022-02-11 07:23
jannauWARNING: pv_header.disk_locn[2].offset 16384 is unexpected # for first mda
#asahi · 2022-02-11 07:22
jannaujmr2: works for me with arch linux arm, still complains about the non-standard page size 16384 though. might be version dependent since pvck produces different output
#asahi · 2022-02-10 21:01
jannauthe last time I tried (12.0.1 iirc) you can not use a custom boot object with an external macos installation
#asahi · 2022-02-10 20:59
jannauthere are parts on the local disk. an external macos installtion is not portable to a different mac (even same model)
#asahi · 2022-02-10 20:56
jannauI think full installation is only around 30G but you need at least 70G to use apple's installer to update macos
#asahi · 2022-02-10 20:55
jannauand leave the primary macos as is (apart from resizing the container)
#asahi · 2022-02-10 20:54
jannauyes, you can use a full macos install, we would recommend to a second installation
#asahi · 2022-02-10 20:52
jannausvcx80: you need an parts of actual macos installation. https://github.com/AsahiLinux/asahi-installer creates a minimal installation, still 2.5G though
#asahi · 2022-02-09 22:06
jannauhttps://fontlibrary.org/en/font/rufscript is a strange choice for a bootloader
#asahi · 2022-02-09 22:06
jannauthe regular variant would be ok
#asahi · 2022-02-09 22:05
jannauthe selection of true type fonts is a little strange, a single monospace font in the narrow variant (too narrow for my taste): Anka Coder Narrow
#asahi · 2022-02-09 21:58
jannaucertainly not on an arm target, it doesn't compile without modifying arch/arm/config.mk
#asahi · 2022-02-09 21:53
jannautrue type fonts seem to miss x2r10g10b10 support as well
#asahi · 2022-02-09 21:45
jannautruetype fonts require floating point and arm u-boot is compiled with "-mgeneral-regs-only"
#asahi · 2022-02-09 21:39
jannaulooks ok to me on the 14" mbp as well, font is clearly to small and the rounded top left corner is annoing
#asahi · 2022-02-09 21:35
jannaulooks fine on a 15" full hd display, I suppose we should do something about retina though
#asahi · 2022-02-09 21:27
jannauonly outstanding patch on my side is adding CONFIG_SYS_WHITE_ON_BLACK=y to the defconfig
#asahi · 2022-02-09 21:26
jannausjg1: for u-boot we are at least at submitted patches instead of private hacks
#asahi · 2022-02-09 12:26
jannaumaz: I'm not even sure we could have done something differently with the PMGR bindings even if we noticed that earlier
#asahi · 2022-02-09 07:39
jannauit probably makes sense to defer using it on macbook pro 14"/16" until the keyboard dts fix is in asahi
#asahi · 2022-02-09 07:38
jannauit should be used with the kernel dts
#asahi · 2022-02-09 07:37
jannausmc is not a problem when booting linux or openbsd with smc support but missing pci support means no ethernet or usb-a ports on the mini
#asahi · 2022-02-09 07:35
jannaucompared to apple-m1-m1n1-nvme it doesn't have smc and pci support
#asahi · 2022-02-09 07:34
jannauit should work on all m1, m1 pro/max devices
#asahi · 2022-02-09 07:34
jannauGlanzmann: it should not need testing, it's recent u-boot git + patches already sent to the u-boot mailing list
#asahi · 2022-02-08 23:34
jannaucommitted Dec 26, 2021 so quite recent
#asahi · 2022-02-08 23:33
jannauhttps://raw.githubusercontent.com/jannau/u-boot/x2r10g10b10/drivers/video/u_boot_logo.bmp
#asahi · 2022-02-08 23:31
jannauhttps://github.com/jannau/u-boot/tree/x2r10g10b10
#asahi · 2022-02-08 23:31
jannauu-boot master displays a logo in the top right corner. mark's apple m1 branches are quite old
#asahi · 2022-02-08 23:27
jannauthe u-boot logo looks nicer when not written as rgba8888 into a x2r10g10b10 framebuffer
#asahi · 2022-02-08 21:38
jannauit's also rock solid for me with a fully connected usb-c <> usb-c cable
#asahi · 2022-02-08 21:35
jannauor the cable
#asahi · 2022-02-08 21:16
jannaucan you check your kernel options against https://github.com/AsahiLinux/docs/wiki/DesktopKernel#kerneloptions ?
#asahi · 2022-02-08 21:14
jannauint16h: what is wiki::quickstart? https://github.com/AsahiLinux/docs/wiki/Developer-Quickstart-2.0 ?
#asahi · 2022-02-08 20:13
jannauyes
#asahi · 2022-02-07 19:17
jannauGlanzmann: the keyboard does not work in u-boot but works for me in linux with SPI_HID_APPLE_OF + HID-APPLE + HID-MAGICMOUSE
#asahi · 2022-02-06 23:31
jannauhttps://github.com/jannau/u-boot/tree/t6000 has u-boot with nvme support for m1 pro/max, USB and keyboard are not working, no SMC, needs m1n1 from main boots with the dtb from the kernel build
#asahi · 2022-02-06 11:02
jannauas400[m]: check first if openbsd supports m1 pro/max, not sure if the openbsd kernel supports the linux boot protocol
#asahi · 2022-02-06 10:57
jannaumps: sure
#asahi · 2022-02-06 10:56
jannauthe dcp driver is not really ready though. I pushed changes which require a modified m1n1 and I expect churn in the devicetree changes so it will probably be painful to follow along
#asahi · 2022-02-06 10:06
jannauthe nvme u-boot device tree already has spmi nodes but those look incompatible with the driver
#asahi · 2022-02-06 10:03
jannauif that works you can proceed to testing it u-boot. if it fails there you have the wrong dtb embedded in the m1n1+u-boot binary
#asahi · 2022-02-06 10:00
jannauverify it first by directly booting the kernel and the dtb from the kernel build
#asahi · 2022-02-06 09:59
jannauno. please stop testing kernel changes with device tree changes with u-boot!

plus ›