All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Grub2 and Splash
@ 2015-02-18 16:30 Steve Kenton
  2015-02-18 16:38 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Steve Kenton @ 2015-02-18 16:30 UTC (permalink / raw)
  To: buildroot

Looking into adding a splash screen to my grub2 menu.
Cobbled together the one below using font from my build host and it works.
Trying to build unicode.pf2 with buildroot immediately ran into snag with freetype.

Finally RTFM and realized how special the grub2 build is.
Is there a reason that grub2 is not just built as a regular host package?

Steve Kenton

$ more grub.cfg
set default="0"
set timeout="3"

if loadfont /boot/grub/fonts/unicode.pf2 ; then
    set gfxmode="640x480"
    insmod gfxterm
    insmod vbe
    terminal_output gfxterm
    if terminal_output gfxterm; then true ; else
        terminal gfxterm
    fi
fi
insmod tga
background_image /boot/grub/splash.tga

menuentry "Buildroot" {
	linux /boot/bzImage root=/dev/sda1 rootfstype=ext4 console=tty1 quiet splash=si
lent
}

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-02-18 16:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-18 16:30 [Buildroot] Grub2 and Splash Steve Kenton
2015-02-18 16:38 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.