[poky] Configuring Yocto's GRUB with Custom Boot Parameters
Chen, Simon (N-DCR SYSTEM HOUSE)
simon.chen at lmco.com
Tue Apr 14 06:54:03 PDT 2015
Hello,
I am trying to configure my YOCTO OS, built from poky-dizzy-12.0.1, to use the uvesafb driver upon booting. I am trying to add a few boot parameters to GRUB by appending the following into GRUB: "vesafb:mtrr,ywrap vga=0x31A," but nothing seems to be implemented. I've also tried entering "setparams vesafb:mtrr,ywrap vga=0x31A" into the GRUB command line which doesn't work either. I understand that adding boot parameters in a GRUB menu is only for temporary implementations, which could be the source of my problem. For a permanent implementation, I've also tried looking for the file etc/default/grub, and the update-grub command that creates it. Both of these do not exist for Yocto. I thought about brute forcing my changes to the EFI/BOOT/grub.cfg file in my boot drive, which is probably not recommended. My main question is, how would I permanently add custom boot parameters into GRUB?
Curiously enough, I was able to get the OS to boot with the Vesa driver only when I append my boot parameters in GRUB, select boot in the GRUB menu, and quickly do a force restart mid-way during booting, and then do another reboot after that. When booting, the CPU also skips the GRUB menu page. This is extremely hackish, and most likely not a good implementation. I hope I can find a better method.
Thanks,
Simon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20150414/7b7edc26/attachment.html>
More information about the poky
mailing list