Stefan Reinauer | 1a8b7bf | 2015-06-30 15:58:56 -0700 | [diff] [blame] | 1 | if PAYLOAD_SEABIOS |
| 2 | |
| 3 | choice |
| 4 | prompt "SeaBIOS version" |
| 5 | default SEABIOS_STABLE |
| 6 | |
| 7 | config SEABIOS_STABLE |
Philipp Deppenwiese | 40843ef | 2017-01-04 00:30:38 +0100 | [diff] [blame] | 8 | bool "1.10.1" |
Stefan Reinauer | 1a8b7bf | 2015-06-30 15:58:56 -0700 | [diff] [blame] | 9 | help |
| 10 | Stable SeaBIOS version |
| 11 | config SEABIOS_MASTER |
| 12 | bool "master" |
| 13 | help |
| 14 | Newest SeaBIOS version |
Antonello Dettori | 3aa91dc | 2016-03-07 23:56:57 +0000 | [diff] [blame] | 15 | config SEABIOS_REVISION |
| 16 | bool "git revision" |
| 17 | help |
| 18 | Select this option if you have a specific commit or branch |
| 19 | that you want to use as the revision from which to |
| 20 | build SeaBIOS. |
| 21 | |
| 22 | You will be able to specify the name of a branch or a commit id |
| 23 | later. |
Stefan Reinauer | 1a8b7bf | 2015-06-30 15:58:56 -0700 | [diff] [blame] | 24 | |
| 25 | endchoice |
| 26 | |
Antonello Dettori | 3aa91dc | 2016-03-07 23:56:57 +0000 | [diff] [blame] | 27 | config SEABIOS_REVISION_ID |
| 28 | string "Insert a commit's SHA-1 or a branch name" |
| 29 | depends on SEABIOS_REVISION |
| 30 | default "origin/master" |
| 31 | help |
| 32 | The commit's SHA-1 or branch name of the revision to use. |
| 33 | |
Stefan Reinauer | 1a8b7bf | 2015-06-30 15:58:56 -0700 | [diff] [blame] | 34 | config SEABIOS_PS2_TIMEOUT |
| 35 | prompt "PS/2 keyboard controller initialization timeout (milliseconds)" |
| 36 | default 0 |
Stefan Reinauer | 1a8b7bf | 2015-06-30 15:58:56 -0700 | [diff] [blame] | 37 | int |
| 38 | help |
| 39 | Some PS/2 keyboard controllers don't respond to commands immediately |
| 40 | after powering on. This specifies how long SeaBIOS will wait for the |
| 41 | keyboard controller to become ready before giving up. |
| 42 | |
| 43 | config SEABIOS_THREAD_OPTIONROMS |
| 44 | prompt "Hardware init during option ROM execution" |
| 45 | default n |
| 46 | bool |
| 47 | help |
| 48 | Allow hardware init to run in parallel with optionrom execution. |
| 49 | |
| 50 | This can reduce boot time, but can cause some timing |
| 51 | variations during option ROM code execution. It is not |
| 52 | known if all option ROMs will behave properly with this option. |
| 53 | |
Stefan Reinauer | 1a8b7bf | 2015-06-30 15:58:56 -0700 | [diff] [blame] | 54 | config SEABIOS_VGA_COREBOOT |
| 55 | prompt "Include generated option rom that implements legacy VGA BIOS compatibility" |
Arthur Heymans | 46dd467 | 2016-10-25 17:11:16 +0200 | [diff] [blame] | 56 | default y if !VENDOR_EMULATION |
Arthur Heymans | f2b8d7c | 2016-10-10 23:59:05 +0200 | [diff] [blame] | 57 | depends on !VGA_BIOS && MAINBOARD_DO_NATIVE_VGA_INIT |
Stefan Reinauer | 1a8b7bf | 2015-06-30 15:58:56 -0700 | [diff] [blame] | 58 | bool |
| 59 | help |
| 60 | Coreboot can initialize the GPU of some mainboards. |
Martin Roth | 99d05c7 | 2015-11-28 15:44:34 -0700 | [diff] [blame] | 61 | |
Stefan Reinauer | 1a8b7bf | 2015-06-30 15:58:56 -0700 | [diff] [blame] | 62 | After initializing the GPU, the information about it can be passed to the payload. |
| 63 | Provide an option rom that implements this legacy VGA BIOS compatibility requirement. |
| 64 | |
Martin Roth | 99d05c7 | 2015-11-28 15:44:34 -0700 | [diff] [blame] | 65 | config PAYLOAD_CONFIGFILE |
| 66 | string "SeaBIOS config file" |
| 67 | default "" |
| 68 | help |
| 69 | This option allows a platform to set Kconfig options for a basic |
| 70 | SeaBIOS payload. In general, if the option is used, the default |
| 71 | would be "$(top)/src/mainboard/$(MAINBOARDDIR)/config_seabios" |
| 72 | |
Martin Roth | bc46ac5 | 2016-06-05 10:30:34 -0600 | [diff] [blame] | 73 | config SEABIOS_BOOTORDER_FILE |
| 74 | string "SeaBIOS bootorder file" |
| 75 | default "" |
| 76 | help |
| 77 | Add a SeaBIOS bootorder file. From the wiki: |
| 78 | "The bootorder file may be used to configure the boot up order. The file |
| 79 | should be ASCII text and contain one line per boot method. The description |
| 80 | of each boot method follows an Open Firmware device path format. SeaBIOS |
| 81 | will attempt to boot from each item in the file - first line of the file |
| 82 | first." |
| 83 | |
| 84 | See: https://www.coreboot.org/SeaBIOS#Configuring_boot_order |
| 85 | |
| 86 | If used, a typical value would be: |
| 87 | $(top)/src/mainboard/$(MAINBOARDDIR)/bootorder |
| 88 | |
Stefan Reinauer | 1a8b7bf | 2015-06-30 15:58:56 -0700 | [diff] [blame] | 89 | config PAYLOAD_FILE |
| 90 | default "payloads/external/SeaBIOS/seabios/out/bios.bin.elf" |
| 91 | |
| 92 | config PAYLOAD_VGABIOS_FILE |
| 93 | string |
| 94 | depends on SEABIOS_VGA_COREBOOT |
| 95 | default "payloads/external/SeaBIOS/seabios/out/vgabios.bin" |
| 96 | |
Stefan Tauner | c48d791 | 2017-01-15 11:49:25 +0100 | [diff] [blame] | 97 | config SEABIOS_DEBUG_LEVEL |
Martin Roth | 8556db3 | 2017-01-23 14:56:55 -0700 | [diff] [blame] | 98 | int "SeaBIOS debug level (verbosity)" |
| 99 | default -1 |
Stefan Tauner | c48d791 | 2017-01-15 11:49:25 +0100 | [diff] [blame] | 100 | help |
Martin Roth | 8556db3 | 2017-01-23 14:56:55 -0700 | [diff] [blame] | 101 | The higher the number, the more verbose SeaBIOS will be. See the table |
| 102 | below for the current values corresponding to various items as of SeaBIOS |
| 103 | version 1.10.1. Set this value to -1 to use SeaBIOS' default. |
Stefan Tauner | c48d791 | 2017-01-15 11:49:25 +0100 | [diff] [blame] | 104 | |
Martin Roth | 8556db3 | 2017-01-23 14:56:55 -0700 | [diff] [blame] | 105 | Output at various SeaBIOS log levels: |
| 106 | level 0 - Logging disabled |
| 107 | level 1 - Basic output, interrupts 5, 18h, 19h, 40h, SMP, PNP, PMM |
| 108 | level 2 - AHCI, Floppy, Basic ps2, interrupts 11h, 12h, 14h, 17h |
| 109 | level 3 - bootsplash, initializations, SeaBIOS VGA BIOS interrupts |
| 110 | level 4 - bios tables, more optionrom |
| 111 | level 5 - Extra bootsplash, more XHCI |
| 112 | level 6 - ATA commands, extra optionrom |
| 113 | level 7 - extra ps2 commands, more OHCI & EHCI |
| 114 | level 8 - extra malloc info, more AHCI |
| 115 | level 9 - interrupts 15h, 16h, 1ah, APM, PCI, SMIs, PCIBIOS, |
| 116 | USB-HID commands, SDcard commands, Floppy commands |
| 117 | level 10 - interrupt 13h (Drives other than floppy) |
| 118 | level 20 - interrupt 10h (Display) |
| 119 | |
| 120 | comment "Using default SeaBIOS log level" |
| 121 | depends on SEABIOS_DEBUG_LEVEL = -1 |
| 122 | |
| 123 | comment "SeaBIOS logging disabled" |
| 124 | depends on SEABIOS_DEBUG_LEVEL = 0 |
| 125 | |
Stefan Reinauer | 1a8b7bf | 2015-06-30 15:58:56 -0700 | [diff] [blame] | 126 | endif |