Hello, One of the things I didn't quite like was that LoongArch now uses libfdt only because our EFI stub code depends on it. I would like to fix this. I have pushed a branch here that implements this. Unfortunately, it doesn't proceed beyond and I need some help debugging the error. EFI stub: Booting Linux Kernel... EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path EFI stub: Exiting boot services ... https://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git/commit/?h=efi-cleanups-for-v6.1 The idea is to pass the EFI system table pointer and the command line pointer directly. In previous patches, the initrd and memmap code is updated so it exposes the information via configuration tables that the generic code can parse. Any help is greatly appreciated. Thanks, Ard.