Message ID | 1433688642-19861-7-git-send-email-sjg@chromium.org |
---|---|
State | Superseded |
Delegated to: | Simon Glass |
Headers | show |
Hi Simon, On Sun, Jun 7, 2015 at 10:50 PM, Simon Glass <sjg@chromium.org> wrote: > The layout of the ROM is a bit hard to discover by reading the code. Add > a table to make it easier. > > Signed-off-by: Simon Glass <sjg@chromium.org> > --- > > doc/README.x86 | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > > diff --git a/doc/README.x86 b/doc/README.x86 > index c19f4a0..596b73c 100644 > --- a/doc/README.x86 > +++ b/doc/README.x86 > @@ -160,6 +160,23 @@ Now you can build U-Boot and obtain u-boot.rom > $ make minnowmax_defconfig > $ make all > > +The ROM image is broken up into these parts: > + > +Offset Description Controlling config > +------------------------------------------------------------ > +000000 descriptor.bin Hard-coded to 0 in iftool iftool -> ifdtool > +001000 me.bin Set by the descriptor > +500000 <spare> > +700000 u-boot-dtb.bin CONFIG_SYS_TEXT_BASE > +790000 vga.bin CONFIG_X86_OPTION_ROM_ADDR > +7c0000 fsp.bin CONFIG_FSP_ADDR > +7f8000 <spare> (depends on size of fsp.bin) > +7fe000 Emvironment CONFIG_ENV_OFFSET Environment > +7ff800 U-Boot 16-bit boot CONFIG_SYS_X86_START16 > + > +Overall ROM image size is controlled by CONFIG_ROM_SIZE. > + > + > Intel Galileo instructions: > > Only one binary blob is needed for Remote Management Unit (RMU) within Intel > -- Regards, Bin
diff --git a/doc/README.x86 b/doc/README.x86 index c19f4a0..596b73c 100644 --- a/doc/README.x86 +++ b/doc/README.x86 @@ -160,6 +160,23 @@ Now you can build U-Boot and obtain u-boot.rom $ make minnowmax_defconfig $ make all +The ROM image is broken up into these parts: + +Offset Description Controlling config +------------------------------------------------------------ +000000 descriptor.bin Hard-coded to 0 in iftool +001000 me.bin Set by the descriptor +500000 <spare> +700000 u-boot-dtb.bin CONFIG_SYS_TEXT_BASE +790000 vga.bin CONFIG_X86_OPTION_ROM_ADDR +7c0000 fsp.bin CONFIG_FSP_ADDR +7f8000 <spare> (depends on size of fsp.bin) +7fe000 Emvironment CONFIG_ENV_OFFSET +7ff800 U-Boot 16-bit boot CONFIG_SYS_X86_START16 + +Overall ROM image size is controlled by CONFIG_ROM_SIZE. + + Intel Galileo instructions: Only one binary blob is needed for Remote Management Unit (RMU) within Intel
The layout of the ROM is a bit hard to discover by reading the code. Add a table to make it easier. Signed-off-by: Simon Glass <sjg@chromium.org> --- doc/README.x86 | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)