Re: [PATCH] emu: fix executable stack marking

2021-02-04 Thread Michael Chang via Grub-devel
On Thu, Feb 04, 2021 at 04:28:10PM -0600, Glenn Washburn wrote: > Hi Michael, > > On Wed, 3 Feb 2021 21:03:44 +0800 > Michael Chang via Grub-devel wrote: > > > The gcc by default assumes executable stack is required if the source > > object file doesn't have .note.GNU-stack section in place. If

Re: [PATCH] emu: fix executable stack marking

2021-02-04 Thread Glenn Washburn
Hi Michael, On Wed, 3 Feb 2021 21:03:44 +0800 Michael Chang via Grub-devel wrote: > The gcc by default assumes executable stack is required if the source > object file doesn't have .note.GNU-stack section in place. If any of > the source objects doesn't incorporate the GNU-stack note, the > res

Re: How-to make grub play a sound when it asks a passphrase and/or in case of an issue.

2021-02-04 Thread Didier Spaier
Hi, thanks both for responding. Le 04/02/2021 à 17:39, Vladimir 'phcoder' Serbinenko a écrit : чт, 4 февр. 2021 г., 16:25 Lennart Sorensen mailto:lsore...@csclub.uwaterloo.ca>>: On Wed, Feb 03, 2021 at 10:54:28PM -0800, Hanson Char wrote: > I don't know if Grub currently has any sou

Re: How-to make grub play a sound when it asks a passphrase and/or in case of an issue.

2021-02-04 Thread Vladimir 'phcoder' Serbinenko
чт, 4 февр. 2021 г., 16:25 Lennart Sorensen : > On Wed, Feb 03, 2021 at 10:54:28PM -0800, Hanson Char wrote: > > I don't know if Grub currently has any sound or accessibility support. > How > > about having a config option to send some ASCII bell characters "\x07" to > > the terminal upon the even

Re: How-to make grub play a sound when it asks a passphrase and/or in case of an issue.

2021-02-04 Thread Lennart Sorensen
On Wed, Feb 03, 2021 at 10:54:28PM -0800, Hanson Char wrote: > I don't know if Grub currently has any sound or accessibility support. How > about having a config option to send some ASCII bell characters "\x07" to > the terminal upon the events that you described? That would make a sound, > but f

[PATCH 1/2] efi: EFI Device Tree Fixup Protocol

2021-02-04 Thread Heinrich Schuchardt
Device-trees are used to convey information about hardware to the operating system. Some of the properties are only known at boot time. (One example of such a property is the number of the boot hart on RISC-V systems.) Therefore the firmware applies fix-ups to the original device-tree. Some nodes a

[PATCH 0/2] efi: device tree fix-up

2021-02-04 Thread Heinrich Schuchardt
Operating systems need a description of the hardware. This description can either be supplied via ACPI tables or via device-trees. On the ARM architecture ACPI tables are not avaialable for most devices. In an ideal world device-trees would be defined once by the hardware manufacturer and would no

[PATCH 2/2] 10_linux: support loading device trees

2021-02-04 Thread Heinrich Schuchardt
If in /etc/default/grub GRUB_LOAD_DEVICE_TREE=true, the boot directory is scanned for files dtb-${version} and dtb. If such a file exists, a devicetree command is added per Linux menu entry. Signed-off-by: Heinrich Schuchardt --- docs/grub.texi | 6 ++ util/grub-mkconfig.in | 1

[PATCH 2/2] efi: SPI NOR flash support

2021-02-04 Thread Michael Lawnick
Add SPI NOR flash to command line Based on patch '[PATCH 1/2] efi: SPI NOR flash support' add command line functionality for interactive access to SPI NOR flash. Supported commands: spi_nor init - establish communication to a flash part read - read from flash part to memory or print h

[PATCH 1/2] efi: SPI NOR flash support

2021-02-04 Thread Michael Lawnick
Add EFI SPI NOR driver Use UEFI interface for accessing SPI NOR flashes. If supported the implementation of UEFI boot software abstracts away all those ugly H/W details like SPI controller or protocol. Provided functions: grub_efi_spi_nor_ init erase write read