aboutsummaryrefslogtreecommitdiff
path: root/board-qemu/slof/qemu-bootlist.fs
AgeCommit message (Collapse)AuthorFilesLines
2017-06-07Increase MAX-ALIAS to 10Thomas Huth1-1/+0
It's not obvious for the normal user why the alias enumeration should stop at the digit '7' already, so let's allow '8' and '9', too, by bumping the MAX-ALIAS constant to 10. Also remove the unnecessary duplicate of this value from qemu-bootlist.fs. Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2017-03-03qemu-bootlist: Take the "-boot strict=off" setting properly into accountThomas Huth1-4/+14
SLOF currently completely ignores the "-boot strict=off" setting from QEMU as soon as the user specified one of the devices with a "bootindex" parameter. We should continue booting from other devices if strict booting is disabled. Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2013-11-26boot: enable support for bootindexqemu-slof-20131126Alexey Kardashevskiy1-0/+6
QEMU supports a bootindex property for every device in the command line. With the respective support from the QEMU side, this change is enough to make SLOF go through the list and try to boot. Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2013-11-15boot: add net in default boot orderNikunj A Dadhania1-0/+1
So if there is no boot order from qemu, nvram, the default boot order will be to try from "disk" aliases, "cdrom" aliases and lastly "net" aliases Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
2013-10-17boot: include other aliasesNikunj A Dadhania1-6/+18
Currently we only boot from " disk" and " cdrom", we can do better by iterating through the diskN/cdromN aliases created during disk probing. Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
2012-10-17SLOF: Support PAPR NVRAM RTAS callsqemu-slof-20121018Nikunj A. Dadhania1-5/+9
BenH still need to ACK this though. From: Nikunj A. Dadhania <nikunj@linux.vnet.ibm.com> * Determines size of the flash using device tree. * Provides nvram access functions for RTAS_NVRAM * Allocates temporary buffer of nvram in SLOF code and use that in C. (sbrk not available) * NVRAM_LENGTH is used at various places, make sure it is well guarded and also use dynamically determined size once an RTAS-NVRAM is found. * Use NVRAM_LENGTH as a variable in case of RTAS_NVRAM, not very elegant though Signed-off-by: Nikunj A. Dadhania <nikunj@linux.vnet.ibm.com> -- Changelog from v1: * #define cleanups suggested by Thomas/Benh * Fix makefile which missed passing $FLAG for building llfw * renamed vio-nvram.fs as rtas-nvram.fs
2011-03-22Initial qemu/KVM board supportBenjamin Herrenschmidt1-0/+38
Added a new board for SLOF running on KVM/qemu. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>