#asahi-alt · 2023-08-28 21:42
tobheoh nice, i didn't know that. sounds very useful :)#asahi-alt · 2023-08-28 21:42
jannauhttps://github.com/AsahiLinux/docs/issues/37#issuecomment-1229406384 has instructions to boot a standard asahi alarm install via u-boot#asahi-alt · 2023-08-28 21:41
jannauno need to copy anything. u-boot can read ext4#asahi-alt · 2023-08-28 21:41
cy8aerAh, I see. I also found https://elixir.bootlin.com/u-boot/latest/source/doc/README.ext4 which describes getting kernel and initrd from ext4 partitions. I hope that one of the solutions will work. Thanks for your all help#asahi-alt · 2023-08-28 21:38
tobheI had problems with some usb sticks before and sometimes had to try a few before one would work#asahi-alt · 2023-08-28 21:38
tobhein u-boot you need to interrupt the autoboot and run run bootcmd_usb0#asahi-alt · 2023-08-28 21:35
cy8aerAm I able to get kernel and initrd via U-Boot from the partitions?#asahi-alt · 2023-08-28 21:33
cy8aerMy boot partition is ext4, so not readable from macOS. I probably did not prepare the live boot stick the right way. I'll retry this tomorrow, because today I will destroy more things#asahi-alt · 2023-08-28 21:26
BenTheTechGuywhat you can do is get the kernel and initramfs off of your boot partition, copy them to the ESP, then boot the kernel and initramfs from U-Boot#asahi-alt · 2023-08-28 21:25
BenTheTechGuyah, rereading your message it looks like you already have a working EFI setup#asahi-alt · 2023-08-28 21:24
BenTheTechGuyI had to do that once#asahi-alt · 2023-08-28 21:23
BenTheTechGuyit'll at the very least put fresh m1n1 and U-boot there which you can use to manually boot into the kernel to then get GRUB going#asahi-alt · 2023-08-28 21:22
BenTheTechGuyyou might be able to run the Asahi installer again to repair the ESP#asahi-alt · 2023-08-28 20:52
cy8aerI have kicked off my efi partition. Actually I have: a new installed efi setup and my two linux partitions (boot and encrypted file system). What I need is a new working EFI directory. I would like to use a live system, mount in my linux partitions and rebuild grub. But the live stick ol @Glanzmann: (https://tg.st/asahi-debian-live.tar) does not boot. What can I do?#asahi-alt · 2023-08-26 18:56
BenTheTechGuyit would be nice to do certain things on bare metal#asahi-alt · 2023-08-26 18:56
BenTheTechGuyj`ey: Yes, and I did, but it was a pain to set some of the things up#asahi-alt · 2023-08-26 14:33
chadmedyep thats fine then now, just have timeout be your actual timeout in ms and youre set#asahi-alt · 2023-08-26 14:32
mpschadmed: please don't waste your time with me, I don't know rust and irc is not good place to learn#asahi-alt · 2023-08-26 14:30
mpsand without --timeout I've got default value, i.e. 30#asahi-alt · 2023-08-26 14:29
mpshttps://tpaste.us/BJay with this I've got timeout value printed#asahi-alt · 2023-08-26 14:25
mpsI've got "thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src/main.rs:215:41"#asahi-alt · 2023-08-26 14:24
mpsgive me a minute#asahi-alt · 2023-08-26 14:23
chadmedso where you print NAME: {} do you get the value you assign to --timeout#asahi-alt · 2023-08-26 14:22
mpschadmed: right, TIMEOUT_MS shouldn't be constant#asahi-alt · 2023-08-26 14:18
mpshere is diff to current tiny-dfr repo https://tpaste.us/D7ao#asahi-alt · 2023-08-26 14:17
chadmedyou will have to change TIMEOUT_MS from a const because it is no longer constant at compile time#asahi-alt · 2023-08-26 14:17
chadmedand youve unwrapped that into your i32 to assign to TIMEOUT_MS#asahi-alt · 2023-08-26 14:17
chadmedor whatever youve called it#asahi-alt · 2023-08-26 14:16
chadmedright so youve got clap parsing a --timeout param #asahi-alt · 2023-08-26 14:15
mpschadmed: add 'timeout' cli parameter#asahi-alt · 2023-08-26 14:15
chadmedmps: whatre you trying to get it to do? #asahi-alt · 2023-08-26 14:13
mpsI added cli parses with 'clap' and made it to parse params but now I'm blocked with my rust knowledge which is equal to zero#asahi-alt · 2023-08-26 12:33
mpsthinking to learn a little about rust cli and add patch to use this two as options for tiny-dfr#asahi-alt · 2023-08-26 12:31
mpss/default//#asahi-alt · 2023-08-26 12:31
mpsthis is first time I hacked rust program, it was easy#asahi-alt · 2023-08-26 12:30
mpsI hacked tiny-dfr a little, changed default mediakeys to be default and decrease timeout to 10 seconds#asahi-alt · 2023-08-25 21:30
j`eyBenTheTechGuy: could test in a VM right?#asahi-alt · 2023-08-25 21:25
BenTheTechGuyI wanted to test some WINE stuff#asahi-alt · 2023-08-25 21:25
BenTheTechGuyI don't need WiFi#asahi-alt · 2023-08-25 21:25
BenTheTechGuythanks for all the info#asahi-alt · 2023-08-25 10:35
leioI assume 16kB because why otherwise Apple uses it#asahi-alt · 2023-08-25 10:35
sven16kb was like 20% or so faster in some measurements people did #asahi-alt · 2023-08-25 10:35
leioor setting some*#asahi-alt · 2023-08-25 10:34
leioyeah, to me it's just hard to imagine losing data, I guess if you go and overwrite the whole partition with a new install instead of swapping the kernel and setting some boot configuration around#asahi-alt · 2023-08-25 10:34
leioin an ideal world where we had hybrid kernels a thing, what would be more efficient (for non-FEX kind of stuff) to actually have - 4kB or 16kB? :)#asahi-alt · 2023-08-25 10:34
svenand preferably not complain that they lost some data ;)#asahi-alt · 2023-08-25 10:33
leioand those that know what they're doing should be able to just switch back to a 16kb kernel then#asahi-alt · 2023-08-25 10:33
svenand shipping 16k kernels for while already resulted in fixes to a few other projects :)#asahi-alt · 2023-08-25 10:33
sven*users