Commit 85c052cc authored by Bin Meng's avatar Bin Meng
Browse files

doc: x86: Update SeaBIOS build instructions



Update SeaBIOS build instructions using exact command that involves
"make olddefconfig", and mention SeaBIOS release 1.14.0 has been
used for testing.
Signed-off-by: Bin Meng's avatarBin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
parent a7cb24f7
...@@ -379,24 +379,19 @@ Booting SeaBIOS is done via U-Boot's bootelf command, like below:: ...@@ -379,24 +379,19 @@ Booting SeaBIOS is done via U-Boot's bootelf command, like below::
Using e1000#0 device Using e1000#0 device
TFTP from server 10.10.0.100; our IP address is 10.10.0.108 TFTP from server 10.10.0.100; our IP address is 10.10.0.108
... ...
Bytes transferred = 122124 (1dd0c hex) Bytes transferred = 128748 (1f6ec hex)
## Starting application at 0x000ff06e ... ## Starting application at 0x000fd269 ...
SeaBIOS (version rel-1.9.0) SeaBIOS (version rel-1.14.0-0-g155821a)
... ...
bios.bin.elf is the SeaBIOS image built from SeaBIOS source tree. bios.bin.elf is the SeaBIOS image built from SeaBIOS source tree. At the time
Make sure it is built as follows:: being, SeaBIOS release 1.14.0 has been tested. To build the SeaBIOS image::
$ make menuconfig
Inside the "General Features" menu, select "Build for coreboot" as the
"Build Target". Inside the "Debugging" menu, turn on "Serial port debugging"
so that we can see something as soon as SeaBIOS boots. Leave other options
as in their default state. Then::
$ echo -e 'CONFIG_COREBOOT=y\nCONFIG_COREBOOT_FLASH=n\nCONFIG_DEBUG_SERIAL=y\nCONFIG_DEBUG_COREBOOT=n' > .config
$ make olddefconfig
$ make $ make
... ...
Total size: 121888 Fixed: 66496 Free: 9184 (used 93.0% of 128KiB rom) Total size: 128512 Fixed: 69216 Free: 2560 (used 98.0% of 128KiB rom)
Creating out/bios.bin.elf Creating out/bios.bin.elf
Currently this is tested on QEMU x86 target with U-Boot chain-loading SeaBIOS Currently this is tested on QEMU x86 target with U-Boot chain-loading SeaBIOS
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment