V/v: Compatibility with Bootmgr

2018-07-09 Thread Nguyễn Tứ
Sorry, Grub2 configfile: ntldr /bootmgr Boot mode: Legacy. The information is in the attachment. Từ: Grub-devel thay mặt cho Nguyễn Tứ Đã gửi: 10 Tháng Bảy 2018 8:03:59 SA Đến: Daniel Kiper Cc: grub-devel@gnu.org Chủ đề: V/v: Compatibility with Bootm

V/v: Compatibility with Bootmgr

2018-07-09 Thread Nguyễn Tứ
Sorry for the late. The information is in the attachment. Boot mode: Legacy. Từ: Daniel Kiper Đã gửi: 07 Tháng Bảy 2018 12:30:46 SA Đến: nguyentu...@outlook.com Cc: grub-devel@gnu.org Chủ đề: Re: Compatibility with Bootmgr On Fri, Jul 06, 2018 at 08:44:15AM

[RFC PATCH] i386: don't include lib/i386/reset.c in EFI builds

2018-07-09 Thread Leif Lindholm
Commit 0ba90a7f0178 ("efi: Move grub_reboot() into kernel") broke the build on i386-efi - genmoddep.awk bails out with message grub_reboot in reboot is duplicated in kernel This is because both lib/i386/reset.c and kern/efi/efi.c now provide this function. Rather than explicitly list each i386 p

[PATCH v4 2/6] efi: add grub_efi_get_ram_base() function for arm64

2018-07-09 Thread Leif Lindholm
Since ARM platforms do not have a common memory map, add a helper function that finds the lowest address region with the EFI_MEMORY_WB attribute set in the UEFI memory map. Required for the arm64 efi linux loader to restrict the initrd location to where it will be accessible by the kernel at runti

[PATCH v4 5/6] arm: delete unused efi support from loader/arm

2018-07-09 Thread Leif Lindholm
The 32-bit arm efi port now shares the 64-bit linux loader, so delete the now unused bits from the 32-bit linux loader. This in turn leaves the grub-core/kern/arm/efi/misc.c unused, so delete that too. Signed-off-by: Leif Lindholm --- grub-core/Makefile.am | 1 - grub-core/kern/arm/ef

[PATCH v4 6/6] efi: restrict arm/arm64 linux loader initrd placement

2018-07-09 Thread Leif Lindholm
The 32-bit arm Linux kernel is built as a zImage, which self-decompresses down to near start of RAM. In order for an initrd/initramfs to be accessible, it needs to be placed within the first ~768MB of RAM. The initrd loader built into the kernel EFI stub restricts this down to 512MB for simplicity

[PATCH v4 1/6] efi: add central copy of grub_efi_find_mmap_size

2018-07-09 Thread Leif Lindholm
There are several implementations of this function in the tree. Add a central version in grub-core/efi/mm.c. Signed-off-by: Leif Lindholm --- grub-core/kern/efi/mm.c | 20 include/grub/efi/efi.h | 1 + 2 files changed, 21 insertions(+) diff --git a/grub-core/kern/efi/mm.c

[PATCH v4 3/6] arm64 linux loader: rename functions and macros and move to common headers

2018-07-09 Thread Leif Lindholm
In preparation for using the linux loader for 32-bit and 64-bit platforms, rename grub_arm64*/GRUB_ARM64* to grub_armxx*/GRUB_ARMXX*. Move prototypes for now-common functions to efi/efi.h. Signed-off-by: Leif Lindholm --- grub-core/loader/arm64/linux.c| 14 +++--- grub-core/loader/a

[PATCH v4 4/6] arm/efi: switch to arm64 linux loader

2018-07-09 Thread Leif Lindholm
The arm64 and arm linux kernel EFI-stub support presents pretty much identical interfaces, so the same linux loader source can be used for both architectures. Switch 32-bit ARM UEFI platforms over to the existing EFI-stub aware loader initially developed for arm64. This *WILL* stop non-efistub Li

[PATCH v4 0/6] efi: arm linux loader unification and correctness

2018-07-09 Thread Leif Lindholm
The existing linux loader for 32-bit ARM is really only a piggy-back on the U-Boot loader, and for UEFI it's entirely possible to reuse the same loader across multiple architectures. This set will stop the ability to boot non-efistub kernels on arm-efi, but that has really only ever worked by luck

Re: [PATCH 1/9] btrfs: Add support for reading a filesystem with a RAID 5 or RAID 6 profile.

2018-07-09 Thread Goffredo Baroncelli
On 07/09/2018 12:20 PM, Daniel Kiper wrote: > On Sun, Jul 08, 2018 at 05:51:37PM +0200, Goffredo Baroncelli wrote: >> A gentle ping. > > Sorry for delay. I remember about this patchset but I am swamped with other > stuff. > I will take a look at it this week. > > Daniel > Thanks for the feedbac

Re: [PATCH 1/9] btrfs: Add support for reading a filesystem with a RAID 5 or RAID 6 profile.

2018-07-09 Thread Daniel Kiper
On Sun, Jul 08, 2018 at 05:51:37PM +0200, Goffredo Baroncelli wrote: > A gentle ping. Sorry for delay. I remember about this patchset but I am swamped with other stuff. I will take a look at it this week. Daniel ___ Grub-devel mailing list Grub-devel@

Re: Patch: allow the 'python' used to run gentpl.py to be configured

2018-07-09 Thread Daniel Kiper
On Fri, Jul 06, 2018 at 01:19:18PM -0700, Adam Williamson wrote: > On Fri, 2018-07-06 at 19:25 +0200, Daniel Kiper wrote: > > On Wed, Jul 04, 2018 at 10:08:53AM -0700, Adam Williamson wrote: > > > gentpl.py is python2/3-agnostic, but there's no way to cause it > > > to be run with any interpreter o