From: Bin Meng Date: Thu, 13 Aug 2015 07:29:07 +0000 (-0700) Subject: x86: doc: Update coreboot payload entry point address X-Git-Tag: v2015.10-rc3~92^2~48 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=330728d711d12f7f416b34d1598942e8c19a2724;p=u-boot x86: doc: Update coreboot payload entry point address With recent EFI support, the entry point address of coreboot payload was changed. Now we update the address to use _x86boot_start, which is the same one for EFI. Signed-off-by: Bin Meng --- diff --git a/doc/README.x86 b/doc/README.x86 index e7dc090e76..85ff1819c8 100644 --- a/doc/README.x86 +++ b/doc/README.x86 @@ -245,10 +245,10 @@ this capability yet. The command is as follows: # in the coreboot root directory $ ./build/util/cbfstool/cbfstool build/coreboot.rom add-flat-binary \ - -f u-boot-dtb.bin -n fallback/payload -c lzma -l 0x1110000 -e 0x1110015 + -f u-boot-dtb.bin -n fallback/payload -c lzma -l 0x1110000 -e 0x1110000 -Make sure 0x1110000 matches CONFIG_SYS_TEXT_BASE and 0x1110015 matches the -symbol address of _start (in arch/x86/cpu/start.S). +Make sure 0x1110000 matches CONFIG_SYS_TEXT_BASE, which is the symbol address +of _x86boot_start (in arch/x86/cpu/start.S). If you want to use ELF as the coreboot payload, change U-Boot configuration to use CONFIG_OF_EMBED instead of CONFIG_OF_SEPARATE.