Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1loYAo-0005Tx-Ch for mharc-grub-devel@gnu.org; Wed, 02 Jun 2021 17:13:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55172) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1loYAm-0005Tm-Bb for grub-devel@gnu.org; Wed, 02 Jun 2021 17:13:08 -0400 Received: from mail-lj1-f173.google.com ([209.85.208.173]:37619) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1loYAk-0003w8-HO for grub-devel@gnu.org; Wed, 02 Jun 2021 17:13:08 -0400 Received: by mail-lj1-f173.google.com with SMTP id e2so4405344ljk.4 for ; Wed, 02 Jun 2021 14:13:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=72wPLU6raBJXafeJeQrDysKkqiai0gt/vrAEgNLz84Y=; b=H2DsPQ6ZYkQRABxavZQ+3CElabpMGp/nnZTxmZnlDTg8SW65U2Amw64iNKATmSXLzv JTWpMT4DM6SZ2aqZxWQ4KPMXIGbv/NfCaDzoW0Bg2D/RELKYB5y+z9eHqIJAOtoy22F3 75Dyhh2AkxpPWTCvLHKVbBn4LLJ4aFKIDJi828CIdArfzBNWdArdpQE3d+kzwXT9fDxa vbwb0npbGrlh0FpjGF4oN2r8oC78nebbZw3CfWcbZnJhKyOXXGRUb9+tn+eOhSS4baCG T1HNZ4bue8iwnhQyjEfPWA0EBZPCmXDov0XauLUzyYiDPFH1q4IZIQU9DclcUB9KyoVj E6ew== X-Gm-Message-State: AOAM531US3GEqcsT0399sHPS4IW8hy31kXzViYDhM2sK5aLNqtSpbmaF stoHEhZispGYzybEuqcf44aczzyVo++QMJYQ X-Google-Smtp-Source: ABdhPJwL1WbOzvN94bakDHa05vC+LkTJTc2YQCFYuo/PzTZupXw5sPPCIN/yaW/LPzNf9Aws98lCMw== X-Received: by 2002:a2e:2f09:: with SMTP id v9mr25969456ljv.152.1622668383547; Wed, 02 Jun 2021 14:13:03 -0700 (PDT) Received: from localhost.localdomain ([2a00:1370:811f:4a8d:2d8:61ff:fed1:d10a]) by smtp.gmail.com with ESMTPSA id p3sm101361lfa.116.2021.06.02.14.13.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Jun 2021 14:13:03 -0700 (PDT) From: Nikita Ermakov To: GRUB development mailing list Cc: Ard Biesheuvel , Atish Patra , Daniel Kiper , Heinrich Schuchardt , Leif Lindholm , Nikita Ermakov Subject: [PATCH v2 0/7] Add LoadFile2 and riscv Linux loader Date: Thu, 3 Jun 2021 00:12:28 +0300 Message-Id: <20210602211235.377366-1-arei@altlinux.org> X-Mailer: git-send-email 2.29.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=209.85.208.173; envelope-from=coffe92@gmail.com; helo=mail-lj1-f173.google.com X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FORGED_FROMDOMAIN=0.248, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2021 21:13:08 -0000 Hello, This is the second version of the patch series. The patch series is almost the same as the previous one except that the Heinrich's suggestions were implemented. This series contains patches to add support for LoadFile2 protocol to load initrd on EFI systems. Also it contains patches to load Linux kernel with EFI stub on riscv platforms and unites arm and riscv codes together into common loader code for EFI systems. Ard Biesheuvel (3): efi: add definition of LoadFile2 protocol efi: implemented LoadFile2 initrd loading protocol for Linux linux: ignore FDT unless we need to modify it Atish Patra (3): loader: Move arm64 linux loader to common code RISC-V: Update image header RISC-V: Use common linux loader Nikita Ermakov (1): loader: drop argv[] argument in grub_initrd_load() grub-core/Makefile.core.def | 8 +- grub-core/commands/efi/lsefi.c | 1 + grub-core/loader/arm/linux.c | 2 +- grub-core/loader/efi/fdt.c | 7 +- grub-core/loader/{arm64 => efi}/linux.c | 143 +++++++++++++++++++--- grub-core/loader/i386/linux.c | 2 +- grub-core/loader/i386/pc/linux.c | 2 +- grub-core/loader/i386/xen.c | 3 +- grub-core/loader/ia64/efi/linux.c | 2 +- grub-core/loader/linux.c | 4 +- grub-core/loader/mips/linux.c | 2 +- grub-core/loader/powerpc/ieee1275/linux.c | 2 +- grub-core/loader/riscv/linux.c | 59 --------- grub-core/loader/sparc64/ieee1275/linux.c | 2 +- include/grub/arm/linux.h | 2 +- include/grub/arm64/linux.h | 2 +- include/grub/efi/api.h | 15 +++ include/grub/linux.h | 2 +- include/grub/riscv32/linux.h | 16 +-- include/grub/riscv64/linux.h | 16 +-- 20 files changed, 185 insertions(+), 107 deletions(-) rename grub-core/loader/{arm64 => efi}/linux.c (72%) delete mode 100644 grub-core/loader/riscv/linux.c -- 2.29.3