[Buildroot] Grub2 and Memtest86+

Steve Kenton skenton at ou.edu
Thu Jan 29 15:06:01 UTC 2015


I've been tinkering with adding memtest86+ V4.20 to the
grub2 menu for my x86 target. It's straight forward.

The questions, is there interest in this and how to
do this only for x86 targets. I've not dug into how
the boot loaders are handled, yet, but it's apparently
different from regular packages. Is there anyone
who keeps track on the grub2 boot loader in buildroot?

Modify ~boot/grub2/grub.cfg to add the memtest entry
and download the memtest86+ source tarball and then
copy/rename the shipped precomp.bin file file to
/boot/memtest86+.bin (It's a bootable 486 binary)

set default="0"
set timeout="5"

menuentry "Buildroot" {
	linux /boot/bzImage root=/dev/sda1 console=tty1 quiet splash=silent
}

menuentry "Memtest86+" {
	linux16 /boot/memtest86+.bin
}

Steve Kenton



More information about the buildroot mailing list