#asahi-dev · 2023-05-05 15:50
kettenisNameError: name 'AMX_CTL_EL1' is not defined#asahi-dev · 2023-05-05 15:50
kettenismarcan: looks like you broke chainloading#asahi-dev · 2023-05-04 15:44
kettenisand you call yourself a kernel developer? ;)#asahi-dev · 2023-05-04 13:08
kettenisdid you push the updated masks for iova and size for the oslog messages somewhere?#asahi-dev · 2023-05-04 13:07
kettenisok#asahi-dev · 2023-05-04 13:06
kettenismarcan: regarding the oslog buffers, wouldn't it be better for u-boot to allocate those in RAM and make sure the memory gets reserved in the FDT and the EFI memory map?#asahi-dev · 2023-05-04 11:43
kettenisbut if a user (or OS installer) overrides BootOrder it will do what the user requested#asahi-dev · 2023-05-04 11:42
kettenisthis way, a newly installed system should boot from the right partition#asahi-dev · 2023-05-04 11:42
kettenisif the BootOrder variable already exists, it doesn't do anything#asahi-dev · 2023-05-04 11:41
kettenisso what my new code does is create a Boot0000 boot option that points at the ESP with the UUID given by asahi,efi-system-partition and creates a BootOrder variable that points at that option#asahi-dev · 2023-05-04 11:39
kettenisthat in itself shouldn't be a problem if they set the variables to point at the right partition and bootloader#asahi-dev · 2023-05-04 11:37
kettenisI really should install Asahi Linux on at least one of the machines I have#asahi-dev · 2023-05-04 11:36
kettenisthanks#asahi-dev · 2023-05-04 11:35
kettenis(that file is where u-boot stores the EFI variables)#asahi-dev · 2023-05-04 11:35
kettenisI think Fedora does set EFI variables#asahi-dev · 2023-05-04 11:34
kettenisuntil users start messing around with EFI variables themselves#asahi-dev · 2023-05-04 11:34
kettenisbut I guess it doesn't hurt#asahi-dev · 2023-05-04 11:32
kettenisso it shouldn't be needed#asahi-dev · 2023-05-04 11:32
kettenisthe u-boot that you've been shipping had the option that generates this file disabled#asahi-dev · 2023-05-04 11:30
kettenisprobably best to remove the ubootefi.var from the ESP before trying this diff#asahi-dev · 2023-05-04 11:29
kettenisjannau: pushed the code to generate an EFI boot option to the asahi branch#asahi-dev · 2023-05-04 09:08
kettenisCreating a UEFI boot option seems to do the trick#asahi-dev · 2023-05-03 10:18
ketteniswhat I probably need to do is create a Boot#### variable and BootOrder variable#asahi-dev · 2023-05-03 10:16
kettenisI don't really see how; the guts of the distro boot scripts don't seem to have changed#asahi-dev · 2023-05-03 10:07
kettenislooking at it again, it does indeed attempt to boot from the first "bootable" partition#asahi-dev · 2023-05-03 10:07
kettenisjannau: thanks, I guess the bootscript change is still needed then#asahi-dev · 2023-05-02 19:23
ketteniswould appreciate some testing with booting linux#asahi-dev · 2023-05-02 19:23
kettenisbut with this the changes to the boot script and the disabling of the EFI variables should no longer be necessary#asahi-dev · 2023-05-02 19:21
kettenisnot pushed the oslog diff for mtp yet#asahi-dev · 2023-05-02 19:20
kettenispushed my stuff to the u-boot asahi branch#asahi-dev · 2023-05-02 15:58
kettenishopefully that means we can drop the boot script hack#asahi-dev · 2023-05-02 15:58
kettenisloading the u-boot environment, the efi variables and asmedia firmware from the designated ESP now#asahi-dev · 2023-05-02 15:54
kettenisso what I currently have is good enough ;)#asahi-dev · 2023-05-02 15:54
kettenisit already has some usb support, but I guess usb host support and umass support would have to be added#asahi-dev · 2023-05-02 15:51
kettenismy current code only looks for the partition with the "asahi,efi-system-partition" guid on the built-in nvme#asahi-dev · 2023-05-02 15:49
kettenisdo we plan to support booting the 2nd stage m1n1+dt+u-boot from an external disk?#asahi-dev · 2023-05-02 13:24
kettenisyes, which is one of the reasons I like loading the firmware from the ESP better ;)#asahi-dev · 2023-05-02 13:23
kettenisbut obviously a FIT image that includes apple/asmedia firmware becomes unredistributable#asahi-dev · 2023-05-02 13:22
ketteniscertain u-boot developers would welcome that#asahi-dev · 2023-05-02 13:22
kettenisthat would involve adding FIT support to m1n1#asahi-dev · 2023-05-02 13:21
kettenisthe "normal" way to provide firmwares is to make them part of a FIT image#asahi-dev · 2023-05-02 13:19
ketteniswas planning to drop it altogether, but I can look into supporting it as an alternative firmware load mechanism#asahi-dev · 2023-05-02 12:22
kettenisin the board file so it won't affect other boards at all!#asahi-dev · 2023-05-02 12:20
kettenisah cool, I think I've figured out how I can fix the ESP selection issues in u-boot in one single place#asahi-dev · 2023-05-02 06:59
kettenismarcan: so assuming we want to maintain the directory structure, it would be "vendorfw/u-boot/asmedia/asm2214a-apple.bin"#asahi-dev · 2023-05-01 22:26
ketteniscurrently using "u-boot/asmedia/asm2214a-apple.bin"#asahi-dev · 2023-05-01 22:26
ketteniswe just need to settle on a path name#asahi-dev · 2023-05-01 22:26
kettenismarcan: loading the firmware from the esp works like a charm#asahi-dev · 2023-05-01 15:28
kettenisindeed, it tries to solve a different problem (and largely fails at doing so)#asahi-dev · 2023-05-01 14:35
kettenisstandalone would be easier