Android uses a dedicated partition or mtd to handle communication
between the bootloader and the recovery system, which handles system
and firmware updates as well as factory resets. This is known as the
bootloader control block, or "bcb".
The current form of the module allows the user to specify
Currently, the kernel, command line, and ramdisk can be extracted.
---
grub-core/Makefile.core.def| 1 +
grub-core/loader/android_bootimg.c | 253 +
include/grub/android_bootimg.h | 12 ++
3 files changed, 266 insertions(+)
create mode 100644 gru
This patch series adds support for booting from android bootimgs. A set
of helper functions is added to read the kernel, command line, and
initrd from a bootimg partition, the initrd command is updated to
respect the android_bootimg: syntax for loading the initrd
from the bootimg at , and on i386 t
---
grub-core/loader/i386/linux.c | 27 +--
1 file changed, 21 insertions(+), 6 deletions(-)
diff --git a/grub-core/loader/i386/linux.c b/grub-core/loader/i386/linux.c
index fddcc46..6ab8d3c 100644
--- a/grub-core/loader/i386/linux.c
+++ b/grub-core/loader/i386/linux.c
@@
---
grub-core/loader/linux.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/grub-core/loader/linux.c b/grub-core/loader/linux.c
index be6fa0f..4c5537a 100644
--- a/grub-core/loader/linux.c
+++ b/grub-core/loader/linux.c
@@ -4,6 +4,7 @@
#include
#include
#include
+#
Christian Hesse on Mon, 2016/02/08 09:30:
>initrd=
> + for i in ${GRUB_CUSTOM_INITRD}; do
To hardcode know images we could add file names here...
[...]
for i in intel-ucode.img ${GRUB_CUSTOM_INITRD}; do
[...]
--
main(a){char*c=/*Schoene Gruesse */"B?IJj;MEH"
"
Signed-off-by: Christian Hesse
---
docs/grub.texi | 6 ++
util/grub-mkconfig.in | 1 +
util/grub.d/10_linux.in | 19 +--
3 files changed, 20 insertions(+), 6 deletions(-)
diff --git a/docs/grub.texi b/docs/grub.texi
index 0afdd8c..f65647c 100644
--- a/docs/grub.t
"Vladimir 'phcoder' Serbinenko" on Fri, 2016/02/05 18:23:
> What is the name of ucode? What takes care of putting it under /boot? Can
> we just add ucode if it's under standard name under /boot and not have
> extra config? Ucode is something highly technical and we don't want user to
> bother abou
Andrei Borzenkov on Sat, 2016/02/06 09:51:
> > Nevertheless I have another use case:
> > I do use Yubikeys in challenge/response mode to open my LUKS encrypted
> > partition. [1] (This is not specific for mkinitcpio but works with dracut
> > as well.) The challenges are stored in an extra initramf